gobject-introspection 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (294) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +129 -0
  3. data/ext/gobject-introspection/depend +10 -0
  4. data/ext/gobject-introspection/extconf.rb +94 -0
  5. data/ext/gobject-introspection/gobject_introspection.def +5 -0
  6. data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
  7. data/ext/gobject-introspection/rb-gi-argument.c +2053 -0
  8. data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
  9. data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
  10. data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
  11. data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
  12. data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
  13. data/ext/gobject-introspection/rb-gi-constructor-info.c +133 -0
  14. data/ext/gobject-introspection/rb-gi-conversions.h +145 -0
  15. data/ext/gobject-introspection/rb-gi-enum-info.c +155 -0
  16. data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
  17. data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
  18. data/ext/gobject-introspection/rb-gi-function-info.c +841 -0
  19. data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
  20. data/ext/gobject-introspection/rb-gi-loader.c +224 -0
  21. data/ext/gobject-introspection/rb-gi-method-info.c +83 -0
  22. data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
  23. data/ext/gobject-introspection/rb-gi-private.h +105 -0
  24. data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
  25. data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
  26. data/ext/gobject-introspection/rb-gi-repository.c +246 -0
  27. data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
  28. data/ext/gobject-introspection/rb-gi-struct-info.c +202 -0
  29. data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
  30. data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
  31. data/ext/gobject-introspection/rb-gi-types.h +71 -0
  32. data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
  33. data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
  34. data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
  35. data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
  36. data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
  37. data/ext/gobject-introspection/rb-gobject-introspection.h +60 -0
  38. data/extconf.rb +71 -0
  39. data/lib/2.0/gobject_introspection.so +0 -0
  40. data/lib/2.1/gobject_introspection.so +0 -0
  41. data/lib/2.2/gobject_introspection.so +0 -0
  42. data/lib/gobject-introspection.rb +53 -0
  43. data/lib/gobject-introspection/boxed-info.rb +28 -0
  44. data/lib/gobject-introspection/callable-info.rb +100 -0
  45. data/lib/gobject-introspection/collection-reader.rb +34 -0
  46. data/lib/gobject-introspection/interface-info.rb +32 -0
  47. data/lib/gobject-introspection/loader.rb +465 -0
  48. data/lib/gobject-introspection/object-info.rb +33 -0
  49. data/lib/gobject-introspection/repository.rb +32 -0
  50. data/lib/gobject-introspection/struct-info.rb +28 -0
  51. data/lib/gobject-introspection/union-info.rb +28 -0
  52. data/test/gobject-introspection-test-utils.rb +26 -0
  53. data/test/run-test.rb +45 -0
  54. data/test/test-arg-info.rb +68 -0
  55. data/test/test-base-info.rb +31 -0
  56. data/test/test-boxed-info.rb +21 -0
  57. data/test/test-callable-info.rb +49 -0
  58. data/test/test-callback-info.rb +29 -0
  59. data/test/test-constant-info.rb +24 -0
  60. data/test/test-enum-info.rb +61 -0
  61. data/test/test-field-type.rb +42 -0
  62. data/test/test-flags-info.rb +27 -0
  63. data/test/test-function-info.rb +39 -0
  64. data/test/test-interface-info.rb +97 -0
  65. data/test/test-loader.rb +30 -0
  66. data/test/test-object-info.rb +131 -0
  67. data/test/test-property-info.rb +38 -0
  68. data/test/test-registered-type-info.rb +35 -0
  69. data/test/test-repository.rb +62 -0
  70. data/test/test-signal-info.rb +40 -0
  71. data/test/test-struct-info.rb +57 -0
  72. data/test/test-type-info.rb +62 -0
  73. data/test/test-type-tag.rb +29 -0
  74. data/test/test-union-info.rb +21 -0
  75. data/test/test-value-info.rb +28 -0
  76. data/test/test-vfunc-info.rb +42 -0
  77. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  78. data/vendor/local/bin/g-ir-generate.exe +0 -0
  79. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  80. data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +82 -0
  81. data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +120 -0
  82. data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +110 -0
  83. data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +58 -0
  84. data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +82 -0
  85. data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +71 -0
  86. data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +100 -0
  87. data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +106 -0
  88. data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +207 -0
  89. data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +56 -0
  90. data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +64 -0
  91. data/vendor/local/include/gobject-introspection-1.0/girepository.h +239 -0
  92. data/vendor/local/include/gobject-introspection-1.0/girffi.h +104 -0
  93. data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +57 -0
  94. data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +77 -0
  95. data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +87 -0
  96. data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +80 -0
  97. data/vendor/local/include/gobject-introspection-1.0/gitypes.h +524 -0
  98. data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +84 -0
  99. data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
  100. data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +73 -0
  101. data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
  102. data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
  103. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  104. data/vendor/local/lib/girepository-1.0/GL-1.0.typelib +0 -0
  105. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  106. data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
  107. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  108. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  109. data/vendor/local/lib/girepository-1.0/cairo-1.0.typelib +0 -0
  110. data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
  111. data/vendor/local/lib/girepository-1.0/freetype2-2.0.typelib +0 -0
  112. data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
  113. data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -0
  114. data/vendor/local/lib/girepository-1.0/xfixes-4.0.typelib +0 -0
  115. data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
  116. data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
  117. data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
  118. data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -0
  119. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  120. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  121. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +76 -0
  122. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  123. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  124. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +2161 -0
  125. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  126. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  127. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +1139 -0
  128. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  129. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  130. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +203 -0
  131. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  132. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  133. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +202 -0
  134. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  135. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  136. data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +173 -0
  137. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  138. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  139. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py +23 -0
  140. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  141. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  142. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.py +305 -0
  143. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  144. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  145. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.py +120 -0
  146. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  147. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  148. data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +72 -0
  149. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  150. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  151. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/callback.tmpl +4 -0
  152. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl +2 -0
  153. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
  154. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
  155. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -0
  156. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl +1 -0
  157. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +60 -0
  158. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
  159. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
  160. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
  161. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
  162. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
  163. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
  164. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -0
  165. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl +27 -0
  166. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +30 -0
  167. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
  168. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
  169. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +21 -0
  170. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
  171. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +47 -0
  172. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
  173. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
  174. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
  175. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +9 -0
  176. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
  177. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +38 -0
  178. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
  179. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
  180. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +18 -0
  181. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
  182. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
  183. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
  184. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
  185. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +47 -0
  186. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
  187. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
  188. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
  189. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +9 -0
  190. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
  191. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +41 -0
  192. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +27 -0
  193. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +20 -0
  194. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +61 -0
  195. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +16 -0
  196. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +958 -0
  197. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  198. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  199. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +338 -0
  200. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  201. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  202. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +529 -0
  203. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  204. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  205. data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +593 -0
  206. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  207. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  208. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +612 -0
  209. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  210. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  211. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.py +240 -0
  212. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  213. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  214. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.py +76 -0
  215. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  216. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  217. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +1366 -0
  218. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  219. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  220. data/vendor/local/lib/gobject-introspection/giscanner/message.py +203 -0
  221. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  222. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  223. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +561 -0
  224. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  225. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  226. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.py +152 -0
  227. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  228. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  229. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +140 -0
  230. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  231. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  232. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +329 -0
  233. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  234. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  235. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +136 -0
  236. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  237. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  238. data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +971 -0
  239. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  240. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  241. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +211 -0
  242. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  243. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  244. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +156 -0
  245. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  246. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  247. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  248. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  249. data/vendor/local/lib/libgirepository-1.0.la +41 -0
  250. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
  251. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
  252. data/vendor/local/lib/pkgconfig/patched +0 -0
  253. data/vendor/local/share/aclocal/introspection.m4 +96 -0
  254. data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
  255. data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
  256. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +4042 -0
  257. data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
  258. data/vendor/local/share/gir-1.0/GLib-2.0.gir +47221 -0
  259. data/vendor/local/share/gir-1.0/GModule-2.0.gir +301 -0
  260. data/vendor/local/share/gir-1.0/GObject-2.0.gir +14733 -0
  261. data/vendor/local/share/gir-1.0/Gio-2.0.gir +82459 -0
  262. data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
  263. data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
  264. data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
  265. data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
  266. data/vendor/local/share/gir-1.0/win32-1.0.gir +19 -0
  267. data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
  268. data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
  269. data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
  270. data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
  271. data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
  272. data/vendor/local/share/gobject-introspection-1.0/gdump.c +569 -0
  273. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +831 -0
  274. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +301 -0
  275. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +57 -0
  276. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +44 -0
  277. data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1579 -0
  278. data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +535 -0
  279. data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
  280. data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +582 -0
  281. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5426 -0
  282. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1948 -0
  283. data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
  284. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4068 -0
  285. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +1415 -0
  286. data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +47 -0
  287. data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +102 -0
  288. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +47 -0
  289. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +46 -0
  290. data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
  291. data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
  292. data/vendor/local/share/man/man1/g-ir-compiler.1 +42 -0
  293. data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
  294. metadata +363 -0
@@ -0,0 +1,582 @@
1
+ #ifndef __REGRESS_FOO_OBJECT_H__
2
+ #define __REGRESS_FOO_OBJECT_H__
3
+
4
+ #include <glib-object.h>
5
+ #include <gio/gio.h> /* GAsyncReadyCallback */
6
+
7
+ #include "gitestmacros.h"
8
+ #include "utility.h"
9
+
10
+ #define REGRESS_FOO_SUCCESS_INT 0x1138
11
+
12
+ #define REGRESS_FOO_DEFINE_SHOULD_BE_EXPOSED "should be exposed"
13
+
14
+ #define REGRESS_FOO_PIE_IS_TASTY 3.14159
15
+
16
+ #define REGRESS_FOO_TYPE_INTERFACE (regress_foo_interface_get_type ())
17
+ #define REGRESS_FOO_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_INTERFACE, RegressFooInterface))
18
+ #define REGRESS_FOO_IS_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_INTERFACE))
19
+ #define REGRESS_FOO_INTERFACE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), REGRESS_FOO_TYPE_INTERFACE, RegressFooInterfaceIface))
20
+
21
+ #define REGRESS_FOO_TYPE_SUBINTERFACE (regress_foo_sub_interface_get_type ())
22
+ #define REGRESS_FOO_SUBINTERFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_SUBINTERFACE, RegressFooSubInterface))
23
+ #define REGRESS_FOO_IS_SUBINTERFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_SUBINTERFACE))
24
+ #define REGRESS_FOO_SUBINTERFACE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), REGRESS_FOO_TYPE_SUBINTERFACE, RegressFooSubInterfaceIface))
25
+
26
+
27
+ #define REGRESS_FOO_TYPE_OBJECT (regress_foo_object_get_type ())
28
+ #define REGRESS_FOO_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_OBJECT, RegressFooObject))
29
+ #define REGRESS_FOO_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_OBJECT))
30
+
31
+ #define REGRESS_FOO_TYPE_SUBOBJECT (regress_foo_subobject_get_type ())
32
+ #define REGRESS_FOO_SUBOBJECT(subobject) (G_TYPE_CHECK_INSTANCE_CAST ((subobject), REGRESS_FOO_TYPE_SUBOBJECT, RegressFooSubobject))
33
+ #define REGRESS_FOO_IS_SUBOBJECT(subobject) (G_TYPE_CHECK_INSTANCE_TYPE ((subobject), REGRESS_FOO_TYPE_SUBOBJECT))
34
+
35
+ #define REGRESS_FOO_TYPE_BUFFER (regress_foo_buffer_get_type ())
36
+ #define REGRESS_FOO_BUFFER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_BUFFER, RegressFooBuffer))
37
+ #define REGRESS_FOO_IS_BUFFER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_BUFFER))
38
+
39
+ #define REGRESS_FOO_TYPE_OTHER_OBJECT (regress_foo_other_object_get_type ())
40
+ #define REGRESS_FOO_OTHER_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_OTHER_OBJECT, RegressFooOtherObject))
41
+ #define REGRESS_FOO_IS_OTHER_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_OTHER_OBJECT))
42
+
43
+ typedef struct _RegressFooInterface RegressFooInterface;
44
+ typedef struct _RegressFooInterfaceIface RegressFooInterfaceIface;
45
+ typedef struct _RegressFooSubInterface RegressFooSubInterface;
46
+ typedef struct _RegressFooSubInterfaceIface RegressFooSubInterfaceIface;
47
+ typedef struct _RegressFooObject RegressFooObject;
48
+ typedef struct _RegressFooObjectClass RegressFooObjectClass;
49
+ typedef struct _RegressFooSubobject RegressFooSubobject;
50
+ typedef struct _RegressFooSubobjectClass RegressFooSubobjectClass;
51
+ typedef struct _RegressFooBuffer RegressFooBuffer;
52
+ typedef struct _RegressFooBufferClass RegressFooBufferClass;
53
+ typedef struct _RegressFooOtherObject RegressFooOtherObject;
54
+ typedef struct _RegressFooOtherObjectClass RegressFooOtherObjectClass;
55
+
56
+ struct _RegressFooInterfaceIface
57
+ {
58
+ GTypeInterface parent_iface;
59
+
60
+ void (*do_regress_foo) (RegressFooInterface *self, int x);
61
+ };
62
+
63
+
64
+ _GI_TEST_EXTERN
65
+ GType regress_foo_interface_get_type (void) G_GNUC_CONST;
66
+
67
+
68
+ _GI_TEST_EXTERN
69
+ void regress_foo_interface_do_regress_foo (RegressFooInterface *iface, int x);
70
+
71
+
72
+ _GI_TEST_EXTERN
73
+ void regress_foo_interface_static_method (int x);
74
+
75
+ struct _RegressFooSubInterfaceIface
76
+ {
77
+ GTypeInterface parent_iface;
78
+
79
+ /* signals */
80
+
81
+ void (*destroy_event) (RegressFooSubInterface *self);
82
+
83
+ /* virtual table */
84
+
85
+ void (*do_bar) (RegressFooSubInterface *self);
86
+
87
+ void (*do_baz) (RegressFooSubInterface *self, GCallback callback, gpointer user_data);
88
+ };
89
+
90
+
91
+ _GI_TEST_EXTERN
92
+ GType regress_foo_sub_interface_get_type (void) G_GNUC_CONST;
93
+
94
+
95
+ _GI_TEST_EXTERN
96
+ void regress_foo_sub_interface_do_bar (RegressFooSubInterface *self);
97
+
98
+ _GI_TEST_EXTERN
99
+ void regress_foo_sub_interface_do_baz (RegressFooSubInterface *self,
100
+ GCallback callback,
101
+ gpointer user_data);
102
+
103
+ struct _RegressFooObject
104
+ {
105
+ GObject parent_instance;
106
+
107
+ int some_int;
108
+ };
109
+
110
+ struct _RegressFooObjectClass
111
+ {
112
+ GObjectClass parent_class;
113
+
114
+ gboolean (* virtual_method) (RegressFooObject *object, int first_param);
115
+
116
+ /* Intended to match GFile */
117
+ void (*read_fn) (RegressFooObject *object, int offset, int length);
118
+
119
+ /* Test reserved stuff */
120
+ GCallback _reserved[4];
121
+ };
122
+
123
+
124
+ _GI_TEST_EXTERN
125
+ gint regress_foo_init (void);
126
+
127
+
128
+ _GI_TEST_EXTERN
129
+ GType regress_foo_object_get_type (void) G_GNUC_CONST;
130
+
131
+ _GI_TEST_EXTERN
132
+ RegressFooObject* regress_foo_object_new (void);
133
+
134
+ _GI_TEST_EXTERN
135
+ UtilityObject* regress_foo_object_external_type (RegressFooObject *object);
136
+
137
+ _GI_TEST_EXTERN
138
+ GObject* regress_foo_object_new_as_super (void);
139
+
140
+
141
+ _GI_TEST_EXTERN
142
+ void regress_foo_object_various (RegressFooObject *object, void *data, GType some_type);
143
+
144
+
145
+ _GI_TEST_EXTERN
146
+ void regress_foo_object_take_all (RegressFooObject *object, int x, ...);
147
+
148
+ typedef gpointer RegressFooObjectCookie;
149
+
150
+
151
+ _GI_TEST_EXTERN
152
+ RegressFooObjectCookie regress_foo_object_new_cookie (RegressFooObject *object, const char *target);
153
+
154
+
155
+ _GI_TEST_EXTERN
156
+ void regress_foo_object_is_it_time_yet (RegressFooObject *object, time_t time);
157
+
158
+
159
+ _GI_TEST_EXTERN
160
+ const char * regress_foo_object_get_name (RegressFooObject *object);
161
+
162
+
163
+ _GI_TEST_EXTERN
164
+ char * regress_foo_object_dup_name (RegressFooObject *object);
165
+
166
+
167
+ _GI_TEST_EXTERN
168
+ void regress_foo_object_handle_glyph (RegressFooObject *object, UtilityGlyph glyph);
169
+
170
+
171
+ _GI_TEST_EXTERN
172
+ gboolean regress_foo_object_virtual_method (RegressFooObject *object, int first_param);
173
+
174
+
175
+ _GI_TEST_EXTERN
176
+ void regress_foo_object_read (RegressFooObject *object, int offset, int length);
177
+
178
+
179
+ _GI_TEST_EXTERN
180
+ int regress_foo_object_static_meth (void);
181
+
182
+
183
+ _GI_TEST_EXTERN
184
+ void regress_foo_object_skipped_method (RegressFooObject *object);
185
+
186
+ struct _RegressFooSubobject
187
+ {
188
+ RegressFooObject parent_instance;
189
+ };
190
+
191
+ struct _RegressFooSubobjectClass
192
+ {
193
+ RegressFooObjectClass parent_class;
194
+ };
195
+
196
+
197
+ _GI_TEST_EXTERN
198
+ GType regress_foo_subobject_get_type (void) G_GNUC_CONST;
199
+
200
+ _GI_TEST_EXTERN
201
+ RegressFooSubobject* regress_foo_subobject_new (void);
202
+
203
+
204
+ _GI_TEST_EXTERN
205
+ RegressFooObject * regress_foo_object_get_default (void);
206
+
207
+
208
+ _GI_TEST_EXTERN
209
+ GType regress_foo_buffer_get_type (void);
210
+
211
+
212
+ _GI_TEST_EXTERN
213
+ void regress_foo_buffer_some_method (RegressFooBuffer *buffer);
214
+
215
+
216
+ _GI_TEST_EXTERN
217
+ GType regress_foo_other_object_get_type (void) G_GNUC_CONST;
218
+
219
+
220
+ _GI_TEST_EXTERN
221
+ RegressFooObject * regress_foo_not_a_constructor_new (void);
222
+
223
+ typedef enum
224
+ {
225
+ REGRESS_FOO_ENUM_ALPHA,
226
+ REGRESS_FOO_ENUM_BETA,
227
+ REGRESS_FOO_ENUM_DELTA
228
+ } RegressFooEnumType;
229
+
230
+
231
+ _GI_TEST_EXTERN
232
+ GType regress_foo_enum_type_get_type (void);
233
+
234
+
235
+ _GI_TEST_EXTERN
236
+ int regress_foo_enum_type_method (RegressFooEnumType regress_foo_enum);
237
+
238
+
239
+ _GI_TEST_EXTERN
240
+ RegressFooEnumType regress_foo_enum_type_returnv (int x);
241
+
242
+ typedef enum
243
+ {
244
+ REGRESS_FOO_FLAGS_FIRST = 1 << 0,
245
+ REGRESS_FOO_FLAGS_SECOND = 1 << 1,
246
+ REGRESS_FOO_FLAGS_THIRD = 1 << 2
247
+ } RegressFooFlagsType;
248
+
249
+
250
+ _GI_TEST_EXTERN
251
+ GType regress_foo_flags_type_get_type (void);
252
+
253
+ typedef enum
254
+ {
255
+ REGRESS_FOO_ENUM_UN = 1,
256
+ REGRESS_FOO_ENUM_DEUX = 2,
257
+ REGRESS_FOO_ENUM_TROIS = 3,
258
+ REGRESS_FOO_ENUM_NEUF = 9
259
+ } RegressFooEnumNoType;
260
+
261
+ typedef enum
262
+ {
263
+ REGRESS_FOO_FLAGS_ETT = 1 << 0,
264
+ REGRESS_FOO_FLAGS_TVA = 1 << 1,
265
+ REGRESS_FOO_FLAGS_FYRA = 1 << 2
266
+ } RegressFooFlagsNoType;
267
+
268
+ typedef enum
269
+ {
270
+ REGRESS_FOO_ENUM_FULLNAME_ONE = 1,
271
+ REGRESS_FOO_ENUM_FULLNAME_TWO,
272
+ REGRESS_FOO_ENUM_FULLNAME_THREE
273
+ } RegressFooEnumFullname;
274
+
275
+ typedef enum
276
+ {
277
+ REGRESS_FOO_ADDRESS_INVALID,
278
+ REGRESS_FOO_ADDRESS_IPV4,
279
+ REGRESS_FOO_ADDRESS_IPV6
280
+ } RegressFooAddressType;
281
+
282
+ typedef struct _RegressFooBoxed RegressFooBoxed;
283
+
284
+
285
+ _GI_TEST_EXTERN
286
+ GType regress_foo_boxed_get_type (void) G_GNUC_CONST;
287
+
288
+ _GI_TEST_EXTERN
289
+ RegressFooBoxed* regress_foo_boxed_new (void);
290
+
291
+ _GI_TEST_EXTERN
292
+ void regress_foo_boxed_method (RegressFooBoxed* boxed);
293
+
294
+ /* This one tests capitalization handling with respect to DBus */
295
+ typedef struct _RegressFooDBusData RegressFooDBusData;
296
+
297
+ _GI_TEST_EXTERN
298
+ GType regress_foo_dbus_data_get_type (void) G_GNUC_CONST;
299
+
300
+ _GI_TEST_EXTERN
301
+ void regress_foo_dbus_data_method (RegressFooDBusData* dbusdata);
302
+
303
+ /* FIXME: Scanner does not support this yet
304
+
305
+ _GI_TEST_EXTERN
306
+ const char *REGRESS_FOO_CONSTANT_STR = "regress_foo-constant-str";
307
+
308
+ _GI_TEST_EXTERN
309
+ const int REGRESS_FOO_CONSTANT_INT = 10;
310
+
311
+ _GI_TEST_EXTERN
312
+ const float REGRESS_FOO_CONSTANT_FLOAT = 10;
313
+ */
314
+
315
+ /* Callback */
316
+ typedef gboolean (* RegressFooCallback) (RegressFooObject *regress_foo, gboolean b, gpointer data);
317
+
318
+ /* Invalid comments, should be ignored */
319
+
320
+ /* @ */
321
+ /* @: */
322
+
323
+ typedef struct _RegressFooStruct RegressFooStruct;
324
+ typedef struct _RegressFooStructPrivate RegressFooStructPrivate;
325
+
326
+ struct _RegressFooStruct
327
+ {
328
+ RegressFooStructPrivate *priv;
329
+ int member;
330
+ };
331
+
332
+ typedef struct _RegressFooRectangle RegressFooRectangle;
333
+
334
+ struct _RegressFooRectangle
335
+ {
336
+ gint x;
337
+ gint y;
338
+ gint width;
339
+ gint height;
340
+ };
341
+
342
+
343
+ _GI_TEST_EXTERN
344
+ void
345
+ regress_foo_method_external_references (UtilityObject *object,
346
+ UtilityEnumType e,
347
+ UtilityFlagType f,
348
+ UtilityStruct s);
349
+
350
+
351
+ _GI_TEST_EXTERN
352
+ void regress_foo_rectangle_add(RegressFooRectangle *r1, const RegressFooRectangle *r2);
353
+
354
+
355
+ _GI_TEST_EXTERN
356
+ RegressFooRectangle * regress_foo_rectangle_new (int x, int y, int width, int height);
357
+
358
+
359
+ typedef struct _RegressFooEventAny RegressFooEventAny;
360
+ typedef struct _RegressFooEventExpose RegressFooEventExpose;
361
+
362
+ typedef union _RegressFooEvent RegressFooEvent;
363
+
364
+ struct _RegressFooEventAny
365
+ {
366
+ gint8 send_event;
367
+ };
368
+
369
+ struct _RegressFooEventExpose
370
+ {
371
+ gint8 send_event;
372
+ gint count;
373
+ };
374
+
375
+ union _RegressFooEvent
376
+ {
377
+ int type;
378
+ RegressFooEventAny any;
379
+ RegressFooEventExpose expose;
380
+ };
381
+
382
+ typedef void RegressFooXEvent;
383
+
384
+ /* And now some boxed variants */
385
+
386
+ typedef struct _RegressFooBRect RegressFooBRect;
387
+
388
+ struct _RegressFooBRect
389
+ {
390
+ double x;
391
+ double y;
392
+ };
393
+
394
+
395
+ _GI_TEST_EXTERN
396
+ GType regress_foo_brect_get_type (void);
397
+
398
+
399
+ _GI_TEST_EXTERN
400
+ RegressFooBRect *regress_foo_brect_new (double x, double y);
401
+
402
+
403
+ _GI_TEST_EXTERN
404
+ void regress_foo_brect_add (RegressFooBRect *b1, RegressFooBRect *b2);
405
+
406
+ typedef union _RegressFooBUnion RegressFooBUnion;
407
+
408
+ union _RegressFooBUnion
409
+ {
410
+ int type;
411
+ double v;
412
+ RegressFooBRect *rect;
413
+ };
414
+
415
+ typedef union _RegressFooUnion RegressFooUnion;
416
+
417
+ union _RegressFooUnion
418
+ {
419
+ int regress_foo;
420
+ };
421
+
422
+ typedef struct _RegressFooUtilityStruct RegressFooUtilityStruct;
423
+ struct _RegressFooUtilityStruct
424
+ {
425
+ UtilityStruct bar;
426
+ };
427
+
428
+ typedef struct _RegressFooThingWithArray RegressFooThingWithArray;
429
+ struct _RegressFooThingWithArray
430
+ {
431
+ int x;
432
+ int y;
433
+ char lines[80];
434
+ guchar *data;
435
+ } ;
436
+
437
+
438
+ _GI_TEST_EXTERN
439
+ RegressFooBUnion *regress_foo_bunion_new (void);
440
+
441
+
442
+ _GI_TEST_EXTERN
443
+ GType regress_foo_bunion_get_type (void);
444
+
445
+
446
+ _GI_TEST_EXTERN
447
+ int regress_foo_bunion_get_contained_type (RegressFooBUnion *bunion);
448
+
449
+
450
+ _GI_TEST_EXTERN
451
+ void regress_foo_test_unsigned_qualifier (unsigned int unsigned_param);
452
+
453
+ _GI_TEST_EXTERN
454
+ void regress_foo_test_unsigned_type (unsigned unsigned_param);
455
+
456
+
457
+ _GI_TEST_EXTERN
458
+ void regress_foo_test_string_array (char **array);
459
+
460
+
461
+ _GI_TEST_EXTERN
462
+ void regress_foo_test_string_array_with_g (gchar **array);
463
+
464
+
465
+ _GI_TEST_EXTERN
466
+ GArray *regress_foo_test_array (void);
467
+
468
+
469
+ _GI_TEST_EXTERN
470
+ const char * regress_foo_test_const_char_retval (void);
471
+
472
+ _GI_TEST_EXTERN
473
+ const RegressFooStruct * regress_foo_test_const_struct_retval (void);
474
+
475
+ _GI_TEST_EXTERN
476
+ void regress_foo_test_const_char_param (const char * param);
477
+
478
+ _GI_TEST_EXTERN
479
+ void regress_foo_test_const_struct_param (const RegressFooStruct * param);
480
+
481
+ typedef void (*RegressFooVarargsCallback) (const char * param, ...);
482
+
483
+ _GI_TEST_EXTERN
484
+ void regress_foo_test_varargs_callback (gint i, RegressFooVarargsCallback callback);
485
+
486
+ _GI_TEST_EXTERN
487
+ void regress_foo_test_varargs_callback2 (RegressFooVarargsCallback callback);
488
+
489
+ _GI_TEST_EXTERN
490
+ void regress_foo_test_varargs_callback3 (RegressFooVarargsCallback callback,
491
+ RegressFooVarargsCallback callback2);
492
+
493
+ /* Make sure callbacks get the right scope by default */
494
+ _GI_TEST_EXTERN
495
+ void regress_foo_async_ready_callback(GCancellable *cancellable,
496
+ GAsyncReadyCallback callback,
497
+ gpointer user_data);
498
+
499
+ _GI_TEST_EXTERN
500
+ void regress_foo_destroy_notify_callback(RegressFooCallback callback,
501
+ gpointer data,
502
+ GDestroyNotify destroy);
503
+
504
+ typedef enum {
505
+ REGRESS_FOO_ERROR_GOOD,
506
+ REGRESS_FOO_ERROR_BAD,
507
+ REGRESS_FOO_ERROR_UGLY
508
+ } RegressFooError;
509
+
510
+ _GI_TEST_EXTERN
511
+ GType regress_foo_error_get_type (void);
512
+
513
+
514
+ _GI_TEST_EXTERN
515
+ GQuark regress_foo_error_quark (void);
516
+
517
+ typedef enum
518
+ {
519
+ REGRESS_FOO_LAYER_DESKTOP = 0,
520
+ REGRESS_FOO_LAYER_BOTTOM = 1,
521
+ REGRESS_FOO_LAYER_NORMAL = 2,
522
+ REGRESS_FOO_LAYER_TOP = 4, /* Same as DOCK; see EWMH and bug 330717 */
523
+ REGRESS_FOO_LAYER_DOCK = 4,
524
+ REGRESS_FOO_LAYER_FULLSCREEN = 5,
525
+ REGRESS_FOO_LAYER_FOCUSED_WINDOW = 6,
526
+ REGRESS_FOO_LAYER_OVERRIDE_REDIRECT = 7,
527
+ REGRESS_FOO_LAYER_LAST = 8
528
+ } RegressFooStackLayer;
529
+
530
+ typedef enum
531
+ {
532
+ REGRESS_FOO_SOME_SINGLE_ENUM
533
+ } RegressFooASingle;
534
+
535
+ /* Should be skipped */
536
+
537
+ _GI_TEST_EXTERN
538
+ void regress_foo_some_variant (guint x, va_list args);
539
+
540
+ _GI_TEST_EXTERN
541
+ void regress_foo_some_variant_ptr (guint x, va_list *args);
542
+
543
+ /**
544
+ * RegressFooSkippable: (skip)
545
+ * @REGRESS_FOO_SKIPPABLE_ONE: a skippable enum value
546
+ * @REGRESS_FOO_SKIPPABLE_TWO: another skippable enum value
547
+ *
548
+ * Some type that is only interesting from C and should not be
549
+ * exposed to language bindings.
550
+ */
551
+ typedef enum {
552
+ REGRESS_FOO_SKIPPABLE_ONE,
553
+ REGRESS_FOO_SKIPPABLE_TWO
554
+ } RegressFooSkippable;
555
+ void regress_foo_skip_me (RegressFooSkippable fs);
556
+
557
+ typedef struct _RegressFooForeignStruct RegressFooForeignStruct;
558
+
559
+ struct _RegressFooForeignStruct
560
+ {
561
+ int regress_foo;
562
+ };
563
+
564
+
565
+ _GI_TEST_EXTERN
566
+ RegressFooForeignStruct* regress_foo_foreign_struct_new (void);
567
+
568
+ _GI_TEST_EXTERN
569
+ RegressFooForeignStruct* regress_foo_foreign_struct_copy (RegressFooForeignStruct *original);
570
+
571
+ /* This one should be a global, not a method on UtilityObject since
572
+ * it's a separate namespace.
573
+ */
574
+
575
+ _GI_TEST_EXTERN
576
+ void regress_foo_object_a_global_method (UtilityObject *obj);
577
+
578
+
579
+ _GI_TEST_EXTERN
580
+ RegressFooOtherObject * regress_foo_object_append_new_stack_layer (RegressFooObject *obj, int x);
581
+
582
+ #endif /* __REGRESS_FOO_OBJECT_H__ */