[glibmm] Updated the enums .defs.



commit 35adcaad45380319555e8e71c427c73e5326eb27
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jun 13 11:09:43 2012 +0200

    Updated the enums .defs.
    
    	* gio/src/gio_enums.defs:
    	* glib/src/glib_enums.defs: Used the gen_scripts.

 ChangeLog                |    7 +++++++
 gio/src/gio_enums.defs   |   36 ++++++++++++++++++++++++++++++++++--
 glib/src/glib_enums.defs |    4 +++-
 3 files changed, 44 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9d35b5e..06a81d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-06-13  Murray Cumming  <murrayc murrayc com>
 
+	Updated the enums .defs.
+
+	* gio/src/gio_enums.defs:
+	* glib/src/glib_enums.defs: Used the gen_scripts.
+
+2012-06-13  Murray Cumming  <murrayc murrayc com>
+
 	Simplify the gen_scripts slightly.
 
 	* tools/gen_scripts/gio_generate_docs.sh:
diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs
index ea27a83..405db2d 100644
--- a/gio/src/gio_enums.defs
+++ b/gio/src/gio_enums.defs
@@ -613,6 +613,27 @@
 
 ;; Original typedef:
 ;; typedef enum {
+;;   G_RESOLVER_RECORD_SRV = 1,
+;;   G_RESOLVER_RECORD_MX,
+;;   G_RESOLVER_RECORD_TXT,
+;;   G_RESOLVER_RECORD_SOA,
+;;   G_RESOLVER_RECORD_NS
+;; } GResolverRecordType;
+
+(define-enum-extended ResolverRecordType
+  (in-module "G")
+  (c-name "GResolverRecordType")
+  (values
+    '("srv" "G_RESOLVER_RECORD_SRV" "1")
+    '("mx" "G_RESOLVER_RECORD_MX" "2")
+    '("txt" "G_RESOLVER_RECORD_TXT" "3")
+    '("soa" "G_RESOLVER_RECORD_SOA" "4")
+    '("ns" "G_RESOLVER_RECORD_NS" "5")
+  )
+)
+
+;; Original typedef:
+;; typedef enum {
 ;;   G_RESOURCE_ERROR_NOT_FOUND,
 ;;   G_RESOURCE_ERROR_INTERNAL
 ;; } GResourceError;
@@ -657,9 +678,7 @@
 ;; Original typedef:
 ;; typedef enum {
 ;;   G_SOCKET_FAMILY_INVALID,
-;; #ifdef GLIB_SYSDEF_AF_UNIX
 ;;   G_SOCKET_FAMILY_UNIX = GLIB_SYSDEF_AF_UNIX,
-;; #endif
 ;;   G_SOCKET_FAMILY_IPV4 = GLIB_SYSDEF_AF_INET,
 ;;   G_SOCKET_FAMILY_IPV6 = GLIB_SYSDEF_AF_INET6
 ;; } GSocketFamily;
@@ -1443,6 +1462,19 @@
   )
 )
 
+;; Original typedef:
+;; typedef enum /*< flags >*/ {
+;;   G_TEST_DBUS_NONE = 0
+;; } GTestDBusFlags;
+
+(define-flags-extended TestDBusFlags
+  (in-module "G")
+  (c-name "GTestDBusFlags")
+  (values
+    '("us-none" "G_TEST_DBUS_NONE" "0x0")
+  )
+)
+
 ;; From gsettings.h
 
 ;; Original typedef:
diff --git a/glib/src/glib_enums.defs b/glib/src/glib_enums.defs
index f7fca47..0ef9028 100644
--- a/glib/src/glib_enums.defs
+++ b/glib/src/glib_enums.defs
@@ -1102,7 +1102,8 @@
 ;;   G_SPAWN_STDOUT_TO_DEV_NULL     = 1 << 3,
 ;;   G_SPAWN_STDERR_TO_DEV_NULL     = 1 << 4,
 ;;   G_SPAWN_CHILD_INHERITS_STDIN   = 1 << 5,
-;;   G_SPAWN_FILE_AND_ARGV_ZERO     = 1 << 6
+;;   G_SPAWN_FILE_AND_ARGV_ZERO     = 1 << 6,
+;;   G_SPAWN_SEARCH_PATH_FROM_ENVP  = 1 << 7
 ;; } GSpawnFlags;
 
 (define-flags-extended SpawnFlags
@@ -1116,6 +1117,7 @@
     '("stderr-to-dev-null" "G_SPAWN_STDERR_TO_DEV_NULL" "1 << 4")
     '("child-inherits-stdin" "G_SPAWN_CHILD_INHERITS_STDIN" "1 << 5")
     '("file-and-argv-zero" "G_SPAWN_FILE_AND_ARGV_ZERO" "1 << 6")
+    '("search-path-from-envp" "G_SPAWN_SEARCH_PATH_FROM_ENVP" "1 << 7")
   )
 )
 



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