diff options
author | Jürg Billeter <j@bitron.ch> | 2009-01-16 16:04:41 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2009-01-16 16:04:41 +0000 |
commit | e59e97031a217e326018169e856dd5a570c1820a (patch) | |
tree | 60d10f275ae52dfc3ef31423cf386384fe28b81a /vapi/gconf-2.0.vapi | |
parent | e80cfb0ab358c4c28008b723754eb31b1b2432ac (diff) | |
download | vala-e59e97031a217e326018169e856dd5a570c1820a.tar.gz |
Support void ref functions
2009-01-16 Jürg Billeter <j@bitron.ch>
* vala/valacodewriter.vala:
Support void ref functions
* vapigen/valagidlparser.vala:
Detect void ref functions, patch by Andreas Brauchli,
fixes bug 549061
* vapi/gconf-2.0.vapi: regenerated
svn path=/trunk/; revision=2354
Diffstat (limited to 'vapi/gconf-2.0.vapi')
-rw-r--r-- | vapi/gconf-2.0.vapi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vapi/gconf-2.0.vapi b/vapi/gconf-2.0.vapi index 9e43ed9b8..6902837d0 100644 --- a/vapi/gconf-2.0.vapi +++ b/vapi/gconf-2.0.vapi @@ -3,7 +3,7 @@ [CCode (cprefix = "GConf", lower_case_cprefix = "gconf_")] namespace GConf { [Compact] - [CCode (ref_function = "gconf_change_set_ref", unref_function = "gconf_change_set_unref", cheader_filename = "gconf/gconf.h")] + [CCode (ref_function = "gconf_change_set_ref", ref_function_void = true, unref_function = "gconf_change_set_unref", cheader_filename = "gconf/gconf.h")] public class ChangeSet { public bool check_value (string key, out unowned GConf.Value value_retloc); public void clear (); @@ -86,7 +86,7 @@ namespace GConf { public virtual signal void value_changed (string key, void* value); } [Compact] - [CCode (ref_function = "gconf_engine_ref", unref_function = "gconf_engine_unref", cheader_filename = "gconf/gconf.h")] + [CCode (ref_function = "gconf_engine_ref", ref_function_void = true, unref_function = "gconf_engine_unref", cheader_filename = "gconf/gconf.h")] public class Engine { public unowned GLib.SList all_dirs (string dir) throws GLib.Error; public unowned GLib.SList all_entries (string dir) throws GLib.Error; @@ -129,7 +129,7 @@ namespace GConf { public bool unset (string key) throws GLib.Error; } [Compact] - [CCode (ref_function = "gconf_entry_ref", unref_function = "gconf_entry_unref", cheader_filename = "gconf/gconf.h")] + [CCode (ref_function = "gconf_entry_ref", ref_function_void = true, unref_function = "gconf_entry_unref", cheader_filename = "gconf/gconf.h")] public class Entry { public weak string key; public weak GConf.Value value; |