gio2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +26 -9
  3. data/ext/gio2/extconf.rb +38 -28
  4. data/ext/gio2/rb-gio2-pollable-source.c +59 -0
  5. data/ext/gio2/{rbgiofilteroutputstream.c → rb-gio2.c} +9 -5
  6. data/ext/gio2/{gio2.c → rb-gio2.h} +5 -10
  7. data/extconf.rb +22 -6
  8. data/lib/1.9/gio2.so +0 -0
  9. data/lib/2.0/gio2.so +0 -0
  10. data/lib/2.1/gio2.so +0 -0
  11. data/lib/gio2/deprecated.rb +16 -0
  12. data/lib/gio2/inet-address.rb +33 -0
  13. data/lib/gio2/input-stream.rb +39 -0
  14. data/lib/gio2/loader.rb +244 -0
  15. data/lib/gio2/output-stream.rb +24 -0
  16. data/lib/gio2/pollable-input-stream.rb +51 -0
  17. data/lib/gio2/pollable-output-stream.rb +32 -0
  18. data/lib/gio2/resources.rb +62 -0
  19. data/lib/gio2.rb +38 -143
  20. data/test/fixture/content-type/x-content/unix-software/autorun.sh +1 -0
  21. data/test/fixture/resource/Rakefile +32 -0
  22. data/test/fixture/resource/logo.png +0 -0
  23. data/test/fixture/resource/ruby-gio2.gresource +0 -0
  24. data/test/fixture/resource/ruby-gio2.gresource.xml +6 -0
  25. data/test/gio2-test-utils/fixture.rb +24 -0
  26. data/test/gio2-test-utils/socket-client.rb +59 -0
  27. data/test/gio2-test-utils.rb +21 -0
  28. data/test/run-test.rb +45 -9
  29. data/test/test-buffered-input-stream.rb +23 -0
  30. data/test/test-charset-converter.rb +23 -0
  31. data/test/test-content-type.rb +31 -0
  32. data/test/test-data-input-stream.rb +21 -0
  33. data/test/test-file-enumerator.rb +26 -0
  34. data/test/test-file-monitor.rb +33 -0
  35. data/test/test-file.rb +28 -0
  36. data/test/test-inet-address.rb +34 -0
  37. data/test/test-input-stream.rb +36 -0
  38. data/test/test-output-stream.rb +39 -0
  39. data/test/test-pollable-input-stream.rb +54 -0
  40. data/test/test-pollable-output-stream.rb +53 -0
  41. data/test/test-resources.rb +58 -0
  42. metadata +49 -107
  43. data/README +0 -34
  44. data/ext/gio2/depend +0 -11
  45. data/ext/gio2/gio2.def +0 -2
  46. data/ext/gio2/gio2.h +0 -30
  47. data/ext/gio2/rbgio.c +0 -133
  48. data/ext/gio2/rbgio2.h +0 -158
  49. data/ext/gio2/rbgio2conversions.h +0 -154
  50. data/ext/gio2/rbgio2private.h +0 -148
  51. data/ext/gio2/rbgioappinfo.c +0 -317
  52. data/ext/gio2/rbgioapplaunchcontext.c +0 -81
  53. data/ext/gio2/rbgioasyncinitable.c +0 -246
  54. data/ext/gio2/rbgioasyncresult.c +0 -41
  55. data/ext/gio2/rbgiobufferedinputstream.c +0 -167
  56. data/ext/gio2/rbgiobufferedoutputstream.c +0 -50
  57. data/ext/gio2/rbgiocancellable.c +0 -180
  58. data/ext/gio2/rbgiocharsetconverter.c +0 -57
  59. data/ext/gio2/rbgiocontenttype.c +0 -131
  60. data/ext/gio2/rbgioconverter.c +0 -113
  61. data/ext/gio2/rbgioconverterinputstream.c +0 -43
  62. data/ext/gio2/rbgioconverteroutputstream.c +0 -43
  63. data/ext/gio2/rbgiodatainputstream.c +0 -309
  64. data/ext/gio2/rbgiodataoutputstream.c +0 -186
  65. data/ext/gio2/rbgiodesktopappinfo.c +0 -87
  66. data/ext/gio2/rbgiodrive.c +0 -266
  67. data/ext/gio2/rbgioemblem.c +0 -52
  68. data/ext/gio2/rbgioemblemedicon.c +0 -65
  69. data/ext/gio2/rbgiofile.c +0 -2045
  70. data/ext/gio2/rbgiofileattribute.c +0 -114
  71. data/ext/gio2/rbgiofileattributeinfo.c +0 -86
  72. data/ext/gio2/rbgiofileattributeinfolist.c +0 -108
  73. data/ext/gio2/rbgiofileattributematcher.c +0 -95
  74. data/ext/gio2/rbgiofiledescriptorbased.c +0 -45
  75. data/ext/gio2/rbgiofileenumerator.c +0 -166
  76. data/ext/gio2/rbgiofileicon.c +0 -41
  77. data/ext/gio2/rbgiofileinfo.c +0 -617
  78. data/ext/gio2/rbgiofileinputstream.c +0 -91
  79. data/ext/gio2/rbgiofileiostream.c +0 -98
  80. data/ext/gio2/rbgiofilemonitor.c +0 -46
  81. data/ext/gio2/rbgiofilenamecompleter.c +0 -73
  82. data/ext/gio2/rbgiofileoutputstream.c +0 -98
  83. data/ext/gio2/rbgiofilterinputstream.c +0 -28
  84. data/ext/gio2/rbgioicon.c +0 -69
  85. data/ext/gio2/rbgioinetaddress.c +0 -118
  86. data/ext/gio2/rbgioinetsocketaddress.c +0 -41
  87. data/ext/gio2/rbgioinitable.c +0 -199
  88. data/ext/gio2/rbgioinputstream.c +0 -341
  89. data/ext/gio2/rbgioio.c +0 -73
  90. data/ext/gio2/rbgioiomodule.c +0 -45
  91. data/ext/gio2/rbgioiomodules.c +0 -47
  92. data/ext/gio2/rbgioioscheduler.c +0 -102
  93. data/ext/gio2/rbgioioschedulerjob.c +0 -121
  94. data/ext/gio2/rbgioiostream.c +0 -107
  95. data/ext/gio2/rbgioloadableicon.c +0 -92
  96. data/ext/gio2/rbgiomemoryinputstream.c +0 -67
  97. data/ext/gio2/rbgiomemoryoutputstream.c +0 -44
  98. data/ext/gio2/rbgiomount.c +0 -286
  99. data/ext/gio2/rbgiomountoperation.c +0 -53
  100. data/ext/gio2/rbgionetworkaddress.c +0 -59
  101. data/ext/gio2/rbgionetworkservice.c +0 -45
  102. data/ext/gio2/rbgiooutputstream.c +0 -331
  103. data/ext/gio2/rbgioresolver.c +0 -230
  104. data/ext/gio2/rbgioseekable.c +0 -91
  105. data/ext/gio2/rbgiosimpleasyncresult.c +0 -152
  106. data/ext/gio2/rbgiosocket.c +0 -390
  107. data/ext/gio2/rbgiosocketaddress.c +0 -34
  108. data/ext/gio2/rbgiosocketaddressenumerator.c +0 -83
  109. data/ext/gio2/rbgiosocketclient.c +0 -207
  110. data/ext/gio2/rbgiosocketconnectable.c +0 -41
  111. data/ext/gio2/rbgiosocketconnection.c +0 -66
  112. data/ext/gio2/rbgiosocketconnectionfactory.c +0 -39
  113. data/ext/gio2/rbgiosocketcontrolmessage.c +0 -82
  114. data/ext/gio2/rbgiosocketlistener.c +0 -246
  115. data/ext/gio2/rbgiosocketservice.c +0 -66
  116. data/ext/gio2/rbgiosrvtarget.c +0 -76
  117. data/ext/gio2/rbgiotcpconnection.c +0 -28
  118. data/ext/gio2/rbgiothemedicon.c +0 -83
  119. data/ext/gio2/rbgiothreadedsocketservice.c +0 -43
  120. data/ext/gio2/rbgiotlscertificate.c +0 -89
  121. data/ext/gio2/rbgiounixconnection.c +0 -71
  122. data/ext/gio2/rbgiounixfdlist.c +0 -115
  123. data/ext/gio2/rbgiounixfdmessage.c +0 -74
  124. data/ext/gio2/rbgiounixinputstream.c +0 -51
  125. data/ext/gio2/rbgiounixmount.c +0 -164
  126. data/ext/gio2/rbgiounixmountmonitor.c +0 -65
  127. data/ext/gio2/rbgiounixmountpoint.c +0 -136
  128. data/ext/gio2/rbgiounixmountpoints.c +0 -58
  129. data/ext/gio2/rbgiounixmounts.c +0 -58
  130. data/ext/gio2/rbgiounixoutputstream.c +0 -51
  131. data/ext/gio2/rbgiounixsocketaddress.c +0 -69
  132. data/ext/gio2/rbgiovfs.c +0 -84
  133. data/ext/gio2/rbgiovolume.c +0 -193
  134. data/ext/gio2/rbgiovolumemonitor.c +0 -77
  135. data/ext/gio2/rbgiozlibcompressor.c +0 -52
  136. data/ext/gio2/rbgiozlibdecompressor.c +0 -45
  137. data/ext/gio2/util.c +0 -303
  138. data/test/test_bufferedinputstream.rb +0 -9
  139. data/test/test_charsetconverter.rb +0 -9
  140. data/test/test_datainputstream.rb +0 -7
  141. data/test/test_fileenumerator.rb +0 -8
  142. data/test/test_filemonitor.rb +0 -17
  143. data/test/test_inetaddress.rb +0 -8
data/ext/gio2/rbgio.c DELETED
@@ -1,133 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #include "rbgio2private.h"
22
-
23
- #define RG_TARGET_NAMESPACE mGio
24
-
25
- static VALUE
26
- rg_s_has_unix_p(G_GNUC_UNUSED VALUE self)
27
- {
28
- #ifdef HAVE_GIO_UNIX
29
- return Qtrue;
30
- #else
31
- return Qfalse;
32
- #endif
33
- }
34
-
35
- void
36
- Init_gio(void)
37
- {
38
- VALUE RG_TARGET_NAMESPACE = rb_define_module("Gio");
39
- G_DEF_CLASS(G_TYPE_FILESYSTEM_PREVIEW_TYPE, "FilesystemPreviewType", RG_TARGET_NAMESPACE);
40
- G_DEF_CLASS(G_TYPE_DATA_STREAM_BYTE_ORDER, "DataStreamByteOrder", RG_TARGET_NAMESPACE);
41
- G_DEF_CLASS(G_TYPE_DATA_STREAM_NEWLINE_TYPE, "DataStreamNewlineType", RG_TARGET_NAMESPACE);
42
- G_DEF_CLASS(G_TYPE_ASK_PASSWORD_FLAGS, "AskPasswordFlags", RG_TARGET_NAMESPACE);
43
- G_DEF_CLASS(G_TYPE_PASSWORD_SAVE, "PasswordSave", RG_TARGET_NAMESPACE);
44
-
45
- RG_DEF_SMETHOD_P(has_unix, 0);
46
-
47
- Init_gappinfo(RG_TARGET_NAMESPACE);
48
- Init_gapplaunchcontext(RG_TARGET_NAMESPACE);
49
- Init_gasyncinitable(RG_TARGET_NAMESPACE);
50
- Init_gasyncresult(RG_TARGET_NAMESPACE);
51
- Init_gbufferedinputstream(RG_TARGET_NAMESPACE);
52
- Init_gbufferedoutputstream(RG_TARGET_NAMESPACE);
53
- Init_gcancellable(RG_TARGET_NAMESPACE);
54
- Init_gcharsetconverter(RG_TARGET_NAMESPACE);
55
- Init_gcontenttype(RG_TARGET_NAMESPACE);
56
- Init_gconverter(RG_TARGET_NAMESPACE);
57
- Init_gconverterinputstream(RG_TARGET_NAMESPACE);
58
- Init_gconverteroutputstream(RG_TARGET_NAMESPACE);
59
- Init_gdatainputstream(RG_TARGET_NAMESPACE);
60
- Init_gdesktopappinfo(RG_TARGET_NAMESPACE);
61
- Init_gdataoutputstream(RG_TARGET_NAMESPACE);
62
- Init_gdrive(RG_TARGET_NAMESPACE);
63
- Init_gemblem(RG_TARGET_NAMESPACE);
64
- Init_gemblemedicon(RG_TARGET_NAMESPACE);
65
- Init_gfile(RG_TARGET_NAMESPACE);
66
- Init_gfileattribute(RG_TARGET_NAMESPACE);
67
- Init_gfileattributeinfo(RG_TARGET_NAMESPACE);
68
- Init_gfileattributematcher(RG_TARGET_NAMESPACE);
69
- Init_gfiledescriptorbased(RG_TARGET_NAMESPACE);
70
- Init_gfileenumerator(RG_TARGET_NAMESPACE);
71
- Init_gfileicon(RG_TARGET_NAMESPACE);
72
- Init_gfileinfo(RG_TARGET_NAMESPACE);
73
- Init_gfileinputstream(RG_TARGET_NAMESPACE);
74
- Init_gfileiostream(RG_TARGET_NAMESPACE);
75
- Init_gfilemonitor(RG_TARGET_NAMESPACE);
76
- Init_gfilenamecompleter(RG_TARGET_NAMESPACE);
77
- Init_gfileoutputstream(RG_TARGET_NAMESPACE);
78
- Init_gfilterinputstream(RG_TARGET_NAMESPACE);
79
- Init_gfilteroutputstream(RG_TARGET_NAMESPACE);
80
- Init_gicon(RG_TARGET_NAMESPACE);
81
- Init_ginetaddress(RG_TARGET_NAMESPACE);
82
- Init_ginetsocketaddress(RG_TARGET_NAMESPACE);
83
- Init_ginitable(RG_TARGET_NAMESPACE);
84
- Init_ginputstream(RG_TARGET_NAMESPACE);
85
- Init_gioerror(RG_TARGET_NAMESPACE);
86
- Init_giomodule(RG_TARGET_NAMESPACE);
87
- Init_giomodules(RG_TARGET_NAMESPACE);
88
- Init_gioscheduler(RG_TARGET_NAMESPACE);
89
- Init_gioschedulerjob(RG_TARGET_NAMESPACE);
90
- Init_giostream(RG_TARGET_NAMESPACE);
91
- Init_gloadableicon(RG_TARGET_NAMESPACE);
92
- Init_gmemoryinputstream(RG_TARGET_NAMESPACE);
93
- Init_gmemoryoutputstream(RG_TARGET_NAMESPACE);
94
- Init_gmount(RG_TARGET_NAMESPACE);
95
- Init_gmountoperation(RG_TARGET_NAMESPACE);
96
- Init_gnetworkaddress(RG_TARGET_NAMESPACE);
97
- Init_gnetworkservice(RG_TARGET_NAMESPACE);
98
- Init_goutputstream(RG_TARGET_NAMESPACE);
99
- Init_gresolver(RG_TARGET_NAMESPACE);
100
- Init_gseekable(RG_TARGET_NAMESPACE);
101
- Init_gsimpleasyncresult(RG_TARGET_NAMESPACE);
102
- Init_gsocket(RG_TARGET_NAMESPACE);
103
- Init_gsocketaddress(RG_TARGET_NAMESPACE);
104
- Init_gsocketclient(RG_TARGET_NAMESPACE);
105
- Init_gsocketconnectable(RG_TARGET_NAMESPACE);
106
- Init_gsocketaddressenumerator(RG_TARGET_NAMESPACE);
107
- Init_gsocketconnection(RG_TARGET_NAMESPACE);
108
- Init_gsocketconnectionfactory(RG_TARGET_NAMESPACE);
109
- Init_gsocketcontrolmessage(RG_TARGET_NAMESPACE);
110
- Init_gsocketlistener(RG_TARGET_NAMESPACE);
111
- Init_gsocketservice(RG_TARGET_NAMESPACE);
112
- Init_gsrvtarget(RG_TARGET_NAMESPACE);
113
- Init_gtcpconnection(RG_TARGET_NAMESPACE);
114
- Init_gthemedicon(RG_TARGET_NAMESPACE);
115
- Init_gthreadedsocketservice(RG_TARGET_NAMESPACE);
116
- Init_gtlscertificate(RG_TARGET_NAMESPACE);
117
- Init_gunixconnection(RG_TARGET_NAMESPACE);
118
- Init_gunixfdlist(RG_TARGET_NAMESPACE);
119
- Init_gunixfdmessage(RG_TARGET_NAMESPACE);
120
- Init_gunixinputstream(RG_TARGET_NAMESPACE);
121
- Init_gunixmount(RG_TARGET_NAMESPACE);
122
- Init_gunixmounts(RG_TARGET_NAMESPACE);
123
- Init_gunixmountpoint(RG_TARGET_NAMESPACE);
124
- Init_gunixmountpoints(RG_TARGET_NAMESPACE);
125
- Init_gunixmountmonitor(RG_TARGET_NAMESPACE);
126
- Init_gunixoutputstream(RG_TARGET_NAMESPACE);
127
- Init_gunixsocketaddress(RG_TARGET_NAMESPACE);
128
- Init_gvfs(RG_TARGET_NAMESPACE);
129
- Init_gvolume(RG_TARGET_NAMESPACE);
130
- Init_gvolumemonitor(RG_TARGET_NAMESPACE);
131
- Init_gzlibcompressor(RG_TARGET_NAMESPACE);
132
- Init_gzlibdecompressor(RG_TARGET_NAMESPACE);
133
- }
data/ext/gio2/rbgio2.h DELETED
@@ -1,158 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- * Copyright (C) 2008-2009 Ruby-GNOME2 Project Team
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
- * MA 02110-1301 USA
20
- */
21
-
22
- #ifndef __RBGIO2_H__
23
- #define __RBGIO2_H__
24
-
25
- #include <gio/gio.h>
26
-
27
- #include "rbgio2conversions.h"
28
-
29
- G_BEGIN_DECLS
30
-
31
- /* Block Handling */
32
- #define SAVE_BLOCK(block) G_STMT_START { \
33
- if (!NIL_P(block)) \
34
- G_CHILD_ADD(mGLib, (block)); \
35
- } G_STMT_END
36
-
37
- #define USE_BLOCK(data) \
38
- rbgio_child_remove_and_return(mGLib, (VALUE)(data))
39
-
40
- #define USE_BLOCK_AND_SAVE(data) ((VALUE)data)
41
-
42
- #if !GLIB_CHECK_VERSION(2, 34, 0)
43
- #define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type())
44
- GType g_file_attribute_matcher_get_type(void);
45
-
46
- #define G_TYPE_FILE_ATTRIBUTE_INFO_LIST (g_file_attribute_info_list_get_type())
47
- GType g_file_attribute_info_list_get_type(void);
48
- #endif
49
-
50
- #define G_TYPE_FILE_ATTRIBUTE_INFO (g_file_attribute_info_get_type())
51
- GType g_file_attribute_info_get_type(void);
52
-
53
- /* Conversion Macros */
54
- #define RVAL2TYPE_WITH_DEFAULT(value, type, default_value) \
55
- (NIL_P(value) ? (default_value) : type(value))
56
-
57
- #define RVAL2ATTRIBUTESDEFAULT(value) \
58
- RVAL2TYPE_WITH_DEFAULT((value), RVAL2CSTR, "standard::*")
59
-
60
- #define RVAL2GDRIVESTARTFLAGSDEFAULT(value) \
61
- RVAL2TYPE_WITH_DEFAULT((value), \
62
- RVAL2GDRIVESTARTFLAGS, \
63
- G_DRIVE_START_NONE)
64
-
65
- #define RVAL2GMOUNTMOUNTFLAGSDEFAULT(value) \
66
- RVAL2TYPE_WITH_DEFAULT((value), \
67
- RVAL2GMOUNTMOUNTFLAGS, \
68
- G_MOUNT_MOUNT_NONE)
69
-
70
- #define RVAL2GMOUNTUNMOUNTFLAGSDEFAULT(value) \
71
- RVAL2TYPE_WITH_DEFAULT((value), \
72
- RVAL2GMOUNTUNMOUNTFLAGS, \
73
- G_MOUNT_UNMOUNT_NONE)
74
-
75
- #define RVAL2GSOCKETPROTOCOLDEFAULT(value) \
76
- RVAL2TYPE_WITH_DEFAULT((value), \
77
- RVAL2GSOCKETPROTOCOL, \
78
- G_SOCKET_PROTOCOL_DEFAULT)
79
-
80
- #define GTIMEVAL2RVAL(value) rb_time_new((value)->tv_sec, (value)->tv_usec)
81
-
82
- #define RVAL2GZLIBCOMPRESSORFORMATDEFAULT(value) \
83
- RVAL2TYPE_WITH_DEFAULT((value), \
84
- RVAL2GZLIBCOMPRESSORFORMAT, \
85
- G_ZLIB_COMPRESSOR_FORMAT_ZLIB)
86
-
87
- #define RVAL2IOPRIORITYDEFAULT(value) \
88
- RVAL2TYPE_WITH_DEFAULT((value), NUM2INT, G_PRIORITY_DEFAULT)
89
-
90
- /* Integer Type Conversion Macros */
91
- #define FD2RVAL(value) INT2FIX(value)
92
- #define RVAL2FD(value) FIX2INT(value)
93
- #define RVAL2FDS(value, n) RVAL2GINTS(value, n)
94
-
95
- #define GINT2RVAL(value) INT2NUM(value)
96
- #define RVAL2GINT(value) NUM2INT(value)
97
-
98
- #define GINT162RVAL(value) INT2FIX(value)
99
- #define RVAL2GINT16(value) FIX2INT(value)
100
-
101
- #define GINT322RVAL(value) INT2NUM(value)
102
- #define RVAL2GINT32(value) NUM2INT(value)
103
-
104
- #define GINT642RVAL(value) rbglib_int64_to_num(value)
105
- #define RVAL2GINT64(value) rbglib_num_to_int64(value)
106
-
107
- #define GSIZE2RVAL(value) ULONG2NUM(value)
108
- #define RVAL2GSIZE(value) NUM2ULONG(value)
109
-
110
- #define GLONG2RVAL(value) LONG2NUM(value)
111
- #define RVAL2GLONG(value) NUM2LONG(value)
112
-
113
- #define GOFFSET2RVAL(value) rbglib_int64_to_num(value)
114
- #define RVAL2GOFFSET(value) rbglib_num_to_int64(value)
115
-
116
- #define GSSIZE2RVAL(value) LONG2NUM(value)
117
- #define RVAL2GSSIZE(value) NUM2LONG(value)
118
-
119
- /* TODO: Should we be zeroing out bits? */
120
- #define GUCHAR2RVAL(value) INT2FIX(value)
121
- #define RVAL2GUCHAR(value) FIX2INT(value)
122
-
123
- #define GUINT2RVAL(value) UINT2NUM(value)
124
- #define RVAL2GUINT(value) NUM2UINT(value)
125
-
126
- /* TODO: Should we be zeroing out bits? */
127
- #define GUINT162RVAL(value) INT2FIX(value)
128
- #define RVAL2GUINT16(value) FIX2INT(value)
129
-
130
- #define GUINT322RVAL(value) UINT2NUM(value)
131
- #define RVAL2GUINT32(value) NUM2UINT(value)
132
-
133
- #define GUINT642RVAL(value) rbglib_uint64_to_num(value)
134
- #define RVAL2GUINT64(value) rbglib_num_to_uint64(value)
135
-
136
- #define GULONG2RVAL(value) ULONG2NUM(value)
137
- #define RVAL2GULONG(value) NUM2ULONG(value)
138
-
139
- VALUE rbgio_define_domain_error(VALUE module,
140
- const char *name,
141
- GQuark domain,
142
- const char *enum_name,
143
- VALUE parent);
144
- VALUE rbgio_define_error(VALUE module,
145
- const char *name,
146
- gint code,
147
- VALUE domain_error);
148
- NORETURN(void rbgio_raise_error(GError *error));
149
- GObject *rbgio_ginitable_new(GType type, VALUE parameters, VALUE cancellable);
150
- void rbgio_gasyncinitable_new_async(GType type,
151
- VALUE parameters,
152
- VALUE io_priority,
153
- VALUE cancellable,
154
- VALUE block);
155
-
156
- G_END_DECLS
157
-
158
- #endif /* __RBGIO2_H__ */
@@ -1,154 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #ifndef __RBGIO2CONVERSIONS_H__
22
- #define __RBGIO2CONVERSIONS_H__
23
-
24
- #define RVAL2GAPPINFO(o) (G_APP_INFO(RVAL2GOBJ(o)))
25
- #define RVAL2GAPPLAUNCHCONTEXT(o) (G_APP_LAUNCH_CONTEXT(RVAL2GOBJ(o)))
26
- #define RVAL2GASYNCINITABLE(o) (G_ASYNC_INITABLE(RVAL2GOBJ(o)))
27
- #define RVAL2GASYNCRESULT(o) (G_ASYNC_RESULT(RVAL2GOBJ(o)))
28
- #define RVAL2GBUFFEREDINPUTSTREAM(o) (G_BUFFERED_INPUT_STREAM(RVAL2GOBJ(o)))
29
- #define RVAL2GBUFFEREDOUTPUTSTREAM(o) (G_BUFFERED_OUTPUT_STREAM(RVAL2GOBJ(o)))
30
- #define RVAL2GCANCELLABLE(o) (G_CANCELLABLE(RVAL2GOBJ(o)))
31
- #define RVAL2GCHARSETCONVERTER(o) (G_CHARSET_CONVERTER(RVAL2GOBJ(o)))
32
- #define RVAL2GCONVERTER(o) (G_CONVERTER(RVAL2GOBJ(o)))
33
- #define RVAL2GCONVERTERINPUTSTREAM(o) (G_CONVERTER_INPUT_STREAM(RVAL2GOBJ(o)))
34
- #define RVAL2GCONVERTEROUTPUTSTREAM(o) (G_CONVERTER_OUTPUT_STREAM(RVAL2GOBJ(o)))
35
- #define RVAL2GDATAINPUTSTREAM(o) (G_DATA_INPUT_STREAM(RVAL2GOBJ(o)))
36
- #define RVAL2GDATAOUTPUTSTREAM(o) (G_DATA_OUTPUT_STREAM(RVAL2GOBJ(o)))
37
- #define RVAL2GDESKTOPAPPINFO(o) (G_DESKTOP_APP_INFO(RVAL2GOBJ(o)))
38
- #define RVAL2GDRIVE(o) (G_DRIVE(RVAL2GOBJ(o)))
39
- #define RVAL2GEMBLEM(o) (G_EMBLEM(RVAL2GOBJ(o)))
40
- #define RVAL2GEMBLEMEDICON(o) (G_EMBLEMED_ICON(RVAL2GOBJ(o)))
41
- #define RVAL2GFILE(o) (G_FILE(RVAL2GOBJ(o)))
42
- #define RVAL2GFILEDESCRIPTORBASED(o) (G_FILE_DESCRIPTOR_BASED(RVAL2GOBJ(o)))
43
- #define RVAL2GFILEENUMERATOR(o) (G_FILE_ENUMERATOR(RVAL2GOBJ(o)))
44
- #define RVAL2GFILEICON(o) (G_FILE_ICON(RVAL2GOBJ(o)))
45
- #define RVAL2GFILEINFO(o) (G_FILE_INFO(RVAL2GOBJ(o)))
46
- #define RVAL2GFILEINPUTSTREAM(o) (G_FILE_INPUT_STREAM(RVAL2GOBJ(o)))
47
- #define RVAL2GFILEIOSTREAM(o) (G_FILE_IO_STREAM(RVAL2GOBJ(o)))
48
- #define RVAL2GFILEMONITOR(o) (G_FILE_MONITOR(RVAL2GOBJ(o)))
49
- #define RVAL2GFILENAMECOMPLETER(o) (G_FILENAME_COMPLETER(RVAL2GOBJ(o)))
50
- #define RVAL2GFILEOUTPUTSTREAM(o) (G_FILE_OUTPUT_STREAM(RVAL2GOBJ(o)))
51
- #define RVAL2GICON(o) (G_ICON(RVAL2GOBJ(o)))
52
- #define RVAL2GINETADDRESS(o) (G_INET_ADDRESS(RVAL2GOBJ(o)))
53
- #define RVAL2GINITABLE(o) (G_INITABLE(RVAL2GOBJ(o)))
54
- #define RVAL2GINPUTSTREAM(o) (G_INPUT_STREAM(RVAL2GOBJ(o)))
55
- #define RVAL2GIOMODULE(o) (G_IO_MODULE(RVAL2GOBJ(o)))
56
- #define RVAL2GIOSTREAM(o) (G_IO_STREAM(RVAL2GOBJ(o)))
57
- #define RVAL2GLOADABLEICON(o) (G_LOADABLE_ICON(RVAL2GOBJ(o)))
58
- #define RVAL2GMEMORYINPUTSTREAM(o) (G_MEMORY_INPUT_STREAM(RVAL2GOBJ(o)))
59
- #define RVAL2GMOUNT(o) (G_MOUNT(RVAL2GOBJ(o)))
60
- #define RVAL2GMOUNTOPERATION(o) (G_MOUNT_OPERATION(RVAL2GOBJ(o)))
61
- #define RVAL2GNETWORKADDRESS(o) (G_NETWORK_ADDRESS(RVAL2GOBJ(o)))
62
- #define RVAL2GNETWORKSERVICE(o) (G_NETWORK_SERVICE(RVAL2GOBJ(o)))
63
- #define RVAL2GOUTPUTSTREAM(o) (G_OUTPUT_STREAM(RVAL2GOBJ(o)))
64
- #define RVAL2GPERMISSION(o) (G_PERMISSION(RVAL2GOBJ(o)))
65
- #define RVAL2GRESOLVER(o) (G_RESOLVER(RVAL2GOBJ(o)))
66
- #define RVAL2GSEEKABLE(o) (G_SEEKABLE(RVAL2GOBJ(o)))
67
- #define RVAL2GSIMPLEASYNCRESULT(o) (G_SIMPLE_ASYNC_RESULT(RVAL2GOBJ(o)))
68
- #define RVAL2GSOCKET(o) (G_SOCKET(RVAL2GOBJ(o)))
69
- #define RVAL2GSOCKETADDRESS(o) (G_SOCKET_ADDRESS(RVAL2GOBJ(o)))
70
- #define RVAL2GSOCKETADDRESSENUMERATOR(o) (G_SOCKET_ADDRESS_ENUMERATOR(RVAL2GOBJ(o)))
71
- #define RVAL2GSOCKETCLIENT(o) (G_SOCKET_CLIENT(RVAL2GOBJ(o)))
72
- #define RVAL2GSOCKETCONNECTABLE(o) (G_SOCKET_CONNECTABLE(RVAL2GOBJ(o)))
73
- #define RVAL2GSOCKETCONNECTION(o) (G_SOCKET_CONNECTION(RVAL2GOBJ(o)))
74
- #define RVAL2GSOCKETCONTROLMESSAGE(o) (G_SOCKET_CONTROL_MESSAGE(RVAL2GOBJ(o)))
75
- #define RVAL2GSOCKETLISTENER(o) (G_SOCKET_LISTENER(RVAL2GOBJ(o)))
76
- #define RVAL2GSOCKETSERVICE(o) (G_SOCKET_SERVICE(RVAL2GOBJ(o)))
77
- #define RVAL2GTHEMEDICON(o) (G_THEMED_ICON(RVAL2GOBJ(o)))
78
- #define RVAL2GUNIXCONNECTION(o) (G_UNIX_CONNECTION(RVAL2GOBJ(o)))
79
- #define RVAL2GUNIXFDLIST(o) (G_UNIX_FD_LIST(RVAL2GOBJ(o)))
80
- #define RVAL2GUNIXFDMESSAGE(o) (G_UNIX_FD_MESSAGE(RVAL2GOBJ(o)))
81
- #define RVAL2GUNIXINPUTSTREAM(o) (G_UNIX_INPUT_STREAM(RVAL2GOBJ(o)))
82
- #define RVAL2GUNIXMOUNTMONITOR(o) (G_UNIX_MOUNT_MONITOR(RVAL2GOBJ(o)))
83
- #define RVAL2GUNIXOUTPUTSTREAM(o) (G_UNIX_OUTPUT_STREAM(RVAL2GOBJ(o)))
84
- #define RVAL2GUNIXSOCKETADDRESS(o) (G_UNIX_SOCKET_ADDRESS(RVAL2GOBJ(o)))
85
- #define RVAL2GVFS(o) (G_VFS(RVAL2GOBJ(o)))
86
- #define RVAL2GVOLUME(o) (G_VOLUME(RVAL2GOBJ(o)))
87
- #define RVAL2GVOLUMEMONITOR(o) (G_VOLUME_MONITOR(RVAL2GOBJ(o)))
88
- #define RVAL2GZLIBCOMPRESSOR(o) (G_ZLIB_COMPRESSOR(RVAL2GOBJ(o)))
89
- #define RVAL2GZLIBDECOMPRESSOR(o) (G_ZLIB_DECOMPRESSOR(RVAL2GOBJ(o)))
90
-
91
- #define RVAL2GFILEATTRIBUTEINFO(o) ((GFileAttributeInfo*)RVAL2BOXED(o, G_TYPE_FILE_ATTRIBUTE_INFO))
92
- #define GFILEATTRIBUTEINFO2RVAL(o) (BOXED2RVAL(o, G_TYPE_FILE_ATTRIBUTE_INFO))
93
- #define RVAL2GFILEATTRIBUTEINFOLIST(o) ((GFileAttributeInfoList*)RVAL2BOXED(o, G_TYPE_FILE_ATTRIBUTE_INFO_LIST))
94
- #define GFILEATTRIBUTEINFOLIST2RVAL(o) (BOXED2RVAL(o, G_TYPE_FILE_ATTRIBUTE_INFO_LIST))
95
- #define RVAL2GFILEATTRIBUTEMATCHER(o) ((GFileAttributeMatcher*)RVAL2BOXED(o, G_TYPE_FILE_ATTRIBUTE_MATCHER))
96
- #define GFILEATTRIBUTEMATCHER2RVAL(o) (BOXED2RVAL(o, G_TYPE_FILE_ATTRIBUTE_MATCHER))
97
- #define RVAL2GSRVTARGET(o) ((GSrvTarget*)RVAL2BOXED(o, G_TYPE_SRV_TARGET))
98
- #define GSRVTARGET2RVAL(o) (BOXED2RVAL(o, G_TYPE_SRV_TARGET))
99
-
100
- #define RVAL2GDATASTREAMBYTEORDER(o) (RVAL2GENUM(o, G_TYPE_DATA_STREAM_BYTE_ORDER))
101
- #define GDATASTREAMBYTEORDER2RVAL(o) (GENUM2RVAL(o, G_TYPE_DATA_STREAM_BYTE_ORDER))
102
- #define RVAL2GDATASTREAMNEWLINETYPE(o) (RVAL2GENUM(o, G_TYPE_DATA_STREAM_NEWLINE_TYPE))
103
- #define GDATASTREAMNEWLINETYPE2RVAL(o) (GENUM2RVAL(o, G_TYPE_DATA_STREAM_NEWLINE_TYPE))
104
- #define RVAL2GDRIVESTARTFLAGS(o) (RVAL2GENUM(o, G_TYPE_DRIVE_START_FLAGS))
105
- #define GDRIVESTARTFLAGS2RVAL(o) (GENUM2RVAL(o, G_TYPE_DRIVE_START_FLAGS))
106
- #define RVAL2GDRIVESTARTSTOPTYPE(o) (RVAL2GENUM(o, G_TYPE_DRIVE_START_STOP_TYPE))
107
- #define GDRIVESTARTSTOPTYPE2RVAL(o) (GENUM2RVAL(o, G_TYPE_DRIVE_START_STOP_TYPE))
108
- #define RVAL2GEMBLEMORIGIN(o) (RVAL2GENUM(o, G_TYPE_EMBLEM_ORIGIN))
109
- #define GEMBLEMORIGIN2RVAL(o) (GENUM2RVAL(o, G_TYPE_EMBLEM_ORIGIN))
110
- #define RVAL2GFILEATTRIBUTESTATUS(o) (RVAL2GENUM(o, G_TYPE_FILE_ATTRIBUTE_STATUS))
111
- #define GFILEATTRIBUTESTATUS2RVAL(o) (GENUM2RVAL(o, G_TYPE_FILE_ATTRIBUTE_STATUS))
112
- #define RVAL2GFILEATTRIBUTETYPE(o) (RVAL2GENUM(o, G_TYPE_FILE_ATTRIBUTE_TYPE))
113
- #define GFILEATTRIBUTETYPE2RVAL(o) (GENUM2RVAL(o, G_TYPE_FILE_ATTRIBUTE_TYPE))
114
- #define RVAL2GFILETYPE(o) (RVAL2GENUM(o, G_TYPE_FILE_TYPE))
115
- #define GFILETYPE2RVAL(o) (GENUM2RVAL(o, G_TYPE_FILE_TYPE))
116
- #define RVAL2GMOUNTMOUNTFLAGS(o) (RVAL2GENUM(o, G_TYPE_MOUNT_MOUNT_FLAGS))
117
- #define GMOUNTMOUNTFLAGS2RVAL(o) (GENUM2RVAL(o, G_TYPE_MOUNT_MOUNT_FLAGS))
118
- #define RVAL2GMOUNTOPERATIONRESULT(o) (RVAL2GENUM(o, G_TYPE_MOUNT_OPERATION_RESULT))
119
- #define GMOUNTOPERATIONRESULT2RVAL(o) (GENUM2RVAL(o, G_TYPE_MOUNT_OPERATION_RESULT))
120
- #define RVAL2GPASSWORDSAVE(o) (RVAL2GENUM(o, G_TYPE_PASSWORD_SAVE))
121
- #define GPASSWORDSAVE2RVAL(o) (GENUM2RVAL(o, G_TYPE_PASSWORD_SAVE))
122
- #define RVAL2GSOCKETFAMILY(o) (RVAL2GENUM(o, G_TYPE_SOCKET_FAMILY))
123
- #define GSOCKETFAMILY2RVAL(o) (GENUM2RVAL(o, G_TYPE_SOCKET_FAMILY))
124
- #define RVAL2GSOCKETPROTOCOL(o) (RVAL2GENUM(o, G_TYPE_SOCKET_PROTOCOL))
125
- #define GSOCKETPROTOCOL2RVAL(o) (GENUM2RVAL(o, G_TYPE_SOCKET_PROTOCOL))
126
- #define RVAL2GSOCKETTYPE(o) (RVAL2GENUM(o, G_TYPE_SOCKET_TYPE))
127
- #define GSOCKETTYPE2RVAL(o) (GENUM2RVAL(o, G_TYPE_SOCKET_TYPE))
128
-
129
- #define RVAL2GAPPINFOCREATEFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_APP_INFO_CREATE_FLAGS))
130
- #define GAPPINFOCREATEFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_APP_INFO_CREATE_FLAGS))
131
- #define RVAL2GAPPLICATIONFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_APPLICATION_FLAGS))
132
- #define GAPPLICATIONFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_APPLICATION_FLAGS))
133
- #define RVAL2GCONVERTERFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_CONVERTER_FLAGS))
134
- #define GCONVERTERFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_CONVERTER_FLAGS))
135
- #define RVAL2GCONVERTERRESULT(o) (RVAL2GFLAGS(o, G_TYPE_CONVERTER_RESULT))
136
- #define GCONVERTERRESULT2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_CONVERTER_RESULT))
137
- #define RVAL2GFILEATTRIBUTEINFOFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS))
138
- #define GFILEATTRIBUTEINFOFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS))
139
- #define RVAL2GFILECOPYFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_FILE_COPY_FLAGS))
140
- #define GFILECOPYFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_FILE_COPY_FLAGS))
141
- #define RVAL2GFILECREATEFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_FILE_CREATE_FLAGS))
142
- #define GFILECREATEFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_FILE_CREATE_FLAGS))
143
- #define RVAL2GFILEMONITORFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_FILE_MONITOR_FLAGS))
144
- #define GFILEMONITORFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_FILE_MONITOR_FLAGS))
145
- #define RVAL2GFILEQUERYINFOFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_FILE_QUERY_INFO_FLAGS))
146
- #define GFILEQUERYINFOFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_FILE_QUERY_INFO_FLAGS))
147
- #define RVAL2GMOUNTUNMOUNTFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_MOUNT_UNMOUNT_FLAGS))
148
- #define GMOUNTUNMOUNTFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_MOUNT_UNMOUNT_FLAGS))
149
- #define RVAL2GOUTPUTSTREAMSPLICEFLAGS(o) (RVAL2GFLAGS(o, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS))
150
- #define GOUTPUTSTREAMSPLICEFLAGS2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS))
151
- #define RVAL2GZLIBCOMPRESSORFORMAT(o) (RVAL2GFLAGS(o, G_TYPE_ZLIB_COMPRESSOR_FORMAT))
152
- #define GZLIBCOMPRESSORFORMAT2RVAL(o) (GFLAGS2RVAL(o, G_TYPE_ZLIB_COMPRESSOR_FORMAT))
153
-
154
- #endif /* __RBGIO2CONVERSIONS_H__ */
@@ -1,148 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #ifndef __RBGIO2PRIVATE_H__
22
- #define __RBGIO2PRIVATE_H__
23
-
24
- #include <ruby.h>
25
-
26
- #include <rbglib.h>
27
- #include <rbgobject.h>
28
- #include "rbgio2.h"
29
-
30
- #define CSTR2RVAL_TAINTED(string, length) \
31
- rbgio_cstr_to_rval_tainted((string), (length))
32
- #define CSTR2RVAL_TAINTED_FREE(string, length) \
33
- rbgio_cstr_to_rval_tainted_free((string), (length))
34
-
35
- #define GLIST2ARY_UNREF_FREE(list) rbgio_glist_to_ary_unref_free(list)
36
-
37
- #define GFDS2ARY(fds) rbgio_fds_to_ary(fds)
38
- #define GFDS2ARY_FREE(fds) rbgio_fds_to_ary_free(fds)
39
-
40
- #define GFILEARY2GLIST(ary) rbgio_gfile_ary_to_glist(ary)
41
- #define GFILEARY2GLIST_ACCEPT_NIL(ary) rbgio_gfile_ary_to_glist_accept_nil(ary)
42
-
43
- G_GNUC_INTERNAL VALUE rbgio_cstr_to_rval_tainted(const char *string,
44
- gsize length);
45
- G_GNUC_INTERNAL VALUE rbgio_cstr_to_rval_tainted_free(char *string,
46
- gsize length);
47
- G_GNUC_INTERNAL VALUE rbgio_glist_to_ary_unref_free(GList *list);
48
- G_GNUC_INTERNAL VALUE rbgio_fds_to_ary(const gint *fds);
49
- G_GNUC_INTERNAL VALUE rbgio_fds_to_ary_free(gint *fds);
50
- G_GNUC_INTERNAL GList *rbgio_gfile_ary_to_glist(VALUE ary);
51
- G_GNUC_INTERNAL GList *rbgio_gfile_ary_to_glist_accept_nil(VALUE ary);
52
- G_GNUC_INTERNAL void rbgio_rval_to_gtimeval(VALUE value, GTimeVal *time);
53
- G_GNUC_INTERNAL void rbgio_async_ready_callback(GObject *source,
54
- GAsyncResult *result,
55
- gpointer data);
56
- G_GNUC_INTERNAL VALUE rbgio_child_remove_and_return(VALUE parent, VALUE child);
57
-
58
- G_GNUC_INTERNAL void Init_gio(void);
59
- G_GNUC_INTERNAL void Init_gappinfo(VALUE mGio);
60
- G_GNUC_INTERNAL void Init_gapplaunchcontext(VALUE mGio);
61
- G_GNUC_INTERNAL void Init_gasyncinitable(VALUE mGio);
62
- G_GNUC_INTERNAL void Init_gasyncresult(VALUE mGio);
63
- G_GNUC_INTERNAL void Init_gbufferedinputstream(VALUE mGio);
64
- G_GNUC_INTERNAL void Init_gbufferedoutputstream(VALUE mGio);
65
- G_GNUC_INTERNAL void Init_gcancellable(VALUE mGio);
66
- G_GNUC_INTERNAL void Init_gcharsetconverter(VALUE mGio);
67
- G_GNUC_INTERNAL void Init_gcontenttype(VALUE mGio);
68
- G_GNUC_INTERNAL void Init_gconverter(VALUE mGio);
69
- G_GNUC_INTERNAL void Init_gconverterinputstream(VALUE mGio);
70
- G_GNUC_INTERNAL void Init_gconverteroutputstream(VALUE mGio);
71
- G_GNUC_INTERNAL void Init_gdatainputstream(VALUE mGio);
72
- G_GNUC_INTERNAL void Init_gdataoutputstream(VALUE mGio);
73
- G_GNUC_INTERNAL void Init_gdesktopappinfo(VALUE mGio);
74
- G_GNUC_INTERNAL void Init_gdrive(VALUE mGio);
75
- G_GNUC_INTERNAL void Init_gemblem(VALUE mGio);
76
- G_GNUC_INTERNAL void Init_gemblemedicon(VALUE mGio);
77
- G_GNUC_INTERNAL void Init_gfile(VALUE mGio);
78
- G_GNUC_INTERNAL void Init_gfileattribute(VALUE mGio);
79
- G_GNUC_INTERNAL void Init_gfileattributeinfo(VALUE mGio);
80
- G_GNUC_INTERNAL void Init_fileattributeinfolist(VALUE mGio);
81
- G_GNUC_INTERNAL void Init_gfileattributematcher(VALUE mGio);
82
- G_GNUC_INTERNAL void Init_gfiledescriptorbased(VALUE mGio);
83
- G_GNUC_INTERNAL void Init_gfileenumerator(VALUE mGio);
84
- G_GNUC_INTERNAL void Init_gfileicon(VALUE mGio);
85
- G_GNUC_INTERNAL void Init_gfileinfo(VALUE mGio);
86
- G_GNUC_INTERNAL void Init_gfileinputstream(VALUE mGio);
87
- G_GNUC_INTERNAL void Init_gfileiostream(VALUE mGio);
88
- G_GNUC_INTERNAL void Init_gfilemonitor(VALUE mGio);
89
- G_GNUC_INTERNAL void Init_gfilenamecompleter(VALUE mGio);
90
- G_GNUC_INTERNAL void Init_gfileoutputstream(VALUE mGio);
91
- G_GNUC_INTERNAL void Init_gfilterinputstream(VALUE mGio);
92
- G_GNUC_INTERNAL void Init_gfilteroutputstream(VALUE mGio);
93
- G_GNUC_INTERNAL void Init_gicon(VALUE mGio);
94
- G_GNUC_INTERNAL void Init_ginetaddress(VALUE mGio);
95
- G_GNUC_INTERNAL void Init_ginetsocketaddress(VALUE mGio);
96
- G_GNUC_INTERNAL void Init_ginitable(VALUE mGio);
97
- G_GNUC_INTERNAL void Init_ginputstream(VALUE mGio);
98
- G_GNUC_INTERNAL void Init_gioerror(VALUE mGio);
99
- G_GNUC_INTERNAL void Init_giomodule(VALUE mGio);
100
- G_GNUC_INTERNAL void Init_giomodules(VALUE mGio);
101
- G_GNUC_INTERNAL void Init_gioscheduler(VALUE mGio);
102
- G_GNUC_INTERNAL void Init_gioschedulerjob(VALUE mGio);
103
- G_GNUC_INTERNAL void Init_giostream(VALUE mGio);
104
- G_GNUC_INTERNAL void Init_gloadableicon(VALUE mGio);
105
- G_GNUC_INTERNAL void Init_gmemoryinputstream(VALUE mGio);
106
- G_GNUC_INTERNAL void Init_gmemoryoutputstream(VALUE mGio);
107
- G_GNUC_INTERNAL void Init_gmount(VALUE mGio);
108
- G_GNUC_INTERNAL void Init_gmountoperation(VALUE mGio);
109
- G_GNUC_INTERNAL void Init_gnetworkaddress(VALUE mGio);
110
- G_GNUC_INTERNAL void Init_gnetworkservice(VALUE mGio);
111
- G_GNUC_INTERNAL void Init_goutputstream(VALUE mGio);
112
- G_GNUC_INTERNAL void Init_gresolver(VALUE mGio);
113
- G_GNUC_INTERNAL void Init_gseekable(VALUE mGio);
114
- G_GNUC_INTERNAL void Init_gsimpleasyncresult(VALUE mGio);
115
- G_GNUC_INTERNAL void Init_gsocket(VALUE mGio);
116
- G_GNUC_INTERNAL void Init_gsocketaddress(VALUE mGio);
117
- G_GNUC_INTERNAL void Init_gsocketclient(VALUE mGio);
118
- G_GNUC_INTERNAL void Init_gsocketconnectable(VALUE mGio);
119
- G_GNUC_INTERNAL void Init_gsocketaddressenumerator(VALUE mGio);
120
- G_GNUC_INTERNAL void Init_gsocketconnection(VALUE mGio);
121
- G_GNUC_INTERNAL void Init_gsocketconnectionfactory(VALUE mGio);
122
- G_GNUC_INTERNAL void Init_gsocketcontrolmessage(VALUE mGio);
123
- G_GNUC_INTERNAL void Init_gsocketlistener(VALUE mGio);
124
- G_GNUC_INTERNAL void Init_gsocketservice(VALUE mGio);
125
- G_GNUC_INTERNAL void Init_gsrvtarget(VALUE mGio);
126
- G_GNUC_INTERNAL void Init_gtcpconnection(VALUE mGio);
127
- G_GNUC_INTERNAL void Init_gthreadedsocketservice(VALUE mGio);
128
- G_GNUC_INTERNAL void Init_gthemedicon(VALUE mGio);
129
- G_GNUC_INTERNAL void Init_gtlscertificate(VALUE mGio);
130
- G_GNUC_INTERNAL void Init_gunixconnection(VALUE mGio);
131
- G_GNUC_INTERNAL void Init_gunixfdlist(VALUE mGio);
132
- G_GNUC_INTERNAL void Init_gunixfdmessage(VALUE mGio);
133
- G_GNUC_INTERNAL void Init_gunixinputstream(VALUE mGio);
134
- G_GNUC_INTERNAL void Init_gunixmount(VALUE mGio);
135
- G_GNUC_INTERNAL void Init_gunixmounts(VALUE mGio);
136
- G_GNUC_INTERNAL void Init_gunixmountpoint(VALUE mGio);
137
- G_GNUC_INTERNAL void Init_gunixmountpoints(VALUE mGio);
138
- G_GNUC_INTERNAL void Init_gunixmountmonitor(VALUE mGio);
139
- G_GNUC_INTERNAL void Init_gunixoutputstream(VALUE mGio);
140
- G_GNUC_INTERNAL void Init_gunixsocketaddress(VALUE mGio);
141
- G_GNUC_INTERNAL void Init_gvfs(VALUE mGio);
142
- G_GNUC_INTERNAL void Init_gvolume(VALUE mGio);
143
- G_GNUC_INTERNAL void Init_gvolumemonitor(VALUE mGio);
144
- G_GNUC_INTERNAL void Init_gzlibcompressor(VALUE mGio);
145
- G_GNUC_INTERNAL void Init_gzlibdecompressor(VALUE mGio);
146
- G_GNUC_INTERNAL void Init_util(void);
147
-
148
- #endif /* __RBGIO2PRIVATE_H__ */