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,790 @@
1
+ #include "config.h"
2
+
3
+ #include "foo.h"
4
+
5
+ /* A hidden type not exposed publicly, similar to GUPNP's XML wrapper
6
+ object */
7
+ typedef struct _RegressFooHidden RegressFooHidden;
8
+
9
+ int regress_foo_init_argv (int argc, char **argv);
10
+ int regress_foo_init_argv_address (int *argc, char ***argv);
11
+ void regress_foo_private_function (RegressFooObject *regress_foo);
12
+ void regress_foo_test_unsigned (unsigned int uint);
13
+ void regress_foo_interface_do_regress_foo (RegressFooInterface *self, int x);
14
+ void regress_foo_do_regress_foo (RegressFooInterface *self, int x);
15
+ int regress_foo_enum_method (RegressFooEnumType regress_foo_enum);
16
+ RegressFooHidden * regress_foo_hidden_copy (const RegressFooHidden *boxed);
17
+ void regress_foo_hidden_free (RegressFooHidden *boxed);
18
+ GType regress_foo_hidden_get_type (void);
19
+ RegressFooBoxed *regress_foo_boxed_copy (const RegressFooBoxed *boxed);
20
+ void regress_foo_boxed_free (RegressFooBoxed *boxed);
21
+ void regress_foo_dbus_data_free (RegressFooDBusData *boxed);
22
+ RegressFooDBusData *regress_foo_dbus_data_copy (const RegressFooDBusData *boxed);
23
+
24
+ typedef struct
25
+ {
26
+ int i;
27
+ } PrivateStruct;
28
+
29
+ void regress_foo_private_function (RegressFooObject *regress_foo)
30
+ {
31
+
32
+ }
33
+
34
+ GType
35
+ regress_foo_interface_get_type (void)
36
+ {
37
+ static GType object_type = 0;
38
+
39
+ if (!object_type)
40
+ {
41
+ object_type = g_type_register_static_simple (G_TYPE_INTERFACE,
42
+ "RegressFooInterface",
43
+ sizeof (RegressFooInterfaceIface),
44
+ NULL, 0, NULL, 0);
45
+
46
+ g_type_interface_add_prerequisite (object_type, G_TYPE_OBJECT);
47
+ }
48
+
49
+ return object_type;
50
+ }
51
+
52
+ void regress_foo_interface_do_regress_foo (RegressFooInterface *self, int x)
53
+ {
54
+ REGRESS_FOO_INTERFACE_GET_INTERFACE(self)->do_regress_foo (self, x);
55
+ }
56
+
57
+ void regress_foo_interface_static_method (int x)
58
+ {
59
+ }
60
+
61
+ enum {
62
+ PROP_0,
63
+ PROP_STRING,
64
+ PROP_HIDDEN
65
+ };
66
+
67
+ enum {
68
+ SIGNAL,
69
+ LAST_SIGNAL
70
+ };
71
+
72
+ static guint regress_foo_object_signals[LAST_SIGNAL] = { 0 };
73
+
74
+ static void
75
+ regress_foo_regress_foo_interface_init (gpointer g_iface,
76
+ gpointer iface_data)
77
+ {
78
+ RegressFooInterfaceIface *iface = (RegressFooInterfaceIface *)g_iface;
79
+ iface->do_regress_foo = regress_foo_do_regress_foo;
80
+ }
81
+
82
+ enum {
83
+ SUBIFACE_DESTROY_EVENT,
84
+ SUBIFACE_LAST_SIGNAL
85
+ };
86
+
87
+ static void
88
+ regress_foo_sub_interface_class_init (gpointer g_class, gpointer class_data);
89
+
90
+ static guint regress_foo_subiface_signals[SUBIFACE_LAST_SIGNAL] = { 0 };
91
+
92
+ GType
93
+ regress_foo_sub_interface_get_type (void)
94
+ {
95
+ static GType object_type = 0;
96
+
97
+ if (!object_type)
98
+ {
99
+ object_type = g_type_register_static_simple (G_TYPE_INTERFACE,
100
+ "RegressFooSubInterface",
101
+ sizeof (RegressFooSubInterfaceIface),
102
+ regress_foo_sub_interface_class_init, 0, NULL, 0);
103
+
104
+ g_type_interface_add_prerequisite (object_type, REGRESS_FOO_TYPE_INTERFACE);
105
+ }
106
+
107
+ return object_type;
108
+ }
109
+
110
+ static void
111
+ regress_foo_sub_interface_class_init (gpointer g_class, gpointer class_data)
112
+ {
113
+ regress_foo_subiface_signals[SUBIFACE_DESTROY_EVENT] =
114
+ g_signal_new ("destroy-event", REGRESS_FOO_TYPE_SUBINTERFACE,
115
+ G_SIGNAL_RUN_LAST,
116
+ G_STRUCT_OFFSET (RegressFooSubInterfaceIface, destroy_event),
117
+ NULL, NULL, NULL,
118
+ G_TYPE_NONE,
119
+ 0,
120
+ G_TYPE_NONE);
121
+ }
122
+
123
+ void
124
+ regress_foo_sub_interface_do_bar (RegressFooSubInterface *self)
125
+ {
126
+ REGRESS_FOO_SUBINTERFACE_GET_INTERFACE(self)->do_bar (self);
127
+ }
128
+
129
+ /**
130
+ * regress_foo_sub_interface_do_baz:
131
+ * @self:
132
+ * @callback: (scope call):
133
+ * @user_data:
134
+ */
135
+ void
136
+ regress_foo_sub_interface_do_baz (RegressFooSubInterface *self, GCallback callback, gpointer user_data)
137
+ {
138
+ REGRESS_FOO_SUBINTERFACE_GET_INTERFACE(self)->do_baz (self, callback, user_data);
139
+ }
140
+
141
+ G_DEFINE_TYPE_EXTENDED (RegressFooObject, regress_foo_object, G_TYPE_OBJECT,
142
+ 0, G_IMPLEMENT_INTERFACE (REGRESS_FOO_TYPE_INTERFACE,
143
+ regress_foo_regress_foo_interface_init));
144
+
145
+ static void
146
+ regress_foo_object_set_property (GObject *object,
147
+ guint prop_id,
148
+ const GValue *value,
149
+ GParamSpec *pspec)
150
+ {
151
+ switch (prop_id)
152
+ {
153
+ case PROP_STRING:
154
+ break;
155
+ case PROP_HIDDEN:
156
+ break;
157
+ default:
158
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
159
+ break;
160
+ }
161
+ }
162
+
163
+ static void
164
+ regress_foo_object_get_property (GObject *object,
165
+ guint prop_id,
166
+ GValue *value,
167
+ GParamSpec *pspec)
168
+ {
169
+ switch (prop_id)
170
+ {
171
+ case PROP_STRING:
172
+ break;
173
+ case PROP_HIDDEN:
174
+ break;
175
+ default:
176
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
177
+ break;
178
+ }
179
+ }
180
+
181
+ static void
182
+ regress_foo_object_class_init (RegressFooObjectClass *klass)
183
+ {
184
+ GObjectClass *gobject_class;
185
+
186
+ gobject_class = G_OBJECT_CLASS (klass);
187
+
188
+ gobject_class->set_property = regress_foo_object_set_property;
189
+ gobject_class->get_property = regress_foo_object_get_property;
190
+
191
+ g_object_class_install_property (gobject_class,
192
+ PROP_STRING,
193
+ g_param_spec_string ("string",
194
+ "String nick",
195
+ "The String Property Blurb",
196
+ NULL,
197
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
198
+ g_object_class_install_property (gobject_class,
199
+ PROP_HIDDEN,
200
+ g_param_spec_boxed ("hidden",
201
+ "hidden property",
202
+ "should not be exposed",
203
+ regress_foo_hidden_get_type (),
204
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
205
+ regress_foo_object_signals[SIGNAL] =
206
+ g_signal_new ("signal",
207
+ G_OBJECT_CLASS_TYPE (gobject_class),
208
+ G_SIGNAL_RUN_LAST,
209
+ 0,
210
+ NULL, NULL,
211
+ (GSignalCMarshaller)g_cclosure_marshal_STRING__OBJECT_POINTER,
212
+ G_TYPE_STRING, 2, G_TYPE_OBJECT, G_TYPE_POINTER);
213
+
214
+ }
215
+
216
+ static void
217
+ regress_foo_object_init (RegressFooObject *object)
218
+ {
219
+
220
+ }
221
+
222
+ RegressFooObject *
223
+ regress_foo_object_new (void)
224
+ {
225
+ return g_object_new (REGRESS_FOO_TYPE_OBJECT, NULL);
226
+ }
227
+
228
+ GObject *
229
+ regress_foo_object_new_as_super (void)
230
+ {
231
+ return g_object_new (REGRESS_FOO_TYPE_OBJECT, NULL);
232
+ }
233
+
234
+ /**
235
+ * regress_foo_object_external_type:
236
+ * @object: a #RegressFooObject
237
+ *
238
+ * Returns: (transfer none): %NULL always
239
+ */
240
+ UtilityObject*
241
+ regress_foo_object_external_type (RegressFooObject *object)
242
+ {
243
+ return NULL;
244
+ }
245
+
246
+ void
247
+ regress_foo_object_take_all (RegressFooObject *object, int x, ...)
248
+ {
249
+
250
+ }
251
+
252
+ void
253
+ regress_foo_do_regress_foo (RegressFooInterface *self, int x)
254
+ {
255
+
256
+
257
+ }
258
+
259
+ void
260
+ regress_foo_object_is_it_time_yet (RegressFooObject *object, time_t time)
261
+ {
262
+ }
263
+
264
+ /**
265
+ * regress_foo_object_new_cookie: (skip)
266
+ * @object:
267
+ * @target:
268
+ *
269
+ * Not sure why this test is here...
270
+ */
271
+ RegressFooObjectCookie
272
+ regress_foo_object_new_cookie (RegressFooObject *object, const char *target)
273
+ {
274
+ return NULL;
275
+ }
276
+
277
+ const char *
278
+ regress_foo_object_get_name (RegressFooObject *object)
279
+ {
280
+ return "regress_foo";
281
+ }
282
+
283
+ char *
284
+ regress_foo_object_dup_name (RegressFooObject *object)
285
+ {
286
+ return g_strdup ("regress_foo");
287
+ }
288
+
289
+ /**
290
+ * regress_foo_object_read: (virtual read_fn)
291
+ * @object: obj
292
+ * @offset: offset
293
+ * @length: length
294
+ *
295
+ * Read some stuff.
296
+ */
297
+ void
298
+ regress_foo_object_read (RegressFooObject *object, int offset, int length)
299
+ {
300
+
301
+ }
302
+
303
+ /**
304
+ * regress_foo_object_skipped_method: (skip)
305
+ * @object: obj
306
+ *
307
+ * This is only useful from C.
308
+ */
309
+ void
310
+ regress_foo_object_skipped_method (RegressFooObject *object)
311
+ {
312
+ }
313
+
314
+ G_DEFINE_ABSTRACT_TYPE (RegressFooSubobject, regress_foo_subobject, REGRESS_FOO_TYPE_OBJECT);
315
+
316
+ static void
317
+ regress_foo_subobject_class_init (RegressFooSubobjectClass *klass)
318
+ {
319
+
320
+ }
321
+
322
+ static void
323
+ regress_foo_subobject_init (RegressFooSubobject *object)
324
+ {
325
+
326
+ }
327
+
328
+ /**
329
+ * regress_foo_object_get_default:
330
+ *
331
+ * This function is intended to match clutter_stage_get_default which
332
+ * uses a C sugar return type.
333
+ *
334
+ * Return value: (type RegressFooSubobject) (transfer none): The global #RegressFooSubobject
335
+ */
336
+ RegressFooObject *
337
+ regress_foo_object_get_default ()
338
+ {
339
+ return NULL;
340
+ }
341
+
342
+ int regress_foo_init (void)
343
+ {
344
+ return REGRESS_FOO_SUCCESS_INT;
345
+ }
346
+
347
+ int regress_foo_init_argv (int argc, char **argv)
348
+ {
349
+ return REGRESS_FOO_SUCCESS_INT;
350
+ }
351
+
352
+ int regress_foo_init_argv_address (int *argc, char ***argv)
353
+ {
354
+ return REGRESS_FOO_SUCCESS_INT;
355
+ }
356
+
357
+ GType
358
+ regress_foo_enum_type_get_type (void)
359
+ {
360
+ static GType etype = 0;
361
+ if (G_UNLIKELY(etype == 0)) {
362
+ static const GEnumValue values[] = {
363
+ { REGRESS_FOO_ENUM_ALPHA, "REGRESS_FOO_ENUM_ALPHA", "alpha" },
364
+ { REGRESS_FOO_ENUM_BETA, "REGRESS_FOO_ENUM_BETA", "beta" },
365
+ { REGRESS_FOO_ENUM_DELTA, "REGRESS_FOO_ENUM_DELTA", "delta" },
366
+ { 0, NULL, NULL }
367
+ };
368
+ etype = g_enum_register_static (g_intern_static_string ("RegressFooEnumType"), values);
369
+ }
370
+ return etype;
371
+ }
372
+
373
+ int regress_foo_enum_method (RegressFooEnumType regress_foo_enum)
374
+ {
375
+ return 0;
376
+ }
377
+
378
+
379
+ GType
380
+ regress_foo_flags_type_get_type (void)
381
+ {
382
+ static GType etype = 0;
383
+ if (G_UNLIKELY(etype == 0)) {
384
+ static const GFlagsValue values[] = {
385
+ { REGRESS_FOO_FLAGS_FIRST, "REGRESS_FOO_FLAGS_FIRST", "first" },
386
+ { REGRESS_FOO_FLAGS_SECOND, "REGRESS_FOO_FLAGS_SECOND", "second" },
387
+ { REGRESS_FOO_FLAGS_THIRD, "REGRESS_FOO_FLAGS_THIRD", "third" },
388
+ { 0, NULL, NULL }
389
+ };
390
+ etype = g_flags_register_static (g_intern_static_string ("RegressFooFlagsType"), values);
391
+ }
392
+ return etype;
393
+ }
394
+
395
+ struct _RegressFooBoxed
396
+ {
397
+ int private;
398
+ };
399
+
400
+
401
+ RegressFooBoxed *
402
+ regress_foo_boxed_copy (const RegressFooBoxed *boxed)
403
+ {
404
+ return (RegressFooBoxed *)g_memdup (boxed, sizeof (RegressFooBoxed));
405
+ }
406
+
407
+ void
408
+ regress_foo_boxed_free (RegressFooBoxed *boxed)
409
+ {
410
+ g_slice_free (RegressFooBoxed, boxed);
411
+ }
412
+
413
+
414
+ GType
415
+ regress_foo_boxed_get_type (void)
416
+ {
417
+ static GType our_type = 0;
418
+
419
+ if (our_type == 0)
420
+ our_type = g_boxed_type_register_static ("RegressFooBoxed",
421
+ (GBoxedCopyFunc) regress_foo_boxed_copy,
422
+ (GBoxedFreeFunc) regress_foo_boxed_free);
423
+ return our_type;
424
+ }
425
+
426
+ RegressFooBoxed *
427
+ regress_foo_boxed_new (void)
428
+ {
429
+ return g_slice_new0 (RegressFooBoxed);
430
+ }
431
+
432
+ void
433
+ regress_foo_boxed_method (RegressFooBoxed *boxed)
434
+ {
435
+
436
+ }
437
+
438
+ /* RegressFooDbus */
439
+ struct _RegressFooDBusData
440
+ {
441
+ double private;
442
+ };
443
+
444
+ RegressFooDBusData *
445
+ regress_foo_dbus_data_copy (const RegressFooDBusData *boxed)
446
+ {
447
+ return (RegressFooDBusData *)g_memdup (boxed, sizeof (RegressFooDBusData));
448
+ }
449
+
450
+ void
451
+ regress_foo_dbus_data_free (RegressFooDBusData *boxed)
452
+ {
453
+ g_slice_free (RegressFooDBusData, boxed);
454
+ }
455
+
456
+
457
+ GType
458
+ regress_foo_dbus_data_get_type (void)
459
+ {
460
+ static GType our_type = 0;
461
+
462
+ if (our_type == 0)
463
+ our_type = g_boxed_type_register_static ("RegressFooDBusData",
464
+ (GBoxedCopyFunc) regress_foo_dbus_data_copy,
465
+ (GBoxedFreeFunc) regress_foo_dbus_data_free);
466
+ return our_type;
467
+ }
468
+
469
+ GType
470
+ regress_foo_brect_get_type (void)
471
+ {
472
+ static GType our_type = 0;
473
+
474
+ if (our_type == 0)
475
+ our_type = g_boxed_type_register_static ("RegressFooBRect",
476
+ (GBoxedCopyFunc) g_memdup, /* Won't work */
477
+ (GBoxedFreeFunc) g_free);
478
+ return our_type;
479
+ }
480
+
481
+ GType
482
+ regress_foo_bunion_get_type (void)
483
+ {
484
+ static GType our_type = 0;
485
+
486
+ if (our_type == 0)
487
+ our_type = g_boxed_type_register_static ("RegressFooBUnion",
488
+ (GBoxedCopyFunc) g_memdup, /* Won't work */
489
+ (GBoxedFreeFunc) g_free);
490
+ return our_type;
491
+ }
492
+
493
+ void regress_foo_test_unsigned (unsigned int uint)
494
+ {
495
+ }
496
+
497
+ /**
498
+ * regress_foo_test_string_array:
499
+ * @array: (array zero-terminated=1):
500
+ */
501
+ void
502
+ regress_foo_test_string_array (char **array)
503
+ {
504
+ }
505
+
506
+ /**
507
+ * regress_foo_test_string_array_with_g:
508
+ * @array: (array zero-terminated=1):
509
+ */
510
+ void
511
+ regress_foo_test_string_array_with_g (gchar **array)
512
+ {
513
+ }
514
+
515
+ /**
516
+ * regress_foo_test_array:
517
+ *
518
+ * Returns: (element-type utf8) (transfer container):
519
+ */
520
+ GArray *
521
+ regress_foo_test_array (void)
522
+ {
523
+ return NULL;
524
+ }
525
+
526
+ /**
527
+ * regress_foo_rectangle_new: (skip)
528
+ *
529
+ * This is a C convenience constructor; we have to (skip)
530
+ * it because it's not a boxed type.
531
+ */
532
+ RegressFooRectangle *
533
+ regress_foo_rectangle_new (int x, int y, int width, int height)
534
+ {
535
+ RegressFooRectangle *r = g_slice_new (RegressFooRectangle);
536
+ r->x = x;
537
+ r->y = y;
538
+ r->width = width;
539
+ r->height = height;
540
+ return r;
541
+ }
542
+
543
+ /**
544
+ * regress_foo_rectangle_add:
545
+ * @r1: (inout): add to this rect
546
+ * @r2: source rectangle
547
+ */
548
+ void
549
+ regress_foo_rectangle_add(RegressFooRectangle *r1, const RegressFooRectangle *r2)
550
+ {
551
+
552
+ }
553
+
554
+ /* RegressFooHidden */
555
+
556
+ struct _RegressFooHidden
557
+ {
558
+ char *frob;
559
+ };
560
+
561
+ RegressFooHidden *
562
+ regress_foo_hidden_copy (const RegressFooHidden *boxed)
563
+ {
564
+ return (RegressFooHidden *)g_memdup (boxed, sizeof (RegressFooHidden));
565
+ }
566
+
567
+ void
568
+ regress_foo_hidden_free (RegressFooHidden *boxed)
569
+ {
570
+ g_slice_free (RegressFooHidden, boxed);
571
+ }
572
+
573
+ GType
574
+ regress_foo_hidden_get_type (void)
575
+ {
576
+ static GType our_type = 0;
577
+
578
+ if (our_type == 0)
579
+ our_type = g_boxed_type_register_static ("RegressFooHidden",
580
+ (GBoxedCopyFunc) regress_foo_hidden_copy,
581
+ (GBoxedFreeFunc) regress_foo_hidden_free);
582
+ return our_type;
583
+ }
584
+
585
+ GType
586
+ regress_foo_error_get_type (void)
587
+ {
588
+ static GType etype = 0;
589
+ if (G_UNLIKELY(etype == 0)) {
590
+ static const GEnumValue values[] = {
591
+ { REGRESS_FOO_ERROR_GOOD, "REGRESS_FOO_ERROR_GOOD", "good" },
592
+ { REGRESS_FOO_ERROR_BAD, "REGRESS_FOO_ERROR_BAD", "bad" },
593
+ { REGRESS_FOO_ERROR_UGLY, "REGRESS_FOO_ERROR_UGLY", "ugly" },
594
+ { 0, NULL, NULL }
595
+ };
596
+ etype = g_enum_register_static (g_intern_static_string ("RegressFooError"), values);
597
+ }
598
+ return etype;
599
+ }
600
+
601
+ GQuark
602
+ regress_foo_error_quark (void)
603
+ {
604
+ return g_quark_from_static_string ("regress_foo-error-quark");
605
+ }
606
+
607
+ void
608
+ regress_foo_some_variant (guint x, va_list args)
609
+ {
610
+ }
611
+
612
+ GType regress_foo_tile_handler_get_type(void);
613
+
614
+ /* This setup of a totally hidden parent class matches
615
+ * http://bugzilla.gnome.org/show_bug.cgi?id=561360
616
+ */
617
+ #define REGRESS_FOO_TYPE_TILE_HANDLER (regress_foo_tile_handler_get_type ())
618
+ #define REGRESS_FOO_TILE_HANDLER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_FOO_TYPE_TILE_HANDLER, RegressFooTileHandler))
619
+ #define REGRESS_FOO_IS_TILE_HANDLER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REGRESS_FOO_TYPE_TILE_HANDLER))
620
+
621
+ struct _RegressFooTileHandler
622
+ {
623
+ RegressFooObject parent_instance;
624
+ };
625
+
626
+
627
+ struct _RegressFooTileHandlerClass
628
+ {
629
+ RegressFooObjectClass parent_class;
630
+ };
631
+
632
+ typedef struct _RegressFooTileHandler RegressFooTileHandler;
633
+ typedef struct _RegressFooTileHandlerClass RegressFooTileHandlerClass;
634
+
635
+ G_DEFINE_TYPE(RegressFooTileHandler, regress_foo_tile_handler, REGRESS_FOO_TYPE_OBJECT);
636
+
637
+ static void
638
+ regress_foo_tile_handler_class_init (RegressFooTileHandlerClass *klass)
639
+ {
640
+
641
+ }
642
+
643
+ static void
644
+ regress_foo_tile_handler_init (RegressFooTileHandler *object)
645
+ {
646
+
647
+ }
648
+
649
+ struct _RegressFooBuffer
650
+ {
651
+ RegressFooTileHandler parent_instance;
652
+ };
653
+
654
+ struct _RegressFooBufferClass
655
+ {
656
+ RegressFooTileHandlerClass parent_class;
657
+ };
658
+
659
+ G_DEFINE_TYPE(RegressFooBuffer, regress_foo_buffer, REGRESS_FOO_TYPE_TILE_HANDLER);
660
+
661
+ static void
662
+ regress_foo_buffer_class_init (RegressFooBufferClass *klass)
663
+ {
664
+
665
+ }
666
+
667
+ static void
668
+ regress_foo_buffer_init (RegressFooBuffer *object)
669
+ {
670
+
671
+ }
672
+
673
+ void
674
+ regress_foo_buffer_some_method (RegressFooBuffer *buffer)
675
+ {
676
+ }
677
+
678
+ struct _RegressFooOtherObject
679
+ {
680
+ GObject parent_instance;
681
+ };
682
+
683
+ struct _RegressFooOtherObjectClass
684
+ {
685
+ GObjectClass parent_class;
686
+ };
687
+
688
+ G_DEFINE_TYPE(RegressFooOtherObject, regress_foo_other_object, G_TYPE_OBJECT);
689
+
690
+ static void
691
+ regress_foo_other_object_class_init (RegressFooOtherObjectClass *klass)
692
+ {
693
+
694
+ }
695
+
696
+ static void
697
+ regress_foo_other_object_init (RegressFooOtherObject *object)
698
+ {
699
+
700
+ }
701
+
702
+
703
+ #define REGRESS_FOO_DEFINE_SHOULD_NOT_BE_EXPOSED "should not be exposed"
704
+
705
+ /**
706
+ * regress_foo_skip_me: (skip)
707
+ * @fs: a #RegressFooSkippable
708
+ *
709
+ * Does something that's only interesting from C and should not be
710
+ * exposed to language bindings.
711
+ */
712
+ void
713
+ regress_foo_skip_me (RegressFooSkippable fs)
714
+ {
715
+ }
716
+
717
+ /**
718
+ * RegressFooForeignStruct: (foreign)
719
+ *
720
+ */
721
+
722
+ RegressFooForeignStruct*
723
+ regress_foo_foreign_struct_new (void)
724
+ {
725
+ return g_slice_new0 (RegressFooForeignStruct);
726
+ }
727
+
728
+ RegressFooForeignStruct*
729
+ regress_foo_foreign_struct_copy (RegressFooForeignStruct *original)
730
+ {
731
+ RegressFooForeignStruct *copy;
732
+ copy = regress_foo_foreign_struct_new ();
733
+ copy->regress_foo = original->regress_foo;
734
+ return copy;
735
+ }
736
+
737
+ /**
738
+ * regress_foo_test_varargs_callback: (skip)
739
+ *
740
+ */
741
+ void
742
+ regress_foo_test_varargs_callback (gint i, RegressFooVarargsCallback callback)
743
+ {
744
+ }
745
+
746
+ /**
747
+ * regress_foo_test_varargs_callback2: (skip)
748
+ *
749
+ */
750
+ void
751
+ regress_foo_test_varargs_callback2 (RegressFooVarargsCallback callback)
752
+ {
753
+ }
754
+
755
+ /**
756
+ * regress_foo_test_varargs_callback3: (skip)
757
+ *
758
+ */
759
+ void
760
+ regress_foo_test_varargs_callback3 (RegressFooVarargsCallback callback,
761
+ RegressFooVarargsCallback callback2)
762
+ {
763
+ }
764
+
765
+ /**
766
+ * regress_foo_object_append_new_stack_layer:
767
+ *
768
+ * This shouldn't be scanned as a constructor.
769
+ *
770
+ * Returns: (transfer none):
771
+ */
772
+ RegressFooOtherObject *
773
+ regress_foo_object_append_new_stack_layer (RegressFooObject *obj, int x)
774
+ {
775
+ return NULL;
776
+ }
777
+
778
+ /**
779
+ * regress_foo_not_a_constructor_new:
780
+ *
781
+ * This should be scanned as a top-level function, and shouldn't cause
782
+ * a "Can't find matching type for constructor" warning.
783
+ *
784
+ * Returns: (transfer none):
785
+ */
786
+ RegressFooObject *
787
+ regress_foo_not_a_constructor_new (void)
788
+ {
789
+ return NULL;
790
+ }