GNOME Bugzilla – Bug 545401
missing support for void reference functions
Last modified: 2008-12-30 21:07:29 UTC
Please describe the problem: Some custom reference counting systems do not return the object instance via their ref function. There should be a way to denote this so that the generated code does not force assignment of the void. Steps to reproduce: GNet bindings for InetAddr. gnet_inetaddr_ref returns void. Actual results: subscription-service.c:343: error: void value not ignored as it ought to be Expected results: no assignment from the void func. perhaps we can add another attribute to the CCode block that denotes the function is void. ref_function_void = true Does this happen every time? yse Other information:
At least gconf_entry_ref gconf_change_set_ref gconf_engine_ref return void as well.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 566078 ***