diff options
author | Murray Cumming <murrayc@murrayc.com> | 2013-07-31 10:35:38 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2013-07-31 10:35:38 +0200 |
commit | c337ca0b326787e8726320921c6b78af25d818fb (patch) | |
tree | 762d5336a953e9152506180808a5ff4a0d36f314 /glib | |
parent | 06fee805575c0ee171ab2ce6302167d703309237 (diff) | |
download | glibmm-c337ca0b326787e8726320921c6b78af25d818fb.tar.gz |
Regenerate functions defs
Diffstat (limited to 'glib')
-rw-r--r-- | glib/src/glib_functions.defs | 94 | ||||
-rw-r--r-- | glib/src/gobject_functions.defs | 44 |
2 files changed, 134 insertions, 4 deletions
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs index 2b7e9e14..2e35dff8 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 5b2d2d16..bcaa73c8 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 |