[glibmm] Regenerate functions defs



commit c337ca0b326787e8726320921c6b78af25d818fb
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jul 31 10:35:38 2013 +0200

    Regenerate functions defs

 gio/src/gio_methods.defs        |  230 +++++++++++++++++++++++++++++++++------
 glib/src/glib_functions.defs    |   94 +++++++++++++++-
 glib/src/gobject_functions.defs |   44 ++++++++
 3 files changed, 330 insertions(+), 38 deletions(-)
---
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index be03a9e..e30a980 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1448,6 +1448,8 @@
   (values
     '("none" "G_DBUS_SIGNAL_FLAGS_NONE")
     '("no-match-rule" "G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE")
+    '("match-arg0-namespace" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE")
+    '("match-arg0-path" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH")
   )
 )
 
@@ -1878,6 +1880,34 @@
   )
 )
 
+(define-function g_action_name_is_valid
+  (c-name "g_action_name_is_valid")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "action_name")
+  )
+)
+
+(define-function g_action_parse_detailed_name
+  (c-name "g_action_parse_detailed_name")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "detailed_name")
+    '("gchar**" "action_name")
+    '("GVariant**" "target_value")
+    '("GError**" "error")
+  )
+)
+
+(define-function g_action_print_detailed_name
+  (c-name "g_action_print_detailed_name")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "action_name")
+    '("GVariant*" "parameter")
+  )
+)
+
 
 
 ;; From gactionmap.h
@@ -2517,6 +2547,18 @@
   (return-type "none")
 )
 
+(define-method mark_busy
+  (of-object "GApplication")
+  (c-name "g_application_mark_busy")
+  (return-type "none")
+)
+
+(define-method unmark_busy
+  (of-object "GApplication")
+  (c-name "g_application_unmark_busy")
+  (return-type "none")
+)
+
 
 
 ;; From gapplicationimpl.h
@@ -2590,6 +2632,15 @@
   (return-type "const-gchar*")
 )
 
+(define-method set_busy_state
+  (of-object "GApplicationImpl")
+  (c-name "g_application_impl_set_busy_state")
+  (return-type "none")
+  (parameters
+    '("gboolean" "busy")
+  )
+)
+
 
 
 ;; From gasynchelper.h
@@ -2887,6 +2938,27 @@
 
 
 
+;; From gbytesicon.h
+
+(define-function g_bytes_icon_get_type
+  (c-name "g_bytes_icon_get_type")
+  (return-type "GType")
+)
+
+(define-method icon_new
+  (of-object "GBytes")
+  (c-name "g_bytes_icon_new")
+  (return-type "GIcon*")
+)
+
+(define-method get_bytes
+  (of-object "GBytesIcon")
+  (c-name "g_bytes_icon_get_bytes")
+  (return-type "GBytes*")
+)
+
+
+
 ;; From gcancellable.h
 
 (define-function g_cancellable_get_type
@@ -5242,6 +5314,12 @@
   (return-type "const-GDBusMethodInfo*")
 )
 
+(define-method get_property_info
+  (of-object "GDBusMethodInvocation")
+  (c-name "g_dbus_method_invocation_get_property_info")
+  (return-type "const-GDBusPropertyInfo*")
+)
+
 (define-method get_connection
   (of-object "GDBusMethodInvocation")
   (c-name "g_dbus_method_invocation_get_connection")
@@ -6368,6 +6446,31 @@
   )
 )
 
+(define-method list_actions
+  (of-object "GDesktopAppInfo")
+  (c-name "g_desktop_app_info_list_actions")
+  (return-type "const-gchar*-const*")
+)
+
+(define-method launch_action
+  (of-object "GDesktopAppInfo")
+  (c-name "g_desktop_app_info_launch_action")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "action_name")
+    '("GAppLaunchContext*" "launch_context")
+  )
+)
+
+(define-method get_action_name
+  (of-object "GDesktopAppInfo")
+  (c-name "g_desktop_app_info_get_action_name")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "action_name")
+  )
+)
+
 (define-function g_desktop_app_info_lookup_get_type
   (c-name "g_desktop_app_info_lookup_get_type")
   (return-type "GType")
@@ -7567,6 +7670,28 @@
   )
 )
 
+(define-method trash_async
+  (of-object "GFile")
+  (c-name "g_file_trash_async")
+  (return-type "none")
+  (parameters
+    '("int" "io_priority")
+    '("GCancellable*" "cancellable")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method trash_finish
+  (of-object "GFile")
+  (c-name "g_file_trash_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
 (define-method copy
   (of-object "GFile")
   (c-name "g_file_copy")
@@ -7631,6 +7756,28 @@
   )
 )
 
+(define-method make_directory_async
+  (of-object "GFile")
+  (c-name "g_file_make_directory_async")
+  (return-type "none")
+  (parameters
+    '("int" "io_priority")
+    '("GCancellable*" "cancellable")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method make_directory_finish
+  (of-object "GFile")
+  (c-name "g_file_make_directory_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
 (define-method make_directory_with_parents
   (of-object "GFile")
   (c-name "g_file_make_directory_with_parents")
@@ -9128,6 +9275,20 @@
   )
 )
 
+(define-method serialize
+  (of-object "GIcon")
+  (c-name "g_icon_serialize")
+  (return-type "GVariant*")
+)
+
+(define-function g_icon_deserialize
+  (c-name "g_icon_deserialize")
+  (return-type "GIcon*")
+  (parameters
+    '("GVariant*" "value")
+  )
+)
+
 
 
 ;; From ginetaddress.h
@@ -10185,45 +10346,11 @@
 
 ;; From gioscheduler.h
 
-(define-function g_io_scheduler_push_job
-  (c-name "g_io_scheduler_push_job")
-  (return-type "none")
-  (parameters
-    '("GIOSchedulerJobFunc" "job_func")
-    '("gpointer" "user_data")
-    '("GDestroyNotify" "notify")
-    '("gint" "io_priority")
-    '("GCancellable*" "cancellable")
-  )
-)
-
 (define-function g_io_scheduler_cancel_all_jobs
   (c-name "g_io_scheduler_cancel_all_jobs")
   (return-type "none")
 )
 
-(define-method send_to_mainloop
-  (of-object "GIOSchedulerJob")
-  (c-name "g_io_scheduler_job_send_to_mainloop")
-  (return-type "gboolean")
-  (parameters
-    '("GSourceFunc" "func")
-    '("gpointer" "user_data")
-    '("GDestroyNotify" "notify")
-  )
-)
-
-(define-method send_to_mainloop_async
-  (of-object "GIOSchedulerJob")
-  (c-name "g_io_scheduler_job_send_to_mainloop_async")
-  (return-type "none")
-  (parameters
-    '("GSourceFunc" "func")
-    '("gpointer" "user_data")
-    '("GDestroyNotify" "notify")
-  )
-)
-
 
 
 ;; From giostream.h
@@ -10612,6 +10739,12 @@
   )
 )
 
+(define-method remove_all
+  (of-object "GMenu")
+  (c-name "g_menu_remove_all")
+  (return-type "none")
+)
+
 (define-method insert
   (of-object "GMenu")
   (c-name "g_menu_insert")
@@ -10865,6 +10998,15 @@
   )
 )
 
+(define-method set_icon
+  (of-object "GMenuItem")
+  (c-name "g_menu_item_set_icon")
+  (return-type "none")
+  (parameters
+    '("GIcon*" "icon")
+  )
+)
+
 
 
 ;; From gmenumodel.h
@@ -12092,6 +12234,26 @@
 
 
 
+;; From gpropertyaction.h
+
+(define-function g_property_action_get_type
+  (c-name "g_property_action_get_type")
+  (return-type "GType")
+)
+
+(define-function g_property_action_new
+  (c-name "g_property_action_new")
+  (is-constructor-of "GPropertyAction")
+  (return-type "GPropertyAction*")
+  (parameters
+    '("const-gchar*" "name")
+    '("gpointer" "object")
+    '("const-gchar*" "property_name")
+  )
+)
+
+
+
 ;; From gproxyaddressenumerator.h
 
 (define-function g_proxy_address_enumerator_get_type
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs
index 2b7e9e1..2e35dff 100644
--- a/glib/src/glib_functions.defs
+++ b/glib/src/glib_functions.defs
@@ -623,6 +623,17 @@
   )
 )
 
+(define-flags SubprocessFlags
+  (in-module "GTest")
+  (c-name "GTestSubprocessFlags")
+  (gtype-id "G_TYPE_TEST_SUBPROCESS_FLAGS")
+  (values
+    '("stdin" "G_TEST_SUBPROCESS_INHERIT_STDIN")
+    '("stdout" "G_TEST_SUBPROCESS_INHERIT_STDOUT")
+    '("stderr" "G_TEST_SUBPROCESS_INHERIT_STDERR")
+  )
+)
+
 (define-enum LogType
   (in-module "GTest")
   (c-name "GTestLogType")
@@ -641,6 +652,16 @@
   )
 )
 
+(define-enum FileType
+  (in-module "GTest")
+  (c-name "GTestFileType")
+  (gtype-id "G_TYPE_TEST_FILE_TYPE")
+  (values
+    '("dist" "G_TEST_DIST")
+    '("built" "G_TEST_BUILT")
+  )
+)
+
 (define-enum Error
   (in-module "GThread")
   (c-name "GThreadError")
@@ -7560,6 +7581,10 @@
 
 
 
+;; From gmessages-private.h
+
+
+
 ;; From gmirroringtable.h
 
 
@@ -8739,6 +8764,12 @@
   (return-type "gboolean")
 )
 
+(define-method get_max_lookbehind
+  (of-object "GRegex")
+  (c-name "g_regex_get_max_lookbehind")
+  (return-type "gint")
+)
+
 (define-method get_string_number
   (of-object "GRegex")
   (c-name "g_regex_get_string_number")
@@ -11104,6 +11135,11 @@
   (varargs #t)
 )
 
+(define-function g_test_subprocess
+  (c-name "g_test_subprocess")
+  (return-type "gboolean")
+)
+
 (define-function g_test_run
   (c-name "g_test_run")
   (return-type "int")
@@ -11201,12 +11237,13 @@
   )
 )
 
-(define-function g_test_trap_fork
-  (c-name "g_test_trap_fork")
-  (return-type "gboolean")
+(define-function g_test_trap_subprocess
+  (c-name "g_test_trap_subprocess")
+  (return-type "none")
   (parameters
+    '("const-char*" "test_path")
     '("guint64" "usec_timeout")
-    '("GTestTrapFlags" "test_trap_flags")
+    '("GTestSubprocessFlags" "test_flags")
   )
 )
 
@@ -11466,6 +11503,34 @@
   )
 )
 
+(define-function g_test_build_filename
+  (c-name "g_test_build_filename")
+  (return-type "gchar*")
+  (parameters
+    '("GTestFileType" "file_type")
+    '("const-gchar*" "first_path")
+  )
+  (varargs #t)
+)
+
+(define-function g_test_get_dir
+  (c-name "g_test_get_dir")
+  (return-type "const-gchar*")
+  (parameters
+    '("GTestFileType" "file_type")
+  )
+)
+
+(define-function g_test_get_filename
+  (c-name "g_test_get_filename")
+  (return-type "const-gchar*")
+  (parameters
+    '("GTestFileType" "file_type")
+    '("const-gchar*" "first_path")
+  )
+  (varargs #t)
+)
+
 
 
 ;; From gthread.h
@@ -13263,6 +13328,23 @@
   )
 )
 
+(define-function g_variant_new_take_string
+  (c-name "g_variant_new_take_string")
+  (return-type "GVariant*")
+  (parameters
+    '("gchar*" "string")
+  )
+)
+
+(define-function g_variant_new_printf
+  (c-name "g_variant_new_printf")
+  (return-type "GVariant*")
+  (parameters
+    '("const-gchar*" "format_string")
+  )
+  (varargs #t)
+)
+
 (define-function g_variant_new_object_path
   (c-name "g_variant_new_object_path")
   (return-type "GVariant*")
@@ -14464,6 +14546,10 @@
 
 
 
+;; From valgrind.h
+
+
+
 ;; From gallocator.h
 
 (define-function g_mem_chunk_new
diff --git a/glib/src/gobject_functions.defs b/glib/src/gobject_functions.defs
index 5b2d2d1..bcaa73c 100644
--- a/glib/src/gobject_functions.defs
+++ b/glib/src/gobject_functions.defs
@@ -167,6 +167,12 @@
   (return-type "const-gchar*")
 )
 
+(define-method unbind
+  (of-object "GBinding")
+  (c-name "g_binding_unbind")
+  (return-type "none")
+)
+
 (define-function g_object_bind_property
   (c-name "g_object_bind_property")
   (return-type "GBinding*")
@@ -2104,6 +2110,12 @@
   )
 )
 
+(define-method get_default_value
+  (of-object "GParamSpec")
+  (c-name "g_param_spec_get_default_value")
+  (return-type "const-GValue*")
+)
+
 (define-function g_param_type_register_static
   (c-name "g_param_type_register_static")
   (return-type "GType")
@@ -3207,6 +3219,15 @@
   )
 )
 
+(define-method add_instance_private
+  (of-object "GType")
+  (c-name "g_type_add_instance_private")
+  (return-type "gint")
+  (parameters
+    '("gsize" "private_size")
+  )
+)
+
 (define-method get_private
   (of-object "GTypeInstance")
   (c-name "g_type_instance_get_private")
@@ -3216,6 +3237,15 @@
   )
 )
 
+(define-function g_type_class_adjust_private_offset
+  (c-name "g_type_class_adjust_private_offset")
+  (return-type "none")
+  (parameters
+    '("gpointer" "g_class")
+    '("gint*" "private_size_or_offset")
+  )
+)
+
 (define-method add_class_private
   (of-object "GType")
   (c-name "g_type_add_class_private")
@@ -3234,6 +3264,14 @@
   )
 )
 
+(define-function g_type_class_get_instance_private_offset
+  (c-name "g_type_class_get_instance_private_offset")
+  (return-type "gint")
+  (parameters
+    '("gpointer" "g_class")
+  )
+)
+
 (define-method ensure
   (of-object "GType")
   (c-name "g_type_ensure")
@@ -3545,6 +3583,12 @@
 
 ;; From gtype-private.h
 
+(define-method is_in_init
+  (of-object "GType")
+  (c-name "g_type_is_in_init")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gvaluearray.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]