~ubuntu-branches/ubuntu/quantal/vala-0.16/quantal

« back to all changes in this revision

Viewing changes to codegen/valagtypemodule.vala

  • Committer: Package Import Robot
  • Author(s): Rico Tzschichholz
  • Date: 2012-02-28 20:20:50 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120228202050-nowzcc7uhxomtrs2
Tags: 0.15.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
                                                var delegate_type = (DelegateType) f.variable_type;
339
339
                                                if (delegate_type.delegate_symbol.has_target) {
340
340
                                                        // create field to store delegate target
341
 
                                                        instance_struct.add_field ("gpointer", get_delegate_target_cname (f.name));
 
341
                                                        instance_struct.add_field ("gpointer", get_ccode_delegate_target_name (f));
342
342
                                                        if (delegate_type.value_owned) {
343
343
                                                                instance_struct.add_field ("GDestroyNotify", get_delegate_target_destroy_notify_cname (f.name));
344
344
                                                        }
444
444
                                                var delegate_type = (DelegateType) f.variable_type;
445
445
                                                if (delegate_type.delegate_symbol.has_target) {
446
446
                                                        // create field to store delegate target
447
 
                                                        instance_priv_struct.add_field ("gpointer", get_delegate_target_cname (f.name));
 
447
                                                        instance_priv_struct.add_field ("gpointer", get_ccode_delegate_target_name (f));
448
448
                                                        if (delegate_type.value_owned) {
449
449
                                                                instance_priv_struct.add_field ("GDestroyNotify", get_delegate_target_destroy_notify_cname (f.name));
450
450
                                                        }