summaryrefslogtreecommitdiff
path: root/glib/src/gobject_functions.defs
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-11-10 10:13:02 +0100
committerMurray Cumming <murrayc@murrayc.com>2010-11-10 10:13:02 +0100
commit396dab7df3fa2892eaf04503edbfb0876a2ef776 (patch)
tree9850c3f1a9f8287e4b6c75bdf4a2c500d0d6d0f4 /glib/src/gobject_functions.defs
parent9e5bbca892880705695f92434c3b25ef92d6fe56 (diff)
downloadglibmm-396dab7df3fa2892eaf04503edbfb0876a2ef776.tar.gz
Gio: Added some methods.
* gio/src/gio_methods.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenerated with h2defs.py. * gio/src/application.hg: Added open(). Notice that I have used std::vector instead of ArrayHandle, because that is what we should use for all new API, after we decided that the intermediate types are too awkward for people to understand. * gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to use a std::vector here instead. * gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async() and read_upto_finish(). Updated the read_until*() documentation to discourage their use (apparently they will be properly deprecated eventually). * gio/src/settings.hg: Added range_check(). * gio/src/socketclient.[hg|ccg]: Addef connect_to_uri(), connect_to_uri_async() and connect_to_uri_finish().
Diffstat (limited to 'glib/src/gobject_functions.defs')
-rw-r--r--glib/src/gobject_functions.defs29
1 files changed, 29 insertions, 0 deletions
diff --git a/glib/src/gobject_functions.defs b/glib/src/gobject_functions.defs
index bd373df6..d821cef5 100644
--- a/glib/src/gobject_functions.defs
+++ b/glib/src/gobject_functions.defs
@@ -686,6 +686,16 @@
)
)
+(define-method install_properties
+ (of-object "GObjectClass")
+ (c-name "g_object_class_install_properties")
+ (return-type "none")
+ (parameters
+ '("guint" "n_pspecs")
+ '("GParamSpec**" "pspecs")
+ )
+)
+
(define-function g_object_interface_install_property
(c-name "g_object_interface_install_property")
(return-type "none")
@@ -1134,6 +1144,14 @@
)
)
+(define-function g_clear_object
+ (c-name "g_clear_object")
+ (return-type "none")
+ (parameters
+ '("volatile-GObject**" "object_ptr")
+ )
+)
+
;; From gparam.h
@@ -2088,6 +2106,17 @@
)
)
+(define-function g_signal_accumulator_first_wins
+ (c-name "g_signal_accumulator_first_wins")
+ (return-type "gboolean")
+ (parameters
+ '("GSignalInvocationHint*" "ihint")
+ '("GValue*" "return_accu")
+ '("const-GValue*" "handler_return")
+ '("gpointer" "dummy")
+ )
+)
+
(define-function g_signal_handlers_destroy
(c-name "g_signal_handlers_destroy")
(return-type "none")