glib2 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/ChangeLog +3023 -0
  2. data/README +28 -0
  3. data/Rakefile +87 -0
  4. data/extconf.rb +61 -0
  5. data/sample/bookmarkfile.rb +66 -0
  6. data/sample/completion.rb +45 -0
  7. data/sample/idle.rb +41 -0
  8. data/sample/iochannel.rb +44 -0
  9. data/sample/keyfile.rb +62 -0
  10. data/sample/shell.rb +36 -0
  11. data/sample/spawn.rb +25 -0
  12. data/sample/timeout.rb +28 -0
  13. data/sample/timeout2.rb +35 -0
  14. data/sample/timer.rb +40 -0
  15. data/sample/type-register.rb +103 -0
  16. data/sample/type-register2.rb +104 -0
  17. data/sample/utils.rb +54 -0
  18. data/src/glib-enum-types.c +1032 -0
  19. data/src/glib-enum-types.h +140 -0
  20. data/src/lib/glib-mkenums.rb +199 -0
  21. data/src/lib/glib2.rb +220 -0
  22. data/src/lib/mkmf-gnome2.rb +390 -0
  23. data/src/lib/pkg-config.rb +137 -0
  24. data/src/rbgcompat.h +30 -0
  25. data/src/rbglib.c +320 -0
  26. data/src/rbglib.h +96 -0
  27. data/src/rbglib_bookmarkfile.c +595 -0
  28. data/src/rbglib_completion.c +192 -0
  29. data/src/rbglib_convert.c +195 -0
  30. data/src/rbglib_error.c +95 -0
  31. data/src/rbglib_fileutils.c +83 -0
  32. data/src/rbglib_i18n.c +44 -0
  33. data/src/rbglib_int64.c +157 -0
  34. data/src/rbglib_iochannel.c +883 -0
  35. data/src/rbglib_keyfile.c +846 -0
  36. data/src/rbglib_maincontext.c +917 -0
  37. data/src/rbglib_mainloop.c +87 -0
  38. data/src/rbglib_messages.c +150 -0
  39. data/src/rbglib_pollfd.c +111 -0
  40. data/src/rbglib_shell.c +68 -0
  41. data/src/rbglib_source.c +190 -0
  42. data/src/rbglib_spawn.c +345 -0
  43. data/src/rbglib_threads.c +51 -0
  44. data/src/rbglib_timer.c +127 -0
  45. data/src/rbglib_unicode.c +611 -0
  46. data/src/rbglib_utils.c +386 -0
  47. data/src/rbglib_win32.c +136 -0
  48. data/src/rbgobj_boxed.c +251 -0
  49. data/src/rbgobj_closure.c +337 -0
  50. data/src/rbgobj_convert.c +167 -0
  51. data/src/rbgobj_enums.c +961 -0
  52. data/src/rbgobj_fundamental.c +30 -0
  53. data/src/rbgobj_object.c +892 -0
  54. data/src/rbgobj_param.c +390 -0
  55. data/src/rbgobj_paramspecs.c +305 -0
  56. data/src/rbgobj_signal.c +963 -0
  57. data/src/rbgobj_strv.c +61 -0
  58. data/src/rbgobj_type.c +851 -0
  59. data/src/rbgobj_typeinstance.c +121 -0
  60. data/src/rbgobj_typeinterface.c +148 -0
  61. data/src/rbgobj_typemodule.c +66 -0
  62. data/src/rbgobj_typeplugin.c +49 -0
  63. data/src/rbgobj_value.c +313 -0
  64. data/src/rbgobj_valuearray.c +59 -0
  65. data/src/rbgobj_valuetypes.c +298 -0
  66. data/src/rbgobject.c +406 -0
  67. data/src/rbgobject.h +265 -0
  68. data/src/rbgprivate.h +88 -0
  69. data/src/rbgutil.c +222 -0
  70. data/src/rbgutil.h +82 -0
  71. data/src/rbgutil_callback.c +231 -0
  72. data/test/glib-test-init.rb +6 -0
  73. data/test/glib-test-utils.rb +12 -0
  74. data/test/run-test.rb +25 -0
  75. data/test/test_enum.rb +99 -0
  76. data/test/test_file_utils.rb +15 -0
  77. data/test/test_glib2.rb +120 -0
  78. data/test/test_iochannel.rb +275 -0
  79. data/test/test_key_file.rb +38 -0
  80. data/test/test_mkenums.rb +25 -0
  81. data/test/test_signal.rb +20 -0
  82. data/test/test_timeout.rb +28 -0
  83. data/test/test_unicode.rb +369 -0
  84. data/test/test_utils.rb +37 -0
  85. data/test/test_win32.rb +13 -0
  86. metadata +165 -0
data/sample/spawn.rb ADDED
@@ -0,0 +1,25 @@
1
+ =begin
2
+ spawn.rb - Sample for GLib::Spawn
3
+
4
+ Copyright (C) 2005 Ruby-GNOME2 Project Team
5
+ This program is licenced under the same licence as Ruby-GNOME2.
6
+
7
+ $Date: 2005/10/14 19:10:07 $
8
+ $Id: spawn.rb,v 1.3 2005/10/14 19:10:07 mutoh Exp $
9
+ =end
10
+
11
+ require 'glib2'
12
+
13
+ p GLib::Spawn.command_line_sync("ls")
14
+
15
+ puts "---"
16
+
17
+ #Here is an example to catch GLib::SpawnError.
18
+ begin
19
+ p GLib::Spawn.command_line_sync("nonexist_app")
20
+ rescue => e
21
+ puts "class = #{e.class}"
22
+ puts "domain = #{e.domain}"
23
+ puts "code = #{e.code}"
24
+ puts "message = #{e.message}"
25
+ end
data/sample/timeout.rb ADDED
@@ -0,0 +1,28 @@
1
+ =begin
2
+ timeout.rb - Sample for GLib::Timeout, GLib::MainLoop.
3
+
4
+ Copyright (C) 2005 Ruby-GNOME2 Project Team
5
+ This program is licenced under the same licence as Ruby-GNOME2.
6
+
7
+ $Id: timeout.rb,v 1.2 2005/07/14 17:05:22 mutoh Exp $
8
+ =end
9
+
10
+ require 'glib2'
11
+
12
+ mainloop = GLib::MainLoop.new(nil, true)
13
+
14
+ i = 0
15
+ GLib::Timeout.add(1000) {
16
+ i += 1
17
+ p "timeout-#{i}"
18
+ if i > 9
19
+ mainloop.quit
20
+ false # the source is removed.
21
+ else
22
+ true # continue ...
23
+ end
24
+ }
25
+
26
+ mainloop.run
27
+
28
+ p "quit..."
@@ -0,0 +1,35 @@
1
+ =begin
2
+ timeout2.rb - Sample for GLib::Timeout, GLib::MainLoop.
3
+
4
+ Copyright (C) 2005 Ruby-GNOME2 Project Team
5
+ This program is licenced under the same licence as Ruby-GNOME2.
6
+
7
+ $Date: 2005/03/13 15:43:32 $
8
+ $Id: timeout2.rb,v 1.2 2005/03/13 15:43:32 mutoh Exp $
9
+ =end
10
+
11
+ require 'glib2'
12
+
13
+ context = GLib::MainContext.new
14
+
15
+ mainloop = GLib::MainLoop.new(context, true)
16
+
17
+ source = GLib::Timeout.source_new(1000)
18
+
19
+ i = 0
20
+ source.set_callback {
21
+ i += 1
22
+ p "timeout2-#{i}"
23
+ if i > 9
24
+ mainloop.quit
25
+ false # the source is removed.
26
+ else
27
+ true # continue ...
28
+ end
29
+
30
+ }
31
+ source.attach(context)
32
+
33
+ mainloop.run
34
+
35
+ p "quit..."
data/sample/timer.rb ADDED
@@ -0,0 +1,40 @@
1
+ =begin
2
+ timer.rb - Sample for GLib::Timer
3
+
4
+ Copyright (C) 2005 Ruby-GNOME2 Project Team
5
+ This program is licenced under the same licence as Ruby-GNOME2.
6
+
7
+ $Id: timer.rb,v 1.1 2005/10/14 19:48:41 mutoh Exp $
8
+ =end
9
+
10
+ require 'glib2'
11
+
12
+ timer = GLib::Timer.new
13
+
14
+ timer.start
15
+ puts "start (status = running) : #{timer.elapsed}"
16
+
17
+ sleep(3)
18
+
19
+ puts "after 3 sec (status = running) : #{timer.elapsed}"
20
+
21
+ sleep(3)
22
+
23
+ puts "after 3 sec (status = running) : #{timer.elapsed}"
24
+ timer.stop
25
+ puts "stop (status = stoped) : #{timer.elapsed}"
26
+
27
+ sleep(3)
28
+ puts "after 3 sec (status = stoped) : #{timer.elapsed}"
29
+
30
+ timer.continue
31
+ puts "continue (status = running) : #{timer.elapsed}"
32
+ sleep(3)
33
+ puts "after 3 sec (status = running) : #{timer.elapsed}"
34
+
35
+ timer.reset
36
+ puts "reset (status = running) : #{timer.elapsed}"
37
+ sleep(3)
38
+ puts "after 3 sec (status = running) : #{timer.elapsed}"
39
+
40
+
@@ -0,0 +1,103 @@
1
+ =begin
2
+ type-register.rb - Sample for GLib::Object
3
+
4
+ You also need Ruby/GTK.
5
+
6
+ Copyright (C) 2004-2006 Ruby-GNOME2 Project Team
7
+ This program is licenced under the same licence as Ruby-GNOME2.
8
+
9
+ $Date: 2006/06/17 14:31:22 $
10
+ $Id: type-register.rb,v 1.9 2006/06/17 14:31:22 mutoh Exp $
11
+ =end
12
+
13
+ require 'gtk2'
14
+
15
+ class MyButton < Gtk::Button
16
+ type_register
17
+
18
+ def initialize(label = nil)
19
+ # XXX:
20
+ # When type_register() is used.
21
+ # super is equivalent to GLib::Object#initialize.
22
+ super("label" => label)
23
+ @fuga = 0
24
+ end
25
+
26
+ # override existing default handler of "clicked" signal.
27
+ def signal_do_clicked(*args)
28
+ puts "MyButton#signal_do_clicked enter"
29
+ #p caller
30
+ super
31
+ puts "MyButton#signal_do_clicked leave"
32
+ end
33
+
34
+ # define new signal "hoge"
35
+ signal_new("hoge", # name
36
+ GLib::Signal::RUN_FIRST, # flags
37
+ nil, # accumulator (XXX: not supported yet)
38
+ nil, # return type (void == nil)
39
+ Integer, Integer # parameter types
40
+ )
41
+ # define default handler of "hoge" signal
42
+ def signal_do_hoge(a, b)
43
+ puts "MyButton#signal_do_hoge enter"
44
+ #p caller
45
+ puts "MyButton#signal_do_hoge leave"
46
+ end
47
+
48
+ # define new property "fuga"
49
+ install_property(GLib::Param::Int.new("fuga", # name
50
+ "Fuga", # nick
51
+ "fuga hoge", # blurb
52
+ 0, # min
53
+ 10000, # max
54
+ 0, # default
55
+ GLib::Param::READABLE |
56
+ GLib::Param::WRITABLE))
57
+ # implementation of the property "fuga"
58
+ def fuga
59
+ puts "MyButton#fuga is called"
60
+ @fuga
61
+ end
62
+ def fuga=(arg)
63
+ puts "MyButton#fuga= is called"
64
+ @fuga = arg
65
+ notify("fuga")
66
+ end
67
+ end
68
+
69
+ class MyButton2 < MyButton
70
+ type_register("MyButton2")
71
+
72
+ # override default handler of "clicked" signal
73
+ def signal_do_clicked(*args)
74
+ puts "MyButton2#signal_do_clicked enter"
75
+ super(*args)
76
+ puts "MyButton2#signal_do_clicked leave"
77
+ end
78
+
79
+ # override default handler of "hoge" signal
80
+ def signal_do_hoge(a, b)
81
+ puts "MyButton2#signal_do_hoge enter"
82
+ puts "a, b = #{a}, #{b}"
83
+ super
84
+ puts "MyButton2#signal_do_hoge leave"
85
+ end
86
+ end
87
+
88
+ b = MyButton2.new("Hello")
89
+ p b
90
+ p b.label
91
+ p b.gtype
92
+ b.clicked
93
+ b.signal_emit("hoge", 1, 2)
94
+
95
+ b.signal_connect("notify"){|obj, pspec|
96
+ puts "#{b} notify #{pspec}"
97
+ }
98
+
99
+ p b.get_property("fuga")
100
+ b.set_property("fuga", 1)
101
+ p b.get_property("fuga")
102
+
103
+ p MyButton2.ancestors
@@ -0,0 +1,104 @@
1
+ =begin
2
+ type-register2.rb - Sample for GLib::Object
3
+
4
+ You also need Ruby/GTK.
5
+
6
+ Copyright (C) 2004-2006 Ruby-GNOME2 Project Team
7
+ This program is licenced under the same licence as Ruby-GNOME2.
8
+
9
+ $Date: 2006/06/17 14:31:22 $
10
+ $Id: type-register2.rb,v 1.3 2006/06/17 14:31:22 mutoh Exp $
11
+ =end
12
+
13
+ require 'gtk2'
14
+
15
+ class MyButton < Gtk::Button
16
+ type_register
17
+
18
+ def initialize(label = nil)
19
+ # XXX:
20
+ # When type_register() is used.
21
+ # super is equivalent to GLib::Object#initialize.
22
+ super("label" => label)
23
+ @fuga = 0
24
+ end
25
+
26
+ # override existing default handler of "clicked" signal.
27
+ def signal_do_clicked(*args)
28
+ puts "MyButton#signal_do_clicked enter"
29
+ #p caller
30
+ super
31
+ puts "MyButton#signal_do_clicked leave"
32
+ end
33
+
34
+ # define new signal "hoge"
35
+ signal_new("hoge", # name
36
+ GLib::Signal::RUN_FIRST, # flags
37
+ nil, # accumulator (XXX: not supported yet)
38
+ GLib::Type["void"], # return type
39
+ GLib::Type["gint"], GLib::Type["gint"] # parameter types
40
+ )
41
+ # define default handler of "hoge" signal
42
+ def signal_do_hoge(a, b)
43
+ puts "MyButton#signal_do_hoge enter"
44
+ #p caller
45
+ puts "MyButton#signal_do_hoge leave"
46
+ end
47
+
48
+ # define new property "fuga"
49
+ install_property(GLib::Param::Int.new("fuga", # name
50
+ "Fuga", # nick
51
+ "fuga hoge", # blurb
52
+ 0, # min
53
+ 10000, # max
54
+ 0, # default
55
+ GLib::Param::READABLE |
56
+ GLib::Param::WRITABLE))
57
+ # implementation of the property "fuga"
58
+ def fuga
59
+ puts "MyButton#fuga is called"
60
+ @fuga
61
+ end
62
+ def fuga=(arg)
63
+ puts "MyButton#fuga= is called"
64
+ @fuga = arg
65
+ notify("fuga")
66
+ end
67
+ end
68
+
69
+ class MyButton2 < MyButton
70
+ type_register("MyButton2")
71
+
72
+ # override default handler of "clicked" signal
73
+ def signal_do_clicked(*args)
74
+ puts "MyButton2#signal_do_clicked enter"
75
+ super(*args)
76
+ puts "MyButton2#signal_do_clicked leave"
77
+ end
78
+
79
+ # override default handler of "hoge" signal
80
+ def signal_do_hoge(a, b)
81
+ puts "MyButton2#signal_do_hoge enter"
82
+ puts "a, b = #{a}, #{b}"
83
+ #p caller
84
+ super
85
+ puts "MyButton2#signal_do_hoge leave"
86
+ end
87
+ end
88
+
89
+ b = MyButton2.new("Hello")
90
+ p b
91
+ p b.label
92
+ p b.gtype
93
+ b.clicked
94
+ b.signal_emit("hoge", 1, 2)
95
+
96
+ b.signal_connect("notify"){|obj, pspec|
97
+ puts "#{b} notify #{pspec}"
98
+ }
99
+
100
+ p b.get_property("fuga")
101
+ b.set_property("fuga", 1)
102
+ p b.get_property("fuga")
103
+
104
+ p MyButton2.ancestors
data/sample/utils.rb ADDED
@@ -0,0 +1,54 @@
1
+ =begin
2
+ utils.rb - Sample for GLib module function produced by rbglib_utils.c
3
+
4
+ Copyright (C) 2004 Masao Mutoh
5
+ This program is licenced under the same licence as Ruby-GNOME2.
6
+
7
+ $Date: 2004/10/21 15:50:21 $
8
+ $Id: utils.rb,v 1.2 2004/10/21 15:50:21 mutoh Exp $
9
+ =end
10
+
11
+ require 'glib2'
12
+
13
+ if GLib.check_version?(2, 2, 0)
14
+ GLib.application_name = "application name"
15
+ puts "GLib.application_name = #{GLib.application_name}"
16
+ end
17
+
18
+ GLib.prgname = "program name"
19
+ puts "GLib.prgname = #{GLib.prgname}"
20
+
21
+ puts "GLib.getenv('HOME') = #{GLib.getenv('HOME')}"
22
+ if GLib.check_version?(2, 4, 0)
23
+ GLib.setenv("FOO", "foo")
24
+ puts "GLib.getenv('FOO') = #{GLib.getenv('FOO')}"
25
+ GLib.unsetenv("FOO")
26
+ puts "GLib.getenv('FOO') = #{GLib.getenv('FOO')}"
27
+ end
28
+
29
+ puts "GLib.user_name = #{GLib.user_name}"
30
+ puts "GLib.real_name = #{GLib.real_name}"
31
+ puts "GLib.home_dir = #{GLib.home_dir}"
32
+ puts "GLib.tmp_dir = #{GLib.tmp_dir}"
33
+ puts "GLib.current_dir = #{GLib.current_dir}"
34
+ puts "GLib.path_is_absolute?('./') = #{GLib.path_is_absolute?("./")}"
35
+ puts "GLib.path_skip_root('/usr/local/bin/ruby') = #{GLib.path_skip_root('/usr/local/bin/ruby')}"
36
+ puts "GLib.path_get_basename(GLib.home_dir) = #{GLib.path_get_basename(GLib.home_dir)}"
37
+ puts "GLib.path_get_dirname(GLib.home_dir) = #{GLib.path_get_dirname(GLib.home_dir)}"
38
+ puts "GLib.find_program_in_path(GLib.prgname) = #{GLib.find_program_in_path(GLib.prgname)}"
39
+ puts "GLib.bit_nth_lsf(3, 1) = #{GLib.bit_nth_lsf(3, 1)}"
40
+ puts "GLib.bit_nth_msf(3, 1) = #{GLib.bit_nth_msf(3, 1)}"
41
+ puts "GLib.bit_storage(3) = #{GLib.bit_storage(3)}"
42
+ puts "GLib.spaced_primes_closest(10) = #{GLib.spaced_primes_closest(10)}"
43
+
44
+ keys = {
45
+ "foo" => 1 << 0,
46
+ "bar" => 1 << 1,
47
+ "hoge" => 1 << 2,
48
+ "fuga" => 1 << 3
49
+ }
50
+
51
+ puts GLib.parse_debug_string("foo", keys)
52
+ puts GLib.parse_debug_string("bar", keys)
53
+ puts GLib.parse_debug_string("foo:bar:hoge", keys)
54
+ puts GLib.parse_debug_string("foo:bar:hoge:fuga", keys)
@@ -0,0 +1,1032 @@
1
+
2
+ /* Generated by glib-mkenums.rb ($Id$) */
3
+
4
+ #include "glib-enum-types.h"
5
+ #include <glib-object.h>
6
+
7
+
8
+
9
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gbookmarkfile.h" */
10
+ GType
11
+ g_bookmark_file_error_get_type (void)
12
+ {
13
+ static GType etype = 0;
14
+ if (etype == 0) {
15
+ static const GEnumValue values[] = {
16
+ { G_BOOKMARK_FILE_ERROR_INVALID_URI, "G_BOOKMARK_FILE_ERROR_INVALID_URI", "invalid-uri" },
17
+ { G_BOOKMARK_FILE_ERROR_INVALID_VALUE, "G_BOOKMARK_FILE_ERROR_INVALID_VALUE", "invalid-value" },
18
+ { G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED", "app-not-registered" },
19
+ { G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND", "uri-not-found" },
20
+ { G_BOOKMARK_FILE_ERROR_READ, "G_BOOKMARK_FILE_ERROR_READ", "read" },
21
+ { G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
22
+ { G_BOOKMARK_FILE_ERROR_WRITE, "G_BOOKMARK_FILE_ERROR_WRITE", "write" },
23
+ { G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND", "file-not-found" },
24
+ { 0, NULL, NULL }
25
+ };
26
+ etype = g_enum_register_static ("GBookmarkFileError", values);
27
+ }
28
+ return etype;
29
+ }
30
+
31
+
32
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gchecksum.h" */
33
+ GType
34
+ g_checksum_type_get_type (void)
35
+ {
36
+ static GType etype = 0;
37
+ if (etype == 0) {
38
+ static const GEnumValue values[] = {
39
+ { G_CHECKSUM_MD5, "G_CHECKSUM_MD5", "md5" },
40
+ { G_CHECKSUM_SHA1, "G_CHECKSUM_SHA1", "sha1" },
41
+ { G_CHECKSUM_SHA256, "G_CHECKSUM_SHA256", "sha256" },
42
+ { 0, NULL, NULL }
43
+ };
44
+ etype = g_enum_register_static ("GChecksumType", values);
45
+ }
46
+ return etype;
47
+ }
48
+
49
+
50
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gconvert.h" */
51
+ GType
52
+ g_convert_error_get_type (void)
53
+ {
54
+ static GType etype = 0;
55
+ if (etype == 0) {
56
+ static const GEnumValue values[] = {
57
+ { G_CONVERT_ERROR_NO_CONVERSION, "G_CONVERT_ERROR_NO_CONVERSION", "no-conversion" },
58
+ { G_CONVERT_ERROR_ILLEGAL_SEQUENCE, "G_CONVERT_ERROR_ILLEGAL_SEQUENCE", "illegal-sequence" },
59
+ { G_CONVERT_ERROR_FAILED, "G_CONVERT_ERROR_FAILED", "failed" },
60
+ { G_CONVERT_ERROR_PARTIAL_INPUT, "G_CONVERT_ERROR_PARTIAL_INPUT", "partial-input" },
61
+ { G_CONVERT_ERROR_BAD_URI, "G_CONVERT_ERROR_BAD_URI", "bad-uri" },
62
+ { G_CONVERT_ERROR_NOT_ABSOLUTE_PATH, "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH", "not-absolute-path" },
63
+ { 0, NULL, NULL }
64
+ };
65
+ etype = g_enum_register_static ("GConvertError", values);
66
+ }
67
+ return etype;
68
+ }
69
+
70
+
71
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gdate.h" */
72
+ GType
73
+ g_date_dmy_get_type (void)
74
+ {
75
+ static GType etype = 0;
76
+ if (etype == 0) {
77
+ static const GEnumValue values[] = {
78
+ { G_DATE_DAY, "G_DATE_DAY", "day" },
79
+ { G_DATE_MONTH, "G_DATE_MONTH", "month" },
80
+ { G_DATE_YEAR, "G_DATE_YEAR", "year" },
81
+ { 0, NULL, NULL }
82
+ };
83
+ etype = g_enum_register_static ("GDateDMY", values);
84
+ }
85
+ return etype;
86
+ }
87
+
88
+ GType
89
+ g_date_weekday_get_type (void)
90
+ {
91
+ static GType etype = 0;
92
+ if (etype == 0) {
93
+ static const GEnumValue values[] = {
94
+ { G_DATE_BAD_WEEKDAY, "G_DATE_BAD_WEEKDAY", "bad-weekday" },
95
+ { G_DATE_MONDAY, "G_DATE_MONDAY", "monday" },
96
+ { G_DATE_TUESDAY, "G_DATE_TUESDAY", "tuesday" },
97
+ { G_DATE_WEDNESDAY, "G_DATE_WEDNESDAY", "wednesday" },
98
+ { G_DATE_THURSDAY, "G_DATE_THURSDAY", "thursday" },
99
+ { G_DATE_FRIDAY, "G_DATE_FRIDAY", "friday" },
100
+ { G_DATE_SATURDAY, "G_DATE_SATURDAY", "saturday" },
101
+ { G_DATE_SUNDAY, "G_DATE_SUNDAY", "sunday" },
102
+ { 0, NULL, NULL }
103
+ };
104
+ etype = g_enum_register_static ("GDateWeekday", values);
105
+ }
106
+ return etype;
107
+ }
108
+
109
+ GType
110
+ g_date_month_get_type (void)
111
+ {
112
+ static GType etype = 0;
113
+ if (etype == 0) {
114
+ static const GEnumValue values[] = {
115
+ { G_DATE_BAD_MONTH, "G_DATE_BAD_MONTH", "bad-month" },
116
+ { G_DATE_JANUARY, "G_DATE_JANUARY", "january" },
117
+ { G_DATE_FEBRUARY, "G_DATE_FEBRUARY", "february" },
118
+ { G_DATE_MARCH, "G_DATE_MARCH", "march" },
119
+ { G_DATE_APRIL, "G_DATE_APRIL", "april" },
120
+ { G_DATE_MAY, "G_DATE_MAY", "may" },
121
+ { G_DATE_JUNE, "G_DATE_JUNE", "june" },
122
+ { G_DATE_JULY, "G_DATE_JULY", "july" },
123
+ { G_DATE_AUGUST, "G_DATE_AUGUST", "august" },
124
+ { G_DATE_SEPTEMBER, "G_DATE_SEPTEMBER", "september" },
125
+ { G_DATE_OCTOBER, "G_DATE_OCTOBER", "october" },
126
+ { G_DATE_NOVEMBER, "G_DATE_NOVEMBER", "november" },
127
+ { G_DATE_DECEMBER, "G_DATE_DECEMBER", "december" },
128
+ { 0, NULL, NULL }
129
+ };
130
+ etype = g_enum_register_static ("GDateMonth", values);
131
+ }
132
+ return etype;
133
+ }
134
+
135
+
136
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gfileutils.h" */
137
+ GType
138
+ g_file_error_get_type (void)
139
+ {
140
+ static GType etype = 0;
141
+ if (etype == 0) {
142
+ static const GEnumValue values[] = {
143
+ { G_FILE_ERROR_EXIST, "G_FILE_ERROR_EXIST", "exist" },
144
+ { G_FILE_ERROR_ISDIR, "G_FILE_ERROR_ISDIR", "isdir" },
145
+ { G_FILE_ERROR_ACCES, "G_FILE_ERROR_ACCES", "acces" },
146
+ { G_FILE_ERROR_NAMETOOLONG, "G_FILE_ERROR_NAMETOOLONG", "nametoolong" },
147
+ { G_FILE_ERROR_NOENT, "G_FILE_ERROR_NOENT", "noent" },
148
+ { G_FILE_ERROR_NOTDIR, "G_FILE_ERROR_NOTDIR", "notdir" },
149
+ { G_FILE_ERROR_NXIO, "G_FILE_ERROR_NXIO", "nxio" },
150
+ { G_FILE_ERROR_NODEV, "G_FILE_ERROR_NODEV", "nodev" },
151
+ { G_FILE_ERROR_ROFS, "G_FILE_ERROR_ROFS", "rofs" },
152
+ { G_FILE_ERROR_TXTBSY, "G_FILE_ERROR_TXTBSY", "txtbsy" },
153
+ { G_FILE_ERROR_FAULT, "G_FILE_ERROR_FAULT", "fault" },
154
+ { G_FILE_ERROR_LOOP, "G_FILE_ERROR_LOOP", "loop" },
155
+ { G_FILE_ERROR_NOSPC, "G_FILE_ERROR_NOSPC", "nospc" },
156
+ { G_FILE_ERROR_NOMEM, "G_FILE_ERROR_NOMEM", "nomem" },
157
+ { G_FILE_ERROR_MFILE, "G_FILE_ERROR_MFILE", "mfile" },
158
+ { G_FILE_ERROR_NFILE, "G_FILE_ERROR_NFILE", "nfile" },
159
+ { G_FILE_ERROR_BADF, "G_FILE_ERROR_BADF", "badf" },
160
+ { G_FILE_ERROR_INVAL, "G_FILE_ERROR_INVAL", "inval" },
161
+ { G_FILE_ERROR_PIPE, "G_FILE_ERROR_PIPE", "pipe" },
162
+ { G_FILE_ERROR_AGAIN, "G_FILE_ERROR_AGAIN", "again" },
163
+ { G_FILE_ERROR_INTR, "G_FILE_ERROR_INTR", "intr" },
164
+ { G_FILE_ERROR_IO, "G_FILE_ERROR_IO", "io" },
165
+ { G_FILE_ERROR_PERM, "G_FILE_ERROR_PERM", "perm" },
166
+ { G_FILE_ERROR_NOSYS, "G_FILE_ERROR_NOSYS", "nosys" },
167
+ { G_FILE_ERROR_FAILED, "G_FILE_ERROR_FAILED", "failed" },
168
+ { 0, NULL, NULL }
169
+ };
170
+ etype = g_enum_register_static ("GFileError", values);
171
+ }
172
+ return etype;
173
+ }
174
+
175
+ GType
176
+ g_file_test_get_type (void)
177
+ {
178
+ static GType etype = 0;
179
+ if (etype == 0) {
180
+ static const GFlagsValue values[] = {
181
+ { G_FILE_TEST_IS_REGULAR, "G_FILE_TEST_IS_REGULAR", "is-regular" },
182
+ { G_FILE_TEST_IS_SYMLINK, "G_FILE_TEST_IS_SYMLINK", "is-symlink" },
183
+ { G_FILE_TEST_IS_DIR, "G_FILE_TEST_IS_DIR", "is-dir" },
184
+ { G_FILE_TEST_IS_EXECUTABLE, "G_FILE_TEST_IS_EXECUTABLE", "is-executable" },
185
+ { G_FILE_TEST_EXISTS, "G_FILE_TEST_EXISTS", "exists" },
186
+ { 0, NULL, NULL }
187
+ };
188
+ etype = g_flags_register_static ("GFileTest", values);
189
+ }
190
+ return etype;
191
+ }
192
+
193
+
194
+ /* enumerations from "/opt/local/include/glib-2.0/glib/ghook.h" */
195
+ GType
196
+ g_hook_flag_mask_get_type (void)
197
+ {
198
+ static GType etype = 0;
199
+ if (etype == 0) {
200
+ static const GFlagsValue values[] = {
201
+ { G_HOOK_FLAG_ACTIVE, "G_HOOK_FLAG_ACTIVE", "active" },
202
+ { G_HOOK_FLAG_IN_CALL, "G_HOOK_FLAG_IN_CALL", "in-call" },
203
+ { G_HOOK_FLAG_MASK, "G_HOOK_FLAG_MASK", "mask" },
204
+ { 0, NULL, NULL }
205
+ };
206
+ etype = g_flags_register_static ("GHookFlagMask", values);
207
+ }
208
+ return etype;
209
+ }
210
+
211
+
212
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gkeyfile.h" */
213
+ GType
214
+ g_key_file_error_get_type (void)
215
+ {
216
+ static GType etype = 0;
217
+ if (etype == 0) {
218
+ static const GEnumValue values[] = {
219
+ { G_KEY_FILE_ERROR_UNKNOWN_ENCODING, "G_KEY_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
220
+ { G_KEY_FILE_ERROR_PARSE, "G_KEY_FILE_ERROR_PARSE", "parse" },
221
+ { G_KEY_FILE_ERROR_NOT_FOUND, "G_KEY_FILE_ERROR_NOT_FOUND", "not-found" },
222
+ { G_KEY_FILE_ERROR_KEY_NOT_FOUND, "G_KEY_FILE_ERROR_KEY_NOT_FOUND", "key-not-found" },
223
+ { G_KEY_FILE_ERROR_GROUP_NOT_FOUND, "G_KEY_FILE_ERROR_GROUP_NOT_FOUND", "group-not-found" },
224
+ { G_KEY_FILE_ERROR_INVALID_VALUE, "G_KEY_FILE_ERROR_INVALID_VALUE", "invalid-value" },
225
+ { 0, NULL, NULL }
226
+ };
227
+ etype = g_enum_register_static ("GKeyFileError", values);
228
+ }
229
+ return etype;
230
+ }
231
+
232
+ GType
233
+ g_key_file_flags_get_type (void)
234
+ {
235
+ static GType etype = 0;
236
+ if (etype == 0) {
237
+ static const GFlagsValue values[] = {
238
+ { G_KEY_FILE_NONE, "G_KEY_FILE_NONE", "none" },
239
+ { G_KEY_FILE_KEEP_COMMENTS, "G_KEY_FILE_KEEP_COMMENTS", "keep-comments" },
240
+ { G_KEY_FILE_KEEP_TRANSLATIONS, "G_KEY_FILE_KEEP_TRANSLATIONS", "keep-translations" },
241
+ { 0, NULL, NULL }
242
+ };
243
+ etype = g_flags_register_static ("GKeyFileFlags", values);
244
+ }
245
+ return etype;
246
+ }
247
+
248
+
249
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gmarkup.h" */
250
+ GType
251
+ g_markup_error_get_type (void)
252
+ {
253
+ static GType etype = 0;
254
+ if (etype == 0) {
255
+ static const GEnumValue values[] = {
256
+ { G_MARKUP_ERROR_BAD_UTF8, "G_MARKUP_ERROR_BAD_UTF8", "bad-utf8" },
257
+ { G_MARKUP_ERROR_EMPTY, "G_MARKUP_ERROR_EMPTY", "empty" },
258
+ { G_MARKUP_ERROR_PARSE, "G_MARKUP_ERROR_PARSE", "parse" },
259
+ { G_MARKUP_ERROR_UNKNOWN_ELEMENT, "G_MARKUP_ERROR_UNKNOWN_ELEMENT", "unknown-element" },
260
+ { G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE", "unknown-attribute" },
261
+ { G_MARKUP_ERROR_INVALID_CONTENT, "G_MARKUP_ERROR_INVALID_CONTENT", "invalid-content" },
262
+ { G_MARKUP_ERROR_MISSING_ATTRIBUTE, "G_MARKUP_ERROR_MISSING_ATTRIBUTE", "missing-attribute" },
263
+ { 0, NULL, NULL }
264
+ };
265
+ etype = g_enum_register_static ("GMarkupError", values);
266
+ }
267
+ return etype;
268
+ }
269
+
270
+ GType
271
+ g_markup_parse_flags_get_type (void)
272
+ {
273
+ static GType etype = 0;
274
+ if (etype == 0) {
275
+ static const GFlagsValue values[] = {
276
+ { G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG, "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG", "do-not-use-this-unsupported-flag" },
277
+ { G_MARKUP_TREAT_CDATA_AS_TEXT, "G_MARKUP_TREAT_CDATA_AS_TEXT", "treat-cdata-as-text" },
278
+ { G_MARKUP_PREFIX_ERROR_POSITION, "G_MARKUP_PREFIX_ERROR_POSITION", "prefix-error-position" },
279
+ { 0, NULL, NULL }
280
+ };
281
+ etype = g_flags_register_static ("GMarkupParseFlags", values);
282
+ }
283
+ return etype;
284
+ }
285
+
286
+ GType
287
+ g_markup_collect_type_get_type (void)
288
+ {
289
+ static GType etype = 0;
290
+ if (etype == 0) {
291
+ static const GFlagsValue values[] = {
292
+ { G_MARKUP_COLLECT_INVALID, "G_MARKUP_COLLECT_INVALID", "invalid" },
293
+ { G_MARKUP_COLLECT_STRING, "G_MARKUP_COLLECT_STRING", "string" },
294
+ { G_MARKUP_COLLECT_STRDUP, "G_MARKUP_COLLECT_STRDUP", "strdup" },
295
+ { G_MARKUP_COLLECT_BOOLEAN, "G_MARKUP_COLLECT_BOOLEAN", "boolean" },
296
+ { G_MARKUP_COLLECT_TRISTATE, "G_MARKUP_COLLECT_TRISTATE", "tristate" },
297
+ { G_MARKUP_COLLECT_OPTIONAL, "G_MARKUP_COLLECT_OPTIONAL", "optional" },
298
+ { 0, NULL, NULL }
299
+ };
300
+ etype = g_flags_register_static ("GMarkupCollectType", values);
301
+ }
302
+ return etype;
303
+ }
304
+
305
+
306
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gmessages.h" */
307
+ GType
308
+ g_log_level_flags_get_type (void)
309
+ {
310
+ static GType etype = 0;
311
+ if (etype == 0) {
312
+ static const GFlagsValue values[] = {
313
+ { G_LOG_FLAG_RECURSION, "G_LOG_FLAG_RECURSION", "flag-recursion" },
314
+ { G_LOG_FLAG_FATAL, "G_LOG_FLAG_FATAL", "flag-fatal" },
315
+ { G_LOG_LEVEL_ERROR, "G_LOG_LEVEL_ERROR", "level-error" },
316
+ { G_LOG_LEVEL_CRITICAL, "G_LOG_LEVEL_CRITICAL", "level-critical" },
317
+ { G_LOG_LEVEL_WARNING, "G_LOG_LEVEL_WARNING", "level-warning" },
318
+ { G_LOG_LEVEL_MESSAGE, "G_LOG_LEVEL_MESSAGE", "level-message" },
319
+ { G_LOG_LEVEL_INFO, "G_LOG_LEVEL_INFO", "level-info" },
320
+ { G_LOG_LEVEL_DEBUG, "G_LOG_LEVEL_DEBUG", "level-debug" },
321
+ { G_LOG_LEVEL_MASK, "G_LOG_LEVEL_MASK", "level-mask" },
322
+ { 0, NULL, NULL }
323
+ };
324
+ etype = g_flags_register_static ("GLogLevelFlags", values);
325
+ }
326
+ return etype;
327
+ }
328
+
329
+
330
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gnode.h" */
331
+ GType
332
+ g_traverse_flags_get_type (void)
333
+ {
334
+ static GType etype = 0;
335
+ if (etype == 0) {
336
+ static const GFlagsValue values[] = {
337
+ { G_TRAVERSE_LEAVES, "G_TRAVERSE_LEAVES", "leaves" },
338
+ { G_TRAVERSE_NON_LEAVES, "G_TRAVERSE_NON_LEAVES", "non-leaves" },
339
+ { G_TRAVERSE_ALL, "G_TRAVERSE_ALL", "all" },
340
+ { G_TRAVERSE_MASK, "G_TRAVERSE_MASK", "mask" },
341
+ { G_TRAVERSE_LEAFS, "G_TRAVERSE_LEAFS", "leafs" },
342
+ { G_TRAVERSE_NON_LEAFS, "G_TRAVERSE_NON_LEAFS", "non-leafs" },
343
+ { 0, NULL, NULL }
344
+ };
345
+ etype = g_flags_register_static ("GTraverseFlags", values);
346
+ }
347
+ return etype;
348
+ }
349
+
350
+ GType
351
+ g_traverse_type_get_type (void)
352
+ {
353
+ static GType etype = 0;
354
+ if (etype == 0) {
355
+ static const GEnumValue values[] = {
356
+ { G_IN_ORDER, "G_IN_ORDER", "in-order" },
357
+ { G_PRE_ORDER, "G_PRE_ORDER", "pre-order" },
358
+ { G_POST_ORDER, "G_POST_ORDER", "post-order" },
359
+ { G_LEVEL_ORDER, "G_LEVEL_ORDER", "level-order" },
360
+ { 0, NULL, NULL }
361
+ };
362
+ etype = g_enum_register_static ("GTraverseType", values);
363
+ }
364
+ return etype;
365
+ }
366
+
367
+
368
+ /* enumerations from "/opt/local/include/glib-2.0/glib/goption.h" */
369
+ GType
370
+ g_option_flags_get_type (void)
371
+ {
372
+ static GType etype = 0;
373
+ if (etype == 0) {
374
+ static const GFlagsValue values[] = {
375
+ { G_OPTION_FLAG_HIDDEN, "G_OPTION_FLAG_HIDDEN", "hidden" },
376
+ { G_OPTION_FLAG_IN_MAIN, "G_OPTION_FLAG_IN_MAIN", "in-main" },
377
+ { G_OPTION_FLAG_REVERSE, "G_OPTION_FLAG_REVERSE", "reverse" },
378
+ { G_OPTION_FLAG_NO_ARG, "G_OPTION_FLAG_NO_ARG", "no-arg" },
379
+ { G_OPTION_FLAG_FILENAME, "G_OPTION_FLAG_FILENAME", "filename" },
380
+ { G_OPTION_FLAG_OPTIONAL_ARG, "G_OPTION_FLAG_OPTIONAL_ARG", "optional-arg" },
381
+ { G_OPTION_FLAG_NOALIAS, "G_OPTION_FLAG_NOALIAS", "noalias" },
382
+ { 0, NULL, NULL }
383
+ };
384
+ etype = g_flags_register_static ("GOptionFlags", values);
385
+ }
386
+ return etype;
387
+ }
388
+
389
+ GType
390
+ g_option_arg_get_type (void)
391
+ {
392
+ static GType etype = 0;
393
+ if (etype == 0) {
394
+ static const GEnumValue values[] = {
395
+ { G_OPTION_ARG_NONE, "G_OPTION_ARG_NONE", "none" },
396
+ { G_OPTION_ARG_STRING, "G_OPTION_ARG_STRING", "string" },
397
+ { G_OPTION_ARG_INT, "G_OPTION_ARG_INT", "int" },
398
+ { G_OPTION_ARG_CALLBACK, "G_OPTION_ARG_CALLBACK", "callback" },
399
+ { G_OPTION_ARG_FILENAME, "G_OPTION_ARG_FILENAME", "filename" },
400
+ { G_OPTION_ARG_STRING_ARRAY, "G_OPTION_ARG_STRING_ARRAY", "string-array" },
401
+ { G_OPTION_ARG_FILENAME_ARRAY, "G_OPTION_ARG_FILENAME_ARRAY", "filename-array" },
402
+ { G_OPTION_ARG_DOUBLE, "G_OPTION_ARG_DOUBLE", "double" },
403
+ { G_OPTION_ARG_INT64, "G_OPTION_ARG_INT64", "int64" },
404
+ { 0, NULL, NULL }
405
+ };
406
+ etype = g_enum_register_static ("GOptionArg", values);
407
+ }
408
+ return etype;
409
+ }
410
+
411
+ GType
412
+ g_option_error_get_type (void)
413
+ {
414
+ static GType etype = 0;
415
+ if (etype == 0) {
416
+ static const GEnumValue values[] = {
417
+ { G_OPTION_ERROR_UNKNOWN_OPTION, "G_OPTION_ERROR_UNKNOWN_OPTION", "unknown-option" },
418
+ { G_OPTION_ERROR_BAD_VALUE, "G_OPTION_ERROR_BAD_VALUE", "bad-value" },
419
+ { G_OPTION_ERROR_FAILED, "G_OPTION_ERROR_FAILED", "failed" },
420
+ { 0, NULL, NULL }
421
+ };
422
+ etype = g_enum_register_static ("GOptionError", values);
423
+ }
424
+ return etype;
425
+ }
426
+
427
+
428
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gregex.h" */
429
+ GType
430
+ g_regex_error_get_type (void)
431
+ {
432
+ static GType etype = 0;
433
+ if (etype == 0) {
434
+ static const GEnumValue values[] = {
435
+ { G_REGEX_ERROR_COMPILE, "G_REGEX_ERROR_COMPILE", "compile" },
436
+ { G_REGEX_ERROR_OPTIMIZE, "G_REGEX_ERROR_OPTIMIZE", "optimize" },
437
+ { G_REGEX_ERROR_REPLACE, "G_REGEX_ERROR_REPLACE", "replace" },
438
+ { G_REGEX_ERROR_MATCH, "G_REGEX_ERROR_MATCH", "match" },
439
+ { G_REGEX_ERROR_INTERNAL, "G_REGEX_ERROR_INTERNAL", "internal" },
440
+ { G_REGEX_ERROR_STRAY_BACKSLASH, "G_REGEX_ERROR_STRAY_BACKSLASH", "stray-backslash" },
441
+ { G_REGEX_ERROR_MISSING_CONTROL_CHAR, "G_REGEX_ERROR_MISSING_CONTROL_CHAR", "missing-control-char" },
442
+ { G_REGEX_ERROR_UNRECOGNIZED_ESCAPE, "G_REGEX_ERROR_UNRECOGNIZED_ESCAPE", "unrecognized-escape" },
443
+ { G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER, "G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER", "quantifiers-out-of-order" },
444
+ { G_REGEX_ERROR_QUANTIFIER_TOO_BIG, "G_REGEX_ERROR_QUANTIFIER_TOO_BIG", "quantifier-too-big" },
445
+ { G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS, "G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS", "unterminated-character-class" },
446
+ { G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS, "G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS", "invalid-escape-in-character-class" },
447
+ { G_REGEX_ERROR_RANGE_OUT_OF_ORDER, "G_REGEX_ERROR_RANGE_OUT_OF_ORDER", "range-out-of-order" },
448
+ { G_REGEX_ERROR_NOTHING_TO_REPEAT, "G_REGEX_ERROR_NOTHING_TO_REPEAT", "nothing-to-repeat" },
449
+ { G_REGEX_ERROR_UNRECOGNIZED_CHARACTER, "G_REGEX_ERROR_UNRECOGNIZED_CHARACTER", "unrecognized-character" },
450
+ { G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS, "G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS", "posix-named-class-outside-class" },
451
+ { G_REGEX_ERROR_UNMATCHED_PARENTHESIS, "G_REGEX_ERROR_UNMATCHED_PARENTHESIS", "unmatched-parenthesis" },
452
+ { G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE, "G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE", "inexistent-subpattern-reference" },
453
+ { G_REGEX_ERROR_UNTERMINATED_COMMENT, "G_REGEX_ERROR_UNTERMINATED_COMMENT", "unterminated-comment" },
454
+ { G_REGEX_ERROR_EXPRESSION_TOO_LARGE, "G_REGEX_ERROR_EXPRESSION_TOO_LARGE", "expression-too-large" },
455
+ { G_REGEX_ERROR_MEMORY_ERROR, "G_REGEX_ERROR_MEMORY_ERROR", "memory-error" },
456
+ { G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND, "G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND", "variable-length-lookbehind" },
457
+ { G_REGEX_ERROR_MALFORMED_CONDITION, "G_REGEX_ERROR_MALFORMED_CONDITION", "malformed-condition" },
458
+ { G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES, "G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES", "too-many-conditional-branches" },
459
+ { G_REGEX_ERROR_ASSERTION_EXPECTED, "G_REGEX_ERROR_ASSERTION_EXPECTED", "assertion-expected" },
460
+ { G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME, "G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME", "unknown-posix-class-name" },
461
+ { G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED, "G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED", "posix-collating-elements-not-supported" },
462
+ { G_REGEX_ERROR_HEX_CODE_TOO_LARGE, "G_REGEX_ERROR_HEX_CODE_TOO_LARGE", "hex-code-too-large" },
463
+ { G_REGEX_ERROR_INVALID_CONDITION, "G_REGEX_ERROR_INVALID_CONDITION", "invalid-condition" },
464
+ { G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND, "G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND", "single-byte-match-in-lookbehind" },
465
+ { G_REGEX_ERROR_INFINITE_LOOP, "G_REGEX_ERROR_INFINITE_LOOP", "infinite-loop" },
466
+ { G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR, "G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR", "missing-subpattern-name-terminator" },
467
+ { G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME, "G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME", "duplicate-subpattern-name" },
468
+ { G_REGEX_ERROR_MALFORMED_PROPERTY, "G_REGEX_ERROR_MALFORMED_PROPERTY", "malformed-property" },
469
+ { G_REGEX_ERROR_UNKNOWN_PROPERTY, "G_REGEX_ERROR_UNKNOWN_PROPERTY", "unknown-property" },
470
+ { G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG, "G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG", "subpattern-name-too-long" },
471
+ { G_REGEX_ERROR_TOO_MANY_SUBPATTERNS, "G_REGEX_ERROR_TOO_MANY_SUBPATTERNS", "too-many-subpatterns" },
472
+ { G_REGEX_ERROR_INVALID_OCTAL_VALUE, "G_REGEX_ERROR_INVALID_OCTAL_VALUE", "invalid-octal-value" },
473
+ { G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE, "G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE", "too-many-branches-in-define" },
474
+ { G_REGEX_ERROR_DEFINE_REPETION, "G_REGEX_ERROR_DEFINE_REPETION", "define-repetion" },
475
+ { G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS, "G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS", "inconsistent-newline-options" },
476
+ { G_REGEX_ERROR_MISSING_BACK_REFERENCE, "G_REGEX_ERROR_MISSING_BACK_REFERENCE", "missing-back-reference" },
477
+ { 0, NULL, NULL }
478
+ };
479
+ etype = g_enum_register_static ("GRegexError", values);
480
+ }
481
+ return etype;
482
+ }
483
+
484
+ GType
485
+ g_regex_compile_flags_get_type (void)
486
+ {
487
+ static GType etype = 0;
488
+ if (etype == 0) {
489
+ static const GFlagsValue values[] = {
490
+ { G_REGEX_CASELESS, "G_REGEX_CASELESS", "caseless" },
491
+ { G_REGEX_MULTILINE, "G_REGEX_MULTILINE", "multiline" },
492
+ { G_REGEX_DOTALL, "G_REGEX_DOTALL", "dotall" },
493
+ { G_REGEX_EXTENDED, "G_REGEX_EXTENDED", "extended" },
494
+ { G_REGEX_ANCHORED, "G_REGEX_ANCHORED", "anchored" },
495
+ { G_REGEX_DOLLAR_ENDONLY, "G_REGEX_DOLLAR_ENDONLY", "dollar-endonly" },
496
+ { G_REGEX_UNGREEDY, "G_REGEX_UNGREEDY", "ungreedy" },
497
+ { G_REGEX_RAW, "G_REGEX_RAW", "raw" },
498
+ { G_REGEX_NO_AUTO_CAPTURE, "G_REGEX_NO_AUTO_CAPTURE", "no-auto-capture" },
499
+ { G_REGEX_OPTIMIZE, "G_REGEX_OPTIMIZE", "optimize" },
500
+ { G_REGEX_DUPNAMES, "G_REGEX_DUPNAMES", "dupnames" },
501
+ { G_REGEX_NEWLINE_CR, "G_REGEX_NEWLINE_CR", "newline-cr" },
502
+ { G_REGEX_NEWLINE_LF, "G_REGEX_NEWLINE_LF", "newline-lf" },
503
+ { G_REGEX_NEWLINE_CRLF, "G_REGEX_NEWLINE_CRLF", "newline-crlf" },
504
+ { 0, NULL, NULL }
505
+ };
506
+ etype = g_flags_register_static ("GRegexCompileFlags", values);
507
+ }
508
+ return etype;
509
+ }
510
+
511
+ GType
512
+ g_regex_match_flags_get_type (void)
513
+ {
514
+ static GType etype = 0;
515
+ if (etype == 0) {
516
+ static const GFlagsValue values[] = {
517
+ { G_REGEX_MATCH_ANCHORED, "G_REGEX_MATCH_ANCHORED", "anchored" },
518
+ { G_REGEX_MATCH_NOTBOL, "G_REGEX_MATCH_NOTBOL", "notbol" },
519
+ { G_REGEX_MATCH_NOTEOL, "G_REGEX_MATCH_NOTEOL", "noteol" },
520
+ { G_REGEX_MATCH_NOTEMPTY, "G_REGEX_MATCH_NOTEMPTY", "notempty" },
521
+ { G_REGEX_MATCH_PARTIAL, "G_REGEX_MATCH_PARTIAL", "partial" },
522
+ { G_REGEX_MATCH_NEWLINE_CR, "G_REGEX_MATCH_NEWLINE_CR", "newline-cr" },
523
+ { G_REGEX_MATCH_NEWLINE_LF, "G_REGEX_MATCH_NEWLINE_LF", "newline-lf" },
524
+ { G_REGEX_MATCH_NEWLINE_CRLF, "G_REGEX_MATCH_NEWLINE_CRLF", "newline-crlf" },
525
+ { G_REGEX_MATCH_NEWLINE_ANY, "G_REGEX_MATCH_NEWLINE_ANY", "newline-any" },
526
+ { 0, NULL, NULL }
527
+ };
528
+ etype = g_flags_register_static ("GRegexMatchFlags", values);
529
+ }
530
+ return etype;
531
+ }
532
+
533
+
534
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gshell.h" */
535
+ GType
536
+ g_shell_error_get_type (void)
537
+ {
538
+ static GType etype = 0;
539
+ if (etype == 0) {
540
+ static const GEnumValue values[] = {
541
+ { G_SHELL_ERROR_BAD_QUOTING, "G_SHELL_ERROR_BAD_QUOTING", "bad-quoting" },
542
+ { G_SHELL_ERROR_EMPTY_STRING, "G_SHELL_ERROR_EMPTY_STRING", "empty-string" },
543
+ { G_SHELL_ERROR_FAILED, "G_SHELL_ERROR_FAILED", "failed" },
544
+ { 0, NULL, NULL }
545
+ };
546
+ etype = g_enum_register_static ("GShellError", values);
547
+ }
548
+ return etype;
549
+ }
550
+
551
+
552
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gslice.h" */
553
+ GType
554
+ g_slice_config_get_type (void)
555
+ {
556
+ static GType etype = 0;
557
+ if (etype == 0) {
558
+ static const GEnumValue values[] = {
559
+ { G_SLICE_CONFIG_ALWAYS_MALLOC, "G_SLICE_CONFIG_ALWAYS_MALLOC", "always-malloc" },
560
+ { G_SLICE_CONFIG_BYPASS_MAGAZINES, "G_SLICE_CONFIG_BYPASS_MAGAZINES", "bypass-magazines" },
561
+ { G_SLICE_CONFIG_WORKING_SET_MSECS, "G_SLICE_CONFIG_WORKING_SET_MSECS", "working-set-msecs" },
562
+ { G_SLICE_CONFIG_COLOR_INCREMENT, "G_SLICE_CONFIG_COLOR_INCREMENT", "color-increment" },
563
+ { G_SLICE_CONFIG_CHUNK_SIZES, "G_SLICE_CONFIG_CHUNK_SIZES", "chunk-sizes" },
564
+ { G_SLICE_CONFIG_CONTENTION_COUNTER, "G_SLICE_CONFIG_CONTENTION_COUNTER", "contention-counter" },
565
+ { 0, NULL, NULL }
566
+ };
567
+ etype = g_enum_register_static ("GSliceConfig", values);
568
+ }
569
+ return etype;
570
+ }
571
+
572
+
573
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gspawn.h" */
574
+ GType
575
+ g_spawn_error_get_type (void)
576
+ {
577
+ static GType etype = 0;
578
+ if (etype == 0) {
579
+ static const GEnumValue values[] = {
580
+ { G_SPAWN_ERROR_FORK, "G_SPAWN_ERROR_FORK", "fork" },
581
+ { G_SPAWN_ERROR_READ, "G_SPAWN_ERROR_READ", "read" },
582
+ { G_SPAWN_ERROR_CHDIR, "G_SPAWN_ERROR_CHDIR", "chdir" },
583
+ { G_SPAWN_ERROR_ACCES, "G_SPAWN_ERROR_ACCES", "acces" },
584
+ { G_SPAWN_ERROR_PERM, "G_SPAWN_ERROR_PERM", "perm" },
585
+ { G_SPAWN_ERROR_2BIG, "G_SPAWN_ERROR_2BIG", "2big" },
586
+ { G_SPAWN_ERROR_NOEXEC, "G_SPAWN_ERROR_NOEXEC", "noexec" },
587
+ { G_SPAWN_ERROR_NAMETOOLONG, "G_SPAWN_ERROR_NAMETOOLONG", "nametoolong" },
588
+ { G_SPAWN_ERROR_NOENT, "G_SPAWN_ERROR_NOENT", "noent" },
589
+ { G_SPAWN_ERROR_NOMEM, "G_SPAWN_ERROR_NOMEM", "nomem" },
590
+ { G_SPAWN_ERROR_NOTDIR, "G_SPAWN_ERROR_NOTDIR", "notdir" },
591
+ { G_SPAWN_ERROR_LOOP, "G_SPAWN_ERROR_LOOP", "loop" },
592
+ { G_SPAWN_ERROR_TXTBUSY, "G_SPAWN_ERROR_TXTBUSY", "txtbusy" },
593
+ { G_SPAWN_ERROR_IO, "G_SPAWN_ERROR_IO", "io" },
594
+ { G_SPAWN_ERROR_NFILE, "G_SPAWN_ERROR_NFILE", "nfile" },
595
+ { G_SPAWN_ERROR_MFILE, "G_SPAWN_ERROR_MFILE", "mfile" },
596
+ { G_SPAWN_ERROR_INVAL, "G_SPAWN_ERROR_INVAL", "inval" },
597
+ { G_SPAWN_ERROR_ISDIR, "G_SPAWN_ERROR_ISDIR", "isdir" },
598
+ { G_SPAWN_ERROR_LIBBAD, "G_SPAWN_ERROR_LIBBAD", "libbad" },
599
+ { G_SPAWN_ERROR_FAILED, "G_SPAWN_ERROR_FAILED", "failed" },
600
+ { 0, NULL, NULL }
601
+ };
602
+ etype = g_enum_register_static ("GSpawnError", values);
603
+ }
604
+ return etype;
605
+ }
606
+
607
+ GType
608
+ g_spawn_flags_get_type (void)
609
+ {
610
+ static GType etype = 0;
611
+ if (etype == 0) {
612
+ static const GFlagsValue values[] = {
613
+ { G_SPAWN_LEAVE_DESCRIPTORS_OPEN, "G_SPAWN_LEAVE_DESCRIPTORS_OPEN", "leave-descriptors-open" },
614
+ { G_SPAWN_DO_NOT_REAP_CHILD, "G_SPAWN_DO_NOT_REAP_CHILD", "do-not-reap-child" },
615
+ { G_SPAWN_SEARCH_PATH, "G_SPAWN_SEARCH_PATH", "search-path" },
616
+ { G_SPAWN_STDOUT_TO_DEV_NULL, "G_SPAWN_STDOUT_TO_DEV_NULL", "stdout-to-dev-null" },
617
+ { G_SPAWN_STDERR_TO_DEV_NULL, "G_SPAWN_STDERR_TO_DEV_NULL", "stderr-to-dev-null" },
618
+ { G_SPAWN_CHILD_INHERITS_STDIN, "G_SPAWN_CHILD_INHERITS_STDIN", "child-inherits-stdin" },
619
+ { G_SPAWN_FILE_AND_ARGV_ZERO, "G_SPAWN_FILE_AND_ARGV_ZERO", "file-and-argv-zero" },
620
+ { 0, NULL, NULL }
621
+ };
622
+ etype = g_flags_register_static ("GSpawnFlags", values);
623
+ }
624
+ return etype;
625
+ }
626
+
627
+
628
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gstrfuncs.h" */
629
+ GType
630
+ g_ascii_type_get_type (void)
631
+ {
632
+ static GType etype = 0;
633
+ if (etype == 0) {
634
+ static const GFlagsValue values[] = {
635
+ { G_ASCII_ALNUM, "G_ASCII_ALNUM", "alnum" },
636
+ { G_ASCII_ALPHA, "G_ASCII_ALPHA", "alpha" },
637
+ { G_ASCII_CNTRL, "G_ASCII_CNTRL", "cntrl" },
638
+ { G_ASCII_DIGIT, "G_ASCII_DIGIT", "digit" },
639
+ { G_ASCII_GRAPH, "G_ASCII_GRAPH", "graph" },
640
+ { G_ASCII_LOWER, "G_ASCII_LOWER", "lower" },
641
+ { G_ASCII_PRINT, "G_ASCII_PRINT", "print" },
642
+ { G_ASCII_PUNCT, "G_ASCII_PUNCT", "punct" },
643
+ { G_ASCII_SPACE, "G_ASCII_SPACE", "space" },
644
+ { G_ASCII_UPPER, "G_ASCII_UPPER", "upper" },
645
+ { G_ASCII_XDIGIT, "G_ASCII_XDIGIT", "xdigit" },
646
+ { 0, NULL, NULL }
647
+ };
648
+ etype = g_flags_register_static ("GAsciiType", values);
649
+ }
650
+ return etype;
651
+ }
652
+
653
+
654
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gtestutils.h" */
655
+ GType
656
+ g_test_trap_flags_get_type (void)
657
+ {
658
+ static GType etype = 0;
659
+ if (etype == 0) {
660
+ static const GFlagsValue values[] = {
661
+ { G_TEST_TRAP_SILENCE_STDOUT, "G_TEST_TRAP_SILENCE_STDOUT", "silence-stdout" },
662
+ { G_TEST_TRAP_SILENCE_STDERR, "G_TEST_TRAP_SILENCE_STDERR", "silence-stderr" },
663
+ { G_TEST_TRAP_INHERIT_STDIN, "G_TEST_TRAP_INHERIT_STDIN", "inherit-stdin" },
664
+ { 0, NULL, NULL }
665
+ };
666
+ etype = g_flags_register_static ("GTestTrapFlags", values);
667
+ }
668
+ return etype;
669
+ }
670
+
671
+ GType
672
+ g_test_log_type_get_type (void)
673
+ {
674
+ static GType etype = 0;
675
+ if (etype == 0) {
676
+ static const GEnumValue values[] = {
677
+ { G_TEST_LOG_NONE, "G_TEST_LOG_NONE", "none" },
678
+ { G_TEST_LOG_ERROR, "G_TEST_LOG_ERROR", "error" },
679
+ { G_TEST_LOG_START_BINARY, "G_TEST_LOG_START_BINARY", "start-binary" },
680
+ { G_TEST_LOG_LIST_CASE, "G_TEST_LOG_LIST_CASE", "list-case" },
681
+ { G_TEST_LOG_SKIP_CASE, "G_TEST_LOG_SKIP_CASE", "skip-case" },
682
+ { G_TEST_LOG_START_CASE, "G_TEST_LOG_START_CASE", "start-case" },
683
+ { G_TEST_LOG_STOP_CASE, "G_TEST_LOG_STOP_CASE", "stop-case" },
684
+ { G_TEST_LOG_MIN_RESULT, "G_TEST_LOG_MIN_RESULT", "min-result" },
685
+ { G_TEST_LOG_MAX_RESULT, "G_TEST_LOG_MAX_RESULT", "max-result" },
686
+ { G_TEST_LOG_MESSAGE, "G_TEST_LOG_MESSAGE", "message" },
687
+ { 0, NULL, NULL }
688
+ };
689
+ etype = g_enum_register_static ("GTestLogType", values);
690
+ }
691
+ return etype;
692
+ }
693
+
694
+
695
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gthread.h" */
696
+ GType
697
+ g_thread_error_get_type (void)
698
+ {
699
+ static GType etype = 0;
700
+ if (etype == 0) {
701
+ static const GEnumValue values[] = {
702
+ { G_THREAD_ERROR_AGAIN, "G_THREAD_ERROR_AGAIN", "again" },
703
+ { 0, NULL, NULL }
704
+ };
705
+ etype = g_enum_register_static ("GThreadError", values);
706
+ }
707
+ return etype;
708
+ }
709
+
710
+ GType
711
+ g_thread_priority_get_type (void)
712
+ {
713
+ static GType etype = 0;
714
+ if (etype == 0) {
715
+ static const GEnumValue values[] = {
716
+ { G_THREAD_PRIORITY_LOW, "G_THREAD_PRIORITY_LOW", "low" },
717
+ { G_THREAD_PRIORITY_NORMAL, "G_THREAD_PRIORITY_NORMAL", "normal" },
718
+ { G_THREAD_PRIORITY_HIGH, "G_THREAD_PRIORITY_HIGH", "high" },
719
+ { G_THREAD_PRIORITY_URGENT, "G_THREAD_PRIORITY_URGENT", "urgent" },
720
+ { 0, NULL, NULL }
721
+ };
722
+ etype = g_enum_register_static ("GThreadPriority", values);
723
+ }
724
+ return etype;
725
+ }
726
+
727
+ GType
728
+ g_once_status_get_type (void)
729
+ {
730
+ static GType etype = 0;
731
+ if (etype == 0) {
732
+ static const GEnumValue values[] = {
733
+ { G_ONCE_STATUS_NOTCALLED, "G_ONCE_STATUS_NOTCALLED", "notcalled" },
734
+ { G_ONCE_STATUS_PROGRESS, "G_ONCE_STATUS_PROGRESS", "progress" },
735
+ { G_ONCE_STATUS_READY, "G_ONCE_STATUS_READY", "ready" },
736
+ { 0, NULL, NULL }
737
+ };
738
+ etype = g_enum_register_static ("GOnceStatus", values);
739
+ }
740
+ return etype;
741
+ }
742
+
743
+
744
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gunicode.h" */
745
+ GType
746
+ g_unicode_type_get_type (void)
747
+ {
748
+ static GType etype = 0;
749
+ if (etype == 0) {
750
+ static const GEnumValue values[] = {
751
+ { G_UNICODE_CONTROL, "G_UNICODE_CONTROL", "control" },
752
+ { G_UNICODE_FORMAT, "G_UNICODE_FORMAT", "format" },
753
+ { G_UNICODE_UNASSIGNED, "G_UNICODE_UNASSIGNED", "unassigned" },
754
+ { G_UNICODE_PRIVATE_USE, "G_UNICODE_PRIVATE_USE", "private-use" },
755
+ { G_UNICODE_SURROGATE, "G_UNICODE_SURROGATE", "surrogate" },
756
+ { G_UNICODE_LOWERCASE_LETTER, "G_UNICODE_LOWERCASE_LETTER", "lowercase-letter" },
757
+ { G_UNICODE_MODIFIER_LETTER, "G_UNICODE_MODIFIER_LETTER", "modifier-letter" },
758
+ { G_UNICODE_OTHER_LETTER, "G_UNICODE_OTHER_LETTER", "other-letter" },
759
+ { G_UNICODE_TITLECASE_LETTER, "G_UNICODE_TITLECASE_LETTER", "titlecase-letter" },
760
+ { G_UNICODE_UPPERCASE_LETTER, "G_UNICODE_UPPERCASE_LETTER", "uppercase-letter" },
761
+ { G_UNICODE_COMBINING_MARK, "G_UNICODE_COMBINING_MARK", "combining-mark" },
762
+ { G_UNICODE_ENCLOSING_MARK, "G_UNICODE_ENCLOSING_MARK", "enclosing-mark" },
763
+ { G_UNICODE_NON_SPACING_MARK, "G_UNICODE_NON_SPACING_MARK", "non-spacing-mark" },
764
+ { G_UNICODE_DECIMAL_NUMBER, "G_UNICODE_DECIMAL_NUMBER", "decimal-number" },
765
+ { G_UNICODE_LETTER_NUMBER, "G_UNICODE_LETTER_NUMBER", "letter-number" },
766
+ { G_UNICODE_OTHER_NUMBER, "G_UNICODE_OTHER_NUMBER", "other-number" },
767
+ { G_UNICODE_CONNECT_PUNCTUATION, "G_UNICODE_CONNECT_PUNCTUATION", "connect-punctuation" },
768
+ { G_UNICODE_DASH_PUNCTUATION, "G_UNICODE_DASH_PUNCTUATION", "dash-punctuation" },
769
+ { G_UNICODE_CLOSE_PUNCTUATION, "G_UNICODE_CLOSE_PUNCTUATION", "close-punctuation" },
770
+ { G_UNICODE_FINAL_PUNCTUATION, "G_UNICODE_FINAL_PUNCTUATION", "final-punctuation" },
771
+ { G_UNICODE_INITIAL_PUNCTUATION, "G_UNICODE_INITIAL_PUNCTUATION", "initial-punctuation" },
772
+ { G_UNICODE_OTHER_PUNCTUATION, "G_UNICODE_OTHER_PUNCTUATION", "other-punctuation" },
773
+ { G_UNICODE_OPEN_PUNCTUATION, "G_UNICODE_OPEN_PUNCTUATION", "open-punctuation" },
774
+ { G_UNICODE_CURRENCY_SYMBOL, "G_UNICODE_CURRENCY_SYMBOL", "currency-symbol" },
775
+ { G_UNICODE_MODIFIER_SYMBOL, "G_UNICODE_MODIFIER_SYMBOL", "modifier-symbol" },
776
+ { G_UNICODE_MATH_SYMBOL, "G_UNICODE_MATH_SYMBOL", "math-symbol" },
777
+ { G_UNICODE_OTHER_SYMBOL, "G_UNICODE_OTHER_SYMBOL", "other-symbol" },
778
+ { G_UNICODE_LINE_SEPARATOR, "G_UNICODE_LINE_SEPARATOR", "line-separator" },
779
+ { G_UNICODE_PARAGRAPH_SEPARATOR, "G_UNICODE_PARAGRAPH_SEPARATOR", "paragraph-separator" },
780
+ { G_UNICODE_SPACE_SEPARATOR, "G_UNICODE_SPACE_SEPARATOR", "space-separator" },
781
+ { 0, NULL, NULL }
782
+ };
783
+ etype = g_enum_register_static ("GUnicodeType", values);
784
+ }
785
+ return etype;
786
+ }
787
+
788
+ GType
789
+ g_unicode_break_type_get_type (void)
790
+ {
791
+ static GType etype = 0;
792
+ if (etype == 0) {
793
+ static const GEnumValue values[] = {
794
+ { G_UNICODE_BREAK_MANDATORY, "G_UNICODE_BREAK_MANDATORY", "mandatory" },
795
+ { G_UNICODE_BREAK_CARRIAGE_RETURN, "G_UNICODE_BREAK_CARRIAGE_RETURN", "carriage-return" },
796
+ { G_UNICODE_BREAK_LINE_FEED, "G_UNICODE_BREAK_LINE_FEED", "line-feed" },
797
+ { G_UNICODE_BREAK_COMBINING_MARK, "G_UNICODE_BREAK_COMBINING_MARK", "combining-mark" },
798
+ { G_UNICODE_BREAK_SURROGATE, "G_UNICODE_BREAK_SURROGATE", "surrogate" },
799
+ { G_UNICODE_BREAK_ZERO_WIDTH_SPACE, "G_UNICODE_BREAK_ZERO_WIDTH_SPACE", "zero-width-space" },
800
+ { G_UNICODE_BREAK_INSEPARABLE, "G_UNICODE_BREAK_INSEPARABLE", "inseparable" },
801
+ { G_UNICODE_BREAK_NON_BREAKING_GLUE, "G_UNICODE_BREAK_NON_BREAKING_GLUE", "non-breaking-glue" },
802
+ { G_UNICODE_BREAK_CONTINGENT, "G_UNICODE_BREAK_CONTINGENT", "contingent" },
803
+ { G_UNICODE_BREAK_SPACE, "G_UNICODE_BREAK_SPACE", "space" },
804
+ { G_UNICODE_BREAK_AFTER, "G_UNICODE_BREAK_AFTER", "after" },
805
+ { G_UNICODE_BREAK_BEFORE, "G_UNICODE_BREAK_BEFORE", "before" },
806
+ { G_UNICODE_BREAK_BEFORE_AND_AFTER, "G_UNICODE_BREAK_BEFORE_AND_AFTER", "before-and-after" },
807
+ { G_UNICODE_BREAK_HYPHEN, "G_UNICODE_BREAK_HYPHEN", "hyphen" },
808
+ { G_UNICODE_BREAK_NON_STARTER, "G_UNICODE_BREAK_NON_STARTER", "non-starter" },
809
+ { G_UNICODE_BREAK_OPEN_PUNCTUATION, "G_UNICODE_BREAK_OPEN_PUNCTUATION", "open-punctuation" },
810
+ { G_UNICODE_BREAK_CLOSE_PUNCTUATION, "G_UNICODE_BREAK_CLOSE_PUNCTUATION", "close-punctuation" },
811
+ { G_UNICODE_BREAK_QUOTATION, "G_UNICODE_BREAK_QUOTATION", "quotation" },
812
+ { G_UNICODE_BREAK_EXCLAMATION, "G_UNICODE_BREAK_EXCLAMATION", "exclamation" },
813
+ { G_UNICODE_BREAK_IDEOGRAPHIC, "G_UNICODE_BREAK_IDEOGRAPHIC", "ideographic" },
814
+ { G_UNICODE_BREAK_NUMERIC, "G_UNICODE_BREAK_NUMERIC", "numeric" },
815
+ { G_UNICODE_BREAK_INFIX_SEPARATOR, "G_UNICODE_BREAK_INFIX_SEPARATOR", "infix-separator" },
816
+ { G_UNICODE_BREAK_SYMBOL, "G_UNICODE_BREAK_SYMBOL", "symbol" },
817
+ { G_UNICODE_BREAK_ALPHABETIC, "G_UNICODE_BREAK_ALPHABETIC", "alphabetic" },
818
+ { G_UNICODE_BREAK_PREFIX, "G_UNICODE_BREAK_PREFIX", "prefix" },
819
+ { G_UNICODE_BREAK_POSTFIX, "G_UNICODE_BREAK_POSTFIX", "postfix" },
820
+ { G_UNICODE_BREAK_COMPLEX_CONTEXT, "G_UNICODE_BREAK_COMPLEX_CONTEXT", "complex-context" },
821
+ { G_UNICODE_BREAK_AMBIGUOUS, "G_UNICODE_BREAK_AMBIGUOUS", "ambiguous" },
822
+ { G_UNICODE_BREAK_UNKNOWN, "G_UNICODE_BREAK_UNKNOWN", "unknown" },
823
+ { G_UNICODE_BREAK_NEXT_LINE, "G_UNICODE_BREAK_NEXT_LINE", "next-line" },
824
+ { G_UNICODE_BREAK_WORD_JOINER, "G_UNICODE_BREAK_WORD_JOINER", "word-joiner" },
825
+ { G_UNICODE_BREAK_HANGUL_L_JAMO, "G_UNICODE_BREAK_HANGUL_L_JAMO", "hangul-l-jamo" },
826
+ { G_UNICODE_BREAK_HANGUL_V_JAMO, "G_UNICODE_BREAK_HANGUL_V_JAMO", "hangul-v-jamo" },
827
+ { G_UNICODE_BREAK_HANGUL_T_JAMO, "G_UNICODE_BREAK_HANGUL_T_JAMO", "hangul-t-jamo" },
828
+ { G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE", "hangul-lv-syllable" },
829
+ { G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE", "hangul-lvt-syllable" },
830
+ { 0, NULL, NULL }
831
+ };
832
+ etype = g_enum_register_static ("GUnicodeBreakType", values);
833
+ }
834
+ return etype;
835
+ }
836
+
837
+ GType
838
+ g_unicode_script_get_type (void)
839
+ {
840
+ static GType etype = 0;
841
+ if (etype == 0) {
842
+ static const GEnumValue values[] = {
843
+ { G_UNICODE_SCRIPT_INVALID_CODE, "G_UNICODE_SCRIPT_INVALID_CODE", "invalid-code" },
844
+ { G_UNICODE_SCRIPT_COMMON, "G_UNICODE_SCRIPT_COMMON", "common" },
845
+ { G_UNICODE_SCRIPT_INHERITED, "G_UNICODE_SCRIPT_INHERITED", "inherited" },
846
+ { G_UNICODE_SCRIPT_ARABIC, "G_UNICODE_SCRIPT_ARABIC", "arabic" },
847
+ { G_UNICODE_SCRIPT_ARMENIAN, "G_UNICODE_SCRIPT_ARMENIAN", "armenian" },
848
+ { G_UNICODE_SCRIPT_BENGALI, "G_UNICODE_SCRIPT_BENGALI", "bengali" },
849
+ { G_UNICODE_SCRIPT_BOPOMOFO, "G_UNICODE_SCRIPT_BOPOMOFO", "bopomofo" },
850
+ { G_UNICODE_SCRIPT_CHEROKEE, "G_UNICODE_SCRIPT_CHEROKEE", "cherokee" },
851
+ { G_UNICODE_SCRIPT_COPTIC, "G_UNICODE_SCRIPT_COPTIC", "coptic" },
852
+ { G_UNICODE_SCRIPT_CYRILLIC, "G_UNICODE_SCRIPT_CYRILLIC", "cyrillic" },
853
+ { G_UNICODE_SCRIPT_DESERET, "G_UNICODE_SCRIPT_DESERET", "deseret" },
854
+ { G_UNICODE_SCRIPT_DEVANAGARI, "G_UNICODE_SCRIPT_DEVANAGARI", "devanagari" },
855
+ { G_UNICODE_SCRIPT_ETHIOPIC, "G_UNICODE_SCRIPT_ETHIOPIC", "ethiopic" },
856
+ { G_UNICODE_SCRIPT_GEORGIAN, "G_UNICODE_SCRIPT_GEORGIAN", "georgian" },
857
+ { G_UNICODE_SCRIPT_GOTHIC, "G_UNICODE_SCRIPT_GOTHIC", "gothic" },
858
+ { G_UNICODE_SCRIPT_GREEK, "G_UNICODE_SCRIPT_GREEK", "greek" },
859
+ { G_UNICODE_SCRIPT_GUJARATI, "G_UNICODE_SCRIPT_GUJARATI", "gujarati" },
860
+ { G_UNICODE_SCRIPT_GURMUKHI, "G_UNICODE_SCRIPT_GURMUKHI", "gurmukhi" },
861
+ { G_UNICODE_SCRIPT_HAN, "G_UNICODE_SCRIPT_HAN", "han" },
862
+ { G_UNICODE_SCRIPT_HANGUL, "G_UNICODE_SCRIPT_HANGUL", "hangul" },
863
+ { G_UNICODE_SCRIPT_HEBREW, "G_UNICODE_SCRIPT_HEBREW", "hebrew" },
864
+ { G_UNICODE_SCRIPT_HIRAGANA, "G_UNICODE_SCRIPT_HIRAGANA", "hiragana" },
865
+ { G_UNICODE_SCRIPT_KANNADA, "G_UNICODE_SCRIPT_KANNADA", "kannada" },
866
+ { G_UNICODE_SCRIPT_KATAKANA, "G_UNICODE_SCRIPT_KATAKANA", "katakana" },
867
+ { G_UNICODE_SCRIPT_KHMER, "G_UNICODE_SCRIPT_KHMER", "khmer" },
868
+ { G_UNICODE_SCRIPT_LAO, "G_UNICODE_SCRIPT_LAO", "lao" },
869
+ { G_UNICODE_SCRIPT_LATIN, "G_UNICODE_SCRIPT_LATIN", "latin" },
870
+ { G_UNICODE_SCRIPT_MALAYALAM, "G_UNICODE_SCRIPT_MALAYALAM", "malayalam" },
871
+ { G_UNICODE_SCRIPT_MONGOLIAN, "G_UNICODE_SCRIPT_MONGOLIAN", "mongolian" },
872
+ { G_UNICODE_SCRIPT_MYANMAR, "G_UNICODE_SCRIPT_MYANMAR", "myanmar" },
873
+ { G_UNICODE_SCRIPT_OGHAM, "G_UNICODE_SCRIPT_OGHAM", "ogham" },
874
+ { G_UNICODE_SCRIPT_OLD_ITALIC, "G_UNICODE_SCRIPT_OLD_ITALIC", "old-italic" },
875
+ { G_UNICODE_SCRIPT_ORIYA, "G_UNICODE_SCRIPT_ORIYA", "oriya" },
876
+ { G_UNICODE_SCRIPT_RUNIC, "G_UNICODE_SCRIPT_RUNIC", "runic" },
877
+ { G_UNICODE_SCRIPT_SINHALA, "G_UNICODE_SCRIPT_SINHALA", "sinhala" },
878
+ { G_UNICODE_SCRIPT_SYRIAC, "G_UNICODE_SCRIPT_SYRIAC", "syriac" },
879
+ { G_UNICODE_SCRIPT_TAMIL, "G_UNICODE_SCRIPT_TAMIL", "tamil" },
880
+ { G_UNICODE_SCRIPT_TELUGU, "G_UNICODE_SCRIPT_TELUGU", "telugu" },
881
+ { G_UNICODE_SCRIPT_THAANA, "G_UNICODE_SCRIPT_THAANA", "thaana" },
882
+ { G_UNICODE_SCRIPT_THAI, "G_UNICODE_SCRIPT_THAI", "thai" },
883
+ { G_UNICODE_SCRIPT_TIBETAN, "G_UNICODE_SCRIPT_TIBETAN", "tibetan" },
884
+ { G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL", "canadian-aboriginal" },
885
+ { G_UNICODE_SCRIPT_YI, "G_UNICODE_SCRIPT_YI", "yi" },
886
+ { G_UNICODE_SCRIPT_TAGALOG, "G_UNICODE_SCRIPT_TAGALOG", "tagalog" },
887
+ { G_UNICODE_SCRIPT_HANUNOO, "G_UNICODE_SCRIPT_HANUNOO", "hanunoo" },
888
+ { G_UNICODE_SCRIPT_BUHID, "G_UNICODE_SCRIPT_BUHID", "buhid" },
889
+ { G_UNICODE_SCRIPT_TAGBANWA, "G_UNICODE_SCRIPT_TAGBANWA", "tagbanwa" },
890
+ { G_UNICODE_SCRIPT_BRAILLE, "G_UNICODE_SCRIPT_BRAILLE", "braille" },
891
+ { G_UNICODE_SCRIPT_CYPRIOT, "G_UNICODE_SCRIPT_CYPRIOT", "cypriot" },
892
+ { G_UNICODE_SCRIPT_LIMBU, "G_UNICODE_SCRIPT_LIMBU", "limbu" },
893
+ { G_UNICODE_SCRIPT_OSMANYA, "G_UNICODE_SCRIPT_OSMANYA", "osmanya" },
894
+ { G_UNICODE_SCRIPT_SHAVIAN, "G_UNICODE_SCRIPT_SHAVIAN", "shavian" },
895
+ { G_UNICODE_SCRIPT_LINEAR_B, "G_UNICODE_SCRIPT_LINEAR_B", "linear-b" },
896
+ { G_UNICODE_SCRIPT_TAI_LE, "G_UNICODE_SCRIPT_TAI_LE", "tai-le" },
897
+ { G_UNICODE_SCRIPT_UGARITIC, "G_UNICODE_SCRIPT_UGARITIC", "ugaritic" },
898
+ { G_UNICODE_SCRIPT_NEW_TAI_LUE, "G_UNICODE_SCRIPT_NEW_TAI_LUE", "new-tai-lue" },
899
+ { G_UNICODE_SCRIPT_BUGINESE, "G_UNICODE_SCRIPT_BUGINESE", "buginese" },
900
+ { G_UNICODE_SCRIPT_GLAGOLITIC, "G_UNICODE_SCRIPT_GLAGOLITIC", "glagolitic" },
901
+ { G_UNICODE_SCRIPT_TIFINAGH, "G_UNICODE_SCRIPT_TIFINAGH", "tifinagh" },
902
+ { G_UNICODE_SCRIPT_SYLOTI_NAGRI, "G_UNICODE_SCRIPT_SYLOTI_NAGRI", "syloti-nagri" },
903
+ { G_UNICODE_SCRIPT_OLD_PERSIAN, "G_UNICODE_SCRIPT_OLD_PERSIAN", "old-persian" },
904
+ { G_UNICODE_SCRIPT_KHAROSHTHI, "G_UNICODE_SCRIPT_KHAROSHTHI", "kharoshthi" },
905
+ { G_UNICODE_SCRIPT_UNKNOWN, "G_UNICODE_SCRIPT_UNKNOWN", "unknown" },
906
+ { G_UNICODE_SCRIPT_BALINESE, "G_UNICODE_SCRIPT_BALINESE", "balinese" },
907
+ { G_UNICODE_SCRIPT_CUNEIFORM, "G_UNICODE_SCRIPT_CUNEIFORM", "cuneiform" },
908
+ { G_UNICODE_SCRIPT_PHOENICIAN, "G_UNICODE_SCRIPT_PHOENICIAN", "phoenician" },
909
+ { G_UNICODE_SCRIPT_PHAGS_PA, "G_UNICODE_SCRIPT_PHAGS_PA", "phags-pa" },
910
+ { G_UNICODE_SCRIPT_NKO, "G_UNICODE_SCRIPT_NKO", "nko" },
911
+ { G_UNICODE_SCRIPT_KAYAH_LI, "G_UNICODE_SCRIPT_KAYAH_LI", "kayah-li" },
912
+ { G_UNICODE_SCRIPT_LEPCHA, "G_UNICODE_SCRIPT_LEPCHA", "lepcha" },
913
+ { G_UNICODE_SCRIPT_REJANG, "G_UNICODE_SCRIPT_REJANG", "rejang" },
914
+ { G_UNICODE_SCRIPT_SUNDANESE, "G_UNICODE_SCRIPT_SUNDANESE", "sundanese" },
915
+ { G_UNICODE_SCRIPT_SAURASHTRA, "G_UNICODE_SCRIPT_SAURASHTRA", "saurashtra" },
916
+ { G_UNICODE_SCRIPT_CHAM, "G_UNICODE_SCRIPT_CHAM", "cham" },
917
+ { G_UNICODE_SCRIPT_OL_CHIKI, "G_UNICODE_SCRIPT_OL_CHIKI", "ol-chiki" },
918
+ { G_UNICODE_SCRIPT_VAI, "G_UNICODE_SCRIPT_VAI", "vai" },
919
+ { G_UNICODE_SCRIPT_CARIAN, "G_UNICODE_SCRIPT_CARIAN", "carian" },
920
+ { G_UNICODE_SCRIPT_LYCIAN, "G_UNICODE_SCRIPT_LYCIAN", "lycian" },
921
+ { G_UNICODE_SCRIPT_LYDIAN, "G_UNICODE_SCRIPT_LYDIAN", "lydian" },
922
+ { 0, NULL, NULL }
923
+ };
924
+ etype = g_enum_register_static ("GUnicodeScript", values);
925
+ }
926
+ return etype;
927
+ }
928
+
929
+ GType
930
+ g_normalize_mode_get_type (void)
931
+ {
932
+ static GType etype = 0;
933
+ if (etype == 0) {
934
+ static const GEnumValue values[] = {
935
+ { G_NORMALIZE_DEFAULT, "G_NORMALIZE_DEFAULT", "default" },
936
+ { G_NORMALIZE_NFD, "G_NORMALIZE_NFD", "nfd" },
937
+ { G_NORMALIZE_DEFAULT_COMPOSE, "G_NORMALIZE_DEFAULT_COMPOSE", "default-compose" },
938
+ { G_NORMALIZE_NFC, "G_NORMALIZE_NFC", "nfc" },
939
+ { G_NORMALIZE_ALL, "G_NORMALIZE_ALL", "all" },
940
+ { G_NORMALIZE_NFKD, "G_NORMALIZE_NFKD", "nfkd" },
941
+ { G_NORMALIZE_ALL_COMPOSE, "G_NORMALIZE_ALL_COMPOSE", "all-compose" },
942
+ { G_NORMALIZE_NFKC, "G_NORMALIZE_NFKC", "nfkc" },
943
+ { 0, NULL, NULL }
944
+ };
945
+ etype = g_enum_register_static ("GNormalizeMode", values);
946
+ }
947
+ return etype;
948
+ }
949
+
950
+
951
+ /* enumerations from "/opt/local/include/glib-2.0/glib/gutils.h" */
952
+ GType
953
+ g_user_directory_get_type (void)
954
+ {
955
+ static GType etype = 0;
956
+ if (etype == 0) {
957
+ static const GEnumValue values[] = {
958
+ { G_USER_DIRECTORY_DESKTOP, "G_USER_DIRECTORY_DESKTOP", "directory-desktop" },
959
+ { G_USER_DIRECTORY_DOCUMENTS, "G_USER_DIRECTORY_DOCUMENTS", "directory-documents" },
960
+ { G_USER_DIRECTORY_DOWNLOAD, "G_USER_DIRECTORY_DOWNLOAD", "directory-download" },
961
+ { G_USER_DIRECTORY_MUSIC, "G_USER_DIRECTORY_MUSIC", "directory-music" },
962
+ { G_USER_DIRECTORY_PICTURES, "G_USER_DIRECTORY_PICTURES", "directory-pictures" },
963
+ { G_USER_DIRECTORY_PUBLIC_SHARE, "G_USER_DIRECTORY_PUBLIC_SHARE", "directory-public-share" },
964
+ { G_USER_DIRECTORY_TEMPLATES, "G_USER_DIRECTORY_TEMPLATES", "directory-templates" },
965
+ { G_USER_DIRECTORY_VIDEOS, "G_USER_DIRECTORY_VIDEOS", "directory-videos" },
966
+ { G_USER_N_DIRECTORIES, "G_USER_N_DIRECTORIES", "n-directories" },
967
+ { 0, NULL, NULL }
968
+ };
969
+ etype = g_enum_register_static ("GUserDirectory", values);
970
+ }
971
+ return etype;
972
+ }
973
+
974
+
975
+ /* enumerations from "/opt/local/include/glib-2.0/gobject/gsignal.h" */
976
+ GType
977
+ g_signal_flags_get_type (void)
978
+ {
979
+ static GType etype = 0;
980
+ if (etype == 0) {
981
+ static const GFlagsValue values[] = {
982
+ { G_SIGNAL_RUN_FIRST, "G_SIGNAL_RUN_FIRST", "run-first" },
983
+ { G_SIGNAL_RUN_LAST, "G_SIGNAL_RUN_LAST", "run-last" },
984
+ { G_SIGNAL_RUN_CLEANUP, "G_SIGNAL_RUN_CLEANUP", "run-cleanup" },
985
+ { G_SIGNAL_NO_RECURSE, "G_SIGNAL_NO_RECURSE", "no-recurse" },
986
+ { G_SIGNAL_DETAILED, "G_SIGNAL_DETAILED", "detailed" },
987
+ { G_SIGNAL_ACTION, "G_SIGNAL_ACTION", "action" },
988
+ { G_SIGNAL_NO_HOOKS, "G_SIGNAL_NO_HOOKS", "no-hooks" },
989
+ { 0, NULL, NULL }
990
+ };
991
+ etype = g_flags_register_static ("GSignalFlags", values);
992
+ }
993
+ return etype;
994
+ }
995
+
996
+ GType
997
+ g_connect_flags_get_type (void)
998
+ {
999
+ static GType etype = 0;
1000
+ if (etype == 0) {
1001
+ static const GFlagsValue values[] = {
1002
+ { G_CONNECT_AFTER, "G_CONNECT_AFTER", "after" },
1003
+ { G_CONNECT_SWAPPED, "G_CONNECT_SWAPPED", "swapped" },
1004
+ { 0, NULL, NULL }
1005
+ };
1006
+ etype = g_flags_register_static ("GConnectFlags", values);
1007
+ }
1008
+ return etype;
1009
+ }
1010
+
1011
+ GType
1012
+ g_signal_match_type_get_type (void)
1013
+ {
1014
+ static GType etype = 0;
1015
+ if (etype == 0) {
1016
+ static const GFlagsValue values[] = {
1017
+ { G_SIGNAL_MATCH_ID, "G_SIGNAL_MATCH_ID", "id" },
1018
+ { G_SIGNAL_MATCH_DETAIL, "G_SIGNAL_MATCH_DETAIL", "detail" },
1019
+ { G_SIGNAL_MATCH_CLOSURE, "G_SIGNAL_MATCH_CLOSURE", "closure" },
1020
+ { G_SIGNAL_MATCH_FUNC, "G_SIGNAL_MATCH_FUNC", "func" },
1021
+ { G_SIGNAL_MATCH_DATA, "G_SIGNAL_MATCH_DATA", "data" },
1022
+ { G_SIGNAL_MATCH_UNBLOCKED, "G_SIGNAL_MATCH_UNBLOCKED", "unblocked" },
1023
+ { 0, NULL, NULL }
1024
+ };
1025
+ etype = g_flags_register_static ("GSignalMatchType", values);
1026
+ }
1027
+ return etype;
1028
+ }
1029
+
1030
+
1031
+ /* Generated data ends here */
1032
+