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,831 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
2
+ #include "config.h"
3
+
4
+ #include "annotation.h"
5
+
6
+ char backslash_parsing_tester = '\\';
7
+
8
+ G_DEFINE_TYPE (RegressAnnotationObject, regress_annotation_object, G_TYPE_OBJECT);
9
+
10
+ enum {
11
+ PROP_0,
12
+ PROP_STRING_PROPERTY,
13
+ PROP_FUNCTION_PROPERTY,
14
+ PROP_TAB_PROPERTY
15
+ };
16
+
17
+ enum {
18
+ STRING_SIGNAL,
19
+ LIST_SIGNAL,
20
+ DOC_EMPTY_ARG_PARSING,
21
+ ATTRIBUTE_SIGNAL,
22
+ LAST_SIGNAL
23
+ };
24
+
25
+ static guint regress_annotation_object_signals[LAST_SIGNAL] = { 0 };
26
+
27
+ static void
28
+ regress_annotation_object_set_property (GObject *object,
29
+ guint prop_id,
30
+ const GValue *value,
31
+ GParamSpec *pspec)
32
+ {
33
+ switch (prop_id)
34
+ {
35
+ case PROP_STRING_PROPERTY:
36
+ break;
37
+ case PROP_FUNCTION_PROPERTY:
38
+ break;
39
+ case PROP_TAB_PROPERTY:
40
+ break;
41
+ default:
42
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
43
+ break;
44
+ }
45
+ }
46
+
47
+ static void
48
+ regress_annotation_object_get_property (GObject *object,
49
+ guint prop_id,
50
+ GValue *value,
51
+ GParamSpec *pspec)
52
+ {
53
+ switch (prop_id)
54
+ {
55
+ case PROP_STRING_PROPERTY:
56
+ break;
57
+ case PROP_FUNCTION_PROPERTY:
58
+ break;
59
+ case PROP_TAB_PROPERTY:
60
+ break;
61
+ default:
62
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
63
+ break;
64
+ }
65
+ }
66
+
67
+ static void
68
+ regress_annotation_object_class_init (RegressAnnotationObjectClass *klass)
69
+ {
70
+ GObjectClass *gobject_class;
71
+
72
+ gobject_class = G_OBJECT_CLASS (klass);
73
+
74
+ gobject_class->set_property = regress_annotation_object_set_property;
75
+ gobject_class->get_property = regress_annotation_object_get_property;
76
+
77
+ /**
78
+ * RegressAnnotationObject::string-signal:
79
+ * @regress_annotation: the regress_annotation object
80
+ * @string: (type utf8): a string
81
+ *
82
+ * This is a signal which has a broken signal handler,
83
+ * it says it's pointer but it's actually a string.
84
+ *
85
+ * Since: 1.0
86
+ * Deprecated: 1.2: Use other-signal instead
87
+ */
88
+ regress_annotation_object_signals[STRING_SIGNAL] =
89
+ g_signal_new ("string-signal",
90
+ G_OBJECT_CLASS_TYPE (gobject_class),
91
+ G_SIGNAL_RUN_LAST,
92
+ 0,
93
+ NULL, NULL,
94
+ (GSignalCMarshaller)g_cclosure_marshal_VOID__POINTER,
95
+ G_TYPE_NONE, 1, G_TYPE_POINTER);
96
+
97
+ /**
98
+ * RegressAnnotationObject::list-signal:
99
+ * @regress_annotation: the regress_annotation object
100
+ * @list: (type GLib.List) (element-type utf8) (transfer container): a list of strings
101
+ *
102
+ * This is a signal which takes a list of strings, but it's not
103
+ * known by GObject as it's only marked as G_TYPE_POINTER
104
+ */
105
+ regress_annotation_object_signals[LIST_SIGNAL] =
106
+ g_signal_new ("list-signal",
107
+ G_OBJECT_CLASS_TYPE (gobject_class),
108
+ G_SIGNAL_RUN_LAST,
109
+ 0,
110
+ NULL, NULL,
111
+ (GSignalCMarshaller)g_cclosure_marshal_VOID__POINTER,
112
+ G_TYPE_NONE, 1, G_TYPE_POINTER);
113
+
114
+ /**
115
+ * RegressAnnotationObject::doc-empty-arg-parsing:
116
+ * @regress_annotation: the regress_annotation object
117
+ * @arg1:
118
+ *
119
+ * This signal tests an empty document argument (@arg1)
120
+ */
121
+ regress_annotation_object_signals[DOC_EMPTY_ARG_PARSING] =
122
+ g_signal_new ("doc-empty-arg-parsing",
123
+ G_OBJECT_CLASS_TYPE (gobject_class),
124
+ G_SIGNAL_RUN_LAST,
125
+ 0,
126
+ NULL, NULL,
127
+ (GSignalCMarshaller)g_cclosure_marshal_VOID__POINTER,
128
+ G_TYPE_NONE, 1, G_TYPE_POINTER);
129
+
130
+ /**
131
+ * RegressAnnotationObject::attribute-signal:
132
+ * @regress_annotation: the regress_annotation object
133
+ * @arg1: (attributes some.annotation.foo1=val1): a value
134
+ * @arg2: (attributes some.annotation.foo2=val2): another value
135
+ *
136
+ * This signal tests a signal with attributes.
137
+ *
138
+ * Returns: (attributes some.annotation.foo3=val3): the return value
139
+ */
140
+ regress_annotation_object_signals[ATTRIBUTE_SIGNAL] =
141
+ g_signal_new ("attribute-signal",
142
+ G_OBJECT_CLASS_TYPE (gobject_class),
143
+ G_SIGNAL_RUN_LAST,
144
+ 0,
145
+ NULL, NULL,
146
+ NULL, /* marshaller */
147
+ G_TYPE_STRING,
148
+ 2,
149
+ G_TYPE_STRING,
150
+ G_TYPE_STRING);
151
+
152
+ /**
153
+ * RegressAnnotationObject:string-property:
154
+ *
155
+ * This is a property which is a string
156
+ *
157
+ * Since: 1.0
158
+ * Deprecated: 1.2: Use better-string-property instead
159
+ */
160
+ g_object_class_install_property (gobject_class,
161
+ PROP_STRING_PROPERTY,
162
+ g_param_spec_string ("string-property",
163
+ "String property",
164
+ "This property is a string",
165
+ NULL,
166
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
167
+ /**
168
+ * RegressAnnotationObject:function-property: (type RegressAnnotationCallback)
169
+ */
170
+ g_object_class_install_property (gobject_class,
171
+ PROP_FUNCTION_PROPERTY,
172
+ g_param_spec_pointer ("function-property",
173
+ "Function property",
174
+ "This property is a function pointer",
175
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
176
+
177
+ /**
178
+ * RegressAnnotationObject:tab-property:
179
+ *
180
+ * This is a property annotation intentionally indented with a mix
181
+ * of tabs and strings to test the tab handling capabilities of the scanner.
182
+ *
183
+ * Since: 1.2
184
+ */
185
+ g_object_class_install_property (gobject_class,
186
+ PROP_TAB_PROPERTY,
187
+ g_param_spec_string ("tab-property",
188
+ "Tab property",
189
+ "This property is a thing",
190
+ NULL,
191
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
192
+ }
193
+
194
+ static void
195
+ regress_annotation_object_init (RegressAnnotationObject *object)
196
+ {
197
+
198
+ }
199
+
200
+ /**
201
+ * regress_annotation_object_method:
202
+ * @object: a #GObject
203
+ *
204
+ * Return value: an int
205
+ **/
206
+ gint
207
+ regress_annotation_object_method (RegressAnnotationObject *object)
208
+ {
209
+ return 1;
210
+ }
211
+
212
+ /**
213
+ * regress_annotation_object_out:
214
+ * @object: a #GObject
215
+ * @outarg: (out): This is an argument test
216
+ *
217
+ * This is a test for out arguments
218
+ *
219
+ * Return value: an int
220
+ */
221
+ gint
222
+ regress_annotation_object_out (RegressAnnotationObject *object, int *outarg)
223
+ {
224
+ *outarg = 2;
225
+ return 1;
226
+ }
227
+
228
+ /**
229
+ * regress_annotation_object_in:
230
+ * @object: a #GObject
231
+ * @inarg: (in) (transfer none): This is an argument test
232
+ *
233
+ * This is a test for in arguments
234
+ *
235
+ * Return value: an int
236
+ */
237
+ gint
238
+ regress_annotation_object_in (RegressAnnotationObject *object, int *inarg)
239
+ {
240
+ return *inarg;
241
+ }
242
+
243
+
244
+ /**
245
+ * regress_annotation_object_inout:
246
+ * @object: a #GObject
247
+ * @inoutarg: (inout): This is an argument test
248
+ *
249
+ * This is a test for out arguments
250
+ *
251
+ * Return value: an int
252
+ */
253
+ gint
254
+ regress_annotation_object_inout (RegressAnnotationObject *object, int *inoutarg)
255
+ {
256
+ return *inoutarg += 1;
257
+ }
258
+
259
+ /**
260
+ * regress_annotation_object_inout2:
261
+ * @object: a #GObject
262
+ * @inoutarg: (inout): This is an argument test
263
+ *
264
+ * This is a second test for out arguments
265
+ *
266
+ * Return value: an int
267
+ */
268
+ gint
269
+ regress_annotation_object_inout2 (RegressAnnotationObject *object, int *inoutarg)
270
+ {
271
+ return *inoutarg += 1;
272
+ }
273
+
274
+
275
+ /**
276
+ * regress_annotation_object_inout3:
277
+ * @object: a #GObject
278
+ * @inoutarg: (inout) (allow-none): This is an argument test
279
+ *
280
+ * This is a 3th test for out arguments
281
+ *
282
+ * Return value: an int
283
+ */
284
+ gint
285
+ regress_annotation_object_inout3 (RegressAnnotationObject *object, int *inoutarg)
286
+ {
287
+ if (inoutarg)
288
+ return *inoutarg + 1;
289
+ return 1;
290
+ }
291
+
292
+ /**
293
+ * regress_annotation_object_calleeowns:
294
+ * @object: a #GObject
295
+ * @toown: (out): a #GObject
296
+ *
297
+ * This is a test for out arguments; GObject defaults to transfer
298
+ *
299
+ * Return value: an int
300
+ */
301
+ gint
302
+ regress_annotation_object_calleeowns (RegressAnnotationObject *object, GObject **toown)
303
+ {
304
+ return 1;
305
+ }
306
+
307
+
308
+ /**
309
+ * regress_annotation_object_calleesowns:
310
+ * @object: a #GObject
311
+ * @toown1: (out) (transfer full): a #GObject
312
+ * @toown2: (out) (transfer none): a #GObject
313
+ *
314
+ * This is a test for out arguments, one transferred, other not
315
+ *
316
+ * Return value: an int
317
+ */
318
+ gint
319
+ regress_annotation_object_calleesowns (RegressAnnotationObject *object,
320
+ GObject **toown1,
321
+ GObject **toown2)
322
+ {
323
+ return 1;
324
+ }
325
+
326
+
327
+ /**
328
+ * regress_annotation_object_get_strings:
329
+ * @object: a #GObject
330
+ *
331
+ * This is a test for returning a list of strings, where
332
+ * each string needs to be freed.
333
+ *
334
+ * Return value: (element-type utf8) (transfer full): list of strings
335
+ */
336
+ GList*
337
+ regress_annotation_object_get_strings (RegressAnnotationObject *object)
338
+ {
339
+ GList *list = NULL;
340
+ list = g_list_prepend (list, g_strdup ("regress_annotation"));
341
+ list = g_list_prepend (list, g_strdup ("bar"));
342
+ return list;
343
+ }
344
+
345
+ /**
346
+ * regress_annotation_object_get_hash:
347
+ * @object: a #GObject
348
+ *
349
+ * This is a test for returning a hash table mapping strings to
350
+ * objects.
351
+ *
352
+ * Return value: (element-type utf8 GObject) (transfer full): hash table
353
+ */
354
+ GHashTable*
355
+ regress_annotation_object_get_hash (RegressAnnotationObject *object)
356
+ {
357
+ GHashTable *hash = g_hash_table_new_full (g_str_hash, g_str_equal,
358
+ g_free, g_object_unref);
359
+ g_hash_table_insert (hash, g_strdup ("one"), g_object_ref (object));
360
+ g_hash_table_insert (hash, g_strdup ("two"), g_object_ref (object));
361
+ return hash;
362
+ }
363
+
364
+ /**
365
+ * regress_annotation_object_with_voidp:
366
+ * @data: Opaque pointer handle
367
+ */
368
+ void
369
+ regress_annotation_object_with_voidp (RegressAnnotationObject *object, void *data)
370
+ {
371
+
372
+ }
373
+
374
+ /**
375
+ * regress_annotation_object_get_objects:
376
+ * @object: a #GObject
377
+ *
378
+ * This is a test for returning a list of objects.
379
+ * The list itself should be freed, but not the internal objects,
380
+ * intentionally similar example to gtk_container_get_children
381
+ *
382
+ * Return value: (element-type RegressAnnotationObject) (transfer container): list of objects
383
+ */
384
+ GSList*
385
+ regress_annotation_object_get_objects (RegressAnnotationObject *object)
386
+ {
387
+ GSList *list = NULL;
388
+ list = g_slist_prepend (list, object);
389
+ return list;
390
+ }
391
+
392
+ /**
393
+ * regress_annotation_object_create_object:
394
+ * @object: a #GObject
395
+ *
396
+ * Test returning a caller-owned object
397
+ *
398
+ * Return value: (transfer full): The object
399
+ **/
400
+ GObject*
401
+ regress_annotation_object_create_object (RegressAnnotationObject *object)
402
+ {
403
+ return g_object_ref (object);
404
+ }
405
+
406
+ /**
407
+ * regress_annotation_object_use_buffer:
408
+ * @object: a #GObject
409
+ *
410
+ **/
411
+ void
412
+ regress_annotation_object_use_buffer (RegressAnnotationObject *object,
413
+ guchar *bytes)
414
+ {
415
+
416
+ }
417
+
418
+ /**
419
+ * regress_annotation_object_compute_sum:
420
+ * @object: a #GObject
421
+ * @nums: (array): Sequence of numbers
422
+ *
423
+ * Test taking a zero-terminated array
424
+ **/
425
+ void
426
+ regress_annotation_object_compute_sum (RegressAnnotationObject *object,
427
+ int *nums)
428
+ {
429
+
430
+ }
431
+
432
+ /**
433
+ * regress_annotation_object_compute_sum_n:
434
+ * @object: a #GObject
435
+ * @nums: (array length=n_nums zero-terminated=0): Sequence of
436
+ * numbers that are zero-terminated
437
+ * @n_nums: Length of number array
438
+ *
439
+ * Test taking an array with length parameter
440
+ **/
441
+ void
442
+ regress_annotation_object_compute_sum_n(RegressAnnotationObject *object,
443
+ int *nums,
444
+ int n_nums)
445
+ {
446
+
447
+ }
448
+
449
+ /**
450
+ * regress_annotation_object_compute_sum_nz:
451
+ * @object: a #RegressAnnotationObject
452
+ * @nums: (array length=n_nums zero-terminated=1): Sequence of numbers that
453
+ * are zero-terminated
454
+ * @n_nums: Length of number array
455
+ *
456
+ * Test taking a zero-terminated array with length parameter
457
+ **/
458
+ void
459
+ regress_annotation_object_compute_sum_nz(RegressAnnotationObject *object,
460
+ int *nums,
461
+ int n_nums)
462
+ {
463
+
464
+ }
465
+
466
+ /**
467
+ * regress_annotation_object_parse_args:
468
+ * @object: a #RegressAnnotationObject
469
+ * @argc: (inout): Length of the argument vector
470
+ * @argv: (inout) (array length=argc zero-terminated=1): Argument vector
471
+ *
472
+ * Test taking a zero-terminated array with length parameter
473
+ **/
474
+ void
475
+ regress_annotation_object_parse_args(RegressAnnotationObject *object,
476
+ int *argc,
477
+ char ***argv)
478
+ {
479
+
480
+ }
481
+
482
+ /**
483
+ * regress_annotation_object_string_out:
484
+ * @object: a #RegressAnnotationObject
485
+ * @str_out: (out) (transfer full): string return value
486
+ *
487
+ * Test returning a string as an out parameter
488
+ *
489
+ * Returns: some boolean
490
+ **/
491
+ gboolean
492
+ regress_annotation_object_string_out(RegressAnnotationObject *object,
493
+ char **str_out)
494
+ {
495
+ return FALSE;
496
+ }
497
+
498
+ /**
499
+ * regress_annotation_object_foreach:
500
+ * @object: a #RegressAnnotationObject
501
+ * @func: (scope call): Callback to invoke
502
+ * @user_data: Callback user data
503
+ *
504
+ * Test taking a call-scoped callback
505
+ **/
506
+ void
507
+ regress_annotation_object_foreach (RegressAnnotationObject *object,
508
+ RegressAnnotationForeachFunc func,
509
+ gpointer user_data)
510
+ {
511
+
512
+ }
513
+
514
+ /**
515
+ * regress_annotation_object_set_data:
516
+ * @object: a #RegressAnnotationObject
517
+ * @data: (array length=length): The data
518
+ * @length: Length of the data
519
+ *
520
+ * Test taking a guchar * with a length.
521
+ **/
522
+ void
523
+ regress_annotation_object_set_data (RegressAnnotationObject *object,
524
+ const guchar *data,
525
+ gsize length)
526
+ {
527
+
528
+ }
529
+
530
+ /**
531
+ * regress_annotation_object_set_data2:
532
+ * @object: a #RegressAnnotationObject
533
+ * @data: (array length=length) (element-type gint8): The data
534
+ * @length: Length of the data
535
+ *
536
+ * Test taking a gchar * with a length.
537
+ **/
538
+ void
539
+ regress_annotation_object_set_data2 (RegressAnnotationObject *object,
540
+ const gchar *data,
541
+ gsize length)
542
+ {
543
+
544
+ }
545
+
546
+ /**
547
+ * regress_annotation_object_set_data3:
548
+ * @object: a #RegressAnnotationObject
549
+ * @data: (array length=length) (element-type guint8): The data
550
+ * @length: Length of the data
551
+ *
552
+ * Test taking a gchar * with a length, overriding the array element
553
+ * type.
554
+ **/
555
+ void
556
+ regress_annotation_object_set_data3 (RegressAnnotationObject *object,
557
+ gpointer data,
558
+ gsize length)
559
+ {
560
+
561
+ }
562
+
563
+ /**
564
+ * regress_annotation_object_allow_none:
565
+ * @object: a #GObject
566
+ * @somearg: (allow-none):
567
+ *
568
+ * Returns: (transfer none): %NULL always
569
+ **/
570
+ GObject*
571
+ regress_annotation_object_allow_none (RegressAnnotationObject *object, const gchar *somearg)
572
+ {
573
+ return NULL;
574
+ }
575
+
576
+ /**
577
+ * regress_annotation_object_notrans:
578
+ * @object: a #GObject
579
+ *
580
+ * Returns: (transfer none): An object, not referenced
581
+ **/
582
+
583
+ GObject*
584
+ regress_annotation_object_notrans (RegressAnnotationObject *object)
585
+ {
586
+ return NULL;
587
+ }
588
+
589
+ /**
590
+ * regress_annotation_object_do_not_use:
591
+ * @object: a #GObject
592
+ *
593
+ * Returns: (transfer none): %NULL always
594
+ * Deprecated: 0.12: Use regress_annotation_object_create_object() instead.
595
+ **/
596
+ GObject*
597
+ regress_annotation_object_do_not_use (RegressAnnotationObject *object)
598
+ {
599
+ return NULL;
600
+ }
601
+
602
+ /**
603
+ * regress_annotation_object_watch: (skip)
604
+ * @object: A #RegressAnnotationObject
605
+ * @func: The callback
606
+ * @user_data: The callback data
607
+ *
608
+ * This is here just for the sake of being overriden by its
609
+ * regress_annotation_object_watch_full().
610
+ */
611
+ void
612
+ regress_annotation_object_watch (RegressAnnotationObject *object,
613
+ RegressAnnotationForeachFunc func,
614
+ gpointer user_data)
615
+ {
616
+ }
617
+
618
+ /**
619
+ * regress_annotation_object_watch_full: (rename-to regress_annotation_object_watch)
620
+ * @object: A #RegressAnnotationObject
621
+ * @func: The callback
622
+ * @user_data: The callback data
623
+ * @destroy: Destroy notification
624
+ *
625
+ * Test overriding via the "Rename To" annotation.
626
+ */
627
+ void
628
+ regress_annotation_object_watch_full (RegressAnnotationObject *object,
629
+ RegressAnnotationForeachFunc func,
630
+ gpointer user_data,
631
+ GDestroyNotify destroy)
632
+ {
633
+ }
634
+
635
+ /**
636
+ * regress_annotation_object_hidden_self:
637
+ * @object: (type RegressAnnotationObject): A #RegressAnnotationObject
638
+ **/
639
+ void
640
+ regress_annotation_object_hidden_self (gpointer object)
641
+ {
642
+ }
643
+
644
+ /**
645
+ * regress_annotation_init:
646
+ * @argc: (inout): The number of args.
647
+ * @argv: (inout) (array length=argc): The arguments.
648
+ **/
649
+ void
650
+ regress_annotation_init (int *argc, char ***argv)
651
+ {
652
+
653
+ }
654
+
655
+ /**
656
+ * regress_annotation_return_array:
657
+ * @length: (out): Number of return values
658
+ *
659
+ * Return value: (transfer full) (array length=length): The return value
660
+ **/
661
+ char **
662
+ regress_annotation_return_array (int *length)
663
+ {
664
+ return NULL;
665
+ }
666
+
667
+ /**
668
+ * regress_annotation_string_zero_terminated:
669
+ *
670
+ * Return value: (transfer full) (array zero-terminated=1): The return value
671
+ **/
672
+ char **
673
+ regress_annotation_string_zero_terminated (void)
674
+ {
675
+ return NULL;
676
+ }
677
+
678
+ /**
679
+ * regress_annotation_string_zero_terminated_out:
680
+ * @out: (array zero-terminated=1) (inout):
681
+ **/
682
+ void
683
+ regress_annotation_string_zero_terminated_out (char ***out)
684
+ {
685
+ }
686
+
687
+ /**
688
+ * regress_annotation_versioned:
689
+ *
690
+ * Since: 0.6
691
+ **/
692
+ void
693
+ regress_annotation_versioned (void)
694
+ {
695
+ }
696
+
697
+ /**
698
+ * regress_annotation_string_array_length:
699
+ * @n_properties:
700
+ * @properties: (array length=n_properties) (element-type utf8):
701
+ */
702
+ void
703
+ regress_annotation_string_array_length (guint n_properties, const gchar * const properties[])
704
+ {
705
+ }
706
+
707
+ /**
708
+ * regress_annotation_object_extra_annos: (attributes org.foobar=testvalue)
709
+ */
710
+ void
711
+ regress_annotation_object_extra_annos (RegressAnnotationObject *object)
712
+ {
713
+ }
714
+
715
+ /**
716
+ * regress_annotation_custom_destroy:
717
+ * @callback: (destroy destroy) (closure data): Destroy notification
718
+ *
719
+ * Test messing up the heuristic of closure/destroy-notification
720
+ * detection, and fixing it via annotations.
721
+ */
722
+ void
723
+ regress_annotation_custom_destroy (RegressAnnotationCallback callback,
724
+ RegressAnnotationNotifyFunc destroy,
725
+ gpointer data)
726
+ {
727
+ }
728
+
729
+ /**
730
+ * regress_annotation_get_source_file:
731
+ *
732
+ * Return value: (type filename) (transfer full): Source file
733
+ */
734
+ char *
735
+ regress_annotation_get_source_file (void)
736
+ {
737
+ return NULL;
738
+ }
739
+
740
+ /**
741
+ * regress_annotation_set_source_file:
742
+ * @fname: (type filename): Source file
743
+ *
744
+ */
745
+ void
746
+ regress_annotation_set_source_file (const char *fname)
747
+ {
748
+ }
749
+
750
+ /**
751
+ * regress_annotation_ptr_array:
752
+ * @array: (element-type GObject.Value): the array
753
+ */
754
+ void
755
+ regress_annotation_ptr_array (GPtrArray *array)
756
+ {
757
+ }
758
+
759
+ /**
760
+ * regress_annotation_attribute_func:
761
+ * @object: A #RegressAnnotationObject.
762
+ * @data: (attributes some.annotation=value another.annotation=blahvalue): Some data.
763
+ *
764
+ * Returns: (attributes some.other.annotation=value2 yet.another.annotation=another_value): The return value.
765
+ */
766
+ gint
767
+ regress_annotation_attribute_func (RegressAnnotationObject *object,
768
+ const gchar *data)
769
+ {
770
+ return 42;
771
+ }
772
+
773
+ /**
774
+ * regress_annotation_invalid_regress_annotation:
775
+ * @foo: some text (e.g. example) or else
776
+ */
777
+ void
778
+ regress_annotation_invalid_regress_annotation (int foo)
779
+ {
780
+
781
+ }
782
+
783
+
784
+ char backslash_parsing_tester_2 = '\\';
785
+
786
+
787
+ /**
788
+ * regress_annotation_test_parsing_bug630862:
789
+ *
790
+ * See https://bugzilla.gnome.org/show_bug.cgi?id=630862
791
+ *
792
+ * Returns: (transfer none): An object, note the colon:in here
793
+ */
794
+ GObject *
795
+ regress_annotation_test_parsing_bug630862 (void)
796
+ {
797
+ return NULL;
798
+ }
799
+
800
+
801
+ /**
802
+ * regress_annotation_space_after_comment_bug631690:
803
+ *
804
+ * Explicitly test having a space after the ** here.
805
+ */
806
+ void
807
+ regress_annotation_space_after_comment_bug631690 (void)
808
+ {
809
+ }
810
+
811
+ /**
812
+ * regress_annotation_return_filename:
813
+ *
814
+ * Returns: (type filename): An annotated filename
815
+ */
816
+ gchar*
817
+ regress_annotation_return_filename (void)
818
+ {
819
+ return "a utf-8 filename";
820
+ }
821
+
822
+ /**
823
+ * regress_annotation_transfer_floating:
824
+ *
825
+ * Returns: (transfer floating): A floating object
826
+ */
827
+ GObject *
828
+ regress_annotation_transfer_floating(void)
829
+ {
830
+ return NULL;
831
+ }