[glibmm] Regnerate glib .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Regnerate glib .defs.
- Date: Wed, 3 Dec 2014 10:57:20 +0000 (UTC)
commit aa0525e6c7b0b519279b85aa7613a00359255b57
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Dec 3 11:11:33 2014 +0100
Regnerate glib .defs.
glib/src/glib_functions.defs | 24 ++++++++++++++++++++++++
glib/src/gobject_enums.defs | 6 ++++--
glib/src/gobject_functions.defs | 7 +++++++
3 files changed, 35 insertions(+), 2 deletions(-)
---
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs
index f1ed7d8..9d5e4c3 100644
--- a/glib/src/glib_functions.defs
+++ b/glib/src/glib_functions.defs
@@ -8088,6 +8088,21 @@
(return-type "gboolean")
)
+(define-method set_strict_posix
+ (of-object "GOptionContext")
+ (c-name "g_option_context_set_strict_posix")
+ (return-type "none")
+ (parameters
+ '("gboolean" "strict_posix")
+ )
+)
+
+(define-method get_strict_posix
+ (of-object "GOptionContext")
+ (c-name "g_option_context_get_strict_posix")
+ (return-type "gboolean")
+)
+
(define-method add_main_entries
(of-object "GOptionContext")
(c-name "g_option_context_add_main_entries")
@@ -10958,6 +10973,15 @@
)
)
+(define-function g_strv_contains
+ (c-name "g_strv_contains")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*-const*" "strv")
+ '("const-gchar*" "str")
+ )
+)
+
;; From gstringchunk.h
diff --git a/glib/src/gobject_enums.defs b/glib/src/gobject_enums.defs
index 2119077..7b64941 100644
--- a/glib/src/gobject_enums.defs
+++ b/glib/src/gobject_enums.defs
@@ -141,7 +141,8 @@
;; G_TYPE_DEBUG_NONE = 0,
;; G_TYPE_DEBUG_OBJECTS = 1 << 0,
;; G_TYPE_DEBUG_SIGNALS = 1 << 1,
-;; G_TYPE_DEBUG_MASK = 0x03
+;; G_TYPE_DEBUG_INSTANCE_COUNT = 1 << 2,
+;; G_TYPE_DEBUG_MASK = 0x07
;; } GTypeDebugFlags;
(define-flags-extended TypeDebugFlags
@@ -151,7 +152,8 @@
'("none" "G_TYPE_DEBUG_NONE" "0x0")
'("objects" "G_TYPE_DEBUG_OBJECTS" "1 << 0")
'("signals" "G_TYPE_DEBUG_SIGNALS" "1 << 1")
- '("mask" "G_TYPE_DEBUG_MASK" "0x03")
+ '("instance-count" "G_TYPE_DEBUG_INSTANCE_COUNT" "1 << 2")
+ '("mask" "G_TYPE_DEBUG_MASK" "0x07")
)
)
diff --git a/glib/src/gobject_functions.defs b/glib/src/gobject_functions.defs
index 31c500e..7611a00 100644
--- a/glib/src/gobject_functions.defs
+++ b/glib/src/gobject_functions.defs
@@ -96,6 +96,7 @@
'("none" "G_TYPE_DEBUG_NONE")
'("objects" "G_TYPE_DEBUG_OBJECTS")
'("signals" "G_TYPE_DEBUG_SIGNALS")
+ '("instance-count" "G_TYPE_DEBUG_INSTANCE_COUNT")
'("mask" "G_TYPE_DEBUG_MASK")
)
)
@@ -3136,6 +3137,12 @@
)
)
+(define-method get_instance_count
+ (of-object "GType")
+ (c-name "g_type_get_instance_count")
+ (return-type "int")
+)
+
(define-method register_static
(of-object "GType")
(c-name "g_type_register_static")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]