glib2 0.90.5 → 0.90.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +79 -0
- data/Rakefile +8 -65
- data/ext/glib2/Makefile +169 -0
- data/ext/glib2/glib-enum-types.c +1065 -0
- data/ext/glib2/glib-enum-types.h +144 -0
- data/ext/glib2/glib-enum-types.o +0 -0
- data/ext/glib2/glib2.so +0 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib.o +0 -0
- data/ext/glib2/rbglib_bookmarkfile.o +0 -0
- data/ext/glib2/rbglib_completion.o +0 -0
- data/ext/glib2/rbglib_convert.o +0 -0
- data/ext/glib2/rbglib_error.o +0 -0
- data/ext/glib2/rbglib_fileutils.o +0 -0
- data/ext/glib2/rbglib_i18n.o +0 -0
- data/ext/glib2/rbglib_int64.o +0 -0
- data/ext/glib2/rbglib_iochannel.o +0 -0
- data/ext/glib2/rbglib_keyfile.o +0 -0
- data/ext/glib2/rbglib_maincontext.o +0 -0
- data/ext/glib2/rbglib_mainloop.o +0 -0
- data/ext/glib2/rbglib_messages.o +0 -0
- data/ext/glib2/rbglib_pollfd.o +0 -0
- data/ext/glib2/rbglib_shell.o +0 -0
- data/ext/glib2/rbglib_source.o +0 -0
- data/ext/glib2/rbglib_spawn.o +0 -0
- data/ext/glib2/rbglib_threads.o +0 -0
- data/ext/glib2/rbglib_timer.o +0 -0
- data/ext/glib2/rbglib_unicode.o +0 -0
- data/ext/glib2/rbglib_utils.o +0 -0
- data/ext/glib2/rbglib_win32.o +0 -0
- data/ext/glib2/rbgobj_boxed.o +0 -0
- data/ext/glib2/rbgobj_closure.o +0 -0
- data/ext/glib2/rbgobj_convert.o +0 -0
- data/ext/glib2/rbgobj_enums.o +0 -0
- data/ext/glib2/rbgobj_fundamental.o +0 -0
- data/ext/glib2/rbgobj_object.o +0 -0
- data/ext/glib2/rbgobj_param.o +0 -0
- data/ext/glib2/rbgobj_paramspecs.o +0 -0
- data/ext/glib2/rbgobj_signal.o +0 -0
- data/ext/glib2/rbgobj_strv.o +0 -0
- data/ext/glib2/rbgobj_type.c +1 -1
- data/ext/glib2/rbgobj_type.o +0 -0
- data/ext/glib2/rbgobj_typeinstance.o +0 -0
- data/ext/glib2/rbgobj_typeinterface.o +0 -0
- data/ext/glib2/rbgobj_typemodule.o +0 -0
- data/ext/glib2/rbgobj_typeplugin.o +0 -0
- data/ext/glib2/rbgobj_value.o +0 -0
- data/ext/glib2/rbgobj_valuearray.o +0 -0
- data/ext/glib2/rbgobj_valuetypes.o +0 -0
- data/ext/glib2/rbgobject.o +0 -0
- data/ext/glib2/rbgutil.o +0 -0
- data/ext/glib2/rbgutil_callback.o +0 -0
- data/ext/glib2/ruby-glib2.pc +3 -0
- data/lib/glib2.rb +2 -2
- data/lib/gnome2-raketask.rb +185 -0
- data/lib/gnome2-win32-binary-downloader.rb +49 -9
- data/lib/mkmf-gnome2.rb +55 -43
- data/test-unit/History.txt +5 -0
- data/test-unit/html/index.html +2 -2
- data/test-unit/html/index.html.ja +2 -2
- data/test-unit/lib/test/unit/assertions.rb +9 -4
- data/test-unit/lib/test/unit/autorunner.rb +13 -1
- data/test-unit/lib/test/unit/testsuite.rb +4 -2
- data/test-unit/lib/test/unit/version.rb +1 -1
- data/test-unit/test/test-testcase.rb +11 -3
- data/test-unit/test/test_assertions.rb +24 -3
- metadata +205 -153
data/ChangeLog
CHANGED
@@ -1,3 +1,82 @@
|
|
1
|
+
2011-01-30 Kouhei Sutou <kou@cozmixng.org>
|
2
|
+
|
3
|
+
* lib/mkmf-gnome2.rb (setup_win32): add vendor/local/ existence check.
|
4
|
+
|
5
|
+
* lib/gnome2-win32-binary-downloader.rb
|
6
|
+
(GNOME2Win32BinaryDownloader#download_package): support old Win32
|
7
|
+
binary URL for goocanvas.
|
8
|
+
|
9
|
+
* lib/gnome2-win32-binary-downloader.rb
|
10
|
+
(GNOME2Win32BinaryDownloader#download_package): support old Win32
|
11
|
+
binary URL for gtksourceview.
|
12
|
+
|
13
|
+
* lib/gnome2-win32-binary-downloader.rb
|
14
|
+
(GNOME2Win32BinaryDownloader#download_dependency): support
|
15
|
+
specifying version.
|
16
|
+
|
17
|
+
* lib/gnome2-win32-binary-downloader.rb
|
18
|
+
(GNOME2Win32BinaryDownloader#download_dependency): improve error
|
19
|
+
handling.
|
20
|
+
|
21
|
+
* lib/gnome2-win32-binary-downloader.rb
|
22
|
+
(GNOME2Win32BinaryDownloader#download_package): just handle
|
23
|
+
"PACKAGE_VERSION-win32.zip" and "PACKAGE-dev_VERSION-win32.zip".
|
24
|
+
|
25
|
+
* lib/mkmf-gnome2.rb (setup_win32): use rcairo's
|
26
|
+
vendor/local/lib/pkgconfig if it exists.
|
27
|
+
|
28
|
+
* lib/mkmf-gnome2.rb (setup_win32): don't override 'prefix=' in *.pc.
|
29
|
+
|
30
|
+
* lib/mkmf-gnome2.rb (add_depend_package): add dependency
|
31
|
+
package's vendor/local/lib/pkgconfig to PKGConfig path.
|
32
|
+
|
33
|
+
* lib/gnome2-raketask.rb (GNOME2Package#define_win32_tasks): don't
|
34
|
+
require 'vendor/local'.
|
35
|
+
|
36
|
+
* lib/gnome2-win32-binary-downloader.rb: override "prefix=" for
|
37
|
+
downloaded *.pc.
|
38
|
+
|
39
|
+
* lib/gnome2-raketask.rb: add missing "require 'find'".
|
40
|
+
|
41
|
+
* lib/gnome2-win32-binary-downloader.rb
|
42
|
+
(GNOME2Win32BinaryDownloader#click_zip_link): override existing
|
43
|
+
files without prompting.
|
44
|
+
|
45
|
+
2011-01-29 Kouhei Sutou <kou@cozmixng.org>
|
46
|
+
|
47
|
+
* lib/mkmf-gnome2.rb:
|
48
|
+
- add load error check.
|
49
|
+
- remove needless rb_cairo.h check.
|
50
|
+
|
51
|
+
2011-01-28 Masaaki Aoyagi
|
52
|
+
|
53
|
+
* lib/mkmf-gnome2.rb: fix check_cairo.
|
54
|
+
|
55
|
+
2011-01-21 Masaaki Aoyagi
|
56
|
+
|
57
|
+
* lib/gnome2-raketask.rb: add.
|
58
|
+
|
59
|
+
* Rakefile: change to use gnome2-raketask.rb.
|
60
|
+
|
61
|
+
2011-01-02 Kouhei Sutou <kou@cozmixng.org>
|
62
|
+
|
63
|
+
* lib/mkmf-gnome2.rb: support "2.0b7" style module
|
64
|
+
version for xulrunner-2.0b7. #3141244
|
65
|
+
Reported by reandr. Thanks!!!
|
66
|
+
|
67
|
+
2010-11-04 Nikolai Weibull
|
68
|
+
|
69
|
+
* lib/glib2.rb: Use ::File to access Ruby File class.
|
70
|
+
|
71
|
+
2010-10-30 Kouhei Sutou <kou@cozmixng.org>
|
72
|
+
|
73
|
+
* ext/glib2/rbgobj_type.c (rbgobj_gtype_new): fix GType
|
74
|
+
conversion. GType is unsigned long not unsigned int.
|
75
|
+
|
76
|
+
2010-10-28 Kouhei Sutou <kou@clear-code.com>
|
77
|
+
|
78
|
+
* ext/glib2/rbglib.h: 0.90.5 -> 0.90.6.
|
79
|
+
|
1
80
|
2010-10-27 Kouhei Sutou <kou@clear-code.com>
|
2
81
|
|
3
82
|
* lib/glib-mkenums.rb: work on LANG=C environment.
|
data/Rakefile
CHANGED
@@ -1,70 +1,13 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'rubygems'
|
5
|
-
require 'rake/extensiontask'
|
3
|
+
require './lib/gnome2-raketask'
|
6
4
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
def guess_version
|
14
|
-
versions = {}
|
15
|
-
File.open("ext/glib2/rbglib.h") do |rbglib_h|
|
16
|
-
rbglib_h.each_line do |line|
|
17
|
-
if /#define\s+RBGLIB_([A-Z]+)_VERSION\s+(\d+)/ =~ line
|
18
|
-
versions[$1.downcase] = $2.to_i
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
["major", "minor", "micro"].collect {|type| versions[type]}.compact.join(".")
|
23
|
-
end
|
24
|
-
|
25
|
-
package_name = "glib2"
|
26
|
-
|
27
|
-
spec = Gem::Specification.new do |s|
|
28
|
-
s.name = package_name
|
29
|
-
s.summary = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
30
|
-
s.description = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
31
|
-
s.author = "The Ruby-GNOME2 Proejct Team"
|
32
|
-
s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
|
33
|
-
s.homepage = "http://ruby-gnome2.sourceforge.jp/"
|
34
|
-
s.version = version
|
35
|
-
s.platform = Gem::Platform::RUBY
|
36
|
-
s.extensions = FileList["ext/#{package_name}/extconf.rb"]
|
37
|
-
s.require_paths = ["lib"]
|
38
|
-
s.add_dependency("pkg-config", ">= 0")
|
39
|
-
s.files = FileList["ChangeLog", "README", "Rakefile", "extconf.rb",
|
40
|
-
"lib/**/*.rb", "{ext,sample,test,test-unit}/**/*"]
|
5
|
+
package = GNOME2Package.new do |_package|
|
6
|
+
_package.summary = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
7
|
+
_package.description = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
8
|
+
_package.dependency.gem.runtime = [["pkg-config", ">= 0"]]
|
9
|
+
_package.win32.packages = ["glib"]
|
10
|
+
_package.win32.dependencies = ["gettext-runtime"]
|
41
11
|
end
|
12
|
+
package.define_tasks
|
42
13
|
|
43
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
44
|
-
end
|
45
|
-
|
46
|
-
Rake::ExtensionTask.new(package_name, spec) do |ext|
|
47
|
-
ext.cross_compile = true
|
48
|
-
ext.cross_compiling do |spec|
|
49
|
-
if /mingw|mswin/ =~ spec.platform.to_s
|
50
|
-
win32_dir = File.join("vendor", "local")
|
51
|
-
win32_files = []
|
52
|
-
Find.find(win32_dir) do |file|
|
53
|
-
next if /\.zip\z/ =~ file
|
54
|
-
win32_files << file
|
55
|
-
end
|
56
|
-
spec.files += win32_files
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
namespace :win32 do
|
62
|
-
desc "download Windows binaries"
|
63
|
-
task :download do
|
64
|
-
base_dir = File.join(File.dirname(__FILE__), "lib")
|
65
|
-
$LOAD_PATH.unshift(base_dir)
|
66
|
-
require 'gnome2-win32-binary-downloader'
|
67
|
-
GNOME2Win32BinaryDownloader.download(:package => "glib",
|
68
|
-
:dependencies => ["gettext-runtime"])
|
69
|
-
end
|
70
|
-
end
|
data/ext/glib2/Makefile
ADDED
@@ -0,0 +1,169 @@
|
|
1
|
+
|
2
|
+
SHELL = /bin/sh
|
3
|
+
|
4
|
+
#### Start of system configuration section. ####
|
5
|
+
|
6
|
+
srcdir = /home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2
|
7
|
+
topdir = /usr/lib/ruby/1.8/x86_64-linux
|
8
|
+
hdrdir = $(topdir)
|
9
|
+
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
+
exec_prefix = $(prefix)
|
11
|
+
prefix = $(DESTDIR)/usr
|
12
|
+
sharedstatedir = $(prefix)/com
|
13
|
+
mandir = $(prefix)/share/man
|
14
|
+
psdir = $(docdir)
|
15
|
+
oldincludedir = $(DESTDIR)/usr/include
|
16
|
+
localedir = $(datarootdir)/locale
|
17
|
+
bindir = $(exec_prefix)/bin
|
18
|
+
libexecdir = $(prefix)/lib/ruby1.8
|
19
|
+
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
20
|
+
htmldir = $(docdir)
|
21
|
+
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
22
|
+
includedir = $(prefix)/include
|
23
|
+
infodir = $(prefix)/share/info
|
24
|
+
vendorlibdir = $(vendordir)/$(ruby_version)
|
25
|
+
sysconfdir = $(DESTDIR)/etc
|
26
|
+
libdir = $(exec_prefix)/lib
|
27
|
+
sbindir = $(exec_prefix)/sbin
|
28
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
29
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
30
|
+
dvidir = $(docdir)
|
31
|
+
vendordir = $(libdir)/ruby/vendor_ruby
|
32
|
+
datarootdir = $(prefix)/share
|
33
|
+
pdfdir = $(docdir)
|
34
|
+
archdir = $(rubylibdir)/$(arch)
|
35
|
+
sitearchdir = $(sitelibdir)/$(sitearch)
|
36
|
+
datadir = $(datarootdir)
|
37
|
+
localstatedir = $(DESTDIR)/var
|
38
|
+
sitelibdir = $(sitedir)/$(ruby_version)
|
39
|
+
|
40
|
+
CC = gcc
|
41
|
+
LIBRUBY = $(LIBRUBY_SO)
|
42
|
+
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
43
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
44
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
45
|
+
|
46
|
+
RUBY_EXTCONF_H =
|
47
|
+
CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC $(cflags) -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
|
48
|
+
INCFLAGS = -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2
|
49
|
+
DEFS =
|
50
|
+
CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RUBY_SET_CURRENT_SOURCE -DHAVE_RB_CURR_THREAD -DRUBY_GLIB2_COMPILATION
|
51
|
+
CXXFLAGS = $(CFLAGS)
|
52
|
+
ldflags = -L. -rdynamic -Wl,-export-dynamic -pthread -pthread
|
53
|
+
dldflags =
|
54
|
+
archflag =
|
55
|
+
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
56
|
+
LDSHARED = $(CC) -shared
|
57
|
+
AR = ar
|
58
|
+
EXEEXT =
|
59
|
+
|
60
|
+
RUBY_INSTALL_NAME = ruby1.8
|
61
|
+
RUBY_SO_NAME = ruby1.8
|
62
|
+
arch = x86_64-linux
|
63
|
+
sitearch = x86_64-linux
|
64
|
+
ruby_version = 1.8
|
65
|
+
ruby = /usr/bin/ruby1.8
|
66
|
+
RUBY = $(ruby)
|
67
|
+
RM = rm -f
|
68
|
+
MAKEDIRS = mkdir -p
|
69
|
+
INSTALL = /usr/bin/install -c
|
70
|
+
INSTALL_PROG = $(INSTALL) -m 0755
|
71
|
+
INSTALL_DATA = $(INSTALL) -m 644
|
72
|
+
COPY = cp
|
73
|
+
|
74
|
+
#### End of system configuration section. ####
|
75
|
+
|
76
|
+
preload =
|
77
|
+
|
78
|
+
libpath = . $(libdir)
|
79
|
+
LIBPATH = -L. -L$(libdir)
|
80
|
+
DEFFILE =
|
81
|
+
|
82
|
+
CLEANFILES = mkmf.log
|
83
|
+
DISTCLEANFILES = glib-enum-types.h glib-enum-types.c
|
84
|
+
|
85
|
+
extout =
|
86
|
+
extout_prefix =
|
87
|
+
target_prefix =
|
88
|
+
LOCAL_LIBS =
|
89
|
+
LIBS = $(LIBRUBYARG_SHARED) -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lrt -ldl -lcrypt -lm -lc
|
90
|
+
SRCS = rbglib_timer.c rbglib_completion.c rbgobj_param.c rbgobj_valuearray.c rbglib_threads.c rbgobj_value.c rbglib_fileutils.c rbglib.c rbglib_iochannel.c rbgobj_type.c rbgobj_typeplugin.c rbgobj_convert.c rbgobj_strv.c rbglib_messages.c rbgutil.c rbglib_maincontext.c rbgobj_object.c rbgobj_typeinstance.c rbglib_error.c rbgobj_paramspecs.c rbgutil_callback.c rbgobj_typemodule.c rbglib_utils.c rbglib_mainloop.c rbgobj_enums.c rbglib_win32.c rbglib_int64.c glib-enum-types.c rbgobj_fundamental.c rbgobj_closure.c rbgobject.c rbgobj_boxed.c rbglib_shell.c rbgobj_typeinterface.c rbglib_convert.c rbglib_keyfile.c rbgobj_valuetypes.c rbglib_i18n.c rbglib_unicode.c rbglib_pollfd.c rbglib_bookmarkfile.c rbglib_source.c rbgobj_signal.c rbglib_spawn.c
|
91
|
+
OBJS = rbglib_timer.o rbglib_completion.o rbgobj_param.o rbgobj_valuearray.o rbglib_threads.o rbgobj_value.o rbglib_fileutils.o rbglib.o rbglib_iochannel.o rbgobj_type.o rbgobj_typeplugin.o rbgobj_convert.o rbgobj_strv.o rbglib_messages.o rbgutil.o rbglib_maincontext.o rbgobj_object.o rbgobj_typeinstance.o rbglib_error.o rbgobj_paramspecs.o rbgutil_callback.o rbgobj_typemodule.o rbglib_utils.o rbglib_mainloop.o rbgobj_enums.o rbglib_win32.o rbglib_int64.o glib-enum-types.o rbgobj_fundamental.o rbgobj_closure.o rbgobject.o rbgobj_boxed.o rbglib_shell.o rbgobj_typeinterface.o rbglib_convert.o rbglib_keyfile.o rbgobj_valuetypes.o rbglib_i18n.o rbglib_unicode.o rbglib_pollfd.o rbglib_bookmarkfile.o rbglib_source.o rbgobj_signal.o rbglib_spawn.o
|
92
|
+
TARGET = glib2
|
93
|
+
DLLIB = $(TARGET).so
|
94
|
+
EXTSTATIC =
|
95
|
+
STATIC_LIB =
|
96
|
+
|
97
|
+
BINDIR = $(bindir)
|
98
|
+
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
99
|
+
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
100
|
+
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
101
|
+
|
102
|
+
TARGET_SO = $(DLLIB)
|
103
|
+
CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
|
104
|
+
CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
|
105
|
+
|
106
|
+
all: $(DLLIB)
|
107
|
+
static: $(STATIC_LIB)
|
108
|
+
|
109
|
+
clean:
|
110
|
+
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
111
|
+
|
112
|
+
distclean: clean
|
113
|
+
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
114
|
+
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
115
|
+
|
116
|
+
realclean: distclean
|
117
|
+
install: install-so install-rb
|
118
|
+
|
119
|
+
install-so: $(RUBYARCHDIR)
|
120
|
+
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
121
|
+
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
122
|
+
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
123
|
+
install-rb: pre-install-rb install-rb-default
|
124
|
+
install-rb-default: pre-install-rb-default
|
125
|
+
pre-install-rb: Makefile
|
126
|
+
pre-install-rb-default: Makefile
|
127
|
+
$(RUBYARCHDIR):
|
128
|
+
$(MAKEDIRS) $@
|
129
|
+
|
130
|
+
site-install: site-install-so site-install-rb
|
131
|
+
site-install-so: install-so
|
132
|
+
site-install-rb: install-rb
|
133
|
+
|
134
|
+
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
135
|
+
|
136
|
+
.cc.o:
|
137
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
138
|
+
|
139
|
+
.cxx.o:
|
140
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
141
|
+
|
142
|
+
.cpp.o:
|
143
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
144
|
+
|
145
|
+
.C.o:
|
146
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
147
|
+
|
148
|
+
.c.o:
|
149
|
+
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
|
150
|
+
|
151
|
+
$(DLLIB): $(OBJS) Makefile
|
152
|
+
@-$(RM) $@
|
153
|
+
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
###
|
158
|
+
install-so:
|
159
|
+
$(INSTALL_DATA) $(srcdir)/rbglib.h $(RUBYARCHDIR)
|
160
|
+
$(INSTALL_DATA) $(srcdir)/rbgutil.h $(RUBYARCHDIR)
|
161
|
+
$(INSTALL_DATA) $(srcdir)/rbgobject.h $(RUBYARCHDIR)
|
162
|
+
$(INSTALL_DATA) $(srcdir)/rbgcompat.h $(RUBYARCHDIR)
|
163
|
+
$(INSTALL_DATA) glib-enum-types.h $(RUBYARCHDIR)
|
164
|
+
|
165
|
+
install:
|
166
|
+
if test -n "$(pkgconfigdir)"; then \
|
167
|
+
$(MAKEDIRS) $(pkgconfigdir); \
|
168
|
+
$(INSTALL_DATA) ruby-glib2.pc $(pkgconfigdir); \
|
169
|
+
fi
|
@@ -0,0 +1,1065 @@
|
|
1
|
+
|
2
|
+
/* Generated by glib-mkenums.rb ($Id: glib-mkenums.rb 3990 2010-10-27 03:38:42Z ktou $) */
|
3
|
+
|
4
|
+
#include "glib-enum-types.h"
|
5
|
+
#include <glib-object.h>
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gthread.h" */
|
10
|
+
GType
|
11
|
+
g_thread_error_get_type (void)
|
12
|
+
{
|
13
|
+
static GType etype = 0;
|
14
|
+
if (etype == 0) {
|
15
|
+
static const GEnumValue values[] = {
|
16
|
+
{ G_THREAD_ERROR_AGAIN, "G_THREAD_ERROR_AGAIN", "again" },
|
17
|
+
{ 0, NULL, NULL }
|
18
|
+
};
|
19
|
+
etype = g_enum_register_static ("GThreadError", values);
|
20
|
+
}
|
21
|
+
return etype;
|
22
|
+
}
|
23
|
+
|
24
|
+
GType
|
25
|
+
g_thread_priority_get_type (void)
|
26
|
+
{
|
27
|
+
static GType etype = 0;
|
28
|
+
if (etype == 0) {
|
29
|
+
static const GEnumValue values[] = {
|
30
|
+
{ G_THREAD_PRIORITY_LOW, "G_THREAD_PRIORITY_LOW", "low" },
|
31
|
+
{ G_THREAD_PRIORITY_NORMAL, "G_THREAD_PRIORITY_NORMAL", "normal" },
|
32
|
+
{ G_THREAD_PRIORITY_HIGH, "G_THREAD_PRIORITY_HIGH", "high" },
|
33
|
+
{ G_THREAD_PRIORITY_URGENT, "G_THREAD_PRIORITY_URGENT", "urgent" },
|
34
|
+
{ 0, NULL, NULL }
|
35
|
+
};
|
36
|
+
etype = g_enum_register_static ("GThreadPriority", values);
|
37
|
+
}
|
38
|
+
return etype;
|
39
|
+
}
|
40
|
+
|
41
|
+
GType
|
42
|
+
g_once_status_get_type (void)
|
43
|
+
{
|
44
|
+
static GType etype = 0;
|
45
|
+
if (etype == 0) {
|
46
|
+
static const GEnumValue values[] = {
|
47
|
+
{ G_ONCE_STATUS_NOTCALLED, "G_ONCE_STATUS_NOTCALLED", "notcalled" },
|
48
|
+
{ G_ONCE_STATUS_PROGRESS, "G_ONCE_STATUS_PROGRESS", "progress" },
|
49
|
+
{ G_ONCE_STATUS_READY, "G_ONCE_STATUS_READY", "ready" },
|
50
|
+
{ 0, NULL, NULL }
|
51
|
+
};
|
52
|
+
etype = g_enum_register_static ("GOnceStatus", values);
|
53
|
+
}
|
54
|
+
return etype;
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gvariant.h" */
|
59
|
+
GType
|
60
|
+
g_variant_class_get_type (void)
|
61
|
+
{
|
62
|
+
static GType etype = 0;
|
63
|
+
if (etype == 0) {
|
64
|
+
static const GEnumValue values[] = {
|
65
|
+
{ G_VARIANT_CLASS_BOOLEAN, "G_VARIANT_CLASS_BOOLEAN", "boolean" },
|
66
|
+
{ G_VARIANT_CLASS_BYTE, "G_VARIANT_CLASS_BYTE", "byte" },
|
67
|
+
{ G_VARIANT_CLASS_INT16, "G_VARIANT_CLASS_INT16", "int16" },
|
68
|
+
{ G_VARIANT_CLASS_UINT16, "G_VARIANT_CLASS_UINT16", "uint16" },
|
69
|
+
{ G_VARIANT_CLASS_INT32, "G_VARIANT_CLASS_INT32", "int32" },
|
70
|
+
{ G_VARIANT_CLASS_UINT32, "G_VARIANT_CLASS_UINT32", "uint32" },
|
71
|
+
{ G_VARIANT_CLASS_INT64, "G_VARIANT_CLASS_INT64", "int64" },
|
72
|
+
{ G_VARIANT_CLASS_UINT64, "G_VARIANT_CLASS_UINT64", "uint64" },
|
73
|
+
{ G_VARIANT_CLASS_HANDLE, "G_VARIANT_CLASS_HANDLE", "handle" },
|
74
|
+
{ G_VARIANT_CLASS_DOUBLE, "G_VARIANT_CLASS_DOUBLE", "double" },
|
75
|
+
{ G_VARIANT_CLASS_STRING, "G_VARIANT_CLASS_STRING", "string" },
|
76
|
+
{ G_VARIANT_CLASS_OBJECT_PATH, "G_VARIANT_CLASS_OBJECT_PATH", "object-path" },
|
77
|
+
{ G_VARIANT_CLASS_SIGNATURE, "G_VARIANT_CLASS_SIGNATURE", "signature" },
|
78
|
+
{ G_VARIANT_CLASS_VARIANT, "G_VARIANT_CLASS_VARIANT", "variant" },
|
79
|
+
{ G_VARIANT_CLASS_MAYBE, "G_VARIANT_CLASS_MAYBE", "maybe" },
|
80
|
+
{ G_VARIANT_CLASS_ARRAY, "G_VARIANT_CLASS_ARRAY", "array" },
|
81
|
+
{ G_VARIANT_CLASS_TUPLE, "G_VARIANT_CLASS_TUPLE", "tuple" },
|
82
|
+
{ G_VARIANT_CLASS_DICT_ENTRY, "G_VARIANT_CLASS_DICT_ENTRY", "dict-entry" },
|
83
|
+
{ 0, NULL, NULL }
|
84
|
+
};
|
85
|
+
etype = g_enum_register_static ("GVariantClass", values);
|
86
|
+
}
|
87
|
+
return etype;
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gslice.h" */
|
92
|
+
GType
|
93
|
+
g_slice_config_get_type (void)
|
94
|
+
{
|
95
|
+
static GType etype = 0;
|
96
|
+
if (etype == 0) {
|
97
|
+
static const GEnumValue values[] = {
|
98
|
+
{ G_SLICE_CONFIG_ALWAYS_MALLOC, "G_SLICE_CONFIG_ALWAYS_MALLOC", "always-malloc" },
|
99
|
+
{ G_SLICE_CONFIG_BYPASS_MAGAZINES, "G_SLICE_CONFIG_BYPASS_MAGAZINES", "bypass-magazines" },
|
100
|
+
{ G_SLICE_CONFIG_WORKING_SET_MSECS, "G_SLICE_CONFIG_WORKING_SET_MSECS", "working-set-msecs" },
|
101
|
+
{ G_SLICE_CONFIG_COLOR_INCREMENT, "G_SLICE_CONFIG_COLOR_INCREMENT", "color-increment" },
|
102
|
+
{ G_SLICE_CONFIG_CHUNK_SIZES, "G_SLICE_CONFIG_CHUNK_SIZES", "chunk-sizes" },
|
103
|
+
{ G_SLICE_CONFIG_CONTENTION_COUNTER, "G_SLICE_CONFIG_CONTENTION_COUNTER", "contention-counter" },
|
104
|
+
{ 0, NULL, NULL }
|
105
|
+
};
|
106
|
+
etype = g_enum_register_static ("GSliceConfig", values);
|
107
|
+
}
|
108
|
+
return etype;
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gbookmarkfile.h" */
|
113
|
+
GType
|
114
|
+
g_bookmark_file_error_get_type (void)
|
115
|
+
{
|
116
|
+
static GType etype = 0;
|
117
|
+
if (etype == 0) {
|
118
|
+
static const GEnumValue values[] = {
|
119
|
+
{ G_BOOKMARK_FILE_ERROR_INVALID_URI, "G_BOOKMARK_FILE_ERROR_INVALID_URI", "invalid-uri" },
|
120
|
+
{ G_BOOKMARK_FILE_ERROR_INVALID_VALUE, "G_BOOKMARK_FILE_ERROR_INVALID_VALUE", "invalid-value" },
|
121
|
+
{ G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED", "app-not-registered" },
|
122
|
+
{ G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND", "uri-not-found" },
|
123
|
+
{ G_BOOKMARK_FILE_ERROR_READ, "G_BOOKMARK_FILE_ERROR_READ", "read" },
|
124
|
+
{ G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
|
125
|
+
{ G_BOOKMARK_FILE_ERROR_WRITE, "G_BOOKMARK_FILE_ERROR_WRITE", "write" },
|
126
|
+
{ G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND", "file-not-found" },
|
127
|
+
{ 0, NULL, NULL }
|
128
|
+
};
|
129
|
+
etype = g_enum_register_static ("GBookmarkFileError", values);
|
130
|
+
}
|
131
|
+
return etype;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gstrfuncs.h" */
|
136
|
+
GType
|
137
|
+
g_ascii_type_get_type (void)
|
138
|
+
{
|
139
|
+
static GType etype = 0;
|
140
|
+
if (etype == 0) {
|
141
|
+
static const GFlagsValue values[] = {
|
142
|
+
{ G_ASCII_ALNUM, "G_ASCII_ALNUM", "alnum" },
|
143
|
+
{ G_ASCII_ALPHA, "G_ASCII_ALPHA", "alpha" },
|
144
|
+
{ G_ASCII_CNTRL, "G_ASCII_CNTRL", "cntrl" },
|
145
|
+
{ G_ASCII_DIGIT, "G_ASCII_DIGIT", "digit" },
|
146
|
+
{ G_ASCII_GRAPH, "G_ASCII_GRAPH", "graph" },
|
147
|
+
{ G_ASCII_LOWER, "G_ASCII_LOWER", "lower" },
|
148
|
+
{ G_ASCII_PRINT, "G_ASCII_PRINT", "print" },
|
149
|
+
{ G_ASCII_PUNCT, "G_ASCII_PUNCT", "punct" },
|
150
|
+
{ G_ASCII_SPACE, "G_ASCII_SPACE", "space" },
|
151
|
+
{ G_ASCII_UPPER, "G_ASCII_UPPER", "upper" },
|
152
|
+
{ G_ASCII_XDIGIT, "G_ASCII_XDIGIT", "xdigit" },
|
153
|
+
{ 0, NULL, NULL }
|
154
|
+
};
|
155
|
+
etype = g_flags_register_static ("GAsciiType", values);
|
156
|
+
}
|
157
|
+
return etype;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gkeyfile.h" */
|
162
|
+
GType
|
163
|
+
g_key_file_error_get_type (void)
|
164
|
+
{
|
165
|
+
static GType etype = 0;
|
166
|
+
if (etype == 0) {
|
167
|
+
static const GEnumValue values[] = {
|
168
|
+
{ G_KEY_FILE_ERROR_UNKNOWN_ENCODING, "G_KEY_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
|
169
|
+
{ G_KEY_FILE_ERROR_PARSE, "G_KEY_FILE_ERROR_PARSE", "parse" },
|
170
|
+
{ G_KEY_FILE_ERROR_NOT_FOUND, "G_KEY_FILE_ERROR_NOT_FOUND", "not-found" },
|
171
|
+
{ G_KEY_FILE_ERROR_KEY_NOT_FOUND, "G_KEY_FILE_ERROR_KEY_NOT_FOUND", "key-not-found" },
|
172
|
+
{ G_KEY_FILE_ERROR_GROUP_NOT_FOUND, "G_KEY_FILE_ERROR_GROUP_NOT_FOUND", "group-not-found" },
|
173
|
+
{ G_KEY_FILE_ERROR_INVALID_VALUE, "G_KEY_FILE_ERROR_INVALID_VALUE", "invalid-value" },
|
174
|
+
{ 0, NULL, NULL }
|
175
|
+
};
|
176
|
+
etype = g_enum_register_static ("GKeyFileError", values);
|
177
|
+
}
|
178
|
+
return etype;
|
179
|
+
}
|
180
|
+
|
181
|
+
GType
|
182
|
+
g_key_file_flags_get_type (void)
|
183
|
+
{
|
184
|
+
static GType etype = 0;
|
185
|
+
if (etype == 0) {
|
186
|
+
static const GFlagsValue values[] = {
|
187
|
+
{ G_KEY_FILE_NONE, "G_KEY_FILE_NONE", "none" },
|
188
|
+
{ G_KEY_FILE_KEEP_COMMENTS, "G_KEY_FILE_KEEP_COMMENTS", "keep-comments" },
|
189
|
+
{ G_KEY_FILE_KEEP_TRANSLATIONS, "G_KEY_FILE_KEEP_TRANSLATIONS", "keep-translations" },
|
190
|
+
{ 0, NULL, NULL }
|
191
|
+
};
|
192
|
+
etype = g_flags_register_static ("GKeyFileFlags", values);
|
193
|
+
}
|
194
|
+
return etype;
|
195
|
+
}
|
196
|
+
|
197
|
+
|
198
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gunicode.h" */
|
199
|
+
GType
|
200
|
+
g_unicode_type_get_type (void)
|
201
|
+
{
|
202
|
+
static GType etype = 0;
|
203
|
+
if (etype == 0) {
|
204
|
+
static const GEnumValue values[] = {
|
205
|
+
{ G_UNICODE_CONTROL, "G_UNICODE_CONTROL", "control" },
|
206
|
+
{ G_UNICODE_FORMAT, "G_UNICODE_FORMAT", "format" },
|
207
|
+
{ G_UNICODE_UNASSIGNED, "G_UNICODE_UNASSIGNED", "unassigned" },
|
208
|
+
{ G_UNICODE_PRIVATE_USE, "G_UNICODE_PRIVATE_USE", "private-use" },
|
209
|
+
{ G_UNICODE_SURROGATE, "G_UNICODE_SURROGATE", "surrogate" },
|
210
|
+
{ G_UNICODE_LOWERCASE_LETTER, "G_UNICODE_LOWERCASE_LETTER", "lowercase-letter" },
|
211
|
+
{ G_UNICODE_MODIFIER_LETTER, "G_UNICODE_MODIFIER_LETTER", "modifier-letter" },
|
212
|
+
{ G_UNICODE_OTHER_LETTER, "G_UNICODE_OTHER_LETTER", "other-letter" },
|
213
|
+
{ G_UNICODE_TITLECASE_LETTER, "G_UNICODE_TITLECASE_LETTER", "titlecase-letter" },
|
214
|
+
{ G_UNICODE_UPPERCASE_LETTER, "G_UNICODE_UPPERCASE_LETTER", "uppercase-letter" },
|
215
|
+
{ G_UNICODE_COMBINING_MARK, "G_UNICODE_COMBINING_MARK", "combining-mark" },
|
216
|
+
{ G_UNICODE_ENCLOSING_MARK, "G_UNICODE_ENCLOSING_MARK", "enclosing-mark" },
|
217
|
+
{ G_UNICODE_NON_SPACING_MARK, "G_UNICODE_NON_SPACING_MARK", "non-spacing-mark" },
|
218
|
+
{ G_UNICODE_DECIMAL_NUMBER, "G_UNICODE_DECIMAL_NUMBER", "decimal-number" },
|
219
|
+
{ G_UNICODE_LETTER_NUMBER, "G_UNICODE_LETTER_NUMBER", "letter-number" },
|
220
|
+
{ G_UNICODE_OTHER_NUMBER, "G_UNICODE_OTHER_NUMBER", "other-number" },
|
221
|
+
{ G_UNICODE_CONNECT_PUNCTUATION, "G_UNICODE_CONNECT_PUNCTUATION", "connect-punctuation" },
|
222
|
+
{ G_UNICODE_DASH_PUNCTUATION, "G_UNICODE_DASH_PUNCTUATION", "dash-punctuation" },
|
223
|
+
{ G_UNICODE_CLOSE_PUNCTUATION, "G_UNICODE_CLOSE_PUNCTUATION", "close-punctuation" },
|
224
|
+
{ G_UNICODE_FINAL_PUNCTUATION, "G_UNICODE_FINAL_PUNCTUATION", "final-punctuation" },
|
225
|
+
{ G_UNICODE_INITIAL_PUNCTUATION, "G_UNICODE_INITIAL_PUNCTUATION", "initial-punctuation" },
|
226
|
+
{ G_UNICODE_OTHER_PUNCTUATION, "G_UNICODE_OTHER_PUNCTUATION", "other-punctuation" },
|
227
|
+
{ G_UNICODE_OPEN_PUNCTUATION, "G_UNICODE_OPEN_PUNCTUATION", "open-punctuation" },
|
228
|
+
{ G_UNICODE_CURRENCY_SYMBOL, "G_UNICODE_CURRENCY_SYMBOL", "currency-symbol" },
|
229
|
+
{ G_UNICODE_MODIFIER_SYMBOL, "G_UNICODE_MODIFIER_SYMBOL", "modifier-symbol" },
|
230
|
+
{ G_UNICODE_MATH_SYMBOL, "G_UNICODE_MATH_SYMBOL", "math-symbol" },
|
231
|
+
{ G_UNICODE_OTHER_SYMBOL, "G_UNICODE_OTHER_SYMBOL", "other-symbol" },
|
232
|
+
{ G_UNICODE_LINE_SEPARATOR, "G_UNICODE_LINE_SEPARATOR", "line-separator" },
|
233
|
+
{ G_UNICODE_PARAGRAPH_SEPARATOR, "G_UNICODE_PARAGRAPH_SEPARATOR", "paragraph-separator" },
|
234
|
+
{ G_UNICODE_SPACE_SEPARATOR, "G_UNICODE_SPACE_SEPARATOR", "space-separator" },
|
235
|
+
{ 0, NULL, NULL }
|
236
|
+
};
|
237
|
+
etype = g_enum_register_static ("GUnicodeType", values);
|
238
|
+
}
|
239
|
+
return etype;
|
240
|
+
}
|
241
|
+
|
242
|
+
GType
|
243
|
+
g_unicode_break_type_get_type (void)
|
244
|
+
{
|
245
|
+
static GType etype = 0;
|
246
|
+
if (etype == 0) {
|
247
|
+
static const GEnumValue values[] = {
|
248
|
+
{ G_UNICODE_BREAK_MANDATORY, "G_UNICODE_BREAK_MANDATORY", "mandatory" },
|
249
|
+
{ G_UNICODE_BREAK_CARRIAGE_RETURN, "G_UNICODE_BREAK_CARRIAGE_RETURN", "carriage-return" },
|
250
|
+
{ G_UNICODE_BREAK_LINE_FEED, "G_UNICODE_BREAK_LINE_FEED", "line-feed" },
|
251
|
+
{ G_UNICODE_BREAK_COMBINING_MARK, "G_UNICODE_BREAK_COMBINING_MARK", "combining-mark" },
|
252
|
+
{ G_UNICODE_BREAK_SURROGATE, "G_UNICODE_BREAK_SURROGATE", "surrogate" },
|
253
|
+
{ G_UNICODE_BREAK_ZERO_WIDTH_SPACE, "G_UNICODE_BREAK_ZERO_WIDTH_SPACE", "zero-width-space" },
|
254
|
+
{ G_UNICODE_BREAK_INSEPARABLE, "G_UNICODE_BREAK_INSEPARABLE", "inseparable" },
|
255
|
+
{ G_UNICODE_BREAK_NON_BREAKING_GLUE, "G_UNICODE_BREAK_NON_BREAKING_GLUE", "non-breaking-glue" },
|
256
|
+
{ G_UNICODE_BREAK_CONTINGENT, "G_UNICODE_BREAK_CONTINGENT", "contingent" },
|
257
|
+
{ G_UNICODE_BREAK_SPACE, "G_UNICODE_BREAK_SPACE", "space" },
|
258
|
+
{ G_UNICODE_BREAK_AFTER, "G_UNICODE_BREAK_AFTER", "after" },
|
259
|
+
{ G_UNICODE_BREAK_BEFORE, "G_UNICODE_BREAK_BEFORE", "before" },
|
260
|
+
{ G_UNICODE_BREAK_BEFORE_AND_AFTER, "G_UNICODE_BREAK_BEFORE_AND_AFTER", "before-and-after" },
|
261
|
+
{ G_UNICODE_BREAK_HYPHEN, "G_UNICODE_BREAK_HYPHEN", "hyphen" },
|
262
|
+
{ G_UNICODE_BREAK_NON_STARTER, "G_UNICODE_BREAK_NON_STARTER", "non-starter" },
|
263
|
+
{ G_UNICODE_BREAK_OPEN_PUNCTUATION, "G_UNICODE_BREAK_OPEN_PUNCTUATION", "open-punctuation" },
|
264
|
+
{ G_UNICODE_BREAK_CLOSE_PUNCTUATION, "G_UNICODE_BREAK_CLOSE_PUNCTUATION", "close-punctuation" },
|
265
|
+
{ G_UNICODE_BREAK_QUOTATION, "G_UNICODE_BREAK_QUOTATION", "quotation" },
|
266
|
+
{ G_UNICODE_BREAK_EXCLAMATION, "G_UNICODE_BREAK_EXCLAMATION", "exclamation" },
|
267
|
+
{ G_UNICODE_BREAK_IDEOGRAPHIC, "G_UNICODE_BREAK_IDEOGRAPHIC", "ideographic" },
|
268
|
+
{ G_UNICODE_BREAK_NUMERIC, "G_UNICODE_BREAK_NUMERIC", "numeric" },
|
269
|
+
{ G_UNICODE_BREAK_INFIX_SEPARATOR, "G_UNICODE_BREAK_INFIX_SEPARATOR", "infix-separator" },
|
270
|
+
{ G_UNICODE_BREAK_SYMBOL, "G_UNICODE_BREAK_SYMBOL", "symbol" },
|
271
|
+
{ G_UNICODE_BREAK_ALPHABETIC, "G_UNICODE_BREAK_ALPHABETIC", "alphabetic" },
|
272
|
+
{ G_UNICODE_BREAK_PREFIX, "G_UNICODE_BREAK_PREFIX", "prefix" },
|
273
|
+
{ G_UNICODE_BREAK_POSTFIX, "G_UNICODE_BREAK_POSTFIX", "postfix" },
|
274
|
+
{ G_UNICODE_BREAK_COMPLEX_CONTEXT, "G_UNICODE_BREAK_COMPLEX_CONTEXT", "complex-context" },
|
275
|
+
{ G_UNICODE_BREAK_AMBIGUOUS, "G_UNICODE_BREAK_AMBIGUOUS", "ambiguous" },
|
276
|
+
{ G_UNICODE_BREAK_UNKNOWN, "G_UNICODE_BREAK_UNKNOWN", "unknown" },
|
277
|
+
{ G_UNICODE_BREAK_NEXT_LINE, "G_UNICODE_BREAK_NEXT_LINE", "next-line" },
|
278
|
+
{ G_UNICODE_BREAK_WORD_JOINER, "G_UNICODE_BREAK_WORD_JOINER", "word-joiner" },
|
279
|
+
{ G_UNICODE_BREAK_HANGUL_L_JAMO, "G_UNICODE_BREAK_HANGUL_L_JAMO", "hangul-l-jamo" },
|
280
|
+
{ G_UNICODE_BREAK_HANGUL_V_JAMO, "G_UNICODE_BREAK_HANGUL_V_JAMO", "hangul-v-jamo" },
|
281
|
+
{ G_UNICODE_BREAK_HANGUL_T_JAMO, "G_UNICODE_BREAK_HANGUL_T_JAMO", "hangul-t-jamo" },
|
282
|
+
{ G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE", "hangul-lv-syllable" },
|
283
|
+
{ G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE", "hangul-lvt-syllable" },
|
284
|
+
{ 0, NULL, NULL }
|
285
|
+
};
|
286
|
+
etype = g_enum_register_static ("GUnicodeBreakType", values);
|
287
|
+
}
|
288
|
+
return etype;
|
289
|
+
}
|
290
|
+
|
291
|
+
GType
|
292
|
+
g_unicode_script_get_type (void)
|
293
|
+
{
|
294
|
+
static GType etype = 0;
|
295
|
+
if (etype == 0) {
|
296
|
+
static const GEnumValue values[] = {
|
297
|
+
{ G_UNICODE_SCRIPT_INVALID_CODE, "G_UNICODE_SCRIPT_INVALID_CODE", "invalid-code" },
|
298
|
+
{ G_UNICODE_SCRIPT_COMMON, "G_UNICODE_SCRIPT_COMMON", "common" },
|
299
|
+
{ G_UNICODE_SCRIPT_INHERITED, "G_UNICODE_SCRIPT_INHERITED", "inherited" },
|
300
|
+
{ G_UNICODE_SCRIPT_ARABIC, "G_UNICODE_SCRIPT_ARABIC", "arabic" },
|
301
|
+
{ G_UNICODE_SCRIPT_ARMENIAN, "G_UNICODE_SCRIPT_ARMENIAN", "armenian" },
|
302
|
+
{ G_UNICODE_SCRIPT_BENGALI, "G_UNICODE_SCRIPT_BENGALI", "bengali" },
|
303
|
+
{ G_UNICODE_SCRIPT_BOPOMOFO, "G_UNICODE_SCRIPT_BOPOMOFO", "bopomofo" },
|
304
|
+
{ G_UNICODE_SCRIPT_CHEROKEE, "G_UNICODE_SCRIPT_CHEROKEE", "cherokee" },
|
305
|
+
{ G_UNICODE_SCRIPT_COPTIC, "G_UNICODE_SCRIPT_COPTIC", "coptic" },
|
306
|
+
{ G_UNICODE_SCRIPT_CYRILLIC, "G_UNICODE_SCRIPT_CYRILLIC", "cyrillic" },
|
307
|
+
{ G_UNICODE_SCRIPT_DESERET, "G_UNICODE_SCRIPT_DESERET", "deseret" },
|
308
|
+
{ G_UNICODE_SCRIPT_DEVANAGARI, "G_UNICODE_SCRIPT_DEVANAGARI", "devanagari" },
|
309
|
+
{ G_UNICODE_SCRIPT_ETHIOPIC, "G_UNICODE_SCRIPT_ETHIOPIC", "ethiopic" },
|
310
|
+
{ G_UNICODE_SCRIPT_GEORGIAN, "G_UNICODE_SCRIPT_GEORGIAN", "georgian" },
|
311
|
+
{ G_UNICODE_SCRIPT_GOTHIC, "G_UNICODE_SCRIPT_GOTHIC", "gothic" },
|
312
|
+
{ G_UNICODE_SCRIPT_GREEK, "G_UNICODE_SCRIPT_GREEK", "greek" },
|
313
|
+
{ G_UNICODE_SCRIPT_GUJARATI, "G_UNICODE_SCRIPT_GUJARATI", "gujarati" },
|
314
|
+
{ G_UNICODE_SCRIPT_GURMUKHI, "G_UNICODE_SCRIPT_GURMUKHI", "gurmukhi" },
|
315
|
+
{ G_UNICODE_SCRIPT_HAN, "G_UNICODE_SCRIPT_HAN", "han" },
|
316
|
+
{ G_UNICODE_SCRIPT_HANGUL, "G_UNICODE_SCRIPT_HANGUL", "hangul" },
|
317
|
+
{ G_UNICODE_SCRIPT_HEBREW, "G_UNICODE_SCRIPT_HEBREW", "hebrew" },
|
318
|
+
{ G_UNICODE_SCRIPT_HIRAGANA, "G_UNICODE_SCRIPT_HIRAGANA", "hiragana" },
|
319
|
+
{ G_UNICODE_SCRIPT_KANNADA, "G_UNICODE_SCRIPT_KANNADA", "kannada" },
|
320
|
+
{ G_UNICODE_SCRIPT_KATAKANA, "G_UNICODE_SCRIPT_KATAKANA", "katakana" },
|
321
|
+
{ G_UNICODE_SCRIPT_KHMER, "G_UNICODE_SCRIPT_KHMER", "khmer" },
|
322
|
+
{ G_UNICODE_SCRIPT_LAO, "G_UNICODE_SCRIPT_LAO", "lao" },
|
323
|
+
{ G_UNICODE_SCRIPT_LATIN, "G_UNICODE_SCRIPT_LATIN", "latin" },
|
324
|
+
{ G_UNICODE_SCRIPT_MALAYALAM, "G_UNICODE_SCRIPT_MALAYALAM", "malayalam" },
|
325
|
+
{ G_UNICODE_SCRIPT_MONGOLIAN, "G_UNICODE_SCRIPT_MONGOLIAN", "mongolian" },
|
326
|
+
{ G_UNICODE_SCRIPT_MYANMAR, "G_UNICODE_SCRIPT_MYANMAR", "myanmar" },
|
327
|
+
{ G_UNICODE_SCRIPT_OGHAM, "G_UNICODE_SCRIPT_OGHAM", "ogham" },
|
328
|
+
{ G_UNICODE_SCRIPT_OLD_ITALIC, "G_UNICODE_SCRIPT_OLD_ITALIC", "old-italic" },
|
329
|
+
{ G_UNICODE_SCRIPT_ORIYA, "G_UNICODE_SCRIPT_ORIYA", "oriya" },
|
330
|
+
{ G_UNICODE_SCRIPT_RUNIC, "G_UNICODE_SCRIPT_RUNIC", "runic" },
|
331
|
+
{ G_UNICODE_SCRIPT_SINHALA, "G_UNICODE_SCRIPT_SINHALA", "sinhala" },
|
332
|
+
{ G_UNICODE_SCRIPT_SYRIAC, "G_UNICODE_SCRIPT_SYRIAC", "syriac" },
|
333
|
+
{ G_UNICODE_SCRIPT_TAMIL, "G_UNICODE_SCRIPT_TAMIL", "tamil" },
|
334
|
+
{ G_UNICODE_SCRIPT_TELUGU, "G_UNICODE_SCRIPT_TELUGU", "telugu" },
|
335
|
+
{ G_UNICODE_SCRIPT_THAANA, "G_UNICODE_SCRIPT_THAANA", "thaana" },
|
336
|
+
{ G_UNICODE_SCRIPT_THAI, "G_UNICODE_SCRIPT_THAI", "thai" },
|
337
|
+
{ G_UNICODE_SCRIPT_TIBETAN, "G_UNICODE_SCRIPT_TIBETAN", "tibetan" },
|
338
|
+
{ G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL", "canadian-aboriginal" },
|
339
|
+
{ G_UNICODE_SCRIPT_YI, "G_UNICODE_SCRIPT_YI", "yi" },
|
340
|
+
{ G_UNICODE_SCRIPT_TAGALOG, "G_UNICODE_SCRIPT_TAGALOG", "tagalog" },
|
341
|
+
{ G_UNICODE_SCRIPT_HANUNOO, "G_UNICODE_SCRIPT_HANUNOO", "hanunoo" },
|
342
|
+
{ G_UNICODE_SCRIPT_BUHID, "G_UNICODE_SCRIPT_BUHID", "buhid" },
|
343
|
+
{ G_UNICODE_SCRIPT_TAGBANWA, "G_UNICODE_SCRIPT_TAGBANWA", "tagbanwa" },
|
344
|
+
{ G_UNICODE_SCRIPT_BRAILLE, "G_UNICODE_SCRIPT_BRAILLE", "braille" },
|
345
|
+
{ G_UNICODE_SCRIPT_CYPRIOT, "G_UNICODE_SCRIPT_CYPRIOT", "cypriot" },
|
346
|
+
{ G_UNICODE_SCRIPT_LIMBU, "G_UNICODE_SCRIPT_LIMBU", "limbu" },
|
347
|
+
{ G_UNICODE_SCRIPT_OSMANYA, "G_UNICODE_SCRIPT_OSMANYA", "osmanya" },
|
348
|
+
{ G_UNICODE_SCRIPT_SHAVIAN, "G_UNICODE_SCRIPT_SHAVIAN", "shavian" },
|
349
|
+
{ G_UNICODE_SCRIPT_LINEAR_B, "G_UNICODE_SCRIPT_LINEAR_B", "linear-b" },
|
350
|
+
{ G_UNICODE_SCRIPT_TAI_LE, "G_UNICODE_SCRIPT_TAI_LE", "tai-le" },
|
351
|
+
{ G_UNICODE_SCRIPT_UGARITIC, "G_UNICODE_SCRIPT_UGARITIC", "ugaritic" },
|
352
|
+
{ G_UNICODE_SCRIPT_NEW_TAI_LUE, "G_UNICODE_SCRIPT_NEW_TAI_LUE", "new-tai-lue" },
|
353
|
+
{ G_UNICODE_SCRIPT_BUGINESE, "G_UNICODE_SCRIPT_BUGINESE", "buginese" },
|
354
|
+
{ G_UNICODE_SCRIPT_GLAGOLITIC, "G_UNICODE_SCRIPT_GLAGOLITIC", "glagolitic" },
|
355
|
+
{ G_UNICODE_SCRIPT_TIFINAGH, "G_UNICODE_SCRIPT_TIFINAGH", "tifinagh" },
|
356
|
+
{ G_UNICODE_SCRIPT_SYLOTI_NAGRI, "G_UNICODE_SCRIPT_SYLOTI_NAGRI", "syloti-nagri" },
|
357
|
+
{ G_UNICODE_SCRIPT_OLD_PERSIAN, "G_UNICODE_SCRIPT_OLD_PERSIAN", "old-persian" },
|
358
|
+
{ G_UNICODE_SCRIPT_KHAROSHTHI, "G_UNICODE_SCRIPT_KHAROSHTHI", "kharoshthi" },
|
359
|
+
{ G_UNICODE_SCRIPT_UNKNOWN, "G_UNICODE_SCRIPT_UNKNOWN", "unknown" },
|
360
|
+
{ G_UNICODE_SCRIPT_BALINESE, "G_UNICODE_SCRIPT_BALINESE", "balinese" },
|
361
|
+
{ G_UNICODE_SCRIPT_CUNEIFORM, "G_UNICODE_SCRIPT_CUNEIFORM", "cuneiform" },
|
362
|
+
{ G_UNICODE_SCRIPT_PHOENICIAN, "G_UNICODE_SCRIPT_PHOENICIAN", "phoenician" },
|
363
|
+
{ G_UNICODE_SCRIPT_PHAGS_PA, "G_UNICODE_SCRIPT_PHAGS_PA", "phags-pa" },
|
364
|
+
{ G_UNICODE_SCRIPT_NKO, "G_UNICODE_SCRIPT_NKO", "nko" },
|
365
|
+
{ G_UNICODE_SCRIPT_KAYAH_LI, "G_UNICODE_SCRIPT_KAYAH_LI", "kayah-li" },
|
366
|
+
{ G_UNICODE_SCRIPT_LEPCHA, "G_UNICODE_SCRIPT_LEPCHA", "lepcha" },
|
367
|
+
{ G_UNICODE_SCRIPT_REJANG, "G_UNICODE_SCRIPT_REJANG", "rejang" },
|
368
|
+
{ G_UNICODE_SCRIPT_SUNDANESE, "G_UNICODE_SCRIPT_SUNDANESE", "sundanese" },
|
369
|
+
{ G_UNICODE_SCRIPT_SAURASHTRA, "G_UNICODE_SCRIPT_SAURASHTRA", "saurashtra" },
|
370
|
+
{ G_UNICODE_SCRIPT_CHAM, "G_UNICODE_SCRIPT_CHAM", "cham" },
|
371
|
+
{ G_UNICODE_SCRIPT_OL_CHIKI, "G_UNICODE_SCRIPT_OL_CHIKI", "ol-chiki" },
|
372
|
+
{ G_UNICODE_SCRIPT_VAI, "G_UNICODE_SCRIPT_VAI", "vai" },
|
373
|
+
{ G_UNICODE_SCRIPT_CARIAN, "G_UNICODE_SCRIPT_CARIAN", "carian" },
|
374
|
+
{ G_UNICODE_SCRIPT_LYCIAN, "G_UNICODE_SCRIPT_LYCIAN", "lycian" },
|
375
|
+
{ G_UNICODE_SCRIPT_LYDIAN, "G_UNICODE_SCRIPT_LYDIAN", "lydian" },
|
376
|
+
{ 0, NULL, NULL }
|
377
|
+
};
|
378
|
+
etype = g_enum_register_static ("GUnicodeScript", values);
|
379
|
+
}
|
380
|
+
return etype;
|
381
|
+
}
|
382
|
+
|
383
|
+
GType
|
384
|
+
g_normalize_mode_get_type (void)
|
385
|
+
{
|
386
|
+
static GType etype = 0;
|
387
|
+
if (etype == 0) {
|
388
|
+
static const GEnumValue values[] = {
|
389
|
+
{ G_NORMALIZE_DEFAULT, "G_NORMALIZE_DEFAULT", "default" },
|
390
|
+
{ G_NORMALIZE_NFD, "G_NORMALIZE_NFD", "nfd" },
|
391
|
+
{ G_NORMALIZE_DEFAULT_COMPOSE, "G_NORMALIZE_DEFAULT_COMPOSE", "default-compose" },
|
392
|
+
{ G_NORMALIZE_NFC, "G_NORMALIZE_NFC", "nfc" },
|
393
|
+
{ G_NORMALIZE_ALL, "G_NORMALIZE_ALL", "all" },
|
394
|
+
{ G_NORMALIZE_NFKD, "G_NORMALIZE_NFKD", "nfkd" },
|
395
|
+
{ G_NORMALIZE_ALL_COMPOSE, "G_NORMALIZE_ALL_COMPOSE", "all-compose" },
|
396
|
+
{ G_NORMALIZE_NFKC, "G_NORMALIZE_NFKC", "nfkc" },
|
397
|
+
{ 0, NULL, NULL }
|
398
|
+
};
|
399
|
+
etype = g_enum_register_static ("GNormalizeMode", values);
|
400
|
+
}
|
401
|
+
return etype;
|
402
|
+
}
|
403
|
+
|
404
|
+
|
405
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gtestutils.h" */
|
406
|
+
GType
|
407
|
+
g_test_trap_flags_get_type (void)
|
408
|
+
{
|
409
|
+
static GType etype = 0;
|
410
|
+
if (etype == 0) {
|
411
|
+
static const GFlagsValue values[] = {
|
412
|
+
{ G_TEST_TRAP_SILENCE_STDOUT, "G_TEST_TRAP_SILENCE_STDOUT", "silence-stdout" },
|
413
|
+
{ G_TEST_TRAP_SILENCE_STDERR, "G_TEST_TRAP_SILENCE_STDERR", "silence-stderr" },
|
414
|
+
{ G_TEST_TRAP_INHERIT_STDIN, "G_TEST_TRAP_INHERIT_STDIN", "inherit-stdin" },
|
415
|
+
{ 0, NULL, NULL }
|
416
|
+
};
|
417
|
+
etype = g_flags_register_static ("GTestTrapFlags", values);
|
418
|
+
}
|
419
|
+
return etype;
|
420
|
+
}
|
421
|
+
|
422
|
+
GType
|
423
|
+
g_test_log_type_get_type (void)
|
424
|
+
{
|
425
|
+
static GType etype = 0;
|
426
|
+
if (etype == 0) {
|
427
|
+
static const GEnumValue values[] = {
|
428
|
+
{ G_TEST_LOG_NONE, "G_TEST_LOG_NONE", "none" },
|
429
|
+
{ G_TEST_LOG_ERROR, "G_TEST_LOG_ERROR", "error" },
|
430
|
+
{ G_TEST_LOG_START_BINARY, "G_TEST_LOG_START_BINARY", "start-binary" },
|
431
|
+
{ G_TEST_LOG_LIST_CASE, "G_TEST_LOG_LIST_CASE", "list-case" },
|
432
|
+
{ G_TEST_LOG_SKIP_CASE, "G_TEST_LOG_SKIP_CASE", "skip-case" },
|
433
|
+
{ G_TEST_LOG_START_CASE, "G_TEST_LOG_START_CASE", "start-case" },
|
434
|
+
{ G_TEST_LOG_STOP_CASE, "G_TEST_LOG_STOP_CASE", "stop-case" },
|
435
|
+
{ G_TEST_LOG_MIN_RESULT, "G_TEST_LOG_MIN_RESULT", "min-result" },
|
436
|
+
{ G_TEST_LOG_MAX_RESULT, "G_TEST_LOG_MAX_RESULT", "max-result" },
|
437
|
+
{ G_TEST_LOG_MESSAGE, "G_TEST_LOG_MESSAGE", "message" },
|
438
|
+
{ 0, NULL, NULL }
|
439
|
+
};
|
440
|
+
etype = g_enum_register_static ("GTestLogType", values);
|
441
|
+
}
|
442
|
+
return etype;
|
443
|
+
}
|
444
|
+
|
445
|
+
|
446
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gdate.h" */
|
447
|
+
GType
|
448
|
+
g_date_dmy_get_type (void)
|
449
|
+
{
|
450
|
+
static GType etype = 0;
|
451
|
+
if (etype == 0) {
|
452
|
+
static const GEnumValue values[] = {
|
453
|
+
{ G_DATE_DAY, "G_DATE_DAY", "day" },
|
454
|
+
{ G_DATE_MONTH, "G_DATE_MONTH", "month" },
|
455
|
+
{ G_DATE_YEAR, "G_DATE_YEAR", "year" },
|
456
|
+
{ 0, NULL, NULL }
|
457
|
+
};
|
458
|
+
etype = g_enum_register_static ("GDateDMY", values);
|
459
|
+
}
|
460
|
+
return etype;
|
461
|
+
}
|
462
|
+
|
463
|
+
GType
|
464
|
+
g_date_weekday_get_type (void)
|
465
|
+
{
|
466
|
+
static GType etype = 0;
|
467
|
+
if (etype == 0) {
|
468
|
+
static const GEnumValue values[] = {
|
469
|
+
{ G_DATE_BAD_WEEKDAY, "G_DATE_BAD_WEEKDAY", "bad-weekday" },
|
470
|
+
{ G_DATE_MONDAY, "G_DATE_MONDAY", "monday" },
|
471
|
+
{ G_DATE_TUESDAY, "G_DATE_TUESDAY", "tuesday" },
|
472
|
+
{ G_DATE_WEDNESDAY, "G_DATE_WEDNESDAY", "wednesday" },
|
473
|
+
{ G_DATE_THURSDAY, "G_DATE_THURSDAY", "thursday" },
|
474
|
+
{ G_DATE_FRIDAY, "G_DATE_FRIDAY", "friday" },
|
475
|
+
{ G_DATE_SATURDAY, "G_DATE_SATURDAY", "saturday" },
|
476
|
+
{ G_DATE_SUNDAY, "G_DATE_SUNDAY", "sunday" },
|
477
|
+
{ 0, NULL, NULL }
|
478
|
+
};
|
479
|
+
etype = g_enum_register_static ("GDateWeekday", values);
|
480
|
+
}
|
481
|
+
return etype;
|
482
|
+
}
|
483
|
+
|
484
|
+
GType
|
485
|
+
g_date_month_get_type (void)
|
486
|
+
{
|
487
|
+
static GType etype = 0;
|
488
|
+
if (etype == 0) {
|
489
|
+
static const GEnumValue values[] = {
|
490
|
+
{ G_DATE_BAD_MONTH, "G_DATE_BAD_MONTH", "bad-month" },
|
491
|
+
{ G_DATE_JANUARY, "G_DATE_JANUARY", "january" },
|
492
|
+
{ G_DATE_FEBRUARY, "G_DATE_FEBRUARY", "february" },
|
493
|
+
{ G_DATE_MARCH, "G_DATE_MARCH", "march" },
|
494
|
+
{ G_DATE_APRIL, "G_DATE_APRIL", "april" },
|
495
|
+
{ G_DATE_MAY, "G_DATE_MAY", "may" },
|
496
|
+
{ G_DATE_JUNE, "G_DATE_JUNE", "june" },
|
497
|
+
{ G_DATE_JULY, "G_DATE_JULY", "july" },
|
498
|
+
{ G_DATE_AUGUST, "G_DATE_AUGUST", "august" },
|
499
|
+
{ G_DATE_SEPTEMBER, "G_DATE_SEPTEMBER", "september" },
|
500
|
+
{ G_DATE_OCTOBER, "G_DATE_OCTOBER", "october" },
|
501
|
+
{ G_DATE_NOVEMBER, "G_DATE_NOVEMBER", "november" },
|
502
|
+
{ G_DATE_DECEMBER, "G_DATE_DECEMBER", "december" },
|
503
|
+
{ 0, NULL, NULL }
|
504
|
+
};
|
505
|
+
etype = g_enum_register_static ("GDateMonth", values);
|
506
|
+
}
|
507
|
+
return etype;
|
508
|
+
}
|
509
|
+
|
510
|
+
|
511
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gconvert.h" */
|
512
|
+
GType
|
513
|
+
g_convert_error_get_type (void)
|
514
|
+
{
|
515
|
+
static GType etype = 0;
|
516
|
+
if (etype == 0) {
|
517
|
+
static const GEnumValue values[] = {
|
518
|
+
{ G_CONVERT_ERROR_NO_CONVERSION, "G_CONVERT_ERROR_NO_CONVERSION", "no-conversion" },
|
519
|
+
{ G_CONVERT_ERROR_ILLEGAL_SEQUENCE, "G_CONVERT_ERROR_ILLEGAL_SEQUENCE", "illegal-sequence" },
|
520
|
+
{ G_CONVERT_ERROR_FAILED, "G_CONVERT_ERROR_FAILED", "failed" },
|
521
|
+
{ G_CONVERT_ERROR_PARTIAL_INPUT, "G_CONVERT_ERROR_PARTIAL_INPUT", "partial-input" },
|
522
|
+
{ G_CONVERT_ERROR_BAD_URI, "G_CONVERT_ERROR_BAD_URI", "bad-uri" },
|
523
|
+
{ G_CONVERT_ERROR_NOT_ABSOLUTE_PATH, "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH", "not-absolute-path" },
|
524
|
+
{ 0, NULL, NULL }
|
525
|
+
};
|
526
|
+
etype = g_enum_register_static ("GConvertError", values);
|
527
|
+
}
|
528
|
+
return etype;
|
529
|
+
}
|
530
|
+
|
531
|
+
|
532
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gmarkup.h" */
|
533
|
+
GType
|
534
|
+
g_markup_error_get_type (void)
|
535
|
+
{
|
536
|
+
static GType etype = 0;
|
537
|
+
if (etype == 0) {
|
538
|
+
static const GEnumValue values[] = {
|
539
|
+
{ G_MARKUP_ERROR_BAD_UTF8, "G_MARKUP_ERROR_BAD_UTF8", "bad-utf8" },
|
540
|
+
{ G_MARKUP_ERROR_EMPTY, "G_MARKUP_ERROR_EMPTY", "empty" },
|
541
|
+
{ G_MARKUP_ERROR_PARSE, "G_MARKUP_ERROR_PARSE", "parse" },
|
542
|
+
{ G_MARKUP_ERROR_UNKNOWN_ELEMENT, "G_MARKUP_ERROR_UNKNOWN_ELEMENT", "unknown-element" },
|
543
|
+
{ G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE", "unknown-attribute" },
|
544
|
+
{ G_MARKUP_ERROR_INVALID_CONTENT, "G_MARKUP_ERROR_INVALID_CONTENT", "invalid-content" },
|
545
|
+
{ G_MARKUP_ERROR_MISSING_ATTRIBUTE, "G_MARKUP_ERROR_MISSING_ATTRIBUTE", "missing-attribute" },
|
546
|
+
{ 0, NULL, NULL }
|
547
|
+
};
|
548
|
+
etype = g_enum_register_static ("GMarkupError", values);
|
549
|
+
}
|
550
|
+
return etype;
|
551
|
+
}
|
552
|
+
|
553
|
+
GType
|
554
|
+
g_markup_parse_flags_get_type (void)
|
555
|
+
{
|
556
|
+
static GType etype = 0;
|
557
|
+
if (etype == 0) {
|
558
|
+
static const GFlagsValue values[] = {
|
559
|
+
{ G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG, "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG", "do-not-use-this-unsupported-flag" },
|
560
|
+
{ G_MARKUP_TREAT_CDATA_AS_TEXT, "G_MARKUP_TREAT_CDATA_AS_TEXT", "treat-cdata-as-text" },
|
561
|
+
{ G_MARKUP_PREFIX_ERROR_POSITION, "G_MARKUP_PREFIX_ERROR_POSITION", "prefix-error-position" },
|
562
|
+
{ 0, NULL, NULL }
|
563
|
+
};
|
564
|
+
etype = g_flags_register_static ("GMarkupParseFlags", values);
|
565
|
+
}
|
566
|
+
return etype;
|
567
|
+
}
|
568
|
+
|
569
|
+
GType
|
570
|
+
g_markup_collect_type_get_type (void)
|
571
|
+
{
|
572
|
+
static GType etype = 0;
|
573
|
+
if (etype == 0) {
|
574
|
+
static const GFlagsValue values[] = {
|
575
|
+
{ G_MARKUP_COLLECT_INVALID, "G_MARKUP_COLLECT_INVALID", "invalid" },
|
576
|
+
{ G_MARKUP_COLLECT_STRING, "G_MARKUP_COLLECT_STRING", "string" },
|
577
|
+
{ G_MARKUP_COLLECT_STRDUP, "G_MARKUP_COLLECT_STRDUP", "strdup" },
|
578
|
+
{ G_MARKUP_COLLECT_BOOLEAN, "G_MARKUP_COLLECT_BOOLEAN", "boolean" },
|
579
|
+
{ G_MARKUP_COLLECT_TRISTATE, "G_MARKUP_COLLECT_TRISTATE", "tristate" },
|
580
|
+
{ G_MARKUP_COLLECT_OPTIONAL, "G_MARKUP_COLLECT_OPTIONAL", "optional" },
|
581
|
+
{ 0, NULL, NULL }
|
582
|
+
};
|
583
|
+
etype = g_flags_register_static ("GMarkupCollectType", values);
|
584
|
+
}
|
585
|
+
return etype;
|
586
|
+
}
|
587
|
+
|
588
|
+
|
589
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gregex.h" */
|
590
|
+
GType
|
591
|
+
g_regex_error_get_type (void)
|
592
|
+
{
|
593
|
+
static GType etype = 0;
|
594
|
+
if (etype == 0) {
|
595
|
+
static const GEnumValue values[] = {
|
596
|
+
{ G_REGEX_ERROR_COMPILE, "G_REGEX_ERROR_COMPILE", "compile" },
|
597
|
+
{ G_REGEX_ERROR_OPTIMIZE, "G_REGEX_ERROR_OPTIMIZE", "optimize" },
|
598
|
+
{ G_REGEX_ERROR_REPLACE, "G_REGEX_ERROR_REPLACE", "replace" },
|
599
|
+
{ G_REGEX_ERROR_MATCH, "G_REGEX_ERROR_MATCH", "match" },
|
600
|
+
{ G_REGEX_ERROR_INTERNAL, "G_REGEX_ERROR_INTERNAL", "internal" },
|
601
|
+
{ G_REGEX_ERROR_STRAY_BACKSLASH, "G_REGEX_ERROR_STRAY_BACKSLASH", "stray-backslash" },
|
602
|
+
{ G_REGEX_ERROR_MISSING_CONTROL_CHAR, "G_REGEX_ERROR_MISSING_CONTROL_CHAR", "missing-control-char" },
|
603
|
+
{ G_REGEX_ERROR_UNRECOGNIZED_ESCAPE, "G_REGEX_ERROR_UNRECOGNIZED_ESCAPE", "unrecognized-escape" },
|
604
|
+
{ G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER, "G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER", "quantifiers-out-of-order" },
|
605
|
+
{ G_REGEX_ERROR_QUANTIFIER_TOO_BIG, "G_REGEX_ERROR_QUANTIFIER_TOO_BIG", "quantifier-too-big" },
|
606
|
+
{ G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS, "G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS", "unterminated-character-class" },
|
607
|
+
{ G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS, "G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS", "invalid-escape-in-character-class" },
|
608
|
+
{ G_REGEX_ERROR_RANGE_OUT_OF_ORDER, "G_REGEX_ERROR_RANGE_OUT_OF_ORDER", "range-out-of-order" },
|
609
|
+
{ G_REGEX_ERROR_NOTHING_TO_REPEAT, "G_REGEX_ERROR_NOTHING_TO_REPEAT", "nothing-to-repeat" },
|
610
|
+
{ G_REGEX_ERROR_UNRECOGNIZED_CHARACTER, "G_REGEX_ERROR_UNRECOGNIZED_CHARACTER", "unrecognized-character" },
|
611
|
+
{ G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS, "G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS", "posix-named-class-outside-class" },
|
612
|
+
{ G_REGEX_ERROR_UNMATCHED_PARENTHESIS, "G_REGEX_ERROR_UNMATCHED_PARENTHESIS", "unmatched-parenthesis" },
|
613
|
+
{ G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE, "G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE", "inexistent-subpattern-reference" },
|
614
|
+
{ G_REGEX_ERROR_UNTERMINATED_COMMENT, "G_REGEX_ERROR_UNTERMINATED_COMMENT", "unterminated-comment" },
|
615
|
+
{ G_REGEX_ERROR_EXPRESSION_TOO_LARGE, "G_REGEX_ERROR_EXPRESSION_TOO_LARGE", "expression-too-large" },
|
616
|
+
{ G_REGEX_ERROR_MEMORY_ERROR, "G_REGEX_ERROR_MEMORY_ERROR", "memory-error" },
|
617
|
+
{ G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND, "G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND", "variable-length-lookbehind" },
|
618
|
+
{ G_REGEX_ERROR_MALFORMED_CONDITION, "G_REGEX_ERROR_MALFORMED_CONDITION", "malformed-condition" },
|
619
|
+
{ G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES, "G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES", "too-many-conditional-branches" },
|
620
|
+
{ G_REGEX_ERROR_ASSERTION_EXPECTED, "G_REGEX_ERROR_ASSERTION_EXPECTED", "assertion-expected" },
|
621
|
+
{ G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME, "G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME", "unknown-posix-class-name" },
|
622
|
+
{ G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED, "G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED", "posix-collating-elements-not-supported" },
|
623
|
+
{ G_REGEX_ERROR_HEX_CODE_TOO_LARGE, "G_REGEX_ERROR_HEX_CODE_TOO_LARGE", "hex-code-too-large" },
|
624
|
+
{ G_REGEX_ERROR_INVALID_CONDITION, "G_REGEX_ERROR_INVALID_CONDITION", "invalid-condition" },
|
625
|
+
{ G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND, "G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND", "single-byte-match-in-lookbehind" },
|
626
|
+
{ G_REGEX_ERROR_INFINITE_LOOP, "G_REGEX_ERROR_INFINITE_LOOP", "infinite-loop" },
|
627
|
+
{ G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR, "G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR", "missing-subpattern-name-terminator" },
|
628
|
+
{ G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME, "G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME", "duplicate-subpattern-name" },
|
629
|
+
{ G_REGEX_ERROR_MALFORMED_PROPERTY, "G_REGEX_ERROR_MALFORMED_PROPERTY", "malformed-property" },
|
630
|
+
{ G_REGEX_ERROR_UNKNOWN_PROPERTY, "G_REGEX_ERROR_UNKNOWN_PROPERTY", "unknown-property" },
|
631
|
+
{ G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG, "G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG", "subpattern-name-too-long" },
|
632
|
+
{ G_REGEX_ERROR_TOO_MANY_SUBPATTERNS, "G_REGEX_ERROR_TOO_MANY_SUBPATTERNS", "too-many-subpatterns" },
|
633
|
+
{ G_REGEX_ERROR_INVALID_OCTAL_VALUE, "G_REGEX_ERROR_INVALID_OCTAL_VALUE", "invalid-octal-value" },
|
634
|
+
{ G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE, "G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE", "too-many-branches-in-define" },
|
635
|
+
{ G_REGEX_ERROR_DEFINE_REPETION, "G_REGEX_ERROR_DEFINE_REPETION", "define-repetion" },
|
636
|
+
{ G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS, "G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS", "inconsistent-newline-options" },
|
637
|
+
{ G_REGEX_ERROR_MISSING_BACK_REFERENCE, "G_REGEX_ERROR_MISSING_BACK_REFERENCE", "missing-back-reference" },
|
638
|
+
{ 0, NULL, NULL }
|
639
|
+
};
|
640
|
+
etype = g_enum_register_static ("GRegexError", values);
|
641
|
+
}
|
642
|
+
return etype;
|
643
|
+
}
|
644
|
+
|
645
|
+
GType
|
646
|
+
g_regex_compile_flags_get_type (void)
|
647
|
+
{
|
648
|
+
static GType etype = 0;
|
649
|
+
if (etype == 0) {
|
650
|
+
static const GFlagsValue values[] = {
|
651
|
+
{ G_REGEX_CASELESS, "G_REGEX_CASELESS", "caseless" },
|
652
|
+
{ G_REGEX_MULTILINE, "G_REGEX_MULTILINE", "multiline" },
|
653
|
+
{ G_REGEX_DOTALL, "G_REGEX_DOTALL", "dotall" },
|
654
|
+
{ G_REGEX_EXTENDED, "G_REGEX_EXTENDED", "extended" },
|
655
|
+
{ G_REGEX_ANCHORED, "G_REGEX_ANCHORED", "anchored" },
|
656
|
+
{ G_REGEX_DOLLAR_ENDONLY, "G_REGEX_DOLLAR_ENDONLY", "dollar-endonly" },
|
657
|
+
{ G_REGEX_UNGREEDY, "G_REGEX_UNGREEDY", "ungreedy" },
|
658
|
+
{ G_REGEX_RAW, "G_REGEX_RAW", "raw" },
|
659
|
+
{ G_REGEX_NO_AUTO_CAPTURE, "G_REGEX_NO_AUTO_CAPTURE", "no-auto-capture" },
|
660
|
+
{ G_REGEX_OPTIMIZE, "G_REGEX_OPTIMIZE", "optimize" },
|
661
|
+
{ G_REGEX_DUPNAMES, "G_REGEX_DUPNAMES", "dupnames" },
|
662
|
+
{ G_REGEX_NEWLINE_CR, "G_REGEX_NEWLINE_CR", "newline-cr" },
|
663
|
+
{ G_REGEX_NEWLINE_LF, "G_REGEX_NEWLINE_LF", "newline-lf" },
|
664
|
+
{ G_REGEX_NEWLINE_CRLF, "G_REGEX_NEWLINE_CRLF", "newline-crlf" },
|
665
|
+
{ 0, NULL, NULL }
|
666
|
+
};
|
667
|
+
etype = g_flags_register_static ("GRegexCompileFlags", values);
|
668
|
+
}
|
669
|
+
return etype;
|
670
|
+
}
|
671
|
+
|
672
|
+
GType
|
673
|
+
g_regex_match_flags_get_type (void)
|
674
|
+
{
|
675
|
+
static GType etype = 0;
|
676
|
+
if (etype == 0) {
|
677
|
+
static const GFlagsValue values[] = {
|
678
|
+
{ G_REGEX_MATCH_ANCHORED, "G_REGEX_MATCH_ANCHORED", "anchored" },
|
679
|
+
{ G_REGEX_MATCH_NOTBOL, "G_REGEX_MATCH_NOTBOL", "notbol" },
|
680
|
+
{ G_REGEX_MATCH_NOTEOL, "G_REGEX_MATCH_NOTEOL", "noteol" },
|
681
|
+
{ G_REGEX_MATCH_NOTEMPTY, "G_REGEX_MATCH_NOTEMPTY", "notempty" },
|
682
|
+
{ G_REGEX_MATCH_PARTIAL, "G_REGEX_MATCH_PARTIAL", "partial" },
|
683
|
+
{ G_REGEX_MATCH_NEWLINE_CR, "G_REGEX_MATCH_NEWLINE_CR", "newline-cr" },
|
684
|
+
{ G_REGEX_MATCH_NEWLINE_LF, "G_REGEX_MATCH_NEWLINE_LF", "newline-lf" },
|
685
|
+
{ G_REGEX_MATCH_NEWLINE_CRLF, "G_REGEX_MATCH_NEWLINE_CRLF", "newline-crlf" },
|
686
|
+
{ G_REGEX_MATCH_NEWLINE_ANY, "G_REGEX_MATCH_NEWLINE_ANY", "newline-any" },
|
687
|
+
{ 0, NULL, NULL }
|
688
|
+
};
|
689
|
+
etype = g_flags_register_static ("GRegexMatchFlags", values);
|
690
|
+
}
|
691
|
+
return etype;
|
692
|
+
}
|
693
|
+
|
694
|
+
|
695
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gfileutils.h" */
|
696
|
+
GType
|
697
|
+
g_file_error_get_type (void)
|
698
|
+
{
|
699
|
+
static GType etype = 0;
|
700
|
+
if (etype == 0) {
|
701
|
+
static const GEnumValue values[] = {
|
702
|
+
{ G_FILE_ERROR_EXIST, "G_FILE_ERROR_EXIST", "exist" },
|
703
|
+
{ G_FILE_ERROR_ISDIR, "G_FILE_ERROR_ISDIR", "isdir" },
|
704
|
+
{ G_FILE_ERROR_ACCES, "G_FILE_ERROR_ACCES", "acces" },
|
705
|
+
{ G_FILE_ERROR_NAMETOOLONG, "G_FILE_ERROR_NAMETOOLONG", "nametoolong" },
|
706
|
+
{ G_FILE_ERROR_NOENT, "G_FILE_ERROR_NOENT", "noent" },
|
707
|
+
{ G_FILE_ERROR_NOTDIR, "G_FILE_ERROR_NOTDIR", "notdir" },
|
708
|
+
{ G_FILE_ERROR_NXIO, "G_FILE_ERROR_NXIO", "nxio" },
|
709
|
+
{ G_FILE_ERROR_NODEV, "G_FILE_ERROR_NODEV", "nodev" },
|
710
|
+
{ G_FILE_ERROR_ROFS, "G_FILE_ERROR_ROFS", "rofs" },
|
711
|
+
{ G_FILE_ERROR_TXTBSY, "G_FILE_ERROR_TXTBSY", "txtbsy" },
|
712
|
+
{ G_FILE_ERROR_FAULT, "G_FILE_ERROR_FAULT", "fault" },
|
713
|
+
{ G_FILE_ERROR_LOOP, "G_FILE_ERROR_LOOP", "loop" },
|
714
|
+
{ G_FILE_ERROR_NOSPC, "G_FILE_ERROR_NOSPC", "nospc" },
|
715
|
+
{ G_FILE_ERROR_NOMEM, "G_FILE_ERROR_NOMEM", "nomem" },
|
716
|
+
{ G_FILE_ERROR_MFILE, "G_FILE_ERROR_MFILE", "mfile" },
|
717
|
+
{ G_FILE_ERROR_NFILE, "G_FILE_ERROR_NFILE", "nfile" },
|
718
|
+
{ G_FILE_ERROR_BADF, "G_FILE_ERROR_BADF", "badf" },
|
719
|
+
{ G_FILE_ERROR_INVAL, "G_FILE_ERROR_INVAL", "inval" },
|
720
|
+
{ G_FILE_ERROR_PIPE, "G_FILE_ERROR_PIPE", "pipe" },
|
721
|
+
{ G_FILE_ERROR_AGAIN, "G_FILE_ERROR_AGAIN", "again" },
|
722
|
+
{ G_FILE_ERROR_INTR, "G_FILE_ERROR_INTR", "intr" },
|
723
|
+
{ G_FILE_ERROR_IO, "G_FILE_ERROR_IO", "io" },
|
724
|
+
{ G_FILE_ERROR_PERM, "G_FILE_ERROR_PERM", "perm" },
|
725
|
+
{ G_FILE_ERROR_NOSYS, "G_FILE_ERROR_NOSYS", "nosys" },
|
726
|
+
{ G_FILE_ERROR_FAILED, "G_FILE_ERROR_FAILED", "failed" },
|
727
|
+
{ 0, NULL, NULL }
|
728
|
+
};
|
729
|
+
etype = g_enum_register_static ("GFileError", values);
|
730
|
+
}
|
731
|
+
return etype;
|
732
|
+
}
|
733
|
+
|
734
|
+
GType
|
735
|
+
g_file_test_get_type (void)
|
736
|
+
{
|
737
|
+
static GType etype = 0;
|
738
|
+
if (etype == 0) {
|
739
|
+
static const GFlagsValue values[] = {
|
740
|
+
{ G_FILE_TEST_IS_REGULAR, "G_FILE_TEST_IS_REGULAR", "is-regular" },
|
741
|
+
{ G_FILE_TEST_IS_SYMLINK, "G_FILE_TEST_IS_SYMLINK", "is-symlink" },
|
742
|
+
{ G_FILE_TEST_IS_DIR, "G_FILE_TEST_IS_DIR", "is-dir" },
|
743
|
+
{ G_FILE_TEST_IS_EXECUTABLE, "G_FILE_TEST_IS_EXECUTABLE", "is-executable" },
|
744
|
+
{ G_FILE_TEST_EXISTS, "G_FILE_TEST_EXISTS", "exists" },
|
745
|
+
{ 0, NULL, NULL }
|
746
|
+
};
|
747
|
+
etype = g_flags_register_static ("GFileTest", values);
|
748
|
+
}
|
749
|
+
return etype;
|
750
|
+
}
|
751
|
+
|
752
|
+
|
753
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gnode.h" */
|
754
|
+
GType
|
755
|
+
g_traverse_flags_get_type (void)
|
756
|
+
{
|
757
|
+
static GType etype = 0;
|
758
|
+
if (etype == 0) {
|
759
|
+
static const GFlagsValue values[] = {
|
760
|
+
{ G_TRAVERSE_LEAVES, "G_TRAVERSE_LEAVES", "leaves" },
|
761
|
+
{ G_TRAVERSE_NON_LEAVES, "G_TRAVERSE_NON_LEAVES", "non-leaves" },
|
762
|
+
{ G_TRAVERSE_ALL, "G_TRAVERSE_ALL", "all" },
|
763
|
+
{ G_TRAVERSE_MASK, "G_TRAVERSE_MASK", "mask" },
|
764
|
+
{ G_TRAVERSE_LEAFS, "G_TRAVERSE_LEAFS", "leafs" },
|
765
|
+
{ G_TRAVERSE_NON_LEAFS, "G_TRAVERSE_NON_LEAFS", "non-leafs" },
|
766
|
+
{ 0, NULL, NULL }
|
767
|
+
};
|
768
|
+
etype = g_flags_register_static ("GTraverseFlags", values);
|
769
|
+
}
|
770
|
+
return etype;
|
771
|
+
}
|
772
|
+
|
773
|
+
GType
|
774
|
+
g_traverse_type_get_type (void)
|
775
|
+
{
|
776
|
+
static GType etype = 0;
|
777
|
+
if (etype == 0) {
|
778
|
+
static const GEnumValue values[] = {
|
779
|
+
{ G_IN_ORDER, "G_IN_ORDER", "in-order" },
|
780
|
+
{ G_PRE_ORDER, "G_PRE_ORDER", "pre-order" },
|
781
|
+
{ G_POST_ORDER, "G_POST_ORDER", "post-order" },
|
782
|
+
{ G_LEVEL_ORDER, "G_LEVEL_ORDER", "level-order" },
|
783
|
+
{ 0, NULL, NULL }
|
784
|
+
};
|
785
|
+
etype = g_enum_register_static ("GTraverseType", values);
|
786
|
+
}
|
787
|
+
return etype;
|
788
|
+
}
|
789
|
+
|
790
|
+
|
791
|
+
/* enumerations from "/usr/include/glib-2.0/glib/ghook.h" */
|
792
|
+
GType
|
793
|
+
g_hook_flag_mask_get_type (void)
|
794
|
+
{
|
795
|
+
static GType etype = 0;
|
796
|
+
if (etype == 0) {
|
797
|
+
static const GFlagsValue values[] = {
|
798
|
+
{ G_HOOK_FLAG_ACTIVE, "G_HOOK_FLAG_ACTIVE", "active" },
|
799
|
+
{ G_HOOK_FLAG_IN_CALL, "G_HOOK_FLAG_IN_CALL", "in-call" },
|
800
|
+
{ G_HOOK_FLAG_MASK, "G_HOOK_FLAG_MASK", "mask" },
|
801
|
+
{ 0, NULL, NULL }
|
802
|
+
};
|
803
|
+
etype = g_flags_register_static ("GHookFlagMask", values);
|
804
|
+
}
|
805
|
+
return etype;
|
806
|
+
}
|
807
|
+
|
808
|
+
|
809
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gmessages.h" */
|
810
|
+
GType
|
811
|
+
g_log_level_flags_get_type (void)
|
812
|
+
{
|
813
|
+
static GType etype = 0;
|
814
|
+
if (etype == 0) {
|
815
|
+
static const GFlagsValue values[] = {
|
816
|
+
{ G_LOG_FLAG_RECURSION, "G_LOG_FLAG_RECURSION", "flag-recursion" },
|
817
|
+
{ G_LOG_FLAG_FATAL, "G_LOG_FLAG_FATAL", "flag-fatal" },
|
818
|
+
{ G_LOG_LEVEL_ERROR, "G_LOG_LEVEL_ERROR", "level-error" },
|
819
|
+
{ G_LOG_LEVEL_CRITICAL, "G_LOG_LEVEL_CRITICAL", "level-critical" },
|
820
|
+
{ G_LOG_LEVEL_WARNING, "G_LOG_LEVEL_WARNING", "level-warning" },
|
821
|
+
{ G_LOG_LEVEL_MESSAGE, "G_LOG_LEVEL_MESSAGE", "level-message" },
|
822
|
+
{ G_LOG_LEVEL_INFO, "G_LOG_LEVEL_INFO", "level-info" },
|
823
|
+
{ G_LOG_LEVEL_DEBUG, "G_LOG_LEVEL_DEBUG", "level-debug" },
|
824
|
+
{ G_LOG_LEVEL_MASK, "G_LOG_LEVEL_MASK", "level-mask" },
|
825
|
+
{ 0, NULL, NULL }
|
826
|
+
};
|
827
|
+
etype = g_flags_register_static ("GLogLevelFlags", values);
|
828
|
+
}
|
829
|
+
return etype;
|
830
|
+
}
|
831
|
+
|
832
|
+
|
833
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gchecksum.h" */
|
834
|
+
GType
|
835
|
+
g_checksum_type_get_type (void)
|
836
|
+
{
|
837
|
+
static GType etype = 0;
|
838
|
+
if (etype == 0) {
|
839
|
+
static const GEnumValue values[] = {
|
840
|
+
{ G_CHECKSUM_MD5, "G_CHECKSUM_MD5", "md5" },
|
841
|
+
{ G_CHECKSUM_SHA1, "G_CHECKSUM_SHA1", "sha1" },
|
842
|
+
{ G_CHECKSUM_SHA256, "G_CHECKSUM_SHA256", "sha256" },
|
843
|
+
{ 0, NULL, NULL }
|
844
|
+
};
|
845
|
+
etype = g_enum_register_static ("GChecksumType", values);
|
846
|
+
}
|
847
|
+
return etype;
|
848
|
+
}
|
849
|
+
|
850
|
+
|
851
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gshell.h" */
|
852
|
+
GType
|
853
|
+
g_shell_error_get_type (void)
|
854
|
+
{
|
855
|
+
static GType etype = 0;
|
856
|
+
if (etype == 0) {
|
857
|
+
static const GEnumValue values[] = {
|
858
|
+
{ G_SHELL_ERROR_BAD_QUOTING, "G_SHELL_ERROR_BAD_QUOTING", "bad-quoting" },
|
859
|
+
{ G_SHELL_ERROR_EMPTY_STRING, "G_SHELL_ERROR_EMPTY_STRING", "empty-string" },
|
860
|
+
{ G_SHELL_ERROR_FAILED, "G_SHELL_ERROR_FAILED", "failed" },
|
861
|
+
{ 0, NULL, NULL }
|
862
|
+
};
|
863
|
+
etype = g_enum_register_static ("GShellError", values);
|
864
|
+
}
|
865
|
+
return etype;
|
866
|
+
}
|
867
|
+
|
868
|
+
|
869
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gspawn.h" */
|
870
|
+
GType
|
871
|
+
g_spawn_error_get_type (void)
|
872
|
+
{
|
873
|
+
static GType etype = 0;
|
874
|
+
if (etype == 0) {
|
875
|
+
static const GEnumValue values[] = {
|
876
|
+
{ G_SPAWN_ERROR_FORK, "G_SPAWN_ERROR_FORK", "fork" },
|
877
|
+
{ G_SPAWN_ERROR_READ, "G_SPAWN_ERROR_READ", "read" },
|
878
|
+
{ G_SPAWN_ERROR_CHDIR, "G_SPAWN_ERROR_CHDIR", "chdir" },
|
879
|
+
{ G_SPAWN_ERROR_ACCES, "G_SPAWN_ERROR_ACCES", "acces" },
|
880
|
+
{ G_SPAWN_ERROR_PERM, "G_SPAWN_ERROR_PERM", "perm" },
|
881
|
+
{ G_SPAWN_ERROR_2BIG, "G_SPAWN_ERROR_2BIG", "2big" },
|
882
|
+
{ G_SPAWN_ERROR_NOEXEC, "G_SPAWN_ERROR_NOEXEC", "noexec" },
|
883
|
+
{ G_SPAWN_ERROR_NAMETOOLONG, "G_SPAWN_ERROR_NAMETOOLONG", "nametoolong" },
|
884
|
+
{ G_SPAWN_ERROR_NOENT, "G_SPAWN_ERROR_NOENT", "noent" },
|
885
|
+
{ G_SPAWN_ERROR_NOMEM, "G_SPAWN_ERROR_NOMEM", "nomem" },
|
886
|
+
{ G_SPAWN_ERROR_NOTDIR, "G_SPAWN_ERROR_NOTDIR", "notdir" },
|
887
|
+
{ G_SPAWN_ERROR_LOOP, "G_SPAWN_ERROR_LOOP", "loop" },
|
888
|
+
{ G_SPAWN_ERROR_TXTBUSY, "G_SPAWN_ERROR_TXTBUSY", "txtbusy" },
|
889
|
+
{ G_SPAWN_ERROR_IO, "G_SPAWN_ERROR_IO", "io" },
|
890
|
+
{ G_SPAWN_ERROR_NFILE, "G_SPAWN_ERROR_NFILE", "nfile" },
|
891
|
+
{ G_SPAWN_ERROR_MFILE, "G_SPAWN_ERROR_MFILE", "mfile" },
|
892
|
+
{ G_SPAWN_ERROR_INVAL, "G_SPAWN_ERROR_INVAL", "inval" },
|
893
|
+
{ G_SPAWN_ERROR_ISDIR, "G_SPAWN_ERROR_ISDIR", "isdir" },
|
894
|
+
{ G_SPAWN_ERROR_LIBBAD, "G_SPAWN_ERROR_LIBBAD", "libbad" },
|
895
|
+
{ G_SPAWN_ERROR_FAILED, "G_SPAWN_ERROR_FAILED", "failed" },
|
896
|
+
{ 0, NULL, NULL }
|
897
|
+
};
|
898
|
+
etype = g_enum_register_static ("GSpawnError", values);
|
899
|
+
}
|
900
|
+
return etype;
|
901
|
+
}
|
902
|
+
|
903
|
+
GType
|
904
|
+
g_spawn_flags_get_type (void)
|
905
|
+
{
|
906
|
+
static GType etype = 0;
|
907
|
+
if (etype == 0) {
|
908
|
+
static const GFlagsValue values[] = {
|
909
|
+
{ G_SPAWN_LEAVE_DESCRIPTORS_OPEN, "G_SPAWN_LEAVE_DESCRIPTORS_OPEN", "leave-descriptors-open" },
|
910
|
+
{ G_SPAWN_DO_NOT_REAP_CHILD, "G_SPAWN_DO_NOT_REAP_CHILD", "do-not-reap-child" },
|
911
|
+
{ G_SPAWN_SEARCH_PATH, "G_SPAWN_SEARCH_PATH", "search-path" },
|
912
|
+
{ G_SPAWN_STDOUT_TO_DEV_NULL, "G_SPAWN_STDOUT_TO_DEV_NULL", "stdout-to-dev-null" },
|
913
|
+
{ G_SPAWN_STDERR_TO_DEV_NULL, "G_SPAWN_STDERR_TO_DEV_NULL", "stderr-to-dev-null" },
|
914
|
+
{ G_SPAWN_CHILD_INHERITS_STDIN, "G_SPAWN_CHILD_INHERITS_STDIN", "child-inherits-stdin" },
|
915
|
+
{ G_SPAWN_FILE_AND_ARGV_ZERO, "G_SPAWN_FILE_AND_ARGV_ZERO", "file-and-argv-zero" },
|
916
|
+
{ 0, NULL, NULL }
|
917
|
+
};
|
918
|
+
etype = g_flags_register_static ("GSpawnFlags", values);
|
919
|
+
}
|
920
|
+
return etype;
|
921
|
+
}
|
922
|
+
|
923
|
+
|
924
|
+
/* enumerations from "/usr/include/glib-2.0/glib/goption.h" */
|
925
|
+
GType
|
926
|
+
g_option_flags_get_type (void)
|
927
|
+
{
|
928
|
+
static GType etype = 0;
|
929
|
+
if (etype == 0) {
|
930
|
+
static const GFlagsValue values[] = {
|
931
|
+
{ G_OPTION_FLAG_HIDDEN, "G_OPTION_FLAG_HIDDEN", "hidden" },
|
932
|
+
{ G_OPTION_FLAG_IN_MAIN, "G_OPTION_FLAG_IN_MAIN", "in-main" },
|
933
|
+
{ G_OPTION_FLAG_REVERSE, "G_OPTION_FLAG_REVERSE", "reverse" },
|
934
|
+
{ G_OPTION_FLAG_NO_ARG, "G_OPTION_FLAG_NO_ARG", "no-arg" },
|
935
|
+
{ G_OPTION_FLAG_FILENAME, "G_OPTION_FLAG_FILENAME", "filename" },
|
936
|
+
{ G_OPTION_FLAG_OPTIONAL_ARG, "G_OPTION_FLAG_OPTIONAL_ARG", "optional-arg" },
|
937
|
+
{ G_OPTION_FLAG_NOALIAS, "G_OPTION_FLAG_NOALIAS", "noalias" },
|
938
|
+
{ 0, NULL, NULL }
|
939
|
+
};
|
940
|
+
etype = g_flags_register_static ("GOptionFlags", values);
|
941
|
+
}
|
942
|
+
return etype;
|
943
|
+
}
|
944
|
+
|
945
|
+
GType
|
946
|
+
g_option_arg_get_type (void)
|
947
|
+
{
|
948
|
+
static GType etype = 0;
|
949
|
+
if (etype == 0) {
|
950
|
+
static const GEnumValue values[] = {
|
951
|
+
{ G_OPTION_ARG_NONE, "G_OPTION_ARG_NONE", "none" },
|
952
|
+
{ G_OPTION_ARG_STRING, "G_OPTION_ARG_STRING", "string" },
|
953
|
+
{ G_OPTION_ARG_INT, "G_OPTION_ARG_INT", "int" },
|
954
|
+
{ G_OPTION_ARG_CALLBACK, "G_OPTION_ARG_CALLBACK", "callback" },
|
955
|
+
{ G_OPTION_ARG_FILENAME, "G_OPTION_ARG_FILENAME", "filename" },
|
956
|
+
{ G_OPTION_ARG_STRING_ARRAY, "G_OPTION_ARG_STRING_ARRAY", "string-array" },
|
957
|
+
{ G_OPTION_ARG_FILENAME_ARRAY, "G_OPTION_ARG_FILENAME_ARRAY", "filename-array" },
|
958
|
+
{ G_OPTION_ARG_DOUBLE, "G_OPTION_ARG_DOUBLE", "double" },
|
959
|
+
{ G_OPTION_ARG_INT64, "G_OPTION_ARG_INT64", "int64" },
|
960
|
+
{ 0, NULL, NULL }
|
961
|
+
};
|
962
|
+
etype = g_enum_register_static ("GOptionArg", values);
|
963
|
+
}
|
964
|
+
return etype;
|
965
|
+
}
|
966
|
+
|
967
|
+
GType
|
968
|
+
g_option_error_get_type (void)
|
969
|
+
{
|
970
|
+
static GType etype = 0;
|
971
|
+
if (etype == 0) {
|
972
|
+
static const GEnumValue values[] = {
|
973
|
+
{ G_OPTION_ERROR_UNKNOWN_OPTION, "G_OPTION_ERROR_UNKNOWN_OPTION", "unknown-option" },
|
974
|
+
{ G_OPTION_ERROR_BAD_VALUE, "G_OPTION_ERROR_BAD_VALUE", "bad-value" },
|
975
|
+
{ G_OPTION_ERROR_FAILED, "G_OPTION_ERROR_FAILED", "failed" },
|
976
|
+
{ 0, NULL, NULL }
|
977
|
+
};
|
978
|
+
etype = g_enum_register_static ("GOptionError", values);
|
979
|
+
}
|
980
|
+
return etype;
|
981
|
+
}
|
982
|
+
|
983
|
+
|
984
|
+
/* enumerations from "/usr/include/glib-2.0/glib/gutils.h" */
|
985
|
+
GType
|
986
|
+
g_user_directory_get_type (void)
|
987
|
+
{
|
988
|
+
static GType etype = 0;
|
989
|
+
if (etype == 0) {
|
990
|
+
static const GEnumValue values[] = {
|
991
|
+
{ G_USER_DIRECTORY_DESKTOP, "G_USER_DIRECTORY_DESKTOP", "directory-desktop" },
|
992
|
+
{ G_USER_DIRECTORY_DOCUMENTS, "G_USER_DIRECTORY_DOCUMENTS", "directory-documents" },
|
993
|
+
{ G_USER_DIRECTORY_DOWNLOAD, "G_USER_DIRECTORY_DOWNLOAD", "directory-download" },
|
994
|
+
{ G_USER_DIRECTORY_MUSIC, "G_USER_DIRECTORY_MUSIC", "directory-music" },
|
995
|
+
{ G_USER_DIRECTORY_PICTURES, "G_USER_DIRECTORY_PICTURES", "directory-pictures" },
|
996
|
+
{ G_USER_DIRECTORY_PUBLIC_SHARE, "G_USER_DIRECTORY_PUBLIC_SHARE", "directory-public-share" },
|
997
|
+
{ G_USER_DIRECTORY_TEMPLATES, "G_USER_DIRECTORY_TEMPLATES", "directory-templates" },
|
998
|
+
{ G_USER_DIRECTORY_VIDEOS, "G_USER_DIRECTORY_VIDEOS", "directory-videos" },
|
999
|
+
{ G_USER_N_DIRECTORIES, "G_USER_N_DIRECTORIES", "n-directories" },
|
1000
|
+
{ 0, NULL, NULL }
|
1001
|
+
};
|
1002
|
+
etype = g_enum_register_static ("GUserDirectory", values);
|
1003
|
+
}
|
1004
|
+
return etype;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
|
1008
|
+
/* enumerations from "/usr/include/glib-2.0/gobject/gsignal.h" */
|
1009
|
+
GType
|
1010
|
+
g_signal_flags_get_type (void)
|
1011
|
+
{
|
1012
|
+
static GType etype = 0;
|
1013
|
+
if (etype == 0) {
|
1014
|
+
static const GFlagsValue values[] = {
|
1015
|
+
{ G_SIGNAL_RUN_FIRST, "G_SIGNAL_RUN_FIRST", "run-first" },
|
1016
|
+
{ G_SIGNAL_RUN_LAST, "G_SIGNAL_RUN_LAST", "run-last" },
|
1017
|
+
{ G_SIGNAL_RUN_CLEANUP, "G_SIGNAL_RUN_CLEANUP", "run-cleanup" },
|
1018
|
+
{ G_SIGNAL_NO_RECURSE, "G_SIGNAL_NO_RECURSE", "no-recurse" },
|
1019
|
+
{ G_SIGNAL_DETAILED, "G_SIGNAL_DETAILED", "detailed" },
|
1020
|
+
{ G_SIGNAL_ACTION, "G_SIGNAL_ACTION", "action" },
|
1021
|
+
{ G_SIGNAL_NO_HOOKS, "G_SIGNAL_NO_HOOKS", "no-hooks" },
|
1022
|
+
{ 0, NULL, NULL }
|
1023
|
+
};
|
1024
|
+
etype = g_flags_register_static ("GSignalFlags", values);
|
1025
|
+
}
|
1026
|
+
return etype;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
GType
|
1030
|
+
g_connect_flags_get_type (void)
|
1031
|
+
{
|
1032
|
+
static GType etype = 0;
|
1033
|
+
if (etype == 0) {
|
1034
|
+
static const GFlagsValue values[] = {
|
1035
|
+
{ G_CONNECT_AFTER, "G_CONNECT_AFTER", "after" },
|
1036
|
+
{ G_CONNECT_SWAPPED, "G_CONNECT_SWAPPED", "swapped" },
|
1037
|
+
{ 0, NULL, NULL }
|
1038
|
+
};
|
1039
|
+
etype = g_flags_register_static ("GConnectFlags", values);
|
1040
|
+
}
|
1041
|
+
return etype;
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
GType
|
1045
|
+
g_signal_match_type_get_type (void)
|
1046
|
+
{
|
1047
|
+
static GType etype = 0;
|
1048
|
+
if (etype == 0) {
|
1049
|
+
static const GFlagsValue values[] = {
|
1050
|
+
{ G_SIGNAL_MATCH_ID, "G_SIGNAL_MATCH_ID", "id" },
|
1051
|
+
{ G_SIGNAL_MATCH_DETAIL, "G_SIGNAL_MATCH_DETAIL", "detail" },
|
1052
|
+
{ G_SIGNAL_MATCH_CLOSURE, "G_SIGNAL_MATCH_CLOSURE", "closure" },
|
1053
|
+
{ G_SIGNAL_MATCH_FUNC, "G_SIGNAL_MATCH_FUNC", "func" },
|
1054
|
+
{ G_SIGNAL_MATCH_DATA, "G_SIGNAL_MATCH_DATA", "data" },
|
1055
|
+
{ G_SIGNAL_MATCH_UNBLOCKED, "G_SIGNAL_MATCH_UNBLOCKED", "unblocked" },
|
1056
|
+
{ 0, NULL, NULL }
|
1057
|
+
};
|
1058
|
+
etype = g_flags_register_static ("GSignalMatchType", values);
|
1059
|
+
}
|
1060
|
+
return etype;
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
|
1064
|
+
/* Generated data ends here */
|
1065
|
+
|