glib2 3.5.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/extconf.rb +4 -3
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-bytes.c +1 -1
- data/ext/glib2/rbglib-gc.c +1 -1
- data/ext/glib2/rbglib-variant-type.c +1 -1
- data/ext/glib2/rbglib-variant.c +75 -2
- data/ext/glib2/rbglib.c +30 -1
- data/ext/glib2/rbglib.h +17 -4
- data/ext/glib2/rbglib_bookmarkfile.c +3 -2
- data/ext/glib2/rbglib_convert.c +2 -2
- data/ext/glib2/rbglib_datetime.c +14 -3
- data/ext/glib2/rbglib_error.c +2 -2
- data/ext/glib2/rbglib_fileutils.c +2 -2
- data/ext/glib2/rbglib_gettext.c +1 -1
- data/ext/glib2/rbglib_i18n.c +2 -2
- data/ext/glib2/rbglib_io_constants.c +1 -1
- data/ext/glib2/rbglib_iochannel.c +2 -2
- data/ext/glib2/rbglib_iochannel_win32_socket.c +2 -2
- data/ext/glib2/rbglib_iochannelerror.c +1 -1
- data/ext/glib2/rbglib_keyfile.c +2 -2
- data/ext/glib2/rbglib_maincontext.c +6 -6
- data/ext/glib2/rbglib_mainloop.c +1 -1
- data/ext/glib2/rbglib_matchinfo.c +1 -1
- data/ext/glib2/rbglib_messages.c +1 -1
- data/ext/glib2/rbglib_pollfd.c +1 -1
- data/ext/glib2/rbglib_regex.c +3 -3
- data/ext/glib2/rbglib_shell.c +1 -1
- data/ext/glib2/rbglib_shellerror.c +1 -1
- data/ext/glib2/rbglib_source.c +1 -1
- data/ext/glib2/rbglib_spawn.c +1 -1
- data/ext/glib2/rbglib_spawnerror.c +1 -1
- data/ext/glib2/rbglib_threads.c +1 -1
- data/ext/glib2/rbglib_timer.c +1 -1
- data/ext/glib2/rbglib_timezone.c +1 -1
- data/ext/glib2/rbglib_ucs4.c +1 -1
- data/ext/glib2/rbglib_unichar.c +1 -1
- data/ext/glib2/rbglib_unicode.c +3 -3
- data/ext/glib2/rbglib_utf16.c +1 -1
- data/ext/glib2/rbglib_utf8.c +1 -1
- data/ext/glib2/rbglib_utils.c +1 -1
- data/ext/glib2/rbglib_win32.c +3 -3
- data/ext/glib2/rbgobj_binding.c +1 -1
- data/ext/glib2/rbgobj_boxed.c +1 -1
- data/ext/glib2/rbgobj_closure.c +54 -84
- data/ext/glib2/rbgobj_enums.c +1 -1
- data/ext/glib2/rbgobj_flags.c +1 -1
- data/ext/glib2/rbgobj_object.c +32 -5
- data/ext/glib2/rbgobj_param.c +1 -1
- data/ext/glib2/rbgobj_signal.c +36 -18
- data/ext/glib2/rbgobj_type.c +2 -2
- data/ext/glib2/rbgobj_typeinstance.c +1 -1
- data/ext/glib2/rbgobj_typeinterface.c +4 -4
- data/ext/glib2/rbgobj_typemodule.c +1 -1
- data/ext/glib2/rbgobj_typeplugin.c +1 -1
- data/ext/glib2/rbgobj_value.c +1 -1
- data/ext/glib2/rbgobj_valuetypes.c +14 -4
- data/ext/glib2/rbgobject.c +7 -21
- data/ext/glib2/rbgobject.h +1 -0
- data/ext/glib2/rbgprivate.h +7 -4
- data/ext/glib2/rbgutil.c +20 -1
- data/ext/glib2/rbgutil.h +3 -0
- data/ext/glib2/rbgutil_callback.c +7 -7
- data/lib/glib2/date-time.rb +35 -0
- data/lib/glib2/variant.rb +25 -0
- data/lib/glib2.rb +6 -1
- data/lib/mkmf-gnome.rb +2 -2
- data/test/test-date-time.rb +14 -2
- data/test/test-glib2.rb +21 -9
- data/test/test-variant.rb +44 -1
- metadata +7 -7
- data/ext/glib2/glib-enum-types.c +0 -1233
- data/ext/glib2/glib-enum-types.h +0 -154
data/ext/glib2/glib-enum-types.h
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated by glib-mkenums.rb ($Id$) */
|
3
|
-
|
4
|
-
#ifndef __GLIB_ENUM_TYPES_H__
|
5
|
-
#define __GLIB_ENUM_TYPES_H__
|
6
|
-
|
7
|
-
#include <glib-object.h>
|
8
|
-
|
9
|
-
G_BEGIN_DECLS
|
10
|
-
|
11
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gvariant.h" */
|
12
|
-
GType g_variant_class_get_type (void);
|
13
|
-
#define G_TYPE_VARIANT_CLASS (g_variant_class_get_type())
|
14
|
-
GType g_variant_parse_error_get_type (void);
|
15
|
-
#define G_TYPE_VARIANT_PARSE_ERROR (g_variant_parse_error_get_type())
|
16
|
-
|
17
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gspawn.h" */
|
18
|
-
GType g_spawn_error_get_type (void);
|
19
|
-
#define G_TYPE_SPAWN_ERROR (g_spawn_error_get_type())
|
20
|
-
GType g_spawn_flags_get_type (void);
|
21
|
-
#define G_TYPE_SPAWN_FLAGS (g_spawn_flags_get_type())
|
22
|
-
|
23
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gkeyfile.h" */
|
24
|
-
GType g_key_file_error_get_type (void);
|
25
|
-
#define G_TYPE_KEY_FILE_ERROR (g_key_file_error_get_type())
|
26
|
-
GType g_key_file_flags_get_type (void);
|
27
|
-
#define G_TYPE_KEY_FILE_FLAGS (g_key_file_flags_get_type())
|
28
|
-
|
29
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gnode.h" */
|
30
|
-
GType g_traverse_flags_get_type (void);
|
31
|
-
#define G_TYPE_TRAVERSE_FLAGS (g_traverse_flags_get_type())
|
32
|
-
GType g_traverse_type_get_type (void);
|
33
|
-
#define G_TYPE_TRAVERSE_TYPE (g_traverse_type_get_type())
|
34
|
-
|
35
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gshell.h" */
|
36
|
-
GType g_shell_error_get_type (void);
|
37
|
-
#define G_TYPE_SHELL_ERROR (g_shell_error_get_type())
|
38
|
-
|
39
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gslice.h" */
|
40
|
-
GType g_slice_config_get_type (void);
|
41
|
-
#define G_TYPE_SLICE_CONFIG (g_slice_config_get_type())
|
42
|
-
|
43
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gregex.h" */
|
44
|
-
GType g_regex_error_get_type (void);
|
45
|
-
#define G_TYPE_REGEX_ERROR (g_regex_error_get_type())
|
46
|
-
GType g_regex_compile_flags_get_type (void);
|
47
|
-
#define G_TYPE_REGEX_COMPILE_FLAGS (g_regex_compile_flags_get_type())
|
48
|
-
GType g_regex_match_flags_get_type (void);
|
49
|
-
#define G_TYPE_REGEX_MATCH_FLAGS (g_regex_match_flags_get_type())
|
50
|
-
|
51
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gmarkup.h" */
|
52
|
-
GType g_markup_error_get_type (void);
|
53
|
-
#define G_TYPE_MARKUP_ERROR (g_markup_error_get_type())
|
54
|
-
GType g_markup_parse_flags_get_type (void);
|
55
|
-
#define G_TYPE_MARKUP_PARSE_FLAGS (g_markup_parse_flags_get_type())
|
56
|
-
GType g_markup_collect_type_get_type (void);
|
57
|
-
#define G_TYPE_MARKUP_COLLECT_TYPE (g_markup_collect_type_get_type())
|
58
|
-
|
59
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gtestutils.h" */
|
60
|
-
GType g_test_trap_flags_get_type (void);
|
61
|
-
#define G_TYPE_TEST_TRAP_FLAGS (g_test_trap_flags_get_type())
|
62
|
-
GType g_test_subprocess_flags_get_type (void);
|
63
|
-
#define G_TYPE_TEST_SUBPROCESS_FLAGS (g_test_subprocess_flags_get_type())
|
64
|
-
GType g_test_log_type_get_type (void);
|
65
|
-
#define G_TYPE_TEST_LOG_TYPE (g_test_log_type_get_type())
|
66
|
-
GType g_test_file_type_get_type (void);
|
67
|
-
#define G_TYPE_TEST_FILE_TYPE (g_test_file_type_get_type())
|
68
|
-
|
69
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gfileutils.h" */
|
70
|
-
GType g_file_error_get_type (void);
|
71
|
-
#define G_TYPE_FILE_ERROR (g_file_error_get_type())
|
72
|
-
GType g_file_test_get_type (void);
|
73
|
-
#define G_TYPE_FILE_TEST (g_file_test_get_type())
|
74
|
-
|
75
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gtimezone.h" */
|
76
|
-
GType g_time_type_get_type (void);
|
77
|
-
#define G_TYPE_TIME_TYPE (g_time_type_get_type())
|
78
|
-
|
79
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gdate.h" */
|
80
|
-
GType g_date_dm_y_get_type (void);
|
81
|
-
#define G_TYPE_DATE_DM_Y (g_date_dm_y_get_type())
|
82
|
-
GType g_date_weekday_get_type (void);
|
83
|
-
#define G_TYPE_DATE_WEEKDAY (g_date_weekday_get_type())
|
84
|
-
GType g_date_month_get_type (void);
|
85
|
-
#define G_TYPE_DATE_MONTH (g_date_month_get_type())
|
86
|
-
|
87
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gunicode.h" */
|
88
|
-
GType g_unicode_type_get_type (void);
|
89
|
-
#define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type())
|
90
|
-
GType g_unicode_break_type_get_type (void);
|
91
|
-
#define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type())
|
92
|
-
GType g_unicode_script_get_type (void);
|
93
|
-
#define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type())
|
94
|
-
GType g_normalize_mode_get_type (void);
|
95
|
-
#define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type())
|
96
|
-
|
97
|
-
/* enumerations from "/usr/include/glib-2.0/glib/ghook.h" */
|
98
|
-
GType g_hook_flag_mask_get_type (void);
|
99
|
-
#define G_TYPE_HOOK_FLAG_MASK (g_hook_flag_mask_get_type())
|
100
|
-
|
101
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gthread.h" */
|
102
|
-
GType g_thread_error_get_type (void);
|
103
|
-
#define G_TYPE_THREAD_ERROR (g_thread_error_get_type())
|
104
|
-
GType g_once_status_get_type (void);
|
105
|
-
#define G_TYPE_ONCE_STATUS (g_once_status_get_type())
|
106
|
-
|
107
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gstrfuncs.h" */
|
108
|
-
GType g_ascii_type_get_type (void);
|
109
|
-
#define G_TYPE_ASCII_TYPE (g_ascii_type_get_type())
|
110
|
-
|
111
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gmessages.h" */
|
112
|
-
GType g_log_level_flags_get_type (void);
|
113
|
-
#define G_TYPE_LOG_LEVEL_FLAGS (g_log_level_flags_get_type())
|
114
|
-
|
115
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gchecksum.h" */
|
116
|
-
GType g_checksum_type_get_type (void);
|
117
|
-
#define G_TYPE_CHECKSUM_TYPE (g_checksum_type_get_type())
|
118
|
-
|
119
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gutils.h" */
|
120
|
-
GType g_user_directory_get_type (void);
|
121
|
-
#define G_TYPE_USER_DIRECTORY (g_user_directory_get_type())
|
122
|
-
GType g_format_size_flags_get_type (void);
|
123
|
-
#define G_TYPE_FORMAT_SIZE_FLAGS (g_format_size_flags_get_type())
|
124
|
-
|
125
|
-
/* enumerations from "/usr/include/glib-2.0/glib/goption.h" */
|
126
|
-
GType g_option_flags_get_type (void);
|
127
|
-
#define G_TYPE_OPTION_FLAGS (g_option_flags_get_type())
|
128
|
-
GType g_option_arg_get_type (void);
|
129
|
-
#define G_TYPE_OPTION_ARG (g_option_arg_get_type())
|
130
|
-
GType g_option_error_get_type (void);
|
131
|
-
#define G_TYPE_OPTION_ERROR (g_option_error_get_type())
|
132
|
-
|
133
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gconvert.h" */
|
134
|
-
GType g_convert_error_get_type (void);
|
135
|
-
#define G_TYPE_CONVERT_ERROR (g_convert_error_get_type())
|
136
|
-
|
137
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gbookmarkfile.h" */
|
138
|
-
GType g_bookmark_file_error_get_type (void);
|
139
|
-
#define G_TYPE_BOOKMARK_FILE_ERROR (g_bookmark_file_error_get_type())
|
140
|
-
|
141
|
-
/* enumerations from "/usr/include/glib-2.0/gobject/gsignal.h" */
|
142
|
-
GType g_signal_flags_get_type (void);
|
143
|
-
#define G_TYPE_SIGNAL_FLAGS (g_signal_flags_get_type())
|
144
|
-
GType g_connect_flags_get_type (void);
|
145
|
-
#define G_TYPE_CONNECT_FLAGS (g_connect_flags_get_type())
|
146
|
-
GType g_signal_match_type_get_type (void);
|
147
|
-
#define G_TYPE_SIGNAL_MATCH_TYPE (g_signal_match_type_get_type())
|
148
|
-
|
149
|
-
G_END_DECLS
|
150
|
-
|
151
|
-
#endif /* __GLIB_ENUM_TYPES_H__ */
|
152
|
-
|
153
|
-
/* Generated data ends here */
|
154
|
-
|