gobject-introspection 2.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. data/Rakefile +118 -0
  2. data/ext/gobject-introspection/depend +10 -0
  3. data/ext/gobject-introspection/extconf.rb +97 -0
  4. data/ext/gobject-introspection/gobject_introspection.def +5 -0
  5. data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
  6. data/ext/gobject-introspection/rb-gi-argument.c +1015 -0
  7. data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
  8. data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
  9. data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
  10. data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
  11. data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
  12. data/ext/gobject-introspection/rb-gi-constructor-info.c +120 -0
  13. data/ext/gobject-introspection/rb-gi-conversions.h +116 -0
  14. data/ext/gobject-introspection/rb-gi-enum-info.c +145 -0
  15. data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
  16. data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
  17. data/ext/gobject-introspection/rb-gi-function-info.c +658 -0
  18. data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
  19. data/ext/gobject-introspection/rb-gi-loader.c +162 -0
  20. data/ext/gobject-introspection/rb-gi-method-info.c +109 -0
  21. data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
  22. data/ext/gobject-introspection/rb-gi-private.h +110 -0
  23. data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
  24. data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
  25. data/ext/gobject-introspection/rb-gi-repository.c +164 -0
  26. data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
  27. data/ext/gobject-introspection/rb-gi-struct-info.c +190 -0
  28. data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
  29. data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
  30. data/ext/gobject-introspection/rb-gi-types.h +71 -0
  31. data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
  32. data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
  33. data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
  34. data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
  35. data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
  36. data/ext/gobject-introspection/rb-gobject-introspection.h +57 -0
  37. data/extconf.rb +71 -0
  38. data/lib/1.9/gobject_introspection.so +0 -0
  39. data/lib/2.0/gobject_introspection.so +0 -0
  40. data/lib/gobject-introspection.rb +52 -0
  41. data/lib/gobject-introspection/callable-info.rb +91 -0
  42. data/lib/gobject-introspection/collection-reader.rb +34 -0
  43. data/lib/gobject-introspection/interface-info.rb +32 -0
  44. data/lib/gobject-introspection/loader.rb +328 -0
  45. data/lib/gobject-introspection/object-info.rb +33 -0
  46. data/lib/gobject-introspection/repository.rb +32 -0
  47. data/lib/gobject-introspection/struct-info.rb +28 -0
  48. data/lib/gobject-introspection/union-info.rb +28 -0
  49. data/test/gobject-introspection-test-utils.rb +26 -0
  50. data/test/run-test.rb +45 -0
  51. data/test/test-arg-info.rb +68 -0
  52. data/test/test-base-info.rb +31 -0
  53. data/test/test-boxed-info.rb +21 -0
  54. data/test/test-callable-info.rb +49 -0
  55. data/test/test-callback-info.rb +29 -0
  56. data/test/test-constant-info.rb +24 -0
  57. data/test/test-enum-info.rb +56 -0
  58. data/test/test-field-type.rb +42 -0
  59. data/test/test-flags-info.rb +27 -0
  60. data/test/test-function-info.rb +37 -0
  61. data/test/test-interface-info.rb +97 -0
  62. data/test/test-loader.rb +30 -0
  63. data/test/test-object-info.rb +131 -0
  64. data/test/test-property-info.rb +38 -0
  65. data/test/test-registered-type-info.rb +35 -0
  66. data/test/test-repository.rb +59 -0
  67. data/test/test-signal-info.rb +37 -0
  68. data/test/test-struct-info.rb +57 -0
  69. data/test/test-type-info.rb +62 -0
  70. data/test/test-type-tag.rb +29 -0
  71. data/test/test-union-info.rb +21 -0
  72. data/test/test-value-info.rb +28 -0
  73. data/test/test-vfunc-info.rb +42 -0
  74. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  75. data/vendor/local/bin/g-ir-generate.exe +0 -0
  76. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  77. data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +52 -0
  78. data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +89 -0
  79. data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +74 -0
  80. data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +46 -0
  81. data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +56 -0
  82. data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +52 -0
  83. data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +77 -0
  84. data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +68 -0
  85. data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +137 -0
  86. data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +44 -0
  87. data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +53 -0
  88. data/vendor/local/include/gobject-introspection-1.0/girepository.h +179 -0
  89. data/vendor/local/include/gobject-introspection-1.0/girffi.h +80 -0
  90. data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +45 -0
  91. data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +53 -0
  92. data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +56 -0
  93. data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +55 -0
  94. data/vendor/local/include/gobject-introspection-1.0/gitypes.h +453 -0
  95. data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +57 -0
  96. data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +56 -0
  97. data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
  98. data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
  99. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  100. data/vendor/local/lib/girepository-1.0/GL-1.0.typelib +0 -0
  101. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  102. data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
  103. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  104. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  105. data/vendor/local/lib/girepository-1.0/cairo-1.0.typelib +0 -0
  106. data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
  107. data/vendor/local/lib/girepository-1.0/freetype2-2.0.typelib +0 -0
  108. data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
  109. data/vendor/local/lib/girepository-1.0/xfixes-4.0.typelib +0 -0
  110. data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
  111. data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
  112. data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
  113. data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -0
  114. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  115. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  116. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +74 -0
  117. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  118. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  119. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1204 -0
  120. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  121. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  122. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +1100 -0
  123. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  124. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  125. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +196 -0
  126. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  127. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  128. data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +140 -0
  129. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  130. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  131. data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +60 -0
  132. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  133. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  134. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl +2 -0
  135. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
  136. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
  137. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -0
  138. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +61 -0
  139. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
  140. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
  141. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
  142. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
  143. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
  144. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -0
  145. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +18 -0
  146. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
  147. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
  148. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +13 -0
  149. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +48 -0
  150. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
  151. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
  152. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +10 -0
  153. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
  154. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +37 -0
  155. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
  156. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +17 -0
  157. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
  158. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
  159. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
  160. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +53 -0
  161. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
  162. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
  163. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +10 -0
  164. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
  165. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +42 -0
  166. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +33 -0
  167. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +29 -0
  168. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +40 -0
  169. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +19 -0
  170. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +635 -0
  171. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  172. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  173. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +363 -0
  174. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  175. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  176. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +551 -0
  177. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  178. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  179. data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +581 -0
  180. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  181. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  182. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +584 -0
  183. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  184. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  185. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.py +236 -0
  186. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  187. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  188. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.py +76 -0
  189. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  190. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  191. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +1337 -0
  192. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  193. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  194. data/vendor/local/lib/gobject-introspection/giscanner/message.py +185 -0
  195. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  196. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  197. data/vendor/local/lib/gobject-introspection/giscanner/odict.py +50 -0
  198. data/vendor/local/lib/gobject-introspection/giscanner/odict.pyc +0 -0
  199. data/vendor/local/lib/gobject-introspection/giscanner/odict.pyo +0 -0
  200. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +497 -0
  201. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  202. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  203. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.py +78 -0
  204. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  205. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  206. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +132 -0
  207. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  208. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  209. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +324 -0
  210. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  211. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  212. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +119 -0
  213. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  214. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  215. data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +999 -0
  216. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  217. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  218. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +141 -0
  219. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  220. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  221. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +197 -0
  222. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  223. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  224. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  225. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  226. data/vendor/local/lib/libgirepository-1.0.la +41 -0
  227. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
  228. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
  229. data/vendor/local/share/aclocal/introspection.m4 +96 -0
  230. data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
  231. data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
  232. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +3833 -0
  233. data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
  234. data/vendor/local/share/gir-1.0/GLib-2.0.gir +44304 -0
  235. data/vendor/local/share/gir-1.0/GModule-2.0.gir +184 -0
  236. data/vendor/local/share/gir-1.0/GObject-2.0.gir +13947 -0
  237. data/vendor/local/share/gir-1.0/Gio-2.0.gir +73619 -0
  238. data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
  239. data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
  240. data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
  241. data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
  242. data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
  243. data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
  244. data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
  245. data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
  246. data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
  247. data/vendor/local/share/gobject-introspection-1.0/gdump.c +564 -0
  248. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +835 -0
  249. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +198 -0
  250. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +55 -0
  251. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +33 -0
  252. data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1473 -0
  253. data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +428 -0
  254. data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
  255. data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +437 -0
  256. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5256 -0
  257. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1158 -0
  258. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4009 -0
  259. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +944 -0
  260. data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +45 -0
  261. data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +95 -0
  262. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +33 -0
  263. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +36 -0
  264. data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
  265. data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
  266. data/vendor/local/share/man/man1/g-ir-compiler.1 +51 -0
  267. data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
  268. metadata +343 -0
@@ -0,0 +1,96 @@
1
+ dnl -*- mode: autoconf -*-
2
+ dnl Copyright 2009 Johan Dahlin
3
+ dnl
4
+ dnl This file is free software; the author(s) gives unlimited
5
+ dnl permission to copy and/or distribute it, with or without
6
+ dnl modifications, as long as this notice is preserved.
7
+ dnl
8
+
9
+ # serial 1
10
+
11
+ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
12
+ [
13
+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
14
+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
15
+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
16
+
17
+ dnl enable/disable introspection
18
+ m4_if([$2], [require],
19
+ [dnl
20
+ enable_introspection=yes
21
+ ],[dnl
22
+ AC_ARG_ENABLE(introspection,
23
+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
24
+ [Enable introspection for this build]),,
25
+ [enable_introspection=auto])
26
+ ])dnl
27
+
28
+ AC_MSG_CHECKING([for gobject-introspection])
29
+
30
+ dnl presence/version checking
31
+ AS_CASE([$enable_introspection],
32
+ [no], [dnl
33
+ found_introspection="no (disabled, use --enable-introspection to enable)"
34
+ ],dnl
35
+ [yes],[dnl
36
+ PKG_CHECK_EXISTS([gobject-introspection-1.0],,
37
+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
38
+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
39
+ found_introspection=yes,
40
+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
41
+ ],dnl
42
+ [auto],[dnl
43
+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
44
+ dnl Canonicalize enable_introspection
45
+ enable_introspection=$found_introspection
46
+ ],dnl
47
+ [dnl
48
+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
49
+ ])dnl
50
+
51
+ AC_MSG_RESULT([$found_introspection])
52
+
53
+ INTROSPECTION_SCANNER=
54
+ INTROSPECTION_COMPILER=
55
+ INTROSPECTION_GENERATE=
56
+ INTROSPECTION_GIRDIR=
57
+ INTROSPECTION_TYPELIBDIR=
58
+ if test "x$found_introspection" = "xyes"; then
59
+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
60
+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
61
+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
62
+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
63
+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
64
+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
65
+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
66
+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
67
+ fi
68
+ AC_SUBST(INTROSPECTION_SCANNER)
69
+ AC_SUBST(INTROSPECTION_COMPILER)
70
+ AC_SUBST(INTROSPECTION_GENERATE)
71
+ AC_SUBST(INTROSPECTION_GIRDIR)
72
+ AC_SUBST(INTROSPECTION_TYPELIBDIR)
73
+ AC_SUBST(INTROSPECTION_CFLAGS)
74
+ AC_SUBST(INTROSPECTION_LIBS)
75
+ AC_SUBST(INTROSPECTION_MAKEFILE)
76
+
77
+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
78
+ ])
79
+
80
+
81
+ dnl Usage:
82
+ dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
83
+
84
+ AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
85
+ [
86
+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
87
+ ])
88
+
89
+ dnl Usage:
90
+ dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
91
+
92
+
93
+ AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
94
+ [
95
+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
96
+ ])
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0"?>
2
+ <repository version="1.2"
3
+ xmlns="http://www.gtk.org/introspection/core/1.0"
4
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
5
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
6
+ c:identifier-prefixes="DBus"
7
+ c:symbol-prefixes="DBus">
8
+ <package name="dbus-1"/>
9
+ <namespace name="DBus"
10
+ version="1.0"
11
+ c:prefix="DBus">
12
+ <enumeration name="BusType" c:type="DBusBusType">
13
+ <member name="session" value="0" c:identifier="DBUS_BUS_SESSION"/>
14
+ <member name="system" value="1" c:identifier="DBUS_BUS_SYSTEM"/>
15
+ <member name="starter" value="2" c:identifier="DBUS_BUS_STARTER"/>
16
+ </enumeration>
17
+ <record name="Connection"
18
+ c:type="DBusConnection"
19
+ glib:type-name="DBusConnection"
20
+ glib:get-type="dbus_connection_get_type">
21
+ </record>
22
+ <record name="Error" c:type="DBusError">
23
+ </record>
24
+ <record name="Message"
25
+ c:type="DBusMessage">
26
+ </record>
27
+ <record name="MessageIter" c:type="DBusMessageIter">
28
+ </record>
29
+ <record name="PendingCall" c:type="DBusPendingCall">
30
+ </record>
31
+ </namespace>
32
+ </repository>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <repository version="1.2"
3
+ xmlns="http://www.gtk.org/introspection/core/1.0"
4
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
5
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
6
+ c:identifier-prefixes="DBus"
7
+ c:symbol-prefixes="DBus">
8
+ <include name="GObject" version="2.0"/>
9
+ <package name="dbus-glib-1"/>
10
+ <namespace name="DBusGLib" version="1.0" c:prefix="DBusG">
11
+ <record name="Connection" c:type="DBusGConnection"/>
12
+ <record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
13
+ <class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
14
+ glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
15
+ </class>
16
+ <record name="ProxyClass" c:type="DBusGProxyClass"/>
17
+ </namespace>
18
+ </repository>
@@ -0,0 +1,3833 @@
1
+ <?xml version="1.0"?>
2
+ <!-- This file was automatically generated from C sources - DO NOT EDIT!
3
+ To affect the contents of this file, edit the original C definitions,
4
+ and/or use gtk-doc annotations. -->
5
+ <repository version="1.2"
6
+ xmlns="http://www.gtk.org/introspection/core/1.0"
7
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
+ <include name="GObject" version="2.0"/>
10
+ <package name="gobject-introspection-1.0"/>
11
+ <c:include name="girepository.h"/>
12
+ <namespace name="GIRepository"
13
+ version="2.0"
14
+ shared-library="libgirepository-1.0-1.dll"
15
+ c:identifier-prefixes="GI"
16
+ c:symbol-prefixes="g">
17
+ <alias name="ArgInfo" c:type="GIArgInfo">
18
+ <doc xml:whitespace="preserve">Represents an argument.</doc>
19
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
20
+ </alias>
21
+ <alias name="CallableInfo" c:type="GICallableInfo">
22
+ <doc xml:whitespace="preserve">Represents a callable, either #GIFunctionInfo, #GICallbackInfo or
23
+ #GIVFuncInfo.</doc>
24
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
25
+ </alias>
26
+ <alias name="CallbackInfo" c:type="GICallbackInfo">
27
+ <doc xml:whitespace="preserve">Represents a callback, eg arguments and return value.</doc>
28
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
29
+ </alias>
30
+ <alias name="ConstantInfo" c:type="GIConstantInfo">
31
+ <doc xml:whitespace="preserve">Represents a constant.</doc>
32
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
33
+ </alias>
34
+ <alias name="EnumInfo" c:type="GIEnumInfo">
35
+ <doc xml:whitespace="preserve">Represents an enum or a flag.</doc>
36
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
37
+ </alias>
38
+ <alias name="FieldInfo" c:type="GIFieldInfo">
39
+ <doc xml:whitespace="preserve">Represents a field of a #GIStructInfo or a #GIUnionInfo.</doc>
40
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
41
+ </alias>
42
+ <alias name="FunctionInfo" c:type="GIFunctionInfo">
43
+ <doc xml:whitespace="preserve">Represents a function, eg arguments and return value.</doc>
44
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
45
+ </alias>
46
+ <alias name="InterfaceInfo" c:type="GIInterfaceInfo">
47
+ <doc xml:whitespace="preserve">Represents an interface.</doc>
48
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
49
+ </alias>
50
+ <alias name="ObjectInfo" c:type="GIObjectInfo">
51
+ <doc xml:whitespace="preserve">Represents an object.</doc>
52
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
53
+ </alias>
54
+ <alias name="PropertyInfo" c:type="GIPropertyInfo">
55
+ <doc xml:whitespace="preserve">Represents a property of a #GIObjectInfo or a #GIInterfaceInfo.</doc>
56
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
57
+ </alias>
58
+ <alias name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo">
59
+ <doc xml:whitespace="preserve">Represent a registered type.</doc>
60
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
61
+ </alias>
62
+ <alias name="SignalInfo" c:type="GISignalInfo">
63
+ <doc xml:whitespace="preserve">Represents a signal.</doc>
64
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
65
+ </alias>
66
+ <alias name="StructInfo" c:type="GIStructInfo">
67
+ <doc xml:whitespace="preserve">Represents a struct.</doc>
68
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
69
+ </alias>
70
+ <alias name="TypeInfo" c:type="GITypeInfo">
71
+ <doc xml:whitespace="preserve">Represents type information, direction, transfer etc.</doc>
72
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
73
+ </alias>
74
+ <alias name="UnionInfo" c:type="GIUnionInfo">
75
+ <doc xml:whitespace="preserve">Represents a union.</doc>
76
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
77
+ </alias>
78
+ <alias name="VFuncInfo" c:type="GIVFuncInfo">
79
+ <doc xml:whitespace="preserve">Represents a virtual function.</doc>
80
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
81
+ </alias>
82
+ <alias name="ValueInfo" c:type="GIValueInfo">
83
+ <doc xml:whitespace="preserve">Represents a enum value of a #GIEnumInfo.</doc>
84
+ <type name="BaseInfo" c:type="GIBaseInfo"/>
85
+ </alias>
86
+ <union name="Argument" c:type="GIArgument">
87
+ <doc xml:whitespace="preserve">Stores an argument of varying type</doc>
88
+ <field name="v_boolean" writable="1">
89
+ <type name="gboolean" c:type="gboolean"/>
90
+ </field>
91
+ <field name="v_int8" writable="1">
92
+ <type name="gint8" c:type="gint8"/>
93
+ </field>
94
+ <field name="v_uint8" writable="1">
95
+ <type name="guint8" c:type="guint8"/>
96
+ </field>
97
+ <field name="v_int16" writable="1">
98
+ <type name="gint16" c:type="gint16"/>
99
+ </field>
100
+ <field name="v_uint16" writable="1">
101
+ <type name="guint16" c:type="guint16"/>
102
+ </field>
103
+ <field name="v_int32" writable="1">
104
+ <type name="gint32" c:type="gint32"/>
105
+ </field>
106
+ <field name="v_uint32" writable="1">
107
+ <type name="guint32" c:type="guint32"/>
108
+ </field>
109
+ <field name="v_int64" writable="1">
110
+ <type name="gint64" c:type="gint64"/>
111
+ </field>
112
+ <field name="v_uint64" writable="1">
113
+ <type name="guint64" c:type="guint64"/>
114
+ </field>
115
+ <field name="v_float" writable="1">
116
+ <type name="gfloat" c:type="gfloat"/>
117
+ </field>
118
+ <field name="v_double" writable="1">
119
+ <type name="gdouble" c:type="gdouble"/>
120
+ </field>
121
+ <field name="v_short" writable="1">
122
+ <type name="gshort" c:type="gshort"/>
123
+ </field>
124
+ <field name="v_ushort" writable="1">
125
+ <type name="gushort" c:type="gushort"/>
126
+ </field>
127
+ <field name="v_int" writable="1">
128
+ <type name="gint" c:type="gint"/>
129
+ </field>
130
+ <field name="v_uint" writable="1">
131
+ <type name="guint" c:type="guint"/>
132
+ </field>
133
+ <field name="v_long" writable="1">
134
+ <type name="glong" c:type="glong"/>
135
+ </field>
136
+ <field name="v_ulong" writable="1">
137
+ <type name="gulong" c:type="gulong"/>
138
+ </field>
139
+ <field name="v_ssize" writable="1">
140
+ <type name="gssize" c:type="gssize"/>
141
+ </field>
142
+ <field name="v_size" writable="1">
143
+ <type name="gsize" c:type="gsize"/>
144
+ </field>
145
+ <field name="v_string" writable="1">
146
+ <type name="utf8" c:type="gchar*"/>
147
+ </field>
148
+ <field name="v_pointer" writable="1">
149
+ <type name="gpointer" c:type="gpointer"/>
150
+ </field>
151
+ </union>
152
+ <enumeration name="ArrayType" c:type="GIArrayType">
153
+ <doc xml:whitespace="preserve">The type of array in a #GITypeInfo.</doc>
154
+ <member name="c" value="0" c:identifier="GI_ARRAY_TYPE_C">
155
+ <doc xml:whitespace="preserve">a C array, char[] for instance</doc>
156
+ </member>
157
+ <member name="array" value="1" c:identifier="GI_ARRAY_TYPE_ARRAY">
158
+ <doc xml:whitespace="preserve">a @GArray array</doc>
159
+ </member>
160
+ <member name="ptr_array"
161
+ value="2"
162
+ c:identifier="GI_ARRAY_TYPE_PTR_ARRAY">
163
+ <doc xml:whitespace="preserve">a #GPtrArray array</doc>
164
+ </member>
165
+ <member name="byte_array"
166
+ value="3"
167
+ c:identifier="GI_ARRAY_TYPE_BYTE_ARRAY">
168
+ <doc xml:whitespace="preserve">a #GByteArray array</doc>
169
+ </member>
170
+ </enumeration>
171
+ <record name="AttributeIter" c:type="GIAttributeIter">
172
+ <doc xml:whitespace="preserve">An opaque structure used to iterate over attributes
173
+ in a #GIBaseInfo struct.</doc>
174
+ <field name="data" readable="0" private="1">
175
+ <type name="gpointer" c:type="gpointer"/>
176
+ </field>
177
+ <field name="data2" readable="0" private="1">
178
+ <type name="gpointer" c:type="gpointer"/>
179
+ </field>
180
+ <field name="data3" readable="0" private="1">
181
+ <type name="gpointer" c:type="gpointer"/>
182
+ </field>
183
+ <field name="data4" readable="0" private="1">
184
+ <type name="gpointer" c:type="gpointer"/>
185
+ </field>
186
+ </record>
187
+ <record name="BaseInfo"
188
+ c:type="GIBaseInfo"
189
+ glib:type-name="GIBaseInfo"
190
+ glib:get-type="g_base_info_gtype_get_type"
191
+ c:symbol-prefix="base_info_gtype">
192
+ <doc xml:whitespace="preserve">GIBaseInfo is the common base struct of all other *Info structs
193
+ accessible through the #GIRepository API.
194
+ All other structs can be casted to a #GIBaseInfo, for instance:
195
+ &lt;example&gt;
196
+ &lt;title&gt;Casting a #GIFunctionInfo to #GIBaseInfo&lt;/title&gt;
197
+ &lt;programlisting&gt;
198
+ GIFunctionInfo *function_info = ...;
199
+ GIBaseInfo *info = (GIBaseInfo*)function_info;
200
+ &lt;/programlisting&gt;
201
+ &lt;/example&gt;
202
+ Most #GIRepository APIs returning a #GIBaseInfo is actually creating a new struct, in other
203
+ words, g_base_info_unref() has to be called when done accessing the data.
204
+ GIBaseInfos are normally accessed by calling either
205
+ g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().
206
+
207
+ &lt;example&gt;
208
+ &lt;title&gt;Getting the Button of the Gtk typelib&lt;/title&gt;
209
+ &lt;programlisting&gt;
210
+ GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button");
211
+ ... use button_info ...
212
+ g_base_info_unref(button_info);
213
+ &lt;/programlisting&gt;
214
+ &lt;/example&gt;
215
+
216
+ &lt;refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"&gt;
217
+ &lt;title role="struct_hierarchy.title"&gt;Struct hierarchy&lt;/title&gt;
218
+ &lt;synopsis&gt;
219
+ GIBaseInfo
220
+ +----&lt;link linkend="gi-GIArgInfo"&gt;GIArgInfo&lt;/link&gt;
221
+ +----&lt;link linkend="gi-GICallableInfo"&gt;GICallableInfo&lt;/link&gt;
222
+ +----&lt;link linkend="gi-GIConstantInfo"&gt;GIConstantInfo&lt;/link&gt;
223
+ +----&lt;link linkend="gi-GIFieldInfo"&gt;GIFieldInfo&lt;/link&gt;
224
+ +----&lt;link linkend="gi-GIPropertyInfo"&gt;GIPropertyInfo&lt;/link&gt;
225
+ +----&lt;link linkend="gi-GIRegisteredTypeInfo"&gt;GIRegisteredTypeInfo&lt;/link&gt;
226
+ +----&lt;link linkend="gi-GITypeInfo"&gt;GITypeInfo&lt;/link&gt;
227
+ &lt;/synopsis&gt;
228
+ &lt;/refsect1&gt;</doc>
229
+ <method name="equal" c:identifier="g_base_info_equal">
230
+ <doc xml:whitespace="preserve">Compare two #GIBaseInfo.
231
+
232
+ Using pointer comparison is not practical since many functions return
233
+ different instances of #GIBaseInfo that refers to the same part of the
234
+ TypeLib; use this function instead to do #GIBaseInfo comparisons.</doc>
235
+ <return-value transfer-ownership="none">
236
+ <doc xml:whitespace="preserve">%TRUE if and only if @info1 equals @info2.</doc>
237
+ <type name="gboolean" c:type="gboolean"/>
238
+ </return-value>
239
+ <parameters>
240
+ <instance-parameter name="info1" transfer-ownership="none">
241
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
242
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
243
+ </instance-parameter>
244
+ <parameter name="info2" transfer-ownership="none">
245
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
246
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
247
+ </parameter>
248
+ </parameters>
249
+ </method>
250
+ <method name="get_attribute" c:identifier="g_base_info_get_attribute">
251
+ <doc xml:whitespace="preserve">Retrieve an arbitrary attribute associated with this node.</doc>
252
+ <return-value transfer-ownership="none">
253
+ <doc xml:whitespace="preserve">The value of the attribute, or %NULL if no such attribute exists</doc>
254
+ <type name="utf8" c:type="const gchar*"/>
255
+ </return-value>
256
+ <parameters>
257
+ <instance-parameter name="info" transfer-ownership="none">
258
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
259
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
260
+ </instance-parameter>
261
+ <parameter name="name" transfer-ownership="none">
262
+ <doc xml:whitespace="preserve">a freeform string naming an attribute</doc>
263
+ <type name="utf8" c:type="const gchar*"/>
264
+ </parameter>
265
+ </parameters>
266
+ </method>
267
+ <method name="get_container" c:identifier="g_base_info_get_container">
268
+ <doc xml:whitespace="preserve">Obtain the container of the @info. The container is the parent
269
+ GIBaseInfo. For instance, the parent of a #GIFunctionInfo is an
270
+ #GIObjectInfo or #GIInterfaceInfo.</doc>
271
+ <return-value transfer-ownership="none">
272
+ <doc xml:whitespace="preserve">the container</doc>
273
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
274
+ </return-value>
275
+ <parameters>
276
+ <instance-parameter name="info" transfer-ownership="none">
277
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
278
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
279
+ </instance-parameter>
280
+ </parameters>
281
+ </method>
282
+ <method name="get_name" c:identifier="g_base_info_get_name">
283
+ <doc xml:whitespace="preserve">Obtain the name of the @info. What the name represents depends on
284
+ the #GIInfoType of the @info. For instance for #GIFunctionInfo it is
285
+ the name of the function.</doc>
286
+ <return-value transfer-ownership="none">
287
+ <doc xml:whitespace="preserve">the name of @info or %NULL if it lacks a name.</doc>
288
+ <type name="utf8" c:type="const gchar*"/>
289
+ </return-value>
290
+ <parameters>
291
+ <instance-parameter name="info" transfer-ownership="none">
292
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
293
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
294
+ </instance-parameter>
295
+ </parameters>
296
+ </method>
297
+ <method name="get_namespace" c:identifier="g_base_info_get_namespace">
298
+ <doc xml:whitespace="preserve">Obtain the namespace of @info.</doc>
299
+ <return-value transfer-ownership="none">
300
+ <doc xml:whitespace="preserve">the namespace</doc>
301
+ <type name="utf8" c:type="const gchar*"/>
302
+ </return-value>
303
+ <parameters>
304
+ <instance-parameter name="info" transfer-ownership="none">
305
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
306
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
307
+ </instance-parameter>
308
+ </parameters>
309
+ </method>
310
+ <method name="get_type" c:identifier="g_base_info_get_type">
311
+ <doc xml:whitespace="preserve">Obtain the info type of the GIBaseInfo.</doc>
312
+ <return-value transfer-ownership="none">
313
+ <doc xml:whitespace="preserve">the info type of @info</doc>
314
+ <type name="InfoType" c:type="GIInfoType"/>
315
+ </return-value>
316
+ <parameters>
317
+ <instance-parameter name="info" transfer-ownership="none">
318
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
319
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
320
+ </instance-parameter>
321
+ </parameters>
322
+ </method>
323
+ <method name="get_typelib" c:identifier="g_base_info_get_typelib">
324
+ <doc xml:whitespace="preserve">Obtain the typelib this @info belongs to</doc>
325
+ <return-value transfer-ownership="none">
326
+ <doc xml:whitespace="preserve">the typelib.</doc>
327
+ <type name="Typelib" c:type="GITypelib*"/>
328
+ </return-value>
329
+ <parameters>
330
+ <instance-parameter name="info" transfer-ownership="none">
331
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
332
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
333
+ </instance-parameter>
334
+ </parameters>
335
+ </method>
336
+ <method name="is_deprecated" c:identifier="g_base_info_is_deprecated">
337
+ <doc xml:whitespace="preserve">Obtain whether the @info is represents a metadata which is
338
+ deprecated or not.</doc>
339
+ <return-value transfer-ownership="none">
340
+ <doc xml:whitespace="preserve">%TRUE if deprecated</doc>
341
+ <type name="gboolean" c:type="gboolean"/>
342
+ </return-value>
343
+ <parameters>
344
+ <instance-parameter name="info" transfer-ownership="none">
345
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
346
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
347
+ </instance-parameter>
348
+ </parameters>
349
+ </method>
350
+ <method name="iterate_attributes"
351
+ c:identifier="g_base_info_iterate_attributes">
352
+ <doc xml:whitespace="preserve">Iterate over all attributes associated with this node. The iterator
353
+ structure is typically stack allocated, and must have its first
354
+ member initialized to %NULL.
355
+
356
+ Both the @name and @value should be treated as constants
357
+ and must not be freed.
358
+
359
+ &lt;example&gt;
360
+ &lt;title&gt;Iterating over attributes&lt;/title&gt;
361
+ &lt;programlisting&gt;
362
+ void
363
+ print_attributes (GIBaseInfo *info)
364
+ {
365
+ GIAttributeIter iter = { 0, };
366
+ char *name;
367
+ char *value;
368
+ while (g_base_info_iterate_attributes (info, &amp;iter, &amp;name, &amp;value))
369
+ {
370
+ g_print ("attribute name: %s value: %s", name, value);
371
+ }
372
+ }
373
+ &lt;/programlisting&gt;
374
+ &lt;/example&gt;</doc>
375
+ <return-value transfer-ownership="none">
376
+ <doc xml:whitespace="preserve">%TRUE if there are more attributes</doc>
377
+ <type name="gboolean" c:type="gboolean"/>
378
+ </return-value>
379
+ <parameters>
380
+ <instance-parameter name="info" transfer-ownership="none">
381
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
382
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
383
+ </instance-parameter>
384
+ <parameter name="iterator" transfer-ownership="none">
385
+ <doc xml:whitespace="preserve">a #GIAttributeIter structure, must be initialized; see below</doc>
386
+ <type name="AttributeIter" c:type="GIAttributeIter*"/>
387
+ </parameter>
388
+ <parameter name="name"
389
+ direction="out"
390
+ caller-allocates="0"
391
+ transfer-ownership="none">
392
+ <doc xml:whitespace="preserve">Returned name, must not be freed</doc>
393
+ <type name="utf8" c:type="char**"/>
394
+ </parameter>
395
+ <parameter name="value"
396
+ direction="out"
397
+ caller-allocates="0"
398
+ transfer-ownership="none">
399
+ <doc xml:whitespace="preserve">Returned name, must not be freed</doc>
400
+ <type name="utf8" c:type="char**"/>
401
+ </parameter>
402
+ </parameters>
403
+ </method>
404
+ <method name="ref" c:identifier="g_base_info_ref" introspectable="0">
405
+ <doc xml:whitespace="preserve">Increases the reference count of @info.</doc>
406
+ <return-value transfer-ownership="full">
407
+ <doc xml:whitespace="preserve">the same @info.</doc>
408
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
409
+ </return-value>
410
+ <parameters>
411
+ <instance-parameter name="info" transfer-ownership="none">
412
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
413
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
414
+ </instance-parameter>
415
+ </parameters>
416
+ </method>
417
+ <method name="unref" c:identifier="g_base_info_unref" introspectable="0">
418
+ <doc xml:whitespace="preserve">Decreases the reference count of @info. When its reference count
419
+ drops to 0, the info is freed.</doc>
420
+ <return-value transfer-ownership="none">
421
+ <type name="none" c:type="void"/>
422
+ </return-value>
423
+ <parameters>
424
+ <instance-parameter name="info" transfer-ownership="none">
425
+ <doc xml:whitespace="preserve">a #GIBaseInfo</doc>
426
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
427
+ </instance-parameter>
428
+ </parameters>
429
+ </method>
430
+ </record>
431
+ <enumeration name="Direction" c:type="GIDirection">
432
+ <doc xml:whitespace="preserve">The direction of a #GIArgInfo.</doc>
433
+ <member name="in" value="0" c:identifier="GI_DIRECTION_IN">
434
+ <doc xml:whitespace="preserve">in argument.</doc>
435
+ </member>
436
+ <member name="out" value="1" c:identifier="GI_DIRECTION_OUT">
437
+ <doc xml:whitespace="preserve">out argument.</doc>
438
+ </member>
439
+ <member name="inout" value="2" c:identifier="GI_DIRECTION_INOUT">
440
+ <doc xml:whitespace="preserve">in and out argument.</doc>
441
+ </member>
442
+ </enumeration>
443
+ <bitfield name="FieldInfoFlags" c:type="GIFieldInfoFlags">
444
+ <doc xml:whitespace="preserve">Flags for a #GIFieldInfo.</doc>
445
+ <member name="readable" value="1" c:identifier="GI_FIELD_IS_READABLE">
446
+ <doc xml:whitespace="preserve">field is readable.</doc>
447
+ </member>
448
+ <member name="writable" value="2" c:identifier="GI_FIELD_IS_WRITABLE">
449
+ <doc xml:whitespace="preserve">field is writable.</doc>
450
+ </member>
451
+ </bitfield>
452
+ <bitfield name="FunctionInfoFlags" c:type="GIFunctionInfoFlags">
453
+ <doc xml:whitespace="preserve">Flags for a #GIFunctionInfo struct.</doc>
454
+ <member name="is_method" value="1" c:identifier="GI_FUNCTION_IS_METHOD">
455
+ <doc xml:whitespace="preserve">is a method.</doc>
456
+ </member>
457
+ <member name="is_constructor"
458
+ value="2"
459
+ c:identifier="GI_FUNCTION_IS_CONSTRUCTOR">
460
+ <doc xml:whitespace="preserve">is a constructor.</doc>
461
+ </member>
462
+ <member name="is_getter" value="4" c:identifier="GI_FUNCTION_IS_GETTER">
463
+ <doc xml:whitespace="preserve">is a getter of a #GIPropertyInfo.</doc>
464
+ </member>
465
+ <member name="is_setter" value="8" c:identifier="GI_FUNCTION_IS_SETTER">
466
+ <doc xml:whitespace="preserve">is a setter of a #GIPropertyInfo.</doc>
467
+ </member>
468
+ <member name="wraps_vfunc"
469
+ value="16"
470
+ c:identifier="GI_FUNCTION_WRAPS_VFUNC">
471
+ <doc xml:whitespace="preserve">represents a virtual function.</doc>
472
+ </member>
473
+ <member name="throws" value="32" c:identifier="GI_FUNCTION_THROWS">
474
+ <doc xml:whitespace="preserve">the function may throw an error.</doc>
475
+ </member>
476
+ </bitfield>
477
+ <enumeration name="InfoType" c:type="GIInfoType">
478
+ <doc xml:whitespace="preserve">The type of a GIBaseInfo struct.</doc>
479
+ <member name="invalid" value="0" c:identifier="GI_INFO_TYPE_INVALID">
480
+ <doc xml:whitespace="preserve">invalid type</doc>
481
+ </member>
482
+ <member name="function" value="1" c:identifier="GI_INFO_TYPE_FUNCTION">
483
+ <doc xml:whitespace="preserve">function, see #GIFunctionInfo</doc>
484
+ </member>
485
+ <member name="callback" value="2" c:identifier="GI_INFO_TYPE_CALLBACK">
486
+ <doc xml:whitespace="preserve">callback, see #GIFunctionInfo</doc>
487
+ </member>
488
+ <member name="struct" value="3" c:identifier="GI_INFO_TYPE_STRUCT">
489
+ <doc xml:whitespace="preserve">struct, see #GIStructInfo</doc>
490
+ </member>
491
+ <member name="boxed" value="4" c:identifier="GI_INFO_TYPE_BOXED">
492
+ <doc xml:whitespace="preserve">boxed, see #GIStructInfo or #GIUnionInfo</doc>
493
+ </member>
494
+ <member name="enum" value="5" c:identifier="GI_INFO_TYPE_ENUM">
495
+ <doc xml:whitespace="preserve">enum, see #GIEnumInfo</doc>
496
+ </member>
497
+ <member name="flags" value="6" c:identifier="GI_INFO_TYPE_FLAGS">
498
+ <doc xml:whitespace="preserve">flags, see #GIEnumInfo</doc>
499
+ </member>
500
+ <member name="object" value="7" c:identifier="GI_INFO_TYPE_OBJECT">
501
+ <doc xml:whitespace="preserve">object, see #GIObjectInfo</doc>
502
+ </member>
503
+ <member name="interface" value="8" c:identifier="GI_INFO_TYPE_INTERFACE">
504
+ <doc xml:whitespace="preserve">interface, see #GIInterfaceInfo</doc>
505
+ </member>
506
+ <member name="constant" value="9" c:identifier="GI_INFO_TYPE_CONSTANT">
507
+ <doc xml:whitespace="preserve">contant, see #GIConstantInfo</doc>
508
+ </member>
509
+ <member name="invalid_0"
510
+ value="10"
511
+ c:identifier="GI_INFO_TYPE_INVALID_0">
512
+ </member>
513
+ <member name="union" value="11" c:identifier="GI_INFO_TYPE_UNION">
514
+ <doc xml:whitespace="preserve">union, see #GIUnionInfo</doc>
515
+ </member>
516
+ <member name="value" value="12" c:identifier="GI_INFO_TYPE_VALUE">
517
+ <doc xml:whitespace="preserve">enum value, see #GIValueInfo</doc>
518
+ </member>
519
+ <member name="signal" value="13" c:identifier="GI_INFO_TYPE_SIGNAL">
520
+ <doc xml:whitespace="preserve">signal, see #GISignalInfo</doc>
521
+ </member>
522
+ <member name="vfunc" value="14" c:identifier="GI_INFO_TYPE_VFUNC">
523
+ <doc xml:whitespace="preserve">virtual function, see #GIVFuncInfo</doc>
524
+ </member>
525
+ <member name="property" value="15" c:identifier="GI_INFO_TYPE_PROPERTY">
526
+ <doc xml:whitespace="preserve">GObject property, see #GIPropertyInfo</doc>
527
+ </member>
528
+ <member name="field" value="16" c:identifier="GI_INFO_TYPE_FIELD">
529
+ <doc xml:whitespace="preserve">struct or union field, see #GIFieldInfo</doc>
530
+ </member>
531
+ <member name="arg" value="17" c:identifier="GI_INFO_TYPE_ARG">
532
+ <doc xml:whitespace="preserve">argument of a function or callback, see #GIArgInfo</doc>
533
+ </member>
534
+ <member name="type" value="18" c:identifier="GI_INFO_TYPE_TYPE">
535
+ <doc xml:whitespace="preserve">type information, see #GITypeInfo</doc>
536
+ </member>
537
+ <member name="unresolved"
538
+ value="19"
539
+ c:identifier="GI_INFO_TYPE_UNRESOLVED">
540
+ <doc xml:whitespace="preserve">unresolved type, a type which is not present in the typelib, or any of its dependencies.</doc>
541
+ </member>
542
+ </enumeration>
543
+ <callback name="ObjectInfoGetValueFunction"
544
+ c:type="GIObjectInfoGetValueFunction"
545
+ introspectable="0">
546
+ <doc xml:whitespace="preserve">Extract an object instance out of @value</doc>
547
+ <return-value transfer-ownership="full">
548
+ <doc xml:whitespace="preserve">the object instance</doc>
549
+ <type name="gpointer" c:type="void*"/>
550
+ </return-value>
551
+ <parameters>
552
+ <parameter name="value" transfer-ownership="none">
553
+ <doc xml:whitespace="preserve">a #GValue</doc>
554
+ <type name="GObject.Value" c:type="const GValue*"/>
555
+ </parameter>
556
+ </parameters>
557
+ </callback>
558
+ <callback name="ObjectInfoRefFunction"
559
+ c:type="GIObjectInfoRefFunction"
560
+ introspectable="0">
561
+ <doc xml:whitespace="preserve">Increases the reference count of an object instance.</doc>
562
+ <return-value transfer-ownership="full">
563
+ <doc xml:whitespace="preserve">the object instance</doc>
564
+ <type name="gpointer" c:type="void*"/>
565
+ </return-value>
566
+ <parameters>
567
+ <parameter name="object" transfer-ownership="none">
568
+ <doc xml:whitespace="preserve">object instance pointer</doc>
569
+ <type name="gpointer" c:type="void*"/>
570
+ </parameter>
571
+ </parameters>
572
+ </callback>
573
+ <callback name="ObjectInfoSetValueFunction"
574
+ c:type="GIObjectInfoSetValueFunction"
575
+ introspectable="0">
576
+ <doc xml:whitespace="preserve">Update @value and attach the object instance pointer @object to it.</doc>
577
+ <return-value transfer-ownership="none">
578
+ <type name="none" c:type="void"/>
579
+ </return-value>
580
+ <parameters>
581
+ <parameter name="value" transfer-ownership="none">
582
+ <doc xml:whitespace="preserve">a #GValue</doc>
583
+ <type name="GObject.Value" c:type="GValue*"/>
584
+ </parameter>
585
+ <parameter name="object" transfer-ownership="none">
586
+ <doc xml:whitespace="preserve">object instance pointer</doc>
587
+ <type name="gpointer" c:type="void*"/>
588
+ </parameter>
589
+ </parameters>
590
+ </callback>
591
+ <callback name="ObjectInfoUnrefFunction"
592
+ c:type="GIObjectInfoUnrefFunction"
593
+ introspectable="0">
594
+ <doc xml:whitespace="preserve">Decreases the reference count of an object instance.</doc>
595
+ <return-value transfer-ownership="none">
596
+ <type name="none" c:type="void"/>
597
+ </return-value>
598
+ <parameters>
599
+ <parameter name="object" transfer-ownership="none">
600
+ <doc xml:whitespace="preserve">object instance pointer</doc>
601
+ <type name="gpointer" c:type="void*"/>
602
+ </parameter>
603
+ </parameters>
604
+ </callback>
605
+ <class name="Repository"
606
+ c:symbol-prefix="irepository"
607
+ c:type="GIRepository"
608
+ parent="GObject.Object"
609
+ glib:type-name="GIRepository"
610
+ glib:get-type="g_irepository_get_type"
611
+ glib:type-struct="RepositoryClass">
612
+ <function name="dump" c:identifier="g_irepository_dump" throws="1">
613
+ <return-value transfer-ownership="none">
614
+ <type name="gboolean" c:type="gboolean"/>
615
+ </return-value>
616
+ <parameters>
617
+ <parameter name="arg" transfer-ownership="none">
618
+ <type name="utf8" c:type="const char*"/>
619
+ </parameter>
620
+ </parameters>
621
+ </function>
622
+ <function name="error_quark" c:identifier="g_irepository_error_quark">
623
+ <return-value transfer-ownership="none">
624
+ <type name="GLib.Quark" c:type="GQuark"/>
625
+ </return-value>
626
+ </function>
627
+ <function name="get_default" c:identifier="g_irepository_get_default">
628
+ <doc xml:whitespace="preserve">Returns the singleton process-global default #GIRepository. It is
629
+ not currently supported to have multiple repositories in a
630
+ particular process, but this function is provided in the unlikely
631
+ eventuality that it would become possible, and as a convenience for
632
+ higher level language bindings to conform to the GObject method
633
+ call conventions.
634
+
635
+ All methods on #GIRepository also accept %NULL as an instance
636
+ parameter to mean this default repository, which is usually more
637
+ convenient for C.</doc>
638
+ <return-value transfer-ownership="none">
639
+ <doc xml:whitespace="preserve">The global singleton #GIRepository</doc>
640
+ <type name="Repository" c:type="GIRepository*"/>
641
+ </return-value>
642
+ </function>
643
+ <function name="get_option_group"
644
+ c:identifier="g_irepository_get_option_group"
645
+ introspectable="0">
646
+ <doc xml:whitespace="preserve">Obtain the option group for girepository, it's used
647
+ by the dumper and for programs that wants to provide
648
+ introspection information</doc>
649
+ <return-value transfer-ownership="full">
650
+ <doc xml:whitespace="preserve">the option group</doc>
651
+ <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
652
+ </return-value>
653
+ </function>
654
+ <function name="get_search_path"
655
+ c:identifier="g_irepository_get_search_path">
656
+ <doc xml:whitespace="preserve">Returns the search path the GIRepository will use when looking for typelibs.
657
+ The string is internal to GIRespository and should not be freed, nor should
658
+ the elements.</doc>
659
+ <return-value transfer-ownership="none">
660
+ <doc xml:whitespace="preserve">list of strings</doc>
661
+ <type name="GLib.SList" c:type="GSList*">
662
+ <type name="filename"/>
663
+ </type>
664
+ </return-value>
665
+ </function>
666
+ <function name="prepend_library_path"
667
+ c:identifier="g_irepository_prepend_library_path">
668
+ <return-value transfer-ownership="none">
669
+ <type name="none" c:type="void"/>
670
+ </return-value>
671
+ <parameters>
672
+ <parameter name="directory" transfer-ownership="none">
673
+ <type name="utf8" c:type="const char*"/>
674
+ </parameter>
675
+ </parameters>
676
+ </function>
677
+ <function name="prepend_search_path"
678
+ c:identifier="g_irepository_prepend_search_path">
679
+ <return-value transfer-ownership="none">
680
+ <type name="none" c:type="void"/>
681
+ </return-value>
682
+ <parameters>
683
+ <parameter name="directory" transfer-ownership="none">
684
+ <type name="utf8" c:type="const char*"/>
685
+ </parameter>
686
+ </parameters>
687
+ </function>
688
+ <method name="enumerate_versions"
689
+ c:identifier="g_irepository_enumerate_versions">
690
+ <doc xml:whitespace="preserve">Obtain an unordered list of versions (either currently loaded or
691
+ available) for @namespace_ in this @repository.</doc>
692
+ <return-value transfer-ownership="full">
693
+ <doc xml:whitespace="preserve">the array of versions.</doc>
694
+ <type name="GLib.List" c:type="GList*">
695
+ <type name="utf8"/>
696
+ </type>
697
+ </return-value>
698
+ <parameters>
699
+ <instance-parameter name="repository"
700
+ transfer-ownership="none"
701
+ allow-none="1">
702
+ <doc xml:whitespace="preserve">the repository</doc>
703
+ <type name="Repository" c:type="GIRepository*"/>
704
+ </instance-parameter>
705
+ <parameter name="namespace_" transfer-ownership="none">
706
+ <doc xml:whitespace="preserve">GI namespace, e.g. "Gtk"</doc>
707
+ <type name="utf8" c:type="const gchar*"/>
708
+ </parameter>
709
+ </parameters>
710
+ </method>
711
+ <method name="find_by_error_domain"
712
+ c:identifier="g_irepository_find_by_error_domain"
713
+ version="1.29.17">
714
+ <doc xml:whitespace="preserve">Searches for the enum type corresponding to the given #GError
715
+ domain. Before calling this function for a particular namespace,
716
+ you must call g_irepository_require() once to load the namespace, or
717
+ otherwise ensure the namespace has already been loaded.</doc>
718
+ <return-value transfer-ownership="full">
719
+ <doc xml:whitespace="preserve">#GIEnumInfo representing metadata about @domain's enum type, or %NULL</doc>
720
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
721
+ </return-value>
722
+ <parameters>
723
+ <instance-parameter name="repository"
724
+ transfer-ownership="none"
725
+ allow-none="1">
726
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
727
+ <type name="Repository" c:type="GIRepository*"/>
728
+ </instance-parameter>
729
+ <parameter name="domain" transfer-ownership="none">
730
+ <doc xml:whitespace="preserve">a #GError domain</doc>
731
+ <type name="GLib.Quark" c:type="GQuark"/>
732
+ </parameter>
733
+ </parameters>
734
+ </method>
735
+ <method name="find_by_gtype" c:identifier="g_irepository_find_by_gtype">
736
+ <doc xml:whitespace="preserve">Searches all loaded namespaces for a particular #GType. Note that
737
+ in order to locate the metadata, the namespace corresponding to
738
+ the type must first have been loaded. There is currently no
739
+ mechanism for determining the namespace which corresponds to an
740
+ arbitrary GType - thus, this function will operate most reliably
741
+ when you know the GType to originate from be from a loaded namespace.</doc>
742
+ <return-value transfer-ownership="full">
743
+ <doc xml:whitespace="preserve">#GIBaseInfo representing metadata about @type, or %NULL</doc>
744
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
745
+ </return-value>
746
+ <parameters>
747
+ <instance-parameter name="repository"
748
+ transfer-ownership="none"
749
+ allow-none="1">
750
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
751
+ <type name="Repository" c:type="GIRepository*"/>
752
+ </instance-parameter>
753
+ <parameter name="gtype" transfer-ownership="none">
754
+ <doc xml:whitespace="preserve">GType to search for</doc>
755
+ <type name="GType" c:type="GType"/>
756
+ </parameter>
757
+ </parameters>
758
+ </method>
759
+ <method name="find_by_name" c:identifier="g_irepository_find_by_name">
760
+ <doc xml:whitespace="preserve">Searches for a particular entry in a namespace. Before calling
761
+ this function for a particular namespace, you must call
762
+ g_irepository_require() once to load the namespace, or otherwise
763
+ ensure the namespace has already been loaded.</doc>
764
+ <return-value transfer-ownership="full">
765
+ <doc xml:whitespace="preserve">#GIBaseInfo representing metadata about @name, or %NULL</doc>
766
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
767
+ </return-value>
768
+ <parameters>
769
+ <instance-parameter name="repository"
770
+ transfer-ownership="none"
771
+ allow-none="1">
772
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
773
+ <type name="Repository" c:type="GIRepository*"/>
774
+ </instance-parameter>
775
+ <parameter name="namespace_" transfer-ownership="none">
776
+ <doc xml:whitespace="preserve">Namespace which will be searched</doc>
777
+ <type name="utf8" c:type="const gchar*"/>
778
+ </parameter>
779
+ <parameter name="name" transfer-ownership="none">
780
+ <doc xml:whitespace="preserve">Entry name to find</doc>
781
+ <type name="utf8" c:type="const gchar*"/>
782
+ </parameter>
783
+ </parameters>
784
+ </method>
785
+ <method name="get_c_prefix" c:identifier="g_irepository_get_c_prefix">
786
+ <doc xml:whitespace="preserve">This function returns the "C prefix", or the C level namespace
787
+ associated with the given introspection namespace. Each C symbol
788
+ starts with this prefix, as well each #GType in the library.
789
+
790
+ Note: The namespace must have already been loaded using a function
791
+ such as g_irepository_require() before calling this function.</doc>
792
+ <return-value transfer-ownership="none">
793
+ <doc xml:whitespace="preserve">C namespace prefix, or %NULL if none associated</doc>
794
+ <type name="utf8" c:type="const gchar*"/>
795
+ </return-value>
796
+ <parameters>
797
+ <instance-parameter name="repository"
798
+ transfer-ownership="none"
799
+ allow-none="1">
800
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
801
+ <type name="Repository" c:type="GIRepository*"/>
802
+ </instance-parameter>
803
+ <parameter name="namespace_" transfer-ownership="none">
804
+ <doc xml:whitespace="preserve">Namespace to inspect</doc>
805
+ <type name="utf8" c:type="const gchar*"/>
806
+ </parameter>
807
+ </parameters>
808
+ </method>
809
+ <method name="get_dependencies"
810
+ c:identifier="g_irepository_get_dependencies">
811
+ <doc xml:whitespace="preserve">Return an array of all (transitive) dependencies for namespace
812
+ @namespace_, including version. The returned strings are of the
813
+ form &lt;code&gt;namespace-version&lt;/code&gt;.
814
+
815
+ Note: The namespace must have already been loaded using a function
816
+ such as g_irepository_require() before calling this function.</doc>
817
+ <return-value transfer-ownership="full">
818
+ <doc xml:whitespace="preserve">Zero-terminated string array of versioned dependencies</doc>
819
+ <array c:type="gchar**">
820
+ <type name="utf8"/>
821
+ </array>
822
+ </return-value>
823
+ <parameters>
824
+ <instance-parameter name="repository"
825
+ transfer-ownership="none"
826
+ allow-none="1">
827
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
828
+ <type name="Repository" c:type="GIRepository*"/>
829
+ </instance-parameter>
830
+ <parameter name="namespace_" transfer-ownership="none">
831
+ <doc xml:whitespace="preserve">Namespace of interest</doc>
832
+ <type name="utf8" c:type="const gchar*"/>
833
+ </parameter>
834
+ </parameters>
835
+ </method>
836
+ <method name="get_info" c:identifier="g_irepository_get_info">
837
+ <doc xml:whitespace="preserve">This function returns a particular metadata entry in the
838
+ given namespace @namespace_. The namespace must have
839
+ already been loaded before calling this function.
840
+ See g_irepository_get_n_infos() to find the maximum number of
841
+ entries.</doc>
842
+ <return-value transfer-ownership="full">
843
+ <doc xml:whitespace="preserve">#GIBaseInfo containing metadata</doc>
844
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
845
+ </return-value>
846
+ <parameters>
847
+ <instance-parameter name="repository"
848
+ transfer-ownership="none"
849
+ allow-none="1">
850
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
851
+ <type name="Repository" c:type="GIRepository*"/>
852
+ </instance-parameter>
853
+ <parameter name="namespace_" transfer-ownership="none">
854
+ <doc xml:whitespace="preserve">Namespace to inspect</doc>
855
+ <type name="utf8" c:type="const gchar*"/>
856
+ </parameter>
857
+ <parameter name="index" transfer-ownership="none">
858
+ <doc xml:whitespace="preserve">0-based offset into namespace metadata for entry</doc>
859
+ <type name="gint" c:type="gint"/>
860
+ </parameter>
861
+ </parameters>
862
+ </method>
863
+ <method name="get_loaded_namespaces"
864
+ c:identifier="g_irepository_get_loaded_namespaces">
865
+ <doc xml:whitespace="preserve">Return the list of currently loaded namespaces.</doc>
866
+ <return-value transfer-ownership="full">
867
+ <doc xml:whitespace="preserve">List of namespaces</doc>
868
+ <array c:type="gchar**">
869
+ <type name="utf8"/>
870
+ </array>
871
+ </return-value>
872
+ <parameters>
873
+ <instance-parameter name="repository"
874
+ transfer-ownership="none"
875
+ allow-none="1">
876
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
877
+ <type name="Repository" c:type="GIRepository*"/>
878
+ </instance-parameter>
879
+ </parameters>
880
+ </method>
881
+ <method name="get_n_infos" c:identifier="g_irepository_get_n_infos">
882
+ <doc xml:whitespace="preserve">This function returns the number of metadata entries in
883
+ given namespace @namespace_. The namespace must have
884
+ already been loaded before calling this function.</doc>
885
+ <return-value transfer-ownership="none">
886
+ <doc xml:whitespace="preserve">number of metadata entries</doc>
887
+ <type name="gint" c:type="gint"/>
888
+ </return-value>
889
+ <parameters>
890
+ <instance-parameter name="repository"
891
+ transfer-ownership="none"
892
+ allow-none="1">
893
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
894
+ <type name="Repository" c:type="GIRepository*"/>
895
+ </instance-parameter>
896
+ <parameter name="namespace_" transfer-ownership="none">
897
+ <doc xml:whitespace="preserve">Namespace to inspect</doc>
898
+ <type name="utf8" c:type="const gchar*"/>
899
+ </parameter>
900
+ </parameters>
901
+ </method>
902
+ <method name="get_shared_library"
903
+ c:identifier="g_irepository_get_shared_library">
904
+ <doc xml:whitespace="preserve">This function returns the full path to the shared C library
905
+ associated with the given namespace @namespace_. There may be no
906
+ shared library path associated, in which case this function will
907
+ return %NULL.
908
+
909
+ Note: The namespace must have already been loaded using a function
910
+ such as g_irepository_require() before calling this function.</doc>
911
+ <return-value transfer-ownership="none">
912
+ <doc xml:whitespace="preserve">Full path to shared library, or %NULL if none associated</doc>
913
+ <type name="utf8" c:type="const gchar*"/>
914
+ </return-value>
915
+ <parameters>
916
+ <instance-parameter name="repository"
917
+ transfer-ownership="none"
918
+ allow-none="1">
919
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
920
+ <type name="Repository" c:type="GIRepository*"/>
921
+ </instance-parameter>
922
+ <parameter name="namespace_" transfer-ownership="none">
923
+ <doc xml:whitespace="preserve">Namespace to inspect</doc>
924
+ <type name="utf8" c:type="const gchar*"/>
925
+ </parameter>
926
+ </parameters>
927
+ </method>
928
+ <method name="get_typelib_path"
929
+ c:identifier="g_irepository_get_typelib_path">
930
+ <doc xml:whitespace="preserve">If namespace @namespace_ is loaded, return the full path to the
931
+ .typelib file it was loaded from. If the typelib for
932
+ namespace @namespace_ was included in a shared library, return
933
+ the special string "$lt;builtin$gt;".</doc>
934
+ <return-value transfer-ownership="none">
935
+ <doc xml:whitespace="preserve">Filesystem path (or $lt;builtin$gt;) if successful, %NULL if namespace is not loaded</doc>
936
+ <type name="utf8" c:type="const gchar*"/>
937
+ </return-value>
938
+ <parameters>
939
+ <instance-parameter name="repository"
940
+ transfer-ownership="none"
941
+ allow-none="1">
942
+ <doc xml:whitespace="preserve">Repository, may be %NULL for the default</doc>
943
+ <type name="Repository" c:type="GIRepository*"/>
944
+ </instance-parameter>
945
+ <parameter name="namespace_" transfer-ownership="none">
946
+ <doc xml:whitespace="preserve">GI namespace to use, e.g. "Gtk"</doc>
947
+ <type name="utf8" c:type="const gchar*"/>
948
+ </parameter>
949
+ </parameters>
950
+ </method>
951
+ <method name="get_version" c:identifier="g_irepository_get_version">
952
+ <doc xml:whitespace="preserve">This function returns the loaded version associated with the given
953
+ namespace @namespace_.
954
+
955
+ Note: The namespace must have already been loaded using a function
956
+ such as g_irepository_require() before calling this function.</doc>
957
+ <return-value transfer-ownership="none">
958
+ <doc xml:whitespace="preserve">Loaded version</doc>
959
+ <type name="utf8" c:type="const gchar*"/>
960
+ </return-value>
961
+ <parameters>
962
+ <instance-parameter name="repository"
963
+ transfer-ownership="none"
964
+ allow-none="1">
965
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
966
+ <type name="Repository" c:type="GIRepository*"/>
967
+ </instance-parameter>
968
+ <parameter name="namespace_" transfer-ownership="none">
969
+ <doc xml:whitespace="preserve">Namespace to inspect</doc>
970
+ <type name="utf8" c:type="const gchar*"/>
971
+ </parameter>
972
+ </parameters>
973
+ </method>
974
+ <method name="is_registered" c:identifier="g_irepository_is_registered">
975
+ <doc xml:whitespace="preserve">Check whether a particular namespace (and optionally, a specific
976
+ version thereof) is currently loaded. This function is likely to
977
+ only be useful in unusual circumstances; in order to act upon
978
+ metadata in the namespace, you should call g_irepository_require()
979
+ instead which will ensure the namespace is loaded, and return as
980
+ quickly as this function will if it has already been loaded.</doc>
981
+ <return-value transfer-ownership="none">
982
+ <doc xml:whitespace="preserve">%TRUE if namespace-version is loaded, %FALSE otherwise</doc>
983
+ <type name="gboolean" c:type="gboolean"/>
984
+ </return-value>
985
+ <parameters>
986
+ <instance-parameter name="repository"
987
+ transfer-ownership="none"
988
+ allow-none="1">
989
+ <doc xml:whitespace="preserve">A #GIRepository, may be %NULL for the default</doc>
990
+ <type name="Repository" c:type="GIRepository*"/>
991
+ </instance-parameter>
992
+ <parameter name="namespace_" transfer-ownership="none">
993
+ <doc xml:whitespace="preserve">Namespace of interest</doc>
994
+ <type name="utf8" c:type="const gchar*"/>
995
+ </parameter>
996
+ <parameter name="version" transfer-ownership="none" allow-none="1">
997
+ <doc xml:whitespace="preserve">Required version, may be %NULL for latest</doc>
998
+ <type name="utf8" c:type="const gchar*"/>
999
+ </parameter>
1000
+ </parameters>
1001
+ </method>
1002
+ <method name="load_typelib"
1003
+ c:identifier="g_irepository_load_typelib"
1004
+ throws="1">
1005
+ <return-value transfer-ownership="none">
1006
+ <type name="utf8" c:type="const char*"/>
1007
+ </return-value>
1008
+ <parameters>
1009
+ <instance-parameter name="repository" transfer-ownership="none">
1010
+ <type name="Repository" c:type="GIRepository*"/>
1011
+ </instance-parameter>
1012
+ <parameter name="typelib" transfer-ownership="none">
1013
+ <type name="Typelib" c:type="GITypelib*"/>
1014
+ </parameter>
1015
+ <parameter name="flags" transfer-ownership="none">
1016
+ <type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
1017
+ </parameter>
1018
+ </parameters>
1019
+ </method>
1020
+ <method name="require" c:identifier="g_irepository_require" throws="1">
1021
+ <doc xml:whitespace="preserve">Force the namespace @namespace_ to be loaded if it isn't already.
1022
+ If @namespace_ is not loaded, this function will search for a
1023
+ ".typelib" file using the repository search path. In addition, a
1024
+ version @version of namespace may be specified. If @version is
1025
+ not specified, the latest will be used.</doc>
1026
+ <return-value transfer-ownership="none">
1027
+ <doc xml:whitespace="preserve">a pointer to the #GITypelib if successful, %NULL otherwise</doc>
1028
+ <type name="Typelib" c:type="GITypelib*"/>
1029
+ </return-value>
1030
+ <parameters>
1031
+ <instance-parameter name="repository"
1032
+ transfer-ownership="none"
1033
+ allow-none="1">
1034
+ <doc xml:whitespace="preserve">Repository, may be %NULL for the default</doc>
1035
+ <type name="Repository" c:type="GIRepository*"/>
1036
+ </instance-parameter>
1037
+ <parameter name="namespace_" transfer-ownership="none">
1038
+ <doc xml:whitespace="preserve">GI namespace to use, e.g. "Gtk"</doc>
1039
+ <type name="utf8" c:type="const gchar*"/>
1040
+ </parameter>
1041
+ <parameter name="version" transfer-ownership="none" allow-none="1">
1042
+ <doc xml:whitespace="preserve">Version of namespace, may be %NULL for latest</doc>
1043
+ <type name="utf8" c:type="const gchar*"/>
1044
+ </parameter>
1045
+ <parameter name="flags" transfer-ownership="none">
1046
+ <doc xml:whitespace="preserve">Set of %GIRepositoryLoadFlags, may be 0</doc>
1047
+ <type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
1048
+ </parameter>
1049
+ </parameters>
1050
+ </method>
1051
+ <method name="require_private"
1052
+ c:identifier="g_irepository_require_private"
1053
+ throws="1">
1054
+ <doc xml:whitespace="preserve">Force the namespace @namespace_ to be loaded if it isn't already.
1055
+ If @namespace_ is not loaded, this function will search for a
1056
+ ".typelib" file within the private directory only. In addition, a
1057
+ version @version of namespace should be specified. If @version is
1058
+ not specified, the latest will be used.</doc>
1059
+ <return-value transfer-ownership="none">
1060
+ <doc xml:whitespace="preserve">a pointer to the #GITypelib if successful, %NULL otherwise</doc>
1061
+ <type name="Typelib" c:type="GITypelib*"/>
1062
+ </return-value>
1063
+ <parameters>
1064
+ <instance-parameter name="repository"
1065
+ transfer-ownership="none"
1066
+ allow-none="1">
1067
+ <doc xml:whitespace="preserve">Repository, may be %NULL for the default</doc>
1068
+ <type name="Repository" c:type="GIRepository*"/>
1069
+ </instance-parameter>
1070
+ <parameter name="typelib_dir" transfer-ownership="none">
1071
+ <doc xml:whitespace="preserve">Private directory where to find the requested typelib</doc>
1072
+ <type name="utf8" c:type="const gchar*"/>
1073
+ </parameter>
1074
+ <parameter name="namespace_" transfer-ownership="none">
1075
+ <doc xml:whitespace="preserve">GI namespace to use, e.g. "Gtk"</doc>
1076
+ <type name="utf8" c:type="const gchar*"/>
1077
+ </parameter>
1078
+ <parameter name="version" transfer-ownership="none" allow-none="1">
1079
+ <doc xml:whitespace="preserve">Version of namespace, may be %NULL for latest</doc>
1080
+ <type name="utf8" c:type="const gchar*"/>
1081
+ </parameter>
1082
+ <parameter name="flags" transfer-ownership="none">
1083
+ <doc xml:whitespace="preserve">Set of %GIRepositoryLoadFlags, may be 0</doc>
1084
+ <type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
1085
+ </parameter>
1086
+ </parameters>
1087
+ </method>
1088
+ <field name="parent">
1089
+ <type name="GObject.Object" c:type="GObject"/>
1090
+ </field>
1091
+ <field name="priv" readable="0" private="1">
1092
+ <type name="RepositoryPrivate" c:type="GIRepositoryPrivate*"/>
1093
+ </field>
1094
+ </class>
1095
+ <record name="RepositoryClass"
1096
+ c:type="GIRepositoryClass"
1097
+ glib:is-gtype-struct-for="Repository">
1098
+ <field name="parent">
1099
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1100
+ </field>
1101
+ </record>
1102
+ <enumeration name="RepositoryError" c:type="GIRepositoryError">
1103
+ <member name="typelib_not_found"
1104
+ value="0"
1105
+ c:identifier="G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND">
1106
+ <doc xml:whitespace="preserve">the typelib could not be found.</doc>
1107
+ </member>
1108
+ <member name="namespace_mismatch"
1109
+ value="1"
1110
+ c:identifier="G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH">
1111
+ <doc xml:whitespace="preserve">the namespace does not match the requested namespace.</doc>
1112
+ </member>
1113
+ <member name="namespace_version_conflict"
1114
+ value="2"
1115
+ c:identifier="G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT">
1116
+ <doc xml:whitespace="preserve">the version of the typelib does not match the requested version.</doc>
1117
+ </member>
1118
+ <member name="library_not_found"
1119
+ value="3"
1120
+ c:identifier="G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND">
1121
+ <doc xml:whitespace="preserve">the library used by the typelib could not be found.</doc>
1122
+ </member>
1123
+ </enumeration>
1124
+ <bitfield name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags">
1125
+ <doc xml:whitespace="preserve">Flags that controlls how a typelib is loaded by
1126
+ GIRepositry, used by g_irepository_load_typelib().</doc>
1127
+ <member name="irepository_load_flag_lazy"
1128
+ value="1"
1129
+ c:identifier="G_IREPOSITORY_LOAD_FLAG_LAZY">
1130
+ <doc xml:whitespace="preserve">Load the types lazily.</doc>
1131
+ </member>
1132
+ </bitfield>
1133
+ <record name="RepositoryPrivate"
1134
+ c:type="GIRepositoryPrivate"
1135
+ disguised="1">
1136
+ </record>
1137
+ <enumeration name="ScopeType" c:type="GIScopeType">
1138
+ <doc xml:whitespace="preserve">Scope type of a #GIArgInfo representing callback, determines how the
1139
+ callback is invoked and is used to decided when the invoke structs
1140
+ can be freed.</doc>
1141
+ <member name="invalid" value="0" c:identifier="GI_SCOPE_TYPE_INVALID">
1142
+ <doc xml:whitespace="preserve">The argument is not of callback type.</doc>
1143
+ </member>
1144
+ <member name="call" value="1" c:identifier="GI_SCOPE_TYPE_CALL">
1145
+ <doc xml:whitespace="preserve">The callback and associated user_data is only used during the call to this function.</doc>
1146
+ </member>
1147
+ <member name="async" value="2" c:identifier="GI_SCOPE_TYPE_ASYNC">
1148
+ <doc xml:whitespace="preserve">The callback and associated user_data is only used until the callback is invoked, and the callback. is invoked always exactly once.</doc>
1149
+ </member>
1150
+ <member name="notified" value="3" c:identifier="GI_SCOPE_TYPE_NOTIFIED">
1151
+ <doc xml:whitespace="preserve">The callback and and associated user_data is used until the caller is notfied via the destroy_notify.</doc>
1152
+ </member>
1153
+ </enumeration>
1154
+ <enumeration name="Transfer" c:type="GITransfer">
1155
+ <doc xml:whitespace="preserve">The transfer is the exchange of data between two parts, from the callee to
1156
+ the caller. The callee is either a function/method/signal or an
1157
+ object/interface where a property is defined. The caller is the side
1158
+ accessing a property or calling a function.
1159
+ #GITransfer specifies who's responsible for freeing the resources after the
1160
+ ownership transfer is complete. In case of a containing type such as a list,
1161
+ an array or a hash table the container itself is specified differently from
1162
+ the items within the container itself. Each container is freed differently,
1163
+ check the documentation for the types themselves for information on how to
1164
+ free them.</doc>
1165
+ <member name="nothing" value="0" c:identifier="GI_TRANSFER_NOTHING">
1166
+ <doc xml:whitespace="preserve">transfer nothing from the callee (function or the type instance the property belongs to) to the caller. The callee retains the ownership of the transfer and the caller doesn't need to do anything to free up the resources of this transfer.</doc>
1167
+ </member>
1168
+ <member name="container" value="1" c:identifier="GI_TRANSFER_CONTAINER">
1169
+ <doc xml:whitespace="preserve">transfer the container (list, array, hash table) from the callee to the caller. The callee retains the ownership of the individual items in the container and the caller has to free up the container resources (g_list_free()/g_hash_table_destroy() etc) of this transfer.</doc>
1170
+ </member>
1171
+ <member name="everything"
1172
+ value="2"
1173
+ c:identifier="GI_TRANSFER_EVERYTHING">
1174
+ <doc xml:whitespace="preserve">transfer everything, eg the container and its contents from the callee to the caller. This is the case when the callee creates a copy of all the data it returns. The caller is responsible for cleaning up the container and item resources of this transfer.</doc>
1175
+ </member>
1176
+ </enumeration>
1177
+ <enumeration name="TypeTag" c:type="GITypeTag">
1178
+ <doc xml:whitespace="preserve">The type tag of a #GITypeInfo.</doc>
1179
+ <member name="void" value="0" c:identifier="GI_TYPE_TAG_VOID">
1180
+ <doc xml:whitespace="preserve">void</doc>
1181
+ </member>
1182
+ <member name="boolean" value="1" c:identifier="GI_TYPE_TAG_BOOLEAN">
1183
+ <doc xml:whitespace="preserve">boolean</doc>
1184
+ </member>
1185
+ <member name="int8" value="2" c:identifier="GI_TYPE_TAG_INT8">
1186
+ <doc xml:whitespace="preserve">8-bit signed integer</doc>
1187
+ </member>
1188
+ <member name="uint8" value="3" c:identifier="GI_TYPE_TAG_UINT8">
1189
+ <doc xml:whitespace="preserve">8-bit unsigned integer</doc>
1190
+ </member>
1191
+ <member name="int16" value="4" c:identifier="GI_TYPE_TAG_INT16">
1192
+ <doc xml:whitespace="preserve">16-bit signed integer</doc>
1193
+ </member>
1194
+ <member name="uint16" value="5" c:identifier="GI_TYPE_TAG_UINT16">
1195
+ <doc xml:whitespace="preserve">16-bit unsigned integer</doc>
1196
+ </member>
1197
+ <member name="int32" value="6" c:identifier="GI_TYPE_TAG_INT32">
1198
+ <doc xml:whitespace="preserve">32-bit signed integer</doc>
1199
+ </member>
1200
+ <member name="uint32" value="7" c:identifier="GI_TYPE_TAG_UINT32">
1201
+ <doc xml:whitespace="preserve">32-bit unsigned integer</doc>
1202
+ </member>
1203
+ <member name="int64" value="8" c:identifier="GI_TYPE_TAG_INT64">
1204
+ <doc xml:whitespace="preserve">64-bit signed integer</doc>
1205
+ </member>
1206
+ <member name="uint64" value="9" c:identifier="GI_TYPE_TAG_UINT64">
1207
+ <doc xml:whitespace="preserve">64-bit unsigned integer</doc>
1208
+ </member>
1209
+ <member name="float" value="10" c:identifier="GI_TYPE_TAG_FLOAT">
1210
+ <doc xml:whitespace="preserve">float</doc>
1211
+ </member>
1212
+ <member name="double" value="11" c:identifier="GI_TYPE_TAG_DOUBLE">
1213
+ <doc xml:whitespace="preserve">double floating point</doc>
1214
+ </member>
1215
+ <member name="gtype" value="12" c:identifier="GI_TYPE_TAG_GTYPE">
1216
+ <doc xml:whitespace="preserve">a #GType</doc>
1217
+ </member>
1218
+ <member name="utf8" value="13" c:identifier="GI_TYPE_TAG_UTF8">
1219
+ <doc xml:whitespace="preserve">a UTF-8 encoded string</doc>
1220
+ </member>
1221
+ <member name="filename" value="14" c:identifier="GI_TYPE_TAG_FILENAME">
1222
+ <doc xml:whitespace="preserve">a filename, encoded in the same encoding as the native filesystem is using.</doc>
1223
+ </member>
1224
+ <member name="array" value="15" c:identifier="GI_TYPE_TAG_ARRAY">
1225
+ <doc xml:whitespace="preserve">an array</doc>
1226
+ </member>
1227
+ <member name="interface" value="16" c:identifier="GI_TYPE_TAG_INTERFACE">
1228
+ <doc xml:whitespace="preserve">an extended interface object</doc>
1229
+ </member>
1230
+ <member name="glist" value="17" c:identifier="GI_TYPE_TAG_GLIST">
1231
+ <doc xml:whitespace="preserve">a #GList</doc>
1232
+ </member>
1233
+ <member name="gslist" value="18" c:identifier="GI_TYPE_TAG_GSLIST">
1234
+ <doc xml:whitespace="preserve">a #GSList</doc>
1235
+ </member>
1236
+ <member name="ghash" value="19" c:identifier="GI_TYPE_TAG_GHASH">
1237
+ <doc xml:whitespace="preserve">a #GHashTable</doc>
1238
+ </member>
1239
+ <member name="error" value="20" c:identifier="GI_TYPE_TAG_ERROR">
1240
+ <doc xml:whitespace="preserve">a #GError</doc>
1241
+ </member>
1242
+ <member name="unichar" value="21" c:identifier="GI_TYPE_TAG_UNICHAR">
1243
+ <doc xml:whitespace="preserve">Unicode character</doc>
1244
+ </member>
1245
+ </enumeration>
1246
+ <record name="Typelib" c:type="GITypelib" disguised="1">
1247
+ <method name="free" c:identifier="g_typelib_free">
1248
+ <return-value transfer-ownership="none">
1249
+ <type name="none" c:type="void"/>
1250
+ </return-value>
1251
+ <parameters>
1252
+ <instance-parameter name="typelib" transfer-ownership="none">
1253
+ <type name="Typelib" c:type="GITypelib*"/>
1254
+ </instance-parameter>
1255
+ </parameters>
1256
+ </method>
1257
+ <method name="get_namespace" c:identifier="g_typelib_get_namespace">
1258
+ <return-value transfer-ownership="none">
1259
+ <type name="utf8" c:type="const gchar*"/>
1260
+ </return-value>
1261
+ <parameters>
1262
+ <instance-parameter name="typelib" transfer-ownership="none">
1263
+ <type name="Typelib" c:type="GITypelib*"/>
1264
+ </instance-parameter>
1265
+ </parameters>
1266
+ </method>
1267
+ <method name="symbol" c:identifier="g_typelib_symbol">
1268
+ <return-value transfer-ownership="none">
1269
+ <type name="gboolean" c:type="gboolean"/>
1270
+ </return-value>
1271
+ <parameters>
1272
+ <instance-parameter name="typelib" transfer-ownership="none">
1273
+ <type name="Typelib" c:type="GITypelib*"/>
1274
+ </instance-parameter>
1275
+ <parameter name="symbol_name" transfer-ownership="none">
1276
+ <type name="utf8" c:type="const gchar*"/>
1277
+ </parameter>
1278
+ <parameter name="symbol" transfer-ownership="none">
1279
+ <type name="gpointer" c:type="gpointer*"/>
1280
+ </parameter>
1281
+ </parameters>
1282
+ </method>
1283
+ <function name="new_from_const_memory"
1284
+ c:identifier="g_typelib_new_from_const_memory"
1285
+ introspectable="0"
1286
+ throws="1">
1287
+ <return-value>
1288
+ <type name="Typelib" c:type="GITypelib*"/>
1289
+ </return-value>
1290
+ <parameters>
1291
+ <parameter name="memory" transfer-ownership="none">
1292
+ <type name="guint8" c:type="const guint8*"/>
1293
+ </parameter>
1294
+ <parameter name="len" transfer-ownership="none">
1295
+ <type name="gsize" c:type="gsize"/>
1296
+ </parameter>
1297
+ </parameters>
1298
+ </function>
1299
+ <function name="new_from_mapped_file"
1300
+ c:identifier="g_typelib_new_from_mapped_file"
1301
+ introspectable="0"
1302
+ throws="1">
1303
+ <return-value>
1304
+ <type name="Typelib" c:type="GITypelib*"/>
1305
+ </return-value>
1306
+ <parameters>
1307
+ <parameter name="mfile" transfer-ownership="none">
1308
+ <type name="GLib.MappedFile" c:type="GMappedFile*"/>
1309
+ </parameter>
1310
+ </parameters>
1311
+ </function>
1312
+ <function name="new_from_memory"
1313
+ c:identifier="g_typelib_new_from_memory"
1314
+ introspectable="0"
1315
+ throws="1">
1316
+ <return-value>
1317
+ <type name="Typelib" c:type="GITypelib*"/>
1318
+ </return-value>
1319
+ <parameters>
1320
+ <parameter name="memory" transfer-ownership="none">
1321
+ <type name="guint8" c:type="guint8*"/>
1322
+ </parameter>
1323
+ <parameter name="len" transfer-ownership="none">
1324
+ <type name="gsize" c:type="gsize"/>
1325
+ </parameter>
1326
+ </parameters>
1327
+ </function>
1328
+ </record>
1329
+ <record name="UnresolvedInfo" c:type="GIUnresolvedInfo" disguised="1">
1330
+ <doc xml:whitespace="preserve">Represents a unresolved type in a typelib.</doc>
1331
+ </record>
1332
+ <bitfield name="VFuncInfoFlags" c:type="GIVFuncInfoFlags">
1333
+ <doc xml:whitespace="preserve">Flags of a #GIVFuncInfo struct.</doc>
1334
+ <member name="must_chain_up"
1335
+ value="1"
1336
+ c:identifier="GI_VFUNC_MUST_CHAIN_UP">
1337
+ <doc xml:whitespace="preserve">chains up to the parent type</doc>
1338
+ </member>
1339
+ <member name="must_override"
1340
+ value="2"
1341
+ c:identifier="GI_VFUNC_MUST_OVERRIDE">
1342
+ <doc xml:whitespace="preserve">overrides</doc>
1343
+ </member>
1344
+ <member name="must_not_override"
1345
+ value="4"
1346
+ c:identifier="GI_VFUNC_MUST_NOT_OVERRIDE">
1347
+ <doc xml:whitespace="preserve">does not override</doc>
1348
+ </member>
1349
+ <member name="throws" value="8" c:identifier="GI_VFUNC_THROWS">
1350
+ <doc xml:whitespace="preserve">Includes a #GError</doc>
1351
+ </member>
1352
+ </bitfield>
1353
+ <record name="_BaseInfoStub" c:type="_GIBaseInfoStub">
1354
+ <field name="dummy1" readable="0" private="1">
1355
+ <type name="gint32" c:type="gint32"/>
1356
+ </field>
1357
+ <field name="dummy2" readable="0" private="1">
1358
+ <type name="gint32" c:type="gint32"/>
1359
+ </field>
1360
+ <field name="dummy3" readable="0" private="1">
1361
+ <type name="gpointer" c:type="gpointer"/>
1362
+ </field>
1363
+ <field name="dummy4" readable="0" private="1">
1364
+ <type name="gpointer" c:type="gpointer"/>
1365
+ </field>
1366
+ <field name="dummy5" readable="0" private="1">
1367
+ <type name="gpointer" c:type="gpointer"/>
1368
+ </field>
1369
+ <field name="dummy6" readable="0" private="1">
1370
+ <type name="guint32" c:type="guint32"/>
1371
+ </field>
1372
+ <field name="dummy7" readable="0" private="1">
1373
+ <type name="guint32" c:type="guint32"/>
1374
+ </field>
1375
+ <field name="padding" readable="0" private="1">
1376
+ <array zero-terminated="0" c:type="gpointer" fixed-size="4">
1377
+ <type name="gpointer" c:type="gpointer"/>
1378
+ </array>
1379
+ </field>
1380
+ </record>
1381
+ <function name="arg_info_get_closure"
1382
+ c:identifier="g_arg_info_get_closure">
1383
+ <doc xml:whitespace="preserve">Obtain the index of the user data argument. This is only valid
1384
+ for arguments which are callbacks.</doc>
1385
+ <return-value transfer-ownership="none">
1386
+ <doc xml:whitespace="preserve">index of the user data argument or -1 if there is none</doc>
1387
+ <type name="gint" c:type="gint"/>
1388
+ </return-value>
1389
+ <parameters>
1390
+ <parameter name="info" transfer-ownership="none">
1391
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1392
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1393
+ </parameter>
1394
+ </parameters>
1395
+ </function>
1396
+ <function name="arg_info_get_destroy"
1397
+ c:identifier="g_arg_info_get_destroy">
1398
+ <doc xml:whitespace="preserve">Obtains the index of the #GDestroyNotify argument. This is only valid
1399
+ for arguments which are callbacks.</doc>
1400
+ <return-value transfer-ownership="none">
1401
+ <doc xml:whitespace="preserve">index of the #GDestroyNotify argument or -1 if there is none</doc>
1402
+ <type name="gint" c:type="gint"/>
1403
+ </return-value>
1404
+ <parameters>
1405
+ <parameter name="info" transfer-ownership="none">
1406
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1407
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1408
+ </parameter>
1409
+ </parameters>
1410
+ </function>
1411
+ <function name="arg_info_get_direction"
1412
+ c:identifier="g_arg_info_get_direction">
1413
+ <doc xml:whitespace="preserve">Obtain the direction of the argument. Check #GIDirection for possible
1414
+ direction values.</doc>
1415
+ <return-value transfer-ownership="none">
1416
+ <doc xml:whitespace="preserve">the direction</doc>
1417
+ <type name="Direction" c:type="GIDirection"/>
1418
+ </return-value>
1419
+ <parameters>
1420
+ <parameter name="info" transfer-ownership="none">
1421
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1422
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1423
+ </parameter>
1424
+ </parameters>
1425
+ </function>
1426
+ <function name="arg_info_get_ownership_transfer"
1427
+ c:identifier="g_arg_info_get_ownership_transfer">
1428
+ <doc xml:whitespace="preserve">Obtain the ownership transfer for this argument.
1429
+ #GITransfer contains a list of possible values.</doc>
1430
+ <return-value transfer-ownership="none">
1431
+ <doc xml:whitespace="preserve">the transfer</doc>
1432
+ <type name="Transfer" c:type="GITransfer"/>
1433
+ </return-value>
1434
+ <parameters>
1435
+ <parameter name="info" transfer-ownership="none">
1436
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1437
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1438
+ </parameter>
1439
+ </parameters>
1440
+ </function>
1441
+ <function name="arg_info_get_scope" c:identifier="g_arg_info_get_scope">
1442
+ <doc xml:whitespace="preserve">Obtain the scope type for this argument. The scope type explains
1443
+ how a callback is going to be invoked, most importantly when
1444
+ the resources required to invoke it can be freed.
1445
+ #GIScopeType contains a list of possible values.</doc>
1446
+ <return-value transfer-ownership="none">
1447
+ <doc xml:whitespace="preserve">the scope type</doc>
1448
+ <type name="ScopeType" c:type="GIScopeType"/>
1449
+ </return-value>
1450
+ <parameters>
1451
+ <parameter name="info" transfer-ownership="none">
1452
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1453
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1454
+ </parameter>
1455
+ </parameters>
1456
+ </function>
1457
+ <function name="arg_info_get_type" c:identifier="g_arg_info_get_type">
1458
+ <doc xml:whitespace="preserve">Obtain the type information for @info.</doc>
1459
+ <return-value transfer-ownership="full">
1460
+ <doc xml:whitespace="preserve">the #GIArgInfo, free it with g_base_info_unref() when done.</doc>
1461
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
1462
+ </return-value>
1463
+ <parameters>
1464
+ <parameter name="info" transfer-ownership="none">
1465
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1466
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1467
+ </parameter>
1468
+ </parameters>
1469
+ </function>
1470
+ <function name="arg_info_is_caller_allocates"
1471
+ c:identifier="g_arg_info_is_caller_allocates">
1472
+ <doc xml:whitespace="preserve">Obtain if the argument is a pointer to a struct or object that will
1473
+ receive an output of a function. The default assumption for
1474
+ %GI_DIRECTION_OUT arguments which have allocation is that the
1475
+ callee allocates; if this is %TRUE, then the caller must allocate.</doc>
1476
+ <return-value transfer-ownership="none">
1477
+ <doc xml:whitespace="preserve">%TRUE if caller is required to have allocated the argument</doc>
1478
+ <type name="gboolean" c:type="gboolean"/>
1479
+ </return-value>
1480
+ <parameters>
1481
+ <parameter name="info" transfer-ownership="none">
1482
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1483
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1484
+ </parameter>
1485
+ </parameters>
1486
+ </function>
1487
+ <function name="arg_info_is_optional"
1488
+ c:identifier="g_arg_info_is_optional">
1489
+ <doc xml:whitespace="preserve">Obtain if the argument is optional.</doc>
1490
+ <return-value transfer-ownership="none">
1491
+ <doc xml:whitespace="preserve">%TRUE if it is an optional argument</doc>
1492
+ <type name="gboolean" c:type="gboolean"/>
1493
+ </return-value>
1494
+ <parameters>
1495
+ <parameter name="info" transfer-ownership="none">
1496
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1497
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1498
+ </parameter>
1499
+ </parameters>
1500
+ </function>
1501
+ <function name="arg_info_is_return_value"
1502
+ c:identifier="g_arg_info_is_return_value">
1503
+ <doc xml:whitespace="preserve">Obtain if the argument is a return value. It can either be a
1504
+ parameter or a return value.</doc>
1505
+ <return-value transfer-ownership="none">
1506
+ <doc xml:whitespace="preserve">%TRUE if it is a return value</doc>
1507
+ <type name="gboolean" c:type="gboolean"/>
1508
+ </return-value>
1509
+ <parameters>
1510
+ <parameter name="info" transfer-ownership="none">
1511
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1512
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1513
+ </parameter>
1514
+ </parameters>
1515
+ </function>
1516
+ <function name="arg_info_is_skip"
1517
+ c:identifier="g_arg_info_is_skip"
1518
+ version="1.29.0">
1519
+ <doc xml:whitespace="preserve">Obtain if an argument is only useful in C.</doc>
1520
+ <return-value transfer-ownership="none">
1521
+ <doc xml:whitespace="preserve">%TRUE if argument is only useful in C.</doc>
1522
+ <type name="gboolean" c:type="gboolean"/>
1523
+ </return-value>
1524
+ <parameters>
1525
+ <parameter name="info" transfer-ownership="none">
1526
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1527
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1528
+ </parameter>
1529
+ </parameters>
1530
+ </function>
1531
+ <function name="arg_info_load_type" c:identifier="g_arg_info_load_type">
1532
+ <doc xml:whitespace="preserve">Obtain information about a the type of given argument @info; this
1533
+ function is a variant of g_arg_info_get_type() designed for stack
1534
+ allocation.
1535
+
1536
+ The initialized @type must not be referenced after @info is deallocated.</doc>
1537
+ <return-value transfer-ownership="none">
1538
+ <type name="none" c:type="void"/>
1539
+ </return-value>
1540
+ <parameters>
1541
+ <parameter name="info" transfer-ownership="none">
1542
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1543
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1544
+ </parameter>
1545
+ <parameter name="type"
1546
+ direction="out"
1547
+ caller-allocates="1"
1548
+ transfer-ownership="none">
1549
+ <doc xml:whitespace="preserve">Initialized with information about type of @info</doc>
1550
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
1551
+ </parameter>
1552
+ </parameters>
1553
+ </function>
1554
+ <function name="arg_info_may_be_null"
1555
+ c:identifier="g_arg_info_may_be_null">
1556
+ <doc xml:whitespace="preserve">Obtain if the argument accepts %NULL.</doc>
1557
+ <return-value transfer-ownership="none">
1558
+ <doc xml:whitespace="preserve">%TRUE if it accepts %NULL</doc>
1559
+ <type name="gboolean" c:type="gboolean"/>
1560
+ </return-value>
1561
+ <parameters>
1562
+ <parameter name="info" transfer-ownership="none">
1563
+ <doc xml:whitespace="preserve">a #GIArgInfo</doc>
1564
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1565
+ </parameter>
1566
+ </parameters>
1567
+ </function>
1568
+ <function name="callable_info_can_throw_gerror"
1569
+ c:identifier="g_callable_info_can_throw_gerror"
1570
+ version="1.34">
1571
+ <return-value transfer-ownership="none">
1572
+ <doc xml:whitespace="preserve">%TRUE if this #GICallableInfo can throw a #GError</doc>
1573
+ <type name="gboolean" c:type="gboolean"/>
1574
+ </return-value>
1575
+ <parameters>
1576
+ <parameter name="info" transfer-ownership="none">
1577
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1578
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1579
+ </parameter>
1580
+ </parameters>
1581
+ </function>
1582
+ <function name="callable_info_get_arg"
1583
+ c:identifier="g_callable_info_get_arg">
1584
+ <doc xml:whitespace="preserve">Obtain information about a particular argument of this callable.</doc>
1585
+ <return-value transfer-ownership="full">
1586
+ <doc xml:whitespace="preserve">the #GIArgInfo. Free it with g_base_info_unref() when done.</doc>
1587
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1588
+ </return-value>
1589
+ <parameters>
1590
+ <parameter name="info" transfer-ownership="none">
1591
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1592
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1593
+ </parameter>
1594
+ <parameter name="n" transfer-ownership="none">
1595
+ <doc xml:whitespace="preserve">the argument index to fetch</doc>
1596
+ <type name="gint" c:type="gint"/>
1597
+ </parameter>
1598
+ </parameters>
1599
+ </function>
1600
+ <function name="callable_info_get_caller_owns"
1601
+ c:identifier="g_callable_info_get_caller_owns">
1602
+ <doc xml:whitespace="preserve">See whether the caller owns the return value of this callable.
1603
+ #GITransfer contains a list of possible transfer values.</doc>
1604
+ <return-value transfer-ownership="none">
1605
+ <doc xml:whitespace="preserve">%TRUE if the caller owns the return value, %FALSE otherwise.</doc>
1606
+ <type name="Transfer" c:type="GITransfer"/>
1607
+ </return-value>
1608
+ <parameters>
1609
+ <parameter name="info" transfer-ownership="none">
1610
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1611
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1612
+ </parameter>
1613
+ </parameters>
1614
+ </function>
1615
+ <function name="callable_info_get_n_args"
1616
+ c:identifier="g_callable_info_get_n_args">
1617
+ <doc xml:whitespace="preserve">Obtain the number of arguments (both IN and OUT) for this callable.</doc>
1618
+ <return-value transfer-ownership="none">
1619
+ <doc xml:whitespace="preserve">The number of arguments this callable expects.</doc>
1620
+ <type name="gint" c:type="gint"/>
1621
+ </return-value>
1622
+ <parameters>
1623
+ <parameter name="info" transfer-ownership="none">
1624
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1625
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1626
+ </parameter>
1627
+ </parameters>
1628
+ </function>
1629
+ <function name="callable_info_get_return_attribute"
1630
+ c:identifier="g_callable_info_get_return_attribute">
1631
+ <doc xml:whitespace="preserve">Retrieve an arbitrary attribute associated with the return value.</doc>
1632
+ <return-value transfer-ownership="none">
1633
+ <doc xml:whitespace="preserve">The value of the attribute, or %NULL if no such attribute exists</doc>
1634
+ <type name="utf8" c:type="const gchar*"/>
1635
+ </return-value>
1636
+ <parameters>
1637
+ <parameter name="info" transfer-ownership="none">
1638
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1639
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1640
+ </parameter>
1641
+ <parameter name="name" transfer-ownership="none">
1642
+ <doc xml:whitespace="preserve">a freeform string naming an attribute</doc>
1643
+ <type name="utf8" c:type="const gchar*"/>
1644
+ </parameter>
1645
+ </parameters>
1646
+ </function>
1647
+ <function name="callable_info_get_return_type"
1648
+ c:identifier="g_callable_info_get_return_type">
1649
+ <doc xml:whitespace="preserve">Obtain the return type of a callable item as a #GITypeInfo.</doc>
1650
+ <return-value transfer-ownership="full">
1651
+ <doc xml:whitespace="preserve">the #GITypeInfo. Free the struct by calling g_base_info_unref() when done.</doc>
1652
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
1653
+ </return-value>
1654
+ <parameters>
1655
+ <parameter name="info" transfer-ownership="none">
1656
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1657
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1658
+ </parameter>
1659
+ </parameters>
1660
+ </function>
1661
+ <function name="callable_info_invoke"
1662
+ c:identifier="g_callable_info_invoke"
1663
+ throws="1">
1664
+ <return-value transfer-ownership="none">
1665
+ <type name="gboolean" c:type="gboolean"/>
1666
+ </return-value>
1667
+ <parameters>
1668
+ <parameter name="info" transfer-ownership="none">
1669
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1670
+ </parameter>
1671
+ <parameter name="function" transfer-ownership="none">
1672
+ <type name="gpointer" c:type="gpointer"/>
1673
+ </parameter>
1674
+ <parameter name="in_args" transfer-ownership="none">
1675
+ <type name="Argument" c:type="const GIArgument*"/>
1676
+ </parameter>
1677
+ <parameter name="n_in_args" transfer-ownership="none">
1678
+ <type name="gint" c:type="int"/>
1679
+ </parameter>
1680
+ <parameter name="out_args" transfer-ownership="none">
1681
+ <type name="Argument" c:type="const GIArgument*"/>
1682
+ </parameter>
1683
+ <parameter name="n_out_args" transfer-ownership="none">
1684
+ <type name="gint" c:type="int"/>
1685
+ </parameter>
1686
+ <parameter name="return_value" transfer-ownership="none">
1687
+ <type name="Argument" c:type="GIArgument*"/>
1688
+ </parameter>
1689
+ <parameter name="is_method" transfer-ownership="none">
1690
+ <type name="gboolean" c:type="gboolean"/>
1691
+ </parameter>
1692
+ <parameter name="throws" transfer-ownership="none">
1693
+ <type name="gboolean" c:type="gboolean"/>
1694
+ </parameter>
1695
+ </parameters>
1696
+ </function>
1697
+ <function name="callable_info_is_method"
1698
+ c:identifier="g_callable_info_is_method"
1699
+ version="1.34">
1700
+ <doc xml:whitespace="preserve">Determines if the callable info is a method. For #GIVFuncInfo&lt;!-- --&gt;s,
1701
+ #GICallbackInfo&lt;!-- --&gt;s, and #GISignalInfo&lt;!-- --&gt;s,
1702
+ this is always true. Otherwise, this looks at the %GI_FUNCTION_IS_METHOD
1703
+ flag on the #GIFunctionInfo.
1704
+
1705
+ Concretely, this function returns whether g_callable_info_get_n_args()
1706
+ matches the number of arguments in the raw C method. For methods, there
1707
+ is one more C argument than is exposed by introspection: the "self"
1708
+ or "this" object.</doc>
1709
+ <return-value transfer-ownership="none">
1710
+ <type name="gboolean" c:type="gboolean"/>
1711
+ </return-value>
1712
+ <parameters>
1713
+ <parameter name="info" transfer-ownership="none">
1714
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1715
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1716
+ </parameter>
1717
+ </parameters>
1718
+ </function>
1719
+ <function name="callable_info_iterate_return_attributes"
1720
+ c:identifier="g_callable_info_iterate_return_attributes">
1721
+ <doc xml:whitespace="preserve">Iterate over all attributes associated with the return value. The
1722
+ iterator structure is typically stack allocated, and must have its
1723
+ first member initialized to %NULL.
1724
+
1725
+ Both the @name and @value should be treated as constants
1726
+ and must not be freed.
1727
+
1728
+ See g_base_info_iterate_attributes() for an example of how to use a
1729
+ similar API.</doc>
1730
+ <return-value transfer-ownership="none">
1731
+ <doc xml:whitespace="preserve">%TRUE if there are more attributes</doc>
1732
+ <type name="gboolean" c:type="gboolean"/>
1733
+ </return-value>
1734
+ <parameters>
1735
+ <parameter name="info" transfer-ownership="none">
1736
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1737
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1738
+ </parameter>
1739
+ <parameter name="iterator" transfer-ownership="none">
1740
+ <doc xml:whitespace="preserve">a #GIAttributeIter structure, must be initialized; see below</doc>
1741
+ <type name="AttributeIter" c:type="GIAttributeIter*"/>
1742
+ </parameter>
1743
+ <parameter name="name"
1744
+ direction="out"
1745
+ caller-allocates="0"
1746
+ transfer-ownership="none">
1747
+ <doc xml:whitespace="preserve">Returned name, must not be freed</doc>
1748
+ <type name="utf8" c:type="char**"/>
1749
+ </parameter>
1750
+ <parameter name="value"
1751
+ direction="out"
1752
+ caller-allocates="0"
1753
+ transfer-ownership="none">
1754
+ <doc xml:whitespace="preserve">Returned name, must not be freed</doc>
1755
+ <type name="utf8" c:type="char**"/>
1756
+ </parameter>
1757
+ </parameters>
1758
+ </function>
1759
+ <function name="callable_info_load_arg"
1760
+ c:identifier="g_callable_info_load_arg">
1761
+ <doc xml:whitespace="preserve">Obtain information about a particular argument of this callable; this
1762
+ function is a variant of g_callable_info_get_arg() designed for stack
1763
+ allocation.
1764
+
1765
+ The initialized @arg must not be referenced after @info is deallocated.</doc>
1766
+ <return-value transfer-ownership="none">
1767
+ <type name="none" c:type="void"/>
1768
+ </return-value>
1769
+ <parameters>
1770
+ <parameter name="info" transfer-ownership="none">
1771
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1772
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1773
+ </parameter>
1774
+ <parameter name="n" transfer-ownership="none">
1775
+ <doc xml:whitespace="preserve">the argument index to fetch</doc>
1776
+ <type name="gint" c:type="gint"/>
1777
+ </parameter>
1778
+ <parameter name="arg"
1779
+ direction="out"
1780
+ caller-allocates="1"
1781
+ transfer-ownership="none">
1782
+ <doc xml:whitespace="preserve">Initialize with argument number @n</doc>
1783
+ <type name="ArgInfo" c:type="GIArgInfo*"/>
1784
+ </parameter>
1785
+ </parameters>
1786
+ </function>
1787
+ <function name="callable_info_load_return_type"
1788
+ c:identifier="g_callable_info_load_return_type">
1789
+ <doc xml:whitespace="preserve">Obtain information about a return value of callable; this
1790
+ function is a variant of g_callable_info_get_return_type() designed for stack
1791
+ allocation.
1792
+
1793
+ The initialized @type must not be referenced after @info is deallocated.</doc>
1794
+ <return-value transfer-ownership="none">
1795
+ <type name="none" c:type="void"/>
1796
+ </return-value>
1797
+ <parameters>
1798
+ <parameter name="info" transfer-ownership="none">
1799
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1800
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1801
+ </parameter>
1802
+ <parameter name="type"
1803
+ direction="out"
1804
+ caller-allocates="1"
1805
+ transfer-ownership="none">
1806
+ <doc xml:whitespace="preserve">Initialized with return type of @info</doc>
1807
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
1808
+ </parameter>
1809
+ </parameters>
1810
+ </function>
1811
+ <function name="callable_info_may_return_null"
1812
+ c:identifier="g_callable_info_may_return_null">
1813
+ <doc xml:whitespace="preserve">See if a callable could return %NULL.</doc>
1814
+ <return-value transfer-ownership="none">
1815
+ <doc xml:whitespace="preserve">%TRUE if callable could return %NULL</doc>
1816
+ <type name="gboolean" c:type="gboolean"/>
1817
+ </return-value>
1818
+ <parameters>
1819
+ <parameter name="info" transfer-ownership="none">
1820
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1821
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1822
+ </parameter>
1823
+ </parameters>
1824
+ </function>
1825
+ <function name="callable_info_skip_return"
1826
+ c:identifier="g_callable_info_skip_return">
1827
+ <doc xml:whitespace="preserve">See if a callable's return value is only useful in C.</doc>
1828
+ <return-value transfer-ownership="none">
1829
+ <doc xml:whitespace="preserve">%TRUE if return value is only useful in C.</doc>
1830
+ <type name="gboolean" c:type="gboolean"/>
1831
+ </return-value>
1832
+ <parameters>
1833
+ <parameter name="info" transfer-ownership="none">
1834
+ <doc xml:whitespace="preserve">a #GICallableInfo</doc>
1835
+ <type name="CallableInfo" c:type="GICallableInfo*"/>
1836
+ </parameter>
1837
+ </parameters>
1838
+ </function>
1839
+ <function name="constant_info_free_value"
1840
+ c:identifier="g_constant_info_free_value"
1841
+ version="1.30.1"
1842
+ introspectable="0">
1843
+ <doc xml:whitespace="preserve">Free the value returned from g_constant_info_get_value().</doc>
1844
+ <return-value transfer-ownership="none">
1845
+ <type name="none" c:type="void"/>
1846
+ </return-value>
1847
+ <parameters>
1848
+ <parameter name="info" transfer-ownership="none">
1849
+ <doc xml:whitespace="preserve">a #GIConstantInfo</doc>
1850
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
1851
+ </parameter>
1852
+ <parameter name="value" transfer-ownership="none">
1853
+ <doc xml:whitespace="preserve">the argument</doc>
1854
+ <type name="Argument" c:type="GIArgument*"/>
1855
+ </parameter>
1856
+ </parameters>
1857
+ </function>
1858
+ <function name="constant_info_get_type"
1859
+ c:identifier="g_constant_info_get_type">
1860
+ <doc xml:whitespace="preserve">Obtain the type of the constant as a #GITypeInfo.</doc>
1861
+ <return-value transfer-ownership="full">
1862
+ <doc xml:whitespace="preserve">the #GITypeInfo. Free the struct by calling g_base_info_unref() when done.</doc>
1863
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
1864
+ </return-value>
1865
+ <parameters>
1866
+ <parameter name="info" transfer-ownership="none">
1867
+ <doc xml:whitespace="preserve">a #GIConstantInfo</doc>
1868
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
1869
+ </parameter>
1870
+ </parameters>
1871
+ </function>
1872
+ <function name="constant_info_get_value"
1873
+ c:identifier="g_constant_info_get_value"
1874
+ introspectable="0">
1875
+ <doc xml:whitespace="preserve">Obtain the value associated with the #GIConstantInfo and store it in the
1876
+ @value parameter. @argument needs to be allocated before passing it in.
1877
+ The size of the constant value stored in @argument will be returned.
1878
+ Free the value with g_constant_info_free_value().</doc>
1879
+ <return-value transfer-ownership="none">
1880
+ <doc xml:whitespace="preserve">size of the constant</doc>
1881
+ <type name="gint" c:type="gint"/>
1882
+ </return-value>
1883
+ <parameters>
1884
+ <parameter name="info" transfer-ownership="none">
1885
+ <doc xml:whitespace="preserve">a #GIConstantInfo</doc>
1886
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
1887
+ </parameter>
1888
+ <parameter name="value"
1889
+ direction="out"
1890
+ caller-allocates="1"
1891
+ transfer-ownership="none">
1892
+ <doc xml:whitespace="preserve">an argument</doc>
1893
+ <type name="Argument" c:type="GIArgument*"/>
1894
+ </parameter>
1895
+ </parameters>
1896
+ </function>
1897
+ <function name="enum_info_get_error_domain"
1898
+ c:identifier="g_enum_info_get_error_domain"
1899
+ version="1.29.17">
1900
+ <doc xml:whitespace="preserve">Obtain the string form of the quark for the error domain associated with
1901
+ this enum, if any.</doc>
1902
+ <return-value transfer-ownership="none">
1903
+ <doc xml:whitespace="preserve">the string form of the error domain associated with this enum, or %NULL.</doc>
1904
+ <type name="utf8" c:type="const gchar*"/>
1905
+ </return-value>
1906
+ <parameters>
1907
+ <parameter name="info" transfer-ownership="none">
1908
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1909
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1910
+ </parameter>
1911
+ </parameters>
1912
+ </function>
1913
+ <function name="enum_info_get_method"
1914
+ c:identifier="g_enum_info_get_method"
1915
+ version="1.29.17">
1916
+ <doc xml:whitespace="preserve">Obtain an enum type method at index @n.</doc>
1917
+ <return-value transfer-ownership="full">
1918
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
1919
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
1920
+ </return-value>
1921
+ <parameters>
1922
+ <parameter name="info" transfer-ownership="none">
1923
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1924
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1925
+ </parameter>
1926
+ <parameter name="n" transfer-ownership="none">
1927
+ <doc xml:whitespace="preserve">index of method to get</doc>
1928
+ <type name="gint" c:type="gint"/>
1929
+ </parameter>
1930
+ </parameters>
1931
+ </function>
1932
+ <function name="enum_info_get_n_methods"
1933
+ c:identifier="g_enum_info_get_n_methods"
1934
+ version="1.29.17">
1935
+ <doc xml:whitespace="preserve">Obtain the number of methods that this enum type has.</doc>
1936
+ <return-value transfer-ownership="none">
1937
+ <doc xml:whitespace="preserve">number of methods</doc>
1938
+ <type name="gint" c:type="gint"/>
1939
+ </return-value>
1940
+ <parameters>
1941
+ <parameter name="info" transfer-ownership="none">
1942
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1943
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1944
+ </parameter>
1945
+ </parameters>
1946
+ </function>
1947
+ <function name="enum_info_get_n_values"
1948
+ c:identifier="g_enum_info_get_n_values">
1949
+ <doc xml:whitespace="preserve">Obtain the number of values this enumeration contains.</doc>
1950
+ <return-value transfer-ownership="none">
1951
+ <doc xml:whitespace="preserve">the number of enumeration values</doc>
1952
+ <type name="gint" c:type="gint"/>
1953
+ </return-value>
1954
+ <parameters>
1955
+ <parameter name="info" transfer-ownership="none">
1956
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1957
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1958
+ </parameter>
1959
+ </parameters>
1960
+ </function>
1961
+ <function name="enum_info_get_storage_type"
1962
+ c:identifier="g_enum_info_get_storage_type">
1963
+ <doc xml:whitespace="preserve">Obtain the tag of the type used for the enum in the C ABI. This will
1964
+ will be a signed or unsigned integral type.
1965
+
1966
+ Note that in the current implementation the width of the type is
1967
+ computed correctly, but the signed or unsigned nature of the type
1968
+ may not match the sign of the type used by the C compiler.</doc>
1969
+ <return-value transfer-ownership="none">
1970
+ <doc xml:whitespace="preserve">the storage type for the enumeration</doc>
1971
+ <type name="TypeTag" c:type="GITypeTag"/>
1972
+ </return-value>
1973
+ <parameters>
1974
+ <parameter name="info" transfer-ownership="none">
1975
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1976
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1977
+ </parameter>
1978
+ </parameters>
1979
+ </function>
1980
+ <function name="enum_info_get_value" c:identifier="g_enum_info_get_value">
1981
+ <doc xml:whitespace="preserve">Obtain a value for this enumeration.</doc>
1982
+ <return-value transfer-ownership="full">
1983
+ <doc xml:whitespace="preserve">the enumeration value or %NULL if type tag is wrong, free the struct with g_base_info_unref() when done.</doc>
1984
+ <type name="ValueInfo" c:type="GIValueInfo*"/>
1985
+ </return-value>
1986
+ <parameters>
1987
+ <parameter name="info" transfer-ownership="none">
1988
+ <doc xml:whitespace="preserve">a #GIEnumInfo</doc>
1989
+ <type name="EnumInfo" c:type="GIEnumInfo*"/>
1990
+ </parameter>
1991
+ <parameter name="n" transfer-ownership="none">
1992
+ <doc xml:whitespace="preserve">index of value to fetch</doc>
1993
+ <type name="gint" c:type="gint"/>
1994
+ </parameter>
1995
+ </parameters>
1996
+ </function>
1997
+ <function name="field_info_get_field"
1998
+ c:identifier="g_field_info_get_field"
1999
+ introspectable="0">
2000
+ <doc xml:whitespace="preserve">Reads a field identified by a #GFieldInfo from a C structure or
2001
+ union. This only handles fields of simple C types. It will fail
2002
+ for a field of a composite type like a nested structure or union
2003
+ even if that is actually readable.</doc>
2004
+ <return-value transfer-ownership="none">
2005
+ <doc xml:whitespace="preserve">%TRUE if reading the field succeeded, otherwise %FALSE</doc>
2006
+ <type name="gboolean" c:type="gboolean"/>
2007
+ </return-value>
2008
+ <parameters>
2009
+ <parameter name="field_info" transfer-ownership="none">
2010
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2011
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2012
+ </parameter>
2013
+ <parameter name="mem" transfer-ownership="none">
2014
+ <doc xml:whitespace="preserve">pointer to a block of memory representing a C structure or union</doc>
2015
+ <type name="gpointer" c:type="gpointer"/>
2016
+ </parameter>
2017
+ <parameter name="value" transfer-ownership="none">
2018
+ <doc xml:whitespace="preserve">a #GIArgument into which to store the value retrieved</doc>
2019
+ <type name="Argument" c:type="GIArgument*"/>
2020
+ </parameter>
2021
+ </parameters>
2022
+ </function>
2023
+ <function name="field_info_get_flags"
2024
+ c:identifier="g_field_info_get_flags">
2025
+ <doc xml:whitespace="preserve">Obtain the flags for this #GIFieldInfo. See #GIFieldInfoFlags for possible
2026
+ flag values.</doc>
2027
+ <return-value transfer-ownership="none">
2028
+ <doc xml:whitespace="preserve">the flags</doc>
2029
+ <type name="FieldInfoFlags" c:type="GIFieldInfoFlags"/>
2030
+ </return-value>
2031
+ <parameters>
2032
+ <parameter name="info" transfer-ownership="none">
2033
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2034
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2035
+ </parameter>
2036
+ </parameters>
2037
+ </function>
2038
+ <function name="field_info_get_offset"
2039
+ c:identifier="g_field_info_get_offset">
2040
+ <doc xml:whitespace="preserve">Obtain the offset in bits of the field member, this is relative
2041
+ to the beginning of the struct or union.</doc>
2042
+ <return-value transfer-ownership="none">
2043
+ <doc xml:whitespace="preserve">the field offset</doc>
2044
+ <type name="gint" c:type="gint"/>
2045
+ </return-value>
2046
+ <parameters>
2047
+ <parameter name="info" transfer-ownership="none">
2048
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2049
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2050
+ </parameter>
2051
+ </parameters>
2052
+ </function>
2053
+ <function name="field_info_get_size" c:identifier="g_field_info_get_size">
2054
+ <doc xml:whitespace="preserve">Obtain the size in bits of the field member, this is how
2055
+ much space you need to allocate to store the field.</doc>
2056
+ <return-value transfer-ownership="none">
2057
+ <doc xml:whitespace="preserve">the field size</doc>
2058
+ <type name="gint" c:type="gint"/>
2059
+ </return-value>
2060
+ <parameters>
2061
+ <parameter name="info" transfer-ownership="none">
2062
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2063
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2064
+ </parameter>
2065
+ </parameters>
2066
+ </function>
2067
+ <function name="field_info_get_type" c:identifier="g_field_info_get_type">
2068
+ <doc xml:whitespace="preserve">Obtain the type of a field as a #GITypeInfo.</doc>
2069
+ <return-value transfer-ownership="full">
2070
+ <doc xml:whitespace="preserve">the #GITypeInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2071
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
2072
+ </return-value>
2073
+ <parameters>
2074
+ <parameter name="info" transfer-ownership="none">
2075
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2076
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2077
+ </parameter>
2078
+ </parameters>
2079
+ </function>
2080
+ <function name="field_info_set_field"
2081
+ c:identifier="g_field_info_set_field"
2082
+ introspectable="0">
2083
+ <doc xml:whitespace="preserve">Writes a field identified by a #GFieldInfo to a C structure or
2084
+ union. This only handles fields of simple C types. It will fail
2085
+ for a field of a composite type like a nested structure or union
2086
+ even if that is actually writable. Note also that that it will refuse
2087
+ to write fields where memory management would by required. A field
2088
+ with a type such as 'char *' must be set with a setter function.</doc>
2089
+ <return-value transfer-ownership="none">
2090
+ <doc xml:whitespace="preserve">%TRUE if writing the field succeeded, otherwise %FALSE</doc>
2091
+ <type name="gboolean" c:type="gboolean"/>
2092
+ </return-value>
2093
+ <parameters>
2094
+ <parameter name="field_info" transfer-ownership="none">
2095
+ <doc xml:whitespace="preserve">a #GIFieldInfo</doc>
2096
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2097
+ </parameter>
2098
+ <parameter name="mem" transfer-ownership="none">
2099
+ <doc xml:whitespace="preserve">pointer to a block of memory representing a C structure or union</doc>
2100
+ <type name="gpointer" c:type="gpointer"/>
2101
+ </parameter>
2102
+ <parameter name="value" transfer-ownership="none">
2103
+ <doc xml:whitespace="preserve">a #GIArgument holding the value to store</doc>
2104
+ <type name="Argument" c:type="const GIArgument*"/>
2105
+ </parameter>
2106
+ </parameters>
2107
+ </function>
2108
+ <function name="function_info_get_flags"
2109
+ c:identifier="g_function_info_get_flags">
2110
+ <doc xml:whitespace="preserve">Obtain the #GIFunctionInfoFlags for the @info.</doc>
2111
+ <return-value transfer-ownership="none">
2112
+ <doc xml:whitespace="preserve">the flags</doc>
2113
+ <type name="FunctionInfoFlags" c:type="GIFunctionInfoFlags"/>
2114
+ </return-value>
2115
+ <parameters>
2116
+ <parameter name="info" transfer-ownership="none">
2117
+ <doc xml:whitespace="preserve">a #GIFunctionInfo</doc>
2118
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2119
+ </parameter>
2120
+ </parameters>
2121
+ </function>
2122
+ <function name="function_info_get_property"
2123
+ c:identifier="g_function_info_get_property">
2124
+ <doc xml:whitespace="preserve">Obtain the property associated with this #GIFunctionInfo.
2125
+ Only #GIFunctionInfo with the flag %GI_FUNCTION_IS_GETTER or
2126
+ %GI_FUNCTION_IS_SETTER have a property set. For other cases,
2127
+ %NULL will be returned.</doc>
2128
+ <return-value transfer-ownership="full">
2129
+ <doc xml:whitespace="preserve">the property or %NULL if not set. Free it with g_base_info_unref() when done.</doc>
2130
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
2131
+ </return-value>
2132
+ <parameters>
2133
+ <parameter name="info" transfer-ownership="none">
2134
+ <doc xml:whitespace="preserve">a #GIFunctionInfo</doc>
2135
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2136
+ </parameter>
2137
+ </parameters>
2138
+ </function>
2139
+ <function name="function_info_get_symbol"
2140
+ c:identifier="g_function_info_get_symbol">
2141
+ <doc xml:whitespace="preserve">Obtain the symbol of the function. The symbol is the name of the
2142
+ exported function, suitable to be used as an argument to
2143
+ g_module_symbol().</doc>
2144
+ <return-value transfer-ownership="none">
2145
+ <doc xml:whitespace="preserve">the symbol</doc>
2146
+ <type name="utf8" c:type="const gchar*"/>
2147
+ </return-value>
2148
+ <parameters>
2149
+ <parameter name="info" transfer-ownership="none">
2150
+ <doc xml:whitespace="preserve">a #GIFunctionInfo</doc>
2151
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2152
+ </parameter>
2153
+ </parameters>
2154
+ </function>
2155
+ <function name="function_info_get_vfunc"
2156
+ c:identifier="g_function_info_get_vfunc">
2157
+ <doc xml:whitespace="preserve">Obtain the virtual function associated with this #GIFunctionInfo.
2158
+ Only #GIFunctionInfo with the flag %GI_FUNCTION_WRAPS_VFUNC has
2159
+ a virtual function set. For other cases, %NULL will be returned.</doc>
2160
+ <return-value transfer-ownership="full">
2161
+ <doc xml:whitespace="preserve">the virtual function or %NULL if not set. Free it by calling g_base_info_unref() when done.</doc>
2162
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
2163
+ </return-value>
2164
+ <parameters>
2165
+ <parameter name="info" transfer-ownership="none">
2166
+ <doc xml:whitespace="preserve">a #GIFunctionInfo</doc>
2167
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2168
+ </parameter>
2169
+ </parameters>
2170
+ </function>
2171
+ <function name="function_info_invoke"
2172
+ c:identifier="g_function_info_invoke"
2173
+ introspectable="0"
2174
+ throws="1">
2175
+ <doc xml:whitespace="preserve">Invokes the function described in @info with the given
2176
+ arguments. Note that inout parameters must appear in both
2177
+ argument lists. This function uses dlsym() to obtain a pointer
2178
+ to the function, so the library or shared object containing the
2179
+ described function must either be linked to the caller, or must
2180
+ have been g_module_symbol()&lt;!-- --&gt;ed before calling this function.</doc>
2181
+ <return-value transfer-ownership="none">
2182
+ <doc xml:whitespace="preserve">%TRUE if the function has been invoked, %FALSE if an error occurred.</doc>
2183
+ <type name="gboolean" c:type="gboolean"/>
2184
+ </return-value>
2185
+ <parameters>
2186
+ <parameter name="info" transfer-ownership="none">
2187
+ <doc xml:whitespace="preserve">a #GIFunctionInfo describing the function to invoke</doc>
2188
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2189
+ </parameter>
2190
+ <parameter name="in_args" transfer-ownership="none">
2191
+ <doc xml:whitespace="preserve">an array of #GIArgument&lt;!-- --&gt;s, one for each in parameter of @info. If there are no in parameter, @in_args can be %NULL</doc>
2192
+ <type name="Argument" c:type="const GIArgument*"/>
2193
+ </parameter>
2194
+ <parameter name="n_in_args" transfer-ownership="none">
2195
+ <doc xml:whitespace="preserve">the length of the @in_args array</doc>
2196
+ <type name="gint" c:type="int"/>
2197
+ </parameter>
2198
+ <parameter name="out_args" transfer-ownership="none">
2199
+ <doc xml:whitespace="preserve">an array of #GIArgument&lt;!-- --&gt;s, one for each out parameter of @info. If there are no out parameters, @out_args may be %NULL</doc>
2200
+ <type name="Argument" c:type="const GIArgument*"/>
2201
+ </parameter>
2202
+ <parameter name="n_out_args" transfer-ownership="none">
2203
+ <doc xml:whitespace="preserve">the length of the @out_args array</doc>
2204
+ <type name="gint" c:type="int"/>
2205
+ </parameter>
2206
+ <parameter name="return_value" transfer-ownership="none">
2207
+ <doc xml:whitespace="preserve">return location for the return value of the function. If the function returns void, @return_value may be %NULL</doc>
2208
+ <type name="Argument" c:type="GIArgument*"/>
2209
+ </parameter>
2210
+ </parameters>
2211
+ </function>
2212
+ <function name="info_new" c:identifier="g_info_new">
2213
+ <return-value transfer-ownership="full">
2214
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
2215
+ </return-value>
2216
+ <parameters>
2217
+ <parameter name="type" transfer-ownership="none">
2218
+ <type name="InfoType" c:type="GIInfoType"/>
2219
+ </parameter>
2220
+ <parameter name="container" transfer-ownership="none">
2221
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
2222
+ </parameter>
2223
+ <parameter name="typelib" transfer-ownership="none">
2224
+ <type name="Typelib" c:type="GITypelib*"/>
2225
+ </parameter>
2226
+ <parameter name="offset" transfer-ownership="none">
2227
+ <type name="guint32" c:type="guint32"/>
2228
+ </parameter>
2229
+ </parameters>
2230
+ </function>
2231
+ <function name="info_type_to_string" c:identifier="g_info_type_to_string">
2232
+ <doc xml:whitespace="preserve">Obtain a string representation of @type</doc>
2233
+ <return-value transfer-ownership="none">
2234
+ <doc xml:whitespace="preserve">the string</doc>
2235
+ <type name="utf8" c:type="const gchar*"/>
2236
+ </return-value>
2237
+ <parameters>
2238
+ <parameter name="type" transfer-ownership="none">
2239
+ <doc xml:whitespace="preserve">the info type</doc>
2240
+ <type name="InfoType" c:type="GIInfoType"/>
2241
+ </parameter>
2242
+ </parameters>
2243
+ </function>
2244
+ <function name="interface_info_find_method"
2245
+ c:identifier="g_interface_info_find_method">
2246
+ <doc xml:whitespace="preserve">Obtain a method of the interface type given a @name. %NULL will be
2247
+ returned if there's no method available with that name.</doc>
2248
+ <return-value transfer-ownership="full">
2249
+ <doc xml:whitespace="preserve">the #GIFunctionInfo or %NULL if none found. Free the struct by calling g_base_info_unref() when done.</doc>
2250
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2251
+ </return-value>
2252
+ <parameters>
2253
+ <parameter name="info" transfer-ownership="none">
2254
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2255
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2256
+ </parameter>
2257
+ <parameter name="name" transfer-ownership="none">
2258
+ <doc xml:whitespace="preserve">name of method to obtain</doc>
2259
+ <type name="utf8" c:type="const gchar*"/>
2260
+ </parameter>
2261
+ </parameters>
2262
+ </function>
2263
+ <function name="interface_info_find_signal"
2264
+ c:identifier="g_interface_info_find_signal"
2265
+ version="1.34">
2266
+ <return-value transfer-ownership="full">
2267
+ <doc xml:whitespace="preserve">Info for the signal with name @name in @info, or %NULL on failure.</doc>
2268
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
2269
+ </return-value>
2270
+ <parameters>
2271
+ <parameter name="info" transfer-ownership="none">
2272
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2273
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2274
+ </parameter>
2275
+ <parameter name="name" transfer-ownership="none">
2276
+ <doc xml:whitespace="preserve">Name of signal</doc>
2277
+ <type name="utf8" c:type="const gchar*"/>
2278
+ </parameter>
2279
+ </parameters>
2280
+ </function>
2281
+ <function name="interface_info_find_vfunc"
2282
+ c:identifier="g_interface_info_find_vfunc">
2283
+ <doc xml:whitespace="preserve">Locate a virtual function slot with name @name. See the documentation
2284
+ for g_object_info_find_vfunc() for more information on virtuals.</doc>
2285
+ <return-value transfer-ownership="full">
2286
+ <doc xml:whitespace="preserve">the #GIVFuncInfo, or %NULL. Free it with g_base_info_unref() when done.</doc>
2287
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
2288
+ </return-value>
2289
+ <parameters>
2290
+ <parameter name="info" transfer-ownership="none">
2291
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2292
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2293
+ </parameter>
2294
+ <parameter name="name" transfer-ownership="none">
2295
+ <doc xml:whitespace="preserve">The name of a virtual function to find.</doc>
2296
+ <type name="utf8" c:type="const gchar*"/>
2297
+ </parameter>
2298
+ </parameters>
2299
+ </function>
2300
+ <function name="interface_info_get_constant"
2301
+ c:identifier="g_interface_info_get_constant">
2302
+ <doc xml:whitespace="preserve">Obtain an interface type constant at index @n.</doc>
2303
+ <return-value transfer-ownership="full">
2304
+ <doc xml:whitespace="preserve">the #GIConstantInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2305
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
2306
+ </return-value>
2307
+ <parameters>
2308
+ <parameter name="info" transfer-ownership="none">
2309
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2310
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2311
+ </parameter>
2312
+ <parameter name="n" transfer-ownership="none">
2313
+ <doc xml:whitespace="preserve">index of constant to get</doc>
2314
+ <type name="gint" c:type="gint"/>
2315
+ </parameter>
2316
+ </parameters>
2317
+ </function>
2318
+ <function name="interface_info_get_iface_struct"
2319
+ c:identifier="g_interface_info_get_iface_struct">
2320
+ <doc xml:whitespace="preserve">Returns the layout C structure associated with this #GInterface.</doc>
2321
+ <return-value transfer-ownership="full">
2322
+ <doc xml:whitespace="preserve">the #GIStructInfo or %NULL. Free it with g_base_info_unref() when done.</doc>
2323
+ <type name="StructInfo" c:type="GIStructInfo*"/>
2324
+ </return-value>
2325
+ <parameters>
2326
+ <parameter name="info" transfer-ownership="none">
2327
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2328
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2329
+ </parameter>
2330
+ </parameters>
2331
+ </function>
2332
+ <function name="interface_info_get_method"
2333
+ c:identifier="g_interface_info_get_method">
2334
+ <doc xml:whitespace="preserve">Obtain an interface type method at index @n.</doc>
2335
+ <return-value transfer-ownership="full">
2336
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2337
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2338
+ </return-value>
2339
+ <parameters>
2340
+ <parameter name="info" transfer-ownership="none">
2341
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2342
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2343
+ </parameter>
2344
+ <parameter name="n" transfer-ownership="none">
2345
+ <doc xml:whitespace="preserve">index of method to get</doc>
2346
+ <type name="gint" c:type="gint"/>
2347
+ </parameter>
2348
+ </parameters>
2349
+ </function>
2350
+ <function name="interface_info_get_n_constants"
2351
+ c:identifier="g_interface_info_get_n_constants">
2352
+ <doc xml:whitespace="preserve">Obtain the number of constants that this interface type has.</doc>
2353
+ <return-value transfer-ownership="none">
2354
+ <doc xml:whitespace="preserve">number of constants</doc>
2355
+ <type name="gint" c:type="gint"/>
2356
+ </return-value>
2357
+ <parameters>
2358
+ <parameter name="info" transfer-ownership="none">
2359
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2360
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2361
+ </parameter>
2362
+ </parameters>
2363
+ </function>
2364
+ <function name="interface_info_get_n_methods"
2365
+ c:identifier="g_interface_info_get_n_methods">
2366
+ <doc xml:whitespace="preserve">Obtain the number of methods that this interface type has.</doc>
2367
+ <return-value transfer-ownership="none">
2368
+ <doc xml:whitespace="preserve">number of methods</doc>
2369
+ <type name="gint" c:type="gint"/>
2370
+ </return-value>
2371
+ <parameters>
2372
+ <parameter name="info" transfer-ownership="none">
2373
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2374
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2375
+ </parameter>
2376
+ </parameters>
2377
+ </function>
2378
+ <function name="interface_info_get_n_prerequisites"
2379
+ c:identifier="g_interface_info_get_n_prerequisites">
2380
+ <doc xml:whitespace="preserve">Obtain the number of prerequisites for this interface type.
2381
+ A prerequisites is another interface that needs to be implemented for
2382
+ interface, similar to an base class for GObjects.</doc>
2383
+ <return-value transfer-ownership="none">
2384
+ <doc xml:whitespace="preserve">number of prerequisites</doc>
2385
+ <type name="gint" c:type="gint"/>
2386
+ </return-value>
2387
+ <parameters>
2388
+ <parameter name="info" transfer-ownership="none">
2389
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2390
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2391
+ </parameter>
2392
+ </parameters>
2393
+ </function>
2394
+ <function name="interface_info_get_n_properties"
2395
+ c:identifier="g_interface_info_get_n_properties">
2396
+ <doc xml:whitespace="preserve">Obtain the number of properties that this interface type has.</doc>
2397
+ <return-value transfer-ownership="none">
2398
+ <doc xml:whitespace="preserve">number of properties</doc>
2399
+ <type name="gint" c:type="gint"/>
2400
+ </return-value>
2401
+ <parameters>
2402
+ <parameter name="info" transfer-ownership="none">
2403
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2404
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2405
+ </parameter>
2406
+ </parameters>
2407
+ </function>
2408
+ <function name="interface_info_get_n_signals"
2409
+ c:identifier="g_interface_info_get_n_signals">
2410
+ <doc xml:whitespace="preserve">Obtain the number of signals that this interface type has.</doc>
2411
+ <return-value transfer-ownership="none">
2412
+ <doc xml:whitespace="preserve">number of signals</doc>
2413
+ <type name="gint" c:type="gint"/>
2414
+ </return-value>
2415
+ <parameters>
2416
+ <parameter name="info" transfer-ownership="none">
2417
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2418
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2419
+ </parameter>
2420
+ </parameters>
2421
+ </function>
2422
+ <function name="interface_info_get_n_vfuncs"
2423
+ c:identifier="g_interface_info_get_n_vfuncs">
2424
+ <doc xml:whitespace="preserve">Obtain the number of virtual functions that this interface type has.</doc>
2425
+ <return-value transfer-ownership="none">
2426
+ <doc xml:whitespace="preserve">number of virtual functions</doc>
2427
+ <type name="gint" c:type="gint"/>
2428
+ </return-value>
2429
+ <parameters>
2430
+ <parameter name="info" transfer-ownership="none">
2431
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2432
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2433
+ </parameter>
2434
+ </parameters>
2435
+ </function>
2436
+ <function name="interface_info_get_prerequisite"
2437
+ c:identifier="g_interface_info_get_prerequisite">
2438
+ <doc xml:whitespace="preserve">Obtain an interface type prerequisites index @n.</doc>
2439
+ <return-value transfer-ownership="full">
2440
+ <doc xml:whitespace="preserve">the prerequisites as a #GIBaseInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2441
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
2442
+ </return-value>
2443
+ <parameters>
2444
+ <parameter name="info" transfer-ownership="none">
2445
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2446
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2447
+ </parameter>
2448
+ <parameter name="n" transfer-ownership="none">
2449
+ <doc xml:whitespace="preserve">index of prerequisites to get</doc>
2450
+ <type name="gint" c:type="gint"/>
2451
+ </parameter>
2452
+ </parameters>
2453
+ </function>
2454
+ <function name="interface_info_get_property"
2455
+ c:identifier="g_interface_info_get_property">
2456
+ <doc xml:whitespace="preserve">Obtain an interface type property at index @n.</doc>
2457
+ <return-value transfer-ownership="full">
2458
+ <doc xml:whitespace="preserve">the #GIPropertyInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2459
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
2460
+ </return-value>
2461
+ <parameters>
2462
+ <parameter name="info" transfer-ownership="none">
2463
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2464
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2465
+ </parameter>
2466
+ <parameter name="n" transfer-ownership="none">
2467
+ <doc xml:whitespace="preserve">index of property to get</doc>
2468
+ <type name="gint" c:type="gint"/>
2469
+ </parameter>
2470
+ </parameters>
2471
+ </function>
2472
+ <function name="interface_info_get_signal"
2473
+ c:identifier="g_interface_info_get_signal">
2474
+ <doc xml:whitespace="preserve">Obtain an interface type signal at index @n.</doc>
2475
+ <return-value transfer-ownership="full">
2476
+ <doc xml:whitespace="preserve">the #GISignalInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2477
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
2478
+ </return-value>
2479
+ <parameters>
2480
+ <parameter name="info" transfer-ownership="none">
2481
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2482
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2483
+ </parameter>
2484
+ <parameter name="n" transfer-ownership="none">
2485
+ <doc xml:whitespace="preserve">index of signal to get</doc>
2486
+ <type name="gint" c:type="gint"/>
2487
+ </parameter>
2488
+ </parameters>
2489
+ </function>
2490
+ <function name="interface_info_get_vfunc"
2491
+ c:identifier="g_interface_info_get_vfunc">
2492
+ <doc xml:whitespace="preserve">Obtain an interface type virtual function at index @n.</doc>
2493
+ <return-value transfer-ownership="full">
2494
+ <doc xml:whitespace="preserve">the #GIVFuncInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2495
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
2496
+ </return-value>
2497
+ <parameters>
2498
+ <parameter name="info" transfer-ownership="none">
2499
+ <doc xml:whitespace="preserve">a #GIInterfaceInfo</doc>
2500
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2501
+ </parameter>
2502
+ <parameter name="n" transfer-ownership="none">
2503
+ <doc xml:whitespace="preserve">index of virtual function to get</doc>
2504
+ <type name="gint" c:type="gint"/>
2505
+ </parameter>
2506
+ </parameters>
2507
+ </function>
2508
+ <function name="invoke_error_quark" c:identifier="g_invoke_error_quark">
2509
+ <return-value transfer-ownership="none">
2510
+ <type name="GLib.Quark" c:type="GQuark"/>
2511
+ </return-value>
2512
+ </function>
2513
+ <enumeration name="nvokeError" c:type="GInvokeError">
2514
+ <doc xml:whitespace="preserve">An error occuring while invoking a function via
2515
+ g_function_info_invoke().</doc>
2516
+ <member name="failed" value="0" c:identifier="G_INVOKE_ERROR_FAILED">
2517
+ <doc xml:whitespace="preserve">invokation failed, unknown error.</doc>
2518
+ </member>
2519
+ <member name="symbol_not_found"
2520
+ value="1"
2521
+ c:identifier="G_INVOKE_ERROR_SYMBOL_NOT_FOUND">
2522
+ <doc xml:whitespace="preserve">symbol couldn't be found in any of the libraries associated with the typelib of the function.</doc>
2523
+ </member>
2524
+ <member name="argument_mismatch"
2525
+ value="2"
2526
+ c:identifier="G_INVOKE_ERROR_ARGUMENT_MISMATCH">
2527
+ <doc xml:whitespace="preserve">the arguments provided didn't match the expected arguments for the functions type signature.</doc>
2528
+ </member>
2529
+ </enumeration>
2530
+ <function name="object_info_find_method"
2531
+ c:identifier="g_object_info_find_method">
2532
+ <doc xml:whitespace="preserve">Obtain a method of the object type given a @name. %NULL will be
2533
+ returned if there's no method available with that name.</doc>
2534
+ <return-value transfer-ownership="full">
2535
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2536
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2537
+ </return-value>
2538
+ <parameters>
2539
+ <parameter name="info" transfer-ownership="none">
2540
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2541
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2542
+ </parameter>
2543
+ <parameter name="name" transfer-ownership="none">
2544
+ <doc xml:whitespace="preserve">name of method to obtain</doc>
2545
+ <type name="utf8" c:type="const gchar*"/>
2546
+ </parameter>
2547
+ </parameters>
2548
+ </function>
2549
+ <function name="object_info_find_method_using_interfaces"
2550
+ c:identifier="g_object_info_find_method_using_interfaces">
2551
+ <doc xml:whitespace="preserve">Obtain a method of the object given a @name, searching both the
2552
+ object @info and any interfaces it implements. %NULL will be
2553
+ returned if there's no method available with that name.
2554
+
2555
+ Note that this function does *not* search parent classes; you will have
2556
+ to chain up if that's desired.</doc>
2557
+ <return-value transfer-ownership="full">
2558
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2559
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2560
+ </return-value>
2561
+ <parameters>
2562
+ <parameter name="info" transfer-ownership="none">
2563
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2564
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2565
+ </parameter>
2566
+ <parameter name="name" transfer-ownership="none">
2567
+ <doc xml:whitespace="preserve">name of method to obtain</doc>
2568
+ <type name="utf8" c:type="const gchar*"/>
2569
+ </parameter>
2570
+ <parameter name="implementor"
2571
+ direction="out"
2572
+ caller-allocates="0"
2573
+ transfer-ownership="full">
2574
+ <doc xml:whitespace="preserve">The implementor of the interface</doc>
2575
+ <type name="ObjectInfo" c:type="GIObjectInfo**"/>
2576
+ </parameter>
2577
+ </parameters>
2578
+ </function>
2579
+ <function name="object_info_find_signal"
2580
+ c:identifier="g_object_info_find_signal"
2581
+ introspectable="0">
2582
+ <return-value>
2583
+ <doc xml:whitespace="preserve">Info for the signal with name @name in @info, or %NULL on failure.</doc>
2584
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
2585
+ </return-value>
2586
+ <parameters>
2587
+ <parameter name="info" transfer-ownership="none">
2588
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2589
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2590
+ </parameter>
2591
+ <parameter name="name" transfer-ownership="none">
2592
+ <doc xml:whitespace="preserve">Name of signal</doc>
2593
+ <type name="utf8" c:type="const gchar*"/>
2594
+ </parameter>
2595
+ </parameters>
2596
+ </function>
2597
+ <function name="object_info_find_vfunc"
2598
+ c:identifier="g_object_info_find_vfunc">
2599
+ <doc xml:whitespace="preserve">Locate a virtual function slot with name @name. Note that the namespace
2600
+ for virtuals is distinct from that of methods; there may or may not be
2601
+ a concrete method associated for a virtual. If there is one, it may
2602
+ be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
2603
+ returned.
2604
+ See the documentation for g_vfunc_info_get_invoker() for more
2605
+ information on invoking virtuals.</doc>
2606
+ <return-value transfer-ownership="full">
2607
+ <doc xml:whitespace="preserve">the #GIVFuncInfo, or %NULL. Free it with g_base_info_unref() when done.</doc>
2608
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
2609
+ </return-value>
2610
+ <parameters>
2611
+ <parameter name="info" transfer-ownership="none">
2612
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2613
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2614
+ </parameter>
2615
+ <parameter name="name" transfer-ownership="none">
2616
+ <doc xml:whitespace="preserve">The name of a virtual function to find.</doc>
2617
+ <type name="utf8" c:type="const gchar*"/>
2618
+ </parameter>
2619
+ </parameters>
2620
+ </function>
2621
+ <function name="object_info_find_vfunc_using_interfaces"
2622
+ c:identifier="g_object_info_find_vfunc_using_interfaces">
2623
+ <doc xml:whitespace="preserve">Locate a virtual function slot with name @name, searching both the object
2624
+ @info and any interfaces it implements. Note that the namespace for
2625
+ virtuals is distinct from that of methods; there may or may not be a
2626
+ concrete method associated for a virtual. If there is one, it may be
2627
+ retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
2628
+ returned.
2629
+
2630
+ Note that this function does *not* search parent classes; you will have
2631
+ to chain up if that's desired.</doc>
2632
+ <return-value transfer-ownership="full">
2633
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2634
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
2635
+ </return-value>
2636
+ <parameters>
2637
+ <parameter name="info" transfer-ownership="none">
2638
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2639
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2640
+ </parameter>
2641
+ <parameter name="name" transfer-ownership="none">
2642
+ <doc xml:whitespace="preserve">name of method to obtain</doc>
2643
+ <type name="utf8" c:type="const gchar*"/>
2644
+ </parameter>
2645
+ <parameter name="implementor"
2646
+ direction="out"
2647
+ caller-allocates="0"
2648
+ transfer-ownership="full">
2649
+ <doc xml:whitespace="preserve">The implementor of the interface</doc>
2650
+ <type name="ObjectInfo" c:type="GIObjectInfo**"/>
2651
+ </parameter>
2652
+ </parameters>
2653
+ </function>
2654
+ <function name="object_info_get_abstract"
2655
+ c:identifier="g_object_info_get_abstract">
2656
+ <doc xml:whitespace="preserve">Obtain if the object type is an abstract type, eg if it cannot be
2657
+ instantiated</doc>
2658
+ <return-value transfer-ownership="none">
2659
+ <doc xml:whitespace="preserve">%TRUE if the object type is abstract</doc>
2660
+ <type name="gboolean" c:type="gboolean"/>
2661
+ </return-value>
2662
+ <parameters>
2663
+ <parameter name="info" transfer-ownership="none">
2664
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2665
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2666
+ </parameter>
2667
+ </parameters>
2668
+ </function>
2669
+ <function name="object_info_get_class_struct"
2670
+ c:identifier="g_object_info_get_class_struct">
2671
+ <doc xml:whitespace="preserve">Every #GObject has two structures; an instance structure and a class
2672
+ structure. This function returns the metadata for the class structure.</doc>
2673
+ <return-value transfer-ownership="full">
2674
+ <doc xml:whitespace="preserve">the #GIStructInfo or %NULL. Free with g_base_info_unref() when done.</doc>
2675
+ <type name="StructInfo" c:type="GIStructInfo*"/>
2676
+ </return-value>
2677
+ <parameters>
2678
+ <parameter name="info" transfer-ownership="none">
2679
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2680
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2681
+ </parameter>
2682
+ </parameters>
2683
+ </function>
2684
+ <function name="object_info_get_constant"
2685
+ c:identifier="g_object_info_get_constant">
2686
+ <doc xml:whitespace="preserve">Obtain an object type constant at index @n.</doc>
2687
+ <return-value transfer-ownership="full">
2688
+ <doc xml:whitespace="preserve">the #GIConstantInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2689
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
2690
+ </return-value>
2691
+ <parameters>
2692
+ <parameter name="info" transfer-ownership="none">
2693
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2694
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2695
+ </parameter>
2696
+ <parameter name="n" transfer-ownership="none">
2697
+ <doc xml:whitespace="preserve">index of constant to get</doc>
2698
+ <type name="gint" c:type="gint"/>
2699
+ </parameter>
2700
+ </parameters>
2701
+ </function>
2702
+ <function name="object_info_get_field"
2703
+ c:identifier="g_object_info_get_field">
2704
+ <doc xml:whitespace="preserve">Obtain an object type field at index @n.</doc>
2705
+ <return-value transfer-ownership="full">
2706
+ <doc xml:whitespace="preserve">the #GIFieldInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2707
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
2708
+ </return-value>
2709
+ <parameters>
2710
+ <parameter name="info" transfer-ownership="none">
2711
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2712
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2713
+ </parameter>
2714
+ <parameter name="n" transfer-ownership="none">
2715
+ <doc xml:whitespace="preserve">index of field to get</doc>
2716
+ <type name="gint" c:type="gint"/>
2717
+ </parameter>
2718
+ </parameters>
2719
+ </function>
2720
+ <function name="object_info_get_fundamental"
2721
+ c:identifier="g_object_info_get_fundamental">
2722
+ <doc xml:whitespace="preserve">Obtain if the object type is of a fundamental type which is not
2723
+ G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</doc>
2724
+ <return-value transfer-ownership="none">
2725
+ <doc xml:whitespace="preserve">%TRUE if the object type is a fundamental type</doc>
2726
+ <type name="gboolean" c:type="gboolean"/>
2727
+ </return-value>
2728
+ <parameters>
2729
+ <parameter name="info" transfer-ownership="none">
2730
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2731
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2732
+ </parameter>
2733
+ </parameters>
2734
+ </function>
2735
+ <function name="object_info_get_get_value_function"
2736
+ c:identifier="g_object_info_get_get_value_function">
2737
+ <doc xml:whitespace="preserve">Obtain the symbol name of the function that should be called to convert
2738
+ an object instance pointer of this object type to a GValue.
2739
+ I's mainly used fundamental types. The type signature for the symbol
2740
+ is %GIObjectInfoGetValueFunction, to fetch the function pointer
2741
+ see g_object_info_get_get_value_function().</doc>
2742
+ <return-value transfer-ownership="none">
2743
+ <doc xml:whitespace="preserve">the symbol or %NULL</doc>
2744
+ <type name="utf8" c:type="const char*"/>
2745
+ </return-value>
2746
+ <parameters>
2747
+ <parameter name="info" transfer-ownership="none">
2748
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2749
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2750
+ </parameter>
2751
+ </parameters>
2752
+ </function>
2753
+ <function name="object_info_get_get_value_function_pointer"
2754
+ c:identifier="g_object_info_get_get_value_function_pointer"
2755
+ introspectable="0">
2756
+ <doc xml:whitespace="preserve">Obtain a pointer to a function which can be used to
2757
+ extract an instance of this object type out of a GValue.
2758
+ This takes derivation into account and will reversely traverse
2759
+ the base classes of this type, starting at the top type.</doc>
2760
+ <return-value>
2761
+ <doc xml:whitespace="preserve">the function pointer or %NULL</doc>
2762
+ <type name="ObjectInfoGetValueFunction"
2763
+ c:type="GIObjectInfoGetValueFunction"/>
2764
+ </return-value>
2765
+ <parameters>
2766
+ <parameter name="info" transfer-ownership="none">
2767
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2768
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2769
+ </parameter>
2770
+ </parameters>
2771
+ </function>
2772
+ <function name="object_info_get_interface"
2773
+ c:identifier="g_object_info_get_interface">
2774
+ <doc xml:whitespace="preserve">Obtain an object type interface at index @n.</doc>
2775
+ <return-value transfer-ownership="full">
2776
+ <doc xml:whitespace="preserve">the #GIInterfaceInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2777
+ <type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
2778
+ </return-value>
2779
+ <parameters>
2780
+ <parameter name="info" transfer-ownership="none">
2781
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2782
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2783
+ </parameter>
2784
+ <parameter name="n" transfer-ownership="none">
2785
+ <doc xml:whitespace="preserve">index of interface to get</doc>
2786
+ <type name="gint" c:type="gint"/>
2787
+ </parameter>
2788
+ </parameters>
2789
+ </function>
2790
+ <function name="object_info_get_method"
2791
+ c:identifier="g_object_info_get_method">
2792
+ <doc xml:whitespace="preserve">Obtain an object type method at index @n.</doc>
2793
+ <return-value transfer-ownership="full">
2794
+ <doc xml:whitespace="preserve">the #GIFunctionInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2795
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
2796
+ </return-value>
2797
+ <parameters>
2798
+ <parameter name="info" transfer-ownership="none">
2799
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2800
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2801
+ </parameter>
2802
+ <parameter name="n" transfer-ownership="none">
2803
+ <doc xml:whitespace="preserve">index of method to get</doc>
2804
+ <type name="gint" c:type="gint"/>
2805
+ </parameter>
2806
+ </parameters>
2807
+ </function>
2808
+ <function name="object_info_get_n_constants"
2809
+ c:identifier="g_object_info_get_n_constants">
2810
+ <doc xml:whitespace="preserve">Obtain the number of constants that this object type has.</doc>
2811
+ <return-value transfer-ownership="none">
2812
+ <doc xml:whitespace="preserve">number of constants</doc>
2813
+ <type name="gint" c:type="gint"/>
2814
+ </return-value>
2815
+ <parameters>
2816
+ <parameter name="info" transfer-ownership="none">
2817
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2818
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2819
+ </parameter>
2820
+ </parameters>
2821
+ </function>
2822
+ <function name="object_info_get_n_fields"
2823
+ c:identifier="g_object_info_get_n_fields">
2824
+ <doc xml:whitespace="preserve">Obtain the number of fields that this object type has.</doc>
2825
+ <return-value transfer-ownership="none">
2826
+ <doc xml:whitespace="preserve">number of fields</doc>
2827
+ <type name="gint" c:type="gint"/>
2828
+ </return-value>
2829
+ <parameters>
2830
+ <parameter name="info" transfer-ownership="none">
2831
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2832
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2833
+ </parameter>
2834
+ </parameters>
2835
+ </function>
2836
+ <function name="object_info_get_n_interfaces"
2837
+ c:identifier="g_object_info_get_n_interfaces">
2838
+ <doc xml:whitespace="preserve">Obtain the number of interfaces that this object type has.</doc>
2839
+ <return-value transfer-ownership="none">
2840
+ <doc xml:whitespace="preserve">number of interfaces</doc>
2841
+ <type name="gint" c:type="gint"/>
2842
+ </return-value>
2843
+ <parameters>
2844
+ <parameter name="info" transfer-ownership="none">
2845
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2846
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2847
+ </parameter>
2848
+ </parameters>
2849
+ </function>
2850
+ <function name="object_info_get_n_methods"
2851
+ c:identifier="g_object_info_get_n_methods">
2852
+ <doc xml:whitespace="preserve">Obtain the number of methods that this object type has.</doc>
2853
+ <return-value transfer-ownership="none">
2854
+ <doc xml:whitespace="preserve">number of methods</doc>
2855
+ <type name="gint" c:type="gint"/>
2856
+ </return-value>
2857
+ <parameters>
2858
+ <parameter name="info" transfer-ownership="none">
2859
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2860
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2861
+ </parameter>
2862
+ </parameters>
2863
+ </function>
2864
+ <function name="object_info_get_n_properties"
2865
+ c:identifier="g_object_info_get_n_properties">
2866
+ <doc xml:whitespace="preserve">Obtain the number of properties that this object type has.</doc>
2867
+ <return-value transfer-ownership="none">
2868
+ <doc xml:whitespace="preserve">number of properties</doc>
2869
+ <type name="gint" c:type="gint"/>
2870
+ </return-value>
2871
+ <parameters>
2872
+ <parameter name="info" transfer-ownership="none">
2873
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2874
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2875
+ </parameter>
2876
+ </parameters>
2877
+ </function>
2878
+ <function name="object_info_get_n_signals"
2879
+ c:identifier="g_object_info_get_n_signals">
2880
+ <doc xml:whitespace="preserve">Obtain the number of signals that this object type has.</doc>
2881
+ <return-value transfer-ownership="none">
2882
+ <doc xml:whitespace="preserve">number of signals</doc>
2883
+ <type name="gint" c:type="gint"/>
2884
+ </return-value>
2885
+ <parameters>
2886
+ <parameter name="info" transfer-ownership="none">
2887
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2888
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2889
+ </parameter>
2890
+ </parameters>
2891
+ </function>
2892
+ <function name="object_info_get_n_vfuncs"
2893
+ c:identifier="g_object_info_get_n_vfuncs">
2894
+ <doc xml:whitespace="preserve">Obtain the number of virtual functions that this object type has.</doc>
2895
+ <return-value transfer-ownership="none">
2896
+ <doc xml:whitespace="preserve">number of virtual functions</doc>
2897
+ <type name="gint" c:type="gint"/>
2898
+ </return-value>
2899
+ <parameters>
2900
+ <parameter name="info" transfer-ownership="none">
2901
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2902
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2903
+ </parameter>
2904
+ </parameters>
2905
+ </function>
2906
+ <function name="object_info_get_parent"
2907
+ c:identifier="g_object_info_get_parent">
2908
+ <doc xml:whitespace="preserve">Obtain the parent of the object type.</doc>
2909
+ <return-value transfer-ownership="full">
2910
+ <doc xml:whitespace="preserve">the #GIObjectInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2911
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2912
+ </return-value>
2913
+ <parameters>
2914
+ <parameter name="info" transfer-ownership="none">
2915
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2916
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2917
+ </parameter>
2918
+ </parameters>
2919
+ </function>
2920
+ <function name="object_info_get_property"
2921
+ c:identifier="g_object_info_get_property">
2922
+ <doc xml:whitespace="preserve">Obtain an object type property at index @n.</doc>
2923
+ <return-value transfer-ownership="full">
2924
+ <doc xml:whitespace="preserve">the #GIPropertyInfo. Free the struct by calling g_base_info_unref() when done.</doc>
2925
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
2926
+ </return-value>
2927
+ <parameters>
2928
+ <parameter name="info" transfer-ownership="none">
2929
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2930
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2931
+ </parameter>
2932
+ <parameter name="n" transfer-ownership="none">
2933
+ <doc xml:whitespace="preserve">index of property to get</doc>
2934
+ <type name="gint" c:type="gint"/>
2935
+ </parameter>
2936
+ </parameters>
2937
+ </function>
2938
+ <function name="object_info_get_ref_function"
2939
+ c:identifier="g_object_info_get_ref_function">
2940
+ <doc xml:whitespace="preserve">Obtain the symbol name of the function that should be called to ref this
2941
+ object type. It's mainly used fundamental types. The type signature for
2942
+ the symbol is %GIObjectInfoRefFunction, to fetch the function pointer
2943
+ see g_object_info_get_ref_function().</doc>
2944
+ <return-value transfer-ownership="none">
2945
+ <doc xml:whitespace="preserve">the symbol or %NULL</doc>
2946
+ <type name="utf8" c:type="const char*"/>
2947
+ </return-value>
2948
+ <parameters>
2949
+ <parameter name="info" transfer-ownership="none">
2950
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2951
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2952
+ </parameter>
2953
+ </parameters>
2954
+ </function>
2955
+ <function name="object_info_get_ref_function_pointer"
2956
+ c:identifier="g_object_info_get_ref_function_pointer"
2957
+ introspectable="0">
2958
+ <doc xml:whitespace="preserve">Obtain a pointer to a function which can be used to
2959
+ increase the reference count an instance of this object type.
2960
+ This takes derivation into account and will reversely traverse
2961
+ the base classes of this type, starting at the top type.</doc>
2962
+ <return-value>
2963
+ <doc xml:whitespace="preserve">the function pointer or %NULL</doc>
2964
+ <type name="ObjectInfoRefFunction" c:type="GIObjectInfoRefFunction"/>
2965
+ </return-value>
2966
+ <parameters>
2967
+ <parameter name="info" transfer-ownership="none">
2968
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2969
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2970
+ </parameter>
2971
+ </parameters>
2972
+ </function>
2973
+ <function name="object_info_get_set_value_function"
2974
+ c:identifier="g_object_info_get_set_value_function">
2975
+ <doc xml:whitespace="preserve">Obtain the symbol name of the function that should be called to convert
2976
+ set a GValue giving an object instance pointer of this object type.
2977
+ I's mainly used fundamental types. The type signature for the symbol
2978
+ is %GIObjectInfoSetValueFunction, to fetch the function pointer
2979
+ see g_object_info_get_set_value_function().</doc>
2980
+ <return-value transfer-ownership="none">
2981
+ <doc xml:whitespace="preserve">the symbol or %NULL</doc>
2982
+ <type name="utf8" c:type="const char*"/>
2983
+ </return-value>
2984
+ <parameters>
2985
+ <parameter name="info" transfer-ownership="none">
2986
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
2987
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
2988
+ </parameter>
2989
+ </parameters>
2990
+ </function>
2991
+ <function name="object_info_get_set_value_function_pointer"
2992
+ c:identifier="g_object_info_get_set_value_function_pointer"
2993
+ introspectable="0">
2994
+ <doc xml:whitespace="preserve">Obtain a pointer to a function which can be used to
2995
+ set a GValue given an instance of this object type.
2996
+ This takes derivation into account and will reversely traverse
2997
+ the base classes of this type, starting at the top type.</doc>
2998
+ <return-value>
2999
+ <doc xml:whitespace="preserve">the function pointer or %NULL</doc>
3000
+ <type name="ObjectInfoSetValueFunction"
3001
+ c:type="GIObjectInfoSetValueFunction"/>
3002
+ </return-value>
3003
+ <parameters>
3004
+ <parameter name="info" transfer-ownership="none">
3005
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3006
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3007
+ </parameter>
3008
+ </parameters>
3009
+ </function>
3010
+ <function name="object_info_get_signal"
3011
+ c:identifier="g_object_info_get_signal">
3012
+ <doc xml:whitespace="preserve">Obtain an object type signal at index @n.</doc>
3013
+ <return-value transfer-ownership="full">
3014
+ <doc xml:whitespace="preserve">the #GISignalInfo. Free the struct by calling g_base_info_unref() when done.</doc>
3015
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
3016
+ </return-value>
3017
+ <parameters>
3018
+ <parameter name="info" transfer-ownership="none">
3019
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3020
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3021
+ </parameter>
3022
+ <parameter name="n" transfer-ownership="none">
3023
+ <doc xml:whitespace="preserve">index of signal to get</doc>
3024
+ <type name="gint" c:type="gint"/>
3025
+ </parameter>
3026
+ </parameters>
3027
+ </function>
3028
+ <function name="object_info_get_type_init"
3029
+ c:identifier="g_object_info_get_type_init">
3030
+ <doc xml:whitespace="preserve">Obtain the function which when called will return the GType
3031
+ function for which this object type is registered.</doc>
3032
+ <return-value transfer-ownership="none">
3033
+ <doc xml:whitespace="preserve">the type init function</doc>
3034
+ <type name="utf8" c:type="const gchar*"/>
3035
+ </return-value>
3036
+ <parameters>
3037
+ <parameter name="info" transfer-ownership="none">
3038
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3039
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3040
+ </parameter>
3041
+ </parameters>
3042
+ </function>
3043
+ <function name="object_info_get_type_name"
3044
+ c:identifier="g_object_info_get_type_name">
3045
+ <doc xml:whitespace="preserve">Obtain the name of the objects class/type.</doc>
3046
+ <return-value transfer-ownership="none">
3047
+ <doc xml:whitespace="preserve">name of the objects type</doc>
3048
+ <type name="utf8" c:type="const gchar*"/>
3049
+ </return-value>
3050
+ <parameters>
3051
+ <parameter name="info" transfer-ownership="none">
3052
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3053
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3054
+ </parameter>
3055
+ </parameters>
3056
+ </function>
3057
+ <function name="object_info_get_unref_function"
3058
+ c:identifier="g_object_info_get_unref_function">
3059
+ <doc xml:whitespace="preserve">Obtain the symbol name of the function that should be called to unref this
3060
+ object type. It's mainly used fundamental types. The type signature for
3061
+ the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer
3062
+ see g_object_info_get_unref_function().</doc>
3063
+ <return-value transfer-ownership="none">
3064
+ <doc xml:whitespace="preserve">the symbol or %NULL</doc>
3065
+ <type name="utf8" c:type="const char*"/>
3066
+ </return-value>
3067
+ <parameters>
3068
+ <parameter name="info" transfer-ownership="none">
3069
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3070
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3071
+ </parameter>
3072
+ </parameters>
3073
+ </function>
3074
+ <function name="object_info_get_unref_function_pointer"
3075
+ c:identifier="g_object_info_get_unref_function_pointer"
3076
+ introspectable="0">
3077
+ <doc xml:whitespace="preserve">Obtain a pointer to a function which can be used to
3078
+ decrease the reference count an instance of this object type.
3079
+ This takes derivation into account and will reversely traverse
3080
+ the base classes of this type, starting at the top type.</doc>
3081
+ <return-value>
3082
+ <doc xml:whitespace="preserve">the function pointer or %NULL</doc>
3083
+ <type name="ObjectInfoUnrefFunction"
3084
+ c:type="GIObjectInfoUnrefFunction"/>
3085
+ </return-value>
3086
+ <parameters>
3087
+ <parameter name="info" transfer-ownership="none">
3088
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3089
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3090
+ </parameter>
3091
+ </parameters>
3092
+ </function>
3093
+ <function name="object_info_get_vfunc"
3094
+ c:identifier="g_object_info_get_vfunc">
3095
+ <doc xml:whitespace="preserve">Obtain an object type virtual function at index @n.</doc>
3096
+ <return-value transfer-ownership="full">
3097
+ <doc xml:whitespace="preserve">the #GIVFuncInfo. Free the struct by calling g_base_info_unref() when done.</doc>
3098
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3099
+ </return-value>
3100
+ <parameters>
3101
+ <parameter name="info" transfer-ownership="none">
3102
+ <doc xml:whitespace="preserve">a #GIObjectInfo</doc>
3103
+ <type name="ObjectInfo" c:type="GIObjectInfo*"/>
3104
+ </parameter>
3105
+ <parameter name="n" transfer-ownership="none">
3106
+ <doc xml:whitespace="preserve">index of virtual function to get</doc>
3107
+ <type name="gint" c:type="gint"/>
3108
+ </parameter>
3109
+ </parameters>
3110
+ </function>
3111
+ <function name="property_info_get_flags"
3112
+ c:identifier="g_property_info_get_flags">
3113
+ <doc xml:whitespace="preserve">Obtain the flags for this property info. See #GParamFags for
3114
+ more information about possible flag values.</doc>
3115
+ <return-value transfer-ownership="none">
3116
+ <doc xml:whitespace="preserve">the flags</doc>
3117
+ <type name="GObject.ParamFlags" c:type="GParamFlags"/>
3118
+ </return-value>
3119
+ <parameters>
3120
+ <parameter name="info" transfer-ownership="none">
3121
+ <doc xml:whitespace="preserve">a #GIPropertyInfo</doc>
3122
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
3123
+ </parameter>
3124
+ </parameters>
3125
+ </function>
3126
+ <function name="property_info_get_ownership_transfer"
3127
+ c:identifier="g_property_info_get_ownership_transfer">
3128
+ <doc xml:whitespace="preserve">Obtain the ownership transfer for this property. See #GITransfer for more
3129
+ information about transfer values.</doc>
3130
+ <return-value transfer-ownership="none">
3131
+ <doc xml:whitespace="preserve">the transfer</doc>
3132
+ <type name="Transfer" c:type="GITransfer"/>
3133
+ </return-value>
3134
+ <parameters>
3135
+ <parameter name="info" transfer-ownership="none">
3136
+ <doc xml:whitespace="preserve">a #GIPropertyInfo</doc>
3137
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
3138
+ </parameter>
3139
+ </parameters>
3140
+ </function>
3141
+ <function name="property_info_get_type"
3142
+ c:identifier="g_property_info_get_type">
3143
+ <doc xml:whitespace="preserve">Obtain the type information for the property @info.</doc>
3144
+ <return-value transfer-ownership="full">
3145
+ <doc xml:whitespace="preserve">the #GITypeInfo, free it with g_base_info_unref() when done.</doc>
3146
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3147
+ </return-value>
3148
+ <parameters>
3149
+ <parameter name="info" transfer-ownership="none">
3150
+ <doc xml:whitespace="preserve">a #GIPropertyInfo</doc>
3151
+ <type name="PropertyInfo" c:type="GIPropertyInfo*"/>
3152
+ </parameter>
3153
+ </parameters>
3154
+ </function>
3155
+ <function name="registered_type_info_get_g_type"
3156
+ c:identifier="g_registered_type_info_get_g_type">
3157
+ <doc xml:whitespace="preserve">Obtain the #GType for this registered type or G_TYPE_NONE which a special meaning.
3158
+ It means that either there is no type information associated with this @info or
3159
+ that the shared library which provides the type_init function for this
3160
+ @info cannot be called.</doc>
3161
+ <return-value transfer-ownership="none">
3162
+ <doc xml:whitespace="preserve">the #GType.</doc>
3163
+ <type name="GType" c:type="GType"/>
3164
+ </return-value>
3165
+ <parameters>
3166
+ <parameter name="info" transfer-ownership="none">
3167
+ <doc xml:whitespace="preserve">a #GIRegisteredTypeInfo</doc>
3168
+ <type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
3169
+ </parameter>
3170
+ </parameters>
3171
+ </function>
3172
+ <function name="registered_type_info_get_type_init"
3173
+ c:identifier="g_registered_type_info_get_type_init">
3174
+ <doc xml:whitespace="preserve">Obtain the type init function for @info. The type init function is the
3175
+ function which will register the GType within the GObject type system.
3176
+ Usually this is not called by langauge bindings or applications, use
3177
+ g_registered_type_info_get_g_type() directly instead.</doc>
3178
+ <return-value transfer-ownership="none">
3179
+ <doc xml:whitespace="preserve">the symbol name of the type init function, suitable for passing into g_module_symbol().</doc>
3180
+ <type name="utf8" c:type="const gchar*"/>
3181
+ </return-value>
3182
+ <parameters>
3183
+ <parameter name="info" transfer-ownership="none">
3184
+ <doc xml:whitespace="preserve">a #GIRegisteredTypeInfo</doc>
3185
+ <type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
3186
+ </parameter>
3187
+ </parameters>
3188
+ </function>
3189
+ <function name="registered_type_info_get_type_name"
3190
+ c:identifier="g_registered_type_info_get_type_name">
3191
+ <doc xml:whitespace="preserve">Obtain the type name of the struct within the GObject type system.
3192
+ This type can be passed to g_type_name() to get a #GType.</doc>
3193
+ <return-value transfer-ownership="none">
3194
+ <doc xml:whitespace="preserve">the type name</doc>
3195
+ <type name="utf8" c:type="const gchar*"/>
3196
+ </return-value>
3197
+ <parameters>
3198
+ <parameter name="info" transfer-ownership="none">
3199
+ <doc xml:whitespace="preserve">a #GIRegisteredTypeInfo</doc>
3200
+ <type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
3201
+ </parameter>
3202
+ </parameters>
3203
+ </function>
3204
+ <function name="signal_info_get_class_closure"
3205
+ c:identifier="g_signal_info_get_class_closure">
3206
+ <doc xml:whitespace="preserve">Obtain the class closure for this signal if one is set. The class
3207
+ closure is a virtual function on the type that the signal belongs to.
3208
+ If the signal lacks a closure %NULL will be returned.</doc>
3209
+ <return-value transfer-ownership="full">
3210
+ <doc xml:whitespace="preserve">the class closure or %NULL</doc>
3211
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3212
+ </return-value>
3213
+ <parameters>
3214
+ <parameter name="info" transfer-ownership="none">
3215
+ <doc xml:whitespace="preserve">a #GISignalInfo</doc>
3216
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
3217
+ </parameter>
3218
+ </parameters>
3219
+ </function>
3220
+ <function name="signal_info_get_flags"
3221
+ c:identifier="g_signal_info_get_flags">
3222
+ <doc xml:whitespace="preserve">Obtain the flags for this signal info. See #GSignalFlags for
3223
+ more information about possible flag values.</doc>
3224
+ <return-value transfer-ownership="none">
3225
+ <doc xml:whitespace="preserve">the flags</doc>
3226
+ <type name="GObject.SignalFlags" c:type="GSignalFlags"/>
3227
+ </return-value>
3228
+ <parameters>
3229
+ <parameter name="info" transfer-ownership="none">
3230
+ <doc xml:whitespace="preserve">a #GISignalInfo</doc>
3231
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
3232
+ </parameter>
3233
+ </parameters>
3234
+ </function>
3235
+ <function name="signal_info_true_stops_emit"
3236
+ c:identifier="g_signal_info_true_stops_emit">
3237
+ <doc xml:whitespace="preserve">Obtain if the returning true in the signal handler will
3238
+ stop the emission of the signal.</doc>
3239
+ <return-value transfer-ownership="none">
3240
+ <doc xml:whitespace="preserve">%TRUE if returning true stops the signal emission</doc>
3241
+ <type name="gboolean" c:type="gboolean"/>
3242
+ </return-value>
3243
+ <parameters>
3244
+ <parameter name="info" transfer-ownership="none">
3245
+ <doc xml:whitespace="preserve">a #GISignalInfo</doc>
3246
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
3247
+ </parameter>
3248
+ </parameters>
3249
+ </function>
3250
+ <function name="struct_info_find_method"
3251
+ c:identifier="g_struct_info_find_method">
3252
+ <doc xml:whitespace="preserve">Obtain the type information for method named @name.</doc>
3253
+ <return-value transfer-ownership="full">
3254
+ <doc xml:whitespace="preserve">the #GIFunctionInfo, free it with g_base_info_unref() when done.</doc>
3255
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
3256
+ </return-value>
3257
+ <parameters>
3258
+ <parameter name="info" transfer-ownership="none">
3259
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3260
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3261
+ </parameter>
3262
+ <parameter name="name" transfer-ownership="none">
3263
+ <doc xml:whitespace="preserve">a method name</doc>
3264
+ <type name="utf8" c:type="const gchar*"/>
3265
+ </parameter>
3266
+ </parameters>
3267
+ </function>
3268
+ <function name="struct_info_get_alignment"
3269
+ c:identifier="g_struct_info_get_alignment">
3270
+ <doc xml:whitespace="preserve">Obtain the required alignment of the structure.</doc>
3271
+ <return-value transfer-ownership="none">
3272
+ <doc xml:whitespace="preserve">required alignment in bytes</doc>
3273
+ <type name="gsize" c:type="gsize"/>
3274
+ </return-value>
3275
+ <parameters>
3276
+ <parameter name="info" transfer-ownership="none">
3277
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3278
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3279
+ </parameter>
3280
+ </parameters>
3281
+ </function>
3282
+ <function name="struct_info_get_field"
3283
+ c:identifier="g_struct_info_get_field">
3284
+ <doc xml:whitespace="preserve">Obtain the type information for field with specified index.</doc>
3285
+ <return-value transfer-ownership="full">
3286
+ <doc xml:whitespace="preserve">the #GIFieldInfo, free it with g_base_info_unref() when done.</doc>
3287
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
3288
+ </return-value>
3289
+ <parameters>
3290
+ <parameter name="info" transfer-ownership="none">
3291
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3292
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3293
+ </parameter>
3294
+ <parameter name="n" transfer-ownership="none">
3295
+ <doc xml:whitespace="preserve">a field index</doc>
3296
+ <type name="gint" c:type="gint"/>
3297
+ </parameter>
3298
+ </parameters>
3299
+ </function>
3300
+ <function name="struct_info_get_method"
3301
+ c:identifier="g_struct_info_get_method">
3302
+ <doc xml:whitespace="preserve">Obtain the type information for method with specified index.</doc>
3303
+ <return-value transfer-ownership="full">
3304
+ <doc xml:whitespace="preserve">the #GIFunctionInfo, free it with g_base_info_unref() when done.</doc>
3305
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
3306
+ </return-value>
3307
+ <parameters>
3308
+ <parameter name="info" transfer-ownership="none">
3309
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3310
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3311
+ </parameter>
3312
+ <parameter name="n" transfer-ownership="none">
3313
+ <doc xml:whitespace="preserve">a method index</doc>
3314
+ <type name="gint" c:type="gint"/>
3315
+ </parameter>
3316
+ </parameters>
3317
+ </function>
3318
+ <function name="struct_info_get_n_fields"
3319
+ c:identifier="g_struct_info_get_n_fields">
3320
+ <doc xml:whitespace="preserve">Obtain the number of fields this structure has.</doc>
3321
+ <return-value transfer-ownership="none">
3322
+ <doc xml:whitespace="preserve">number of fields</doc>
3323
+ <type name="gint" c:type="gint"/>
3324
+ </return-value>
3325
+ <parameters>
3326
+ <parameter name="info" transfer-ownership="none">
3327
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3328
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3329
+ </parameter>
3330
+ </parameters>
3331
+ </function>
3332
+ <function name="struct_info_get_n_methods"
3333
+ c:identifier="g_struct_info_get_n_methods">
3334
+ <doc xml:whitespace="preserve">Obtain the number of methods this structure has.</doc>
3335
+ <return-value transfer-ownership="none">
3336
+ <doc xml:whitespace="preserve">number of methods</doc>
3337
+ <type name="gint" c:type="gint"/>
3338
+ </return-value>
3339
+ <parameters>
3340
+ <parameter name="info" transfer-ownership="none">
3341
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3342
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3343
+ </parameter>
3344
+ </parameters>
3345
+ </function>
3346
+ <function name="struct_info_get_size"
3347
+ c:identifier="g_struct_info_get_size">
3348
+ <doc xml:whitespace="preserve">Obtain the total size of the structure.</doc>
3349
+ <return-value transfer-ownership="none">
3350
+ <doc xml:whitespace="preserve">size of the structure in bytes</doc>
3351
+ <type name="gsize" c:type="gsize"/>
3352
+ </return-value>
3353
+ <parameters>
3354
+ <parameter name="info" transfer-ownership="none">
3355
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3356
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3357
+ </parameter>
3358
+ </parameters>
3359
+ </function>
3360
+ <function name="struct_info_is_foreign"
3361
+ c:identifier="g_struct_info_is_foreign">
3362
+ <return-value transfer-ownership="none">
3363
+ <type name="gboolean" c:type="gboolean"/>
3364
+ </return-value>
3365
+ <parameters>
3366
+ <parameter name="info" transfer-ownership="none">
3367
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3368
+ </parameter>
3369
+ </parameters>
3370
+ </function>
3371
+ <function name="struct_info_is_gtype_struct"
3372
+ c:identifier="g_struct_info_is_gtype_struct">
3373
+ <doc xml:whitespace="preserve">Return true if this structure represents the "class structure" for some
3374
+ #GObject or #GInterface. This function is mainly useful to hide this kind of structure
3375
+ from generated public APIs.</doc>
3376
+ <return-value transfer-ownership="none">
3377
+ <doc xml:whitespace="preserve">%TRUE if this is a class struct, %FALSE otherwise</doc>
3378
+ <type name="gboolean" c:type="gboolean"/>
3379
+ </return-value>
3380
+ <parameters>
3381
+ <parameter name="info" transfer-ownership="none">
3382
+ <doc xml:whitespace="preserve">a #GIStructInfo</doc>
3383
+ <type name="StructInfo" c:type="GIStructInfo*"/>
3384
+ </parameter>
3385
+ </parameters>
3386
+ </function>
3387
+ <function name="type_info_get_array_fixed_size"
3388
+ c:identifier="g_type_info_get_array_fixed_size">
3389
+ <doc xml:whitespace="preserve">Obtain the fixed array size of the type. The type tag must be a
3390
+ #GI_TYPE_TAG_ARRAY or -1 will returned.</doc>
3391
+ <return-value transfer-ownership="none">
3392
+ <doc xml:whitespace="preserve">the size or -1 if it's not an array</doc>
3393
+ <type name="gint" c:type="gint"/>
3394
+ </return-value>
3395
+ <parameters>
3396
+ <parameter name="info" transfer-ownership="none">
3397
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3398
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3399
+ </parameter>
3400
+ </parameters>
3401
+ </function>
3402
+ <function name="type_info_get_array_length"
3403
+ c:identifier="g_type_info_get_array_length">
3404
+ <doc xml:whitespace="preserve">Obtain the array length of the type. The type tag must be a
3405
+ #GI_TYPE_TAG_ARRAY or -1 will returned.</doc>
3406
+ <return-value transfer-ownership="none">
3407
+ <doc xml:whitespace="preserve">the array length, or -1 if the type is not an array</doc>
3408
+ <type name="gint" c:type="gint"/>
3409
+ </return-value>
3410
+ <parameters>
3411
+ <parameter name="info" transfer-ownership="none">
3412
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3413
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3414
+ </parameter>
3415
+ </parameters>
3416
+ </function>
3417
+ <function name="type_info_get_array_type"
3418
+ c:identifier="g_type_info_get_array_type">
3419
+ <doc xml:whitespace="preserve">Obtain the array type for this type. See #GIArrayType for a list of
3420
+ possible values. If the type tag of this type is not array, -1 will be
3421
+ returned.</doc>
3422
+ <return-value transfer-ownership="none">
3423
+ <doc xml:whitespace="preserve">the array type or -1</doc>
3424
+ <type name="ArrayType" c:type="GIArrayType"/>
3425
+ </return-value>
3426
+ <parameters>
3427
+ <parameter name="info" transfer-ownership="none">
3428
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3429
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3430
+ </parameter>
3431
+ </parameters>
3432
+ </function>
3433
+ <function name="type_info_get_interface"
3434
+ c:identifier="g_type_info_get_interface">
3435
+ <doc xml:whitespace="preserve">For types which have #GI_TYPE_TAG_INTERFACE such as GObjects and boxed values,
3436
+ this function returns full information about the referenced type. You can then
3437
+ inspect the type of the returned #GIBaseInfo to further query whether it is
3438
+ a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</doc>
3439
+ <return-value transfer-ownership="full">
3440
+ <doc xml:whitespace="preserve">the #GIBaseInfo, or %NULL. Free it with g_base_info_unref() when done.</doc>
3441
+ <type name="BaseInfo" c:type="GIBaseInfo*"/>
3442
+ </return-value>
3443
+ <parameters>
3444
+ <parameter name="info" transfer-ownership="none">
3445
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3446
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3447
+ </parameter>
3448
+ </parameters>
3449
+ </function>
3450
+ <function name="type_info_get_param_type"
3451
+ c:identifier="g_type_info_get_param_type">
3452
+ <doc xml:whitespace="preserve">Obtain the parameter type @n.</doc>
3453
+ <return-value transfer-ownership="full">
3454
+ <doc xml:whitespace="preserve">the param type info</doc>
3455
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3456
+ </return-value>
3457
+ <parameters>
3458
+ <parameter name="info" transfer-ownership="none">
3459
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3460
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3461
+ </parameter>
3462
+ <parameter name="n" transfer-ownership="none">
3463
+ <doc xml:whitespace="preserve">index of the parameter</doc>
3464
+ <type name="gint" c:type="gint"/>
3465
+ </parameter>
3466
+ </parameters>
3467
+ </function>
3468
+ <function name="type_info_get_tag" c:identifier="g_type_info_get_tag">
3469
+ <doc xml:whitespace="preserve">Obtain the type tag for the type. See #GITypeTag for a list
3470
+ of type tags.</doc>
3471
+ <return-value transfer-ownership="none">
3472
+ <doc xml:whitespace="preserve">the type tag</doc>
3473
+ <type name="TypeTag" c:type="GITypeTag"/>
3474
+ </return-value>
3475
+ <parameters>
3476
+ <parameter name="info" transfer-ownership="none">
3477
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3478
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3479
+ </parameter>
3480
+ </parameters>
3481
+ </function>
3482
+ <function name="type_info_is_pointer"
3483
+ c:identifier="g_type_info_is_pointer">
3484
+ <doc xml:whitespace="preserve">Obtain if the type is passed as a reference.</doc>
3485
+ <return-value transfer-ownership="none">
3486
+ <doc xml:whitespace="preserve">%TRUE if it is a pointer</doc>
3487
+ <type name="gboolean" c:type="gboolean"/>
3488
+ </return-value>
3489
+ <parameters>
3490
+ <parameter name="info" transfer-ownership="none">
3491
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3492
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3493
+ </parameter>
3494
+ </parameters>
3495
+ </function>
3496
+ <function name="type_info_is_zero_terminated"
3497
+ c:identifier="g_type_info_is_zero_terminated">
3498
+ <doc xml:whitespace="preserve">Obtain if the last element of the array is %NULL. The type tag must be a
3499
+ #GI_TYPE_TAG_ARRAY or %FALSE will returned.</doc>
3500
+ <return-value transfer-ownership="none">
3501
+ <doc xml:whitespace="preserve">%TRUE if zero terminated</doc>
3502
+ <type name="gboolean" c:type="gboolean"/>
3503
+ </return-value>
3504
+ <parameters>
3505
+ <parameter name="info" transfer-ownership="none">
3506
+ <doc xml:whitespace="preserve">a #GITypeInfo</doc>
3507
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3508
+ </parameter>
3509
+ </parameters>
3510
+ </function>
3511
+ <function name="type_tag_to_string" c:identifier="g_type_tag_to_string">
3512
+ <doc xml:whitespace="preserve">Obtain a string representation of @type</doc>
3513
+ <return-value transfer-ownership="none">
3514
+ <doc xml:whitespace="preserve">the string</doc>
3515
+ <type name="utf8" c:type="const gchar*"/>
3516
+ </return-value>
3517
+ <parameters>
3518
+ <parameter name="type" transfer-ownership="none">
3519
+ <doc xml:whitespace="preserve">the type_tag</doc>
3520
+ <type name="TypeTag" c:type="GITypeTag"/>
3521
+ </parameter>
3522
+ </parameters>
3523
+ </function>
3524
+ <function name="union_info_find_method"
3525
+ c:identifier="g_union_info_find_method">
3526
+ <doc xml:whitespace="preserve">Obtain the type information for method named @name.</doc>
3527
+ <return-value transfer-ownership="full">
3528
+ <doc xml:whitespace="preserve">the #GIFunctionInfo, free it with g_base_info_unref() when done.</doc>
3529
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
3530
+ </return-value>
3531
+ <parameters>
3532
+ <parameter name="info" transfer-ownership="none">
3533
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3534
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3535
+ </parameter>
3536
+ <parameter name="name" transfer-ownership="none">
3537
+ <doc xml:whitespace="preserve">a method name</doc>
3538
+ <type name="utf8" c:type="const gchar*"/>
3539
+ </parameter>
3540
+ </parameters>
3541
+ </function>
3542
+ <function name="union_info_get_alignment"
3543
+ c:identifier="g_union_info_get_alignment">
3544
+ <doc xml:whitespace="preserve">Obtain the required alignment of the union.</doc>
3545
+ <return-value transfer-ownership="none">
3546
+ <doc xml:whitespace="preserve">required alignment in bytes</doc>
3547
+ <type name="gsize" c:type="gsize"/>
3548
+ </return-value>
3549
+ <parameters>
3550
+ <parameter name="info" transfer-ownership="none">
3551
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3552
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3553
+ </parameter>
3554
+ </parameters>
3555
+ </function>
3556
+ <function name="union_info_get_discriminator"
3557
+ c:identifier="g_union_info_get_discriminator">
3558
+ <doc xml:whitespace="preserve">Obtain discriminator value assigned for n-th union field, i.e. n-th
3559
+ union field is the active one if discriminator contains this
3560
+ constant.</doc>
3561
+ <return-value transfer-ownership="full">
3562
+ <doc xml:whitespace="preserve">the #GIConstantInfo, free it with g_base_info_unref() when done.</doc>
3563
+ <type name="ConstantInfo" c:type="GIConstantInfo*"/>
3564
+ </return-value>
3565
+ <parameters>
3566
+ <parameter name="info" transfer-ownership="none">
3567
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3568
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3569
+ </parameter>
3570
+ <parameter name="n" transfer-ownership="none">
3571
+ <doc xml:whitespace="preserve">a union field index</doc>
3572
+ <type name="gint" c:type="gint"/>
3573
+ </parameter>
3574
+ </parameters>
3575
+ </function>
3576
+ <function name="union_info_get_discriminator_offset"
3577
+ c:identifier="g_union_info_get_discriminator_offset">
3578
+ <return-value transfer-ownership="none">
3579
+ <type name="gint" c:type="gint"/>
3580
+ </return-value>
3581
+ <parameters>
3582
+ <parameter name="info" transfer-ownership="none">
3583
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3584
+ </parameter>
3585
+ </parameters>
3586
+ </function>
3587
+ <function name="union_info_get_discriminator_type"
3588
+ c:identifier="g_union_info_get_discriminator_type">
3589
+ <doc xml:whitespace="preserve">Obtain the type information of the union discriminator.</doc>
3590
+ <return-value transfer-ownership="full">
3591
+ <doc xml:whitespace="preserve">the #GITypeInfo, free it with g_base_info_unref() when done.</doc>
3592
+ <type name="TypeInfo" c:type="GITypeInfo*"/>
3593
+ </return-value>
3594
+ <parameters>
3595
+ <parameter name="info" transfer-ownership="none">
3596
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3597
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3598
+ </parameter>
3599
+ </parameters>
3600
+ </function>
3601
+ <function name="union_info_get_field"
3602
+ c:identifier="g_union_info_get_field">
3603
+ <doc xml:whitespace="preserve">Obtain the type information for field with specified index.</doc>
3604
+ <return-value transfer-ownership="full">
3605
+ <doc xml:whitespace="preserve">the #GIFieldInfo, free it with g_base_info_unref() when done.</doc>
3606
+ <type name="FieldInfo" c:type="GIFieldInfo*"/>
3607
+ </return-value>
3608
+ <parameters>
3609
+ <parameter name="info" transfer-ownership="none">
3610
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3611
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3612
+ </parameter>
3613
+ <parameter name="n" transfer-ownership="none">
3614
+ <doc xml:whitespace="preserve">a field index</doc>
3615
+ <type name="gint" c:type="gint"/>
3616
+ </parameter>
3617
+ </parameters>
3618
+ </function>
3619
+ <function name="union_info_get_method"
3620
+ c:identifier="g_union_info_get_method">
3621
+ <doc xml:whitespace="preserve">Obtain the type information for method with specified index.</doc>
3622
+ <return-value transfer-ownership="full">
3623
+ <doc xml:whitespace="preserve">the #GIFunctionInfo, free it with g_base_info_unref() when done.</doc>
3624
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
3625
+ </return-value>
3626
+ <parameters>
3627
+ <parameter name="info" transfer-ownership="none">
3628
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3629
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3630
+ </parameter>
3631
+ <parameter name="n" transfer-ownership="none">
3632
+ <doc xml:whitespace="preserve">a method index</doc>
3633
+ <type name="gint" c:type="gint"/>
3634
+ </parameter>
3635
+ </parameters>
3636
+ </function>
3637
+ <function name="union_info_get_n_fields"
3638
+ c:identifier="g_union_info_get_n_fields">
3639
+ <doc xml:whitespace="preserve">Obtain the number of fields this union has.</doc>
3640
+ <return-value transfer-ownership="none">
3641
+ <doc xml:whitespace="preserve">number of fields</doc>
3642
+ <type name="gint" c:type="gint"/>
3643
+ </return-value>
3644
+ <parameters>
3645
+ <parameter name="info" transfer-ownership="none">
3646
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3647
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3648
+ </parameter>
3649
+ </parameters>
3650
+ </function>
3651
+ <function name="union_info_get_n_methods"
3652
+ c:identifier="g_union_info_get_n_methods">
3653
+ <doc xml:whitespace="preserve">Obtain the number of methods this union has.</doc>
3654
+ <return-value transfer-ownership="none">
3655
+ <doc xml:whitespace="preserve">number of methods</doc>
3656
+ <type name="gint" c:type="gint"/>
3657
+ </return-value>
3658
+ <parameters>
3659
+ <parameter name="info" transfer-ownership="none">
3660
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3661
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3662
+ </parameter>
3663
+ </parameters>
3664
+ </function>
3665
+ <function name="union_info_get_size" c:identifier="g_union_info_get_size">
3666
+ <doc xml:whitespace="preserve">Obtain the total size of the union.</doc>
3667
+ <return-value transfer-ownership="none">
3668
+ <doc xml:whitespace="preserve">size of the union in bytes</doc>
3669
+ <type name="gsize" c:type="gsize"/>
3670
+ </return-value>
3671
+ <parameters>
3672
+ <parameter name="info" transfer-ownership="none">
3673
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3674
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3675
+ </parameter>
3676
+ </parameters>
3677
+ </function>
3678
+ <function name="union_info_is_discriminated"
3679
+ c:identifier="g_union_info_is_discriminated">
3680
+ <doc xml:whitespace="preserve">Return true if this union contains discriminator field.</doc>
3681
+ <return-value transfer-ownership="none">
3682
+ <doc xml:whitespace="preserve">%TRUE if this is a discriminated union, %FALSE otherwise</doc>
3683
+ <type name="gboolean" c:type="gboolean"/>
3684
+ </return-value>
3685
+ <parameters>
3686
+ <parameter name="info" transfer-ownership="none">
3687
+ <doc xml:whitespace="preserve">a #GIUnionInfo</doc>
3688
+ <type name="UnionInfo" c:type="GIUnionInfo*"/>
3689
+ </parameter>
3690
+ </parameters>
3691
+ </function>
3692
+ <function name="value_info_get_value"
3693
+ c:identifier="g_value_info_get_value">
3694
+ <doc xml:whitespace="preserve">Obtain the enumeration value of the #GIValueInfo.</doc>
3695
+ <return-value transfer-ownership="none">
3696
+ <doc xml:whitespace="preserve">the enumeration value. This will always be representable as a 32-bit signed or unsigned value. The use of gint64 as the return type is to allow both.</doc>
3697
+ <type name="gint64" c:type="gint64"/>
3698
+ </return-value>
3699
+ <parameters>
3700
+ <parameter name="info" transfer-ownership="none">
3701
+ <doc xml:whitespace="preserve">a #GIValueInfo</doc>
3702
+ <type name="ValueInfo" c:type="GIValueInfo*"/>
3703
+ </parameter>
3704
+ </parameters>
3705
+ </function>
3706
+ <function name="vfunc_info_get_address"
3707
+ c:identifier="g_vfunc_info_get_address"
3708
+ introspectable="0"
3709
+ throws="1">
3710
+ <doc xml:whitespace="preserve">This method will look up where inside the type struct of @implementor_gtype
3711
+ is the implementation for @info.</doc>
3712
+ <return-value>
3713
+ <doc xml:whitespace="preserve">address to a function or %NULL if an error happened</doc>
3714
+ <type name="gpointer" c:type="gpointer"/>
3715
+ </return-value>
3716
+ <parameters>
3717
+ <parameter name="info" transfer-ownership="none">
3718
+ <doc xml:whitespace="preserve">a #GIVFuncInfo</doc>
3719
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3720
+ </parameter>
3721
+ <parameter name="implementor_gtype" transfer-ownership="none">
3722
+ <doc xml:whitespace="preserve">#GType implementing this virtual function</doc>
3723
+ <type name="GType" c:type="GType"/>
3724
+ </parameter>
3725
+ </parameters>
3726
+ </function>
3727
+ <function name="vfunc_info_get_flags"
3728
+ c:identifier="g_vfunc_info_get_flags">
3729
+ <doc xml:whitespace="preserve">Obtain the flags for this virtual function info. See #GIVFuncInfoFlags for
3730
+ more information about possible flag values.</doc>
3731
+ <return-value transfer-ownership="none">
3732
+ <doc xml:whitespace="preserve">the flags</doc>
3733
+ <type name="VFuncInfoFlags" c:type="GIVFuncInfoFlags"/>
3734
+ </return-value>
3735
+ <parameters>
3736
+ <parameter name="info" transfer-ownership="none">
3737
+ <doc xml:whitespace="preserve">a #GIVFuncInfo</doc>
3738
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3739
+ </parameter>
3740
+ </parameters>
3741
+ </function>
3742
+ <function name="vfunc_info_get_invoker"
3743
+ c:identifier="g_vfunc_info_get_invoker">
3744
+ <doc xml:whitespace="preserve">If this virtual function has an associated invoker method, this
3745
+ method will return it. An invoker method is a C entry point.
3746
+
3747
+ Not all virtuals will have invokers.</doc>
3748
+ <return-value transfer-ownership="full">
3749
+ <doc xml:whitespace="preserve">the #GIVFuncInfo or %NULL. Free it with g_base_info_unref() when done.</doc>
3750
+ <type name="FunctionInfo" c:type="GIFunctionInfo*"/>
3751
+ </return-value>
3752
+ <parameters>
3753
+ <parameter name="info" transfer-ownership="none">
3754
+ <doc xml:whitespace="preserve">a #GIVFuncInfo</doc>
3755
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3756
+ </parameter>
3757
+ </parameters>
3758
+ </function>
3759
+ <function name="vfunc_info_get_offset"
3760
+ c:identifier="g_vfunc_info_get_offset">
3761
+ <doc xml:whitespace="preserve">Obtain the offset of the function pointer in the class struct. The value
3762
+ 0xFFFF indicates that the struct offset is unknown.</doc>
3763
+ <return-value transfer-ownership="none">
3764
+ <doc xml:whitespace="preserve">the struct offset or 0xFFFF if it's unknown</doc>
3765
+ <type name="gint" c:type="gint"/>
3766
+ </return-value>
3767
+ <parameters>
3768
+ <parameter name="info" transfer-ownership="none">
3769
+ <doc xml:whitespace="preserve">a #GIVFuncInfo</doc>
3770
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3771
+ </parameter>
3772
+ </parameters>
3773
+ </function>
3774
+ <function name="vfunc_info_get_signal"
3775
+ c:identifier="g_vfunc_info_get_signal">
3776
+ <doc xml:whitespace="preserve">Obtain the signal for the virtual function if one is set.
3777
+ The signal comes from the object or interface to which
3778
+ this virtual function belongs.</doc>
3779
+ <return-value transfer-ownership="full">
3780
+ <doc xml:whitespace="preserve">the signal or %NULL if none set</doc>
3781
+ <type name="SignalInfo" c:type="GISignalInfo*"/>
3782
+ </return-value>
3783
+ <parameters>
3784
+ <parameter name="info" transfer-ownership="none">
3785
+ <doc xml:whitespace="preserve">a #GIVFuncInfo</doc>
3786
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3787
+ </parameter>
3788
+ </parameters>
3789
+ </function>
3790
+ <function name="vfunc_info_invoke"
3791
+ c:identifier="g_vfunc_info_invoke"
3792
+ introspectable="0"
3793
+ throws="1">
3794
+ <doc xml:whitespace="preserve">Invokes the function described in @info with the given
3795
+ arguments. Note that inout parameters must appear in both
3796
+ argument lists.</doc>
3797
+ <return-value transfer-ownership="none">
3798
+ <doc xml:whitespace="preserve">%TRUE if the function has been invoked, %FALSE if an error occurred.</doc>
3799
+ <type name="gboolean" c:type="gboolean"/>
3800
+ </return-value>
3801
+ <parameters>
3802
+ <parameter name="info" transfer-ownership="none">
3803
+ <doc xml:whitespace="preserve">a #GIVFuncInfo describing the virtual function to invoke</doc>
3804
+ <type name="VFuncInfo" c:type="GIVFuncInfo*"/>
3805
+ </parameter>
3806
+ <parameter name="implementor" transfer-ownership="none">
3807
+ <doc xml:whitespace="preserve">#GType of the type that implements this virtual function</doc>
3808
+ <type name="GType" c:type="GType"/>
3809
+ </parameter>
3810
+ <parameter name="in_args" transfer-ownership="none">
3811
+ <doc xml:whitespace="preserve">an array of #GIArgument&lt;!-- --&gt;s, one for each in parameter of @info. If there are no in parameter, @in_args can be %NULL</doc>
3812
+ <type name="Argument" c:type="const GIArgument*"/>
3813
+ </parameter>
3814
+ <parameter name="n_in_args" transfer-ownership="none">
3815
+ <doc xml:whitespace="preserve">the length of the @in_args array</doc>
3816
+ <type name="gint" c:type="int"/>
3817
+ </parameter>
3818
+ <parameter name="out_args" transfer-ownership="none">
3819
+ <doc xml:whitespace="preserve">an array of #GIArgument&lt;!-- --&gt;s, one for each out parameter of @info. If there are no out parameters, @out_args may be %NULL</doc>
3820
+ <type name="Argument" c:type="const GIArgument*"/>
3821
+ </parameter>
3822
+ <parameter name="n_out_args" transfer-ownership="none">
3823
+ <doc xml:whitespace="preserve">the length of the @out_args array</doc>
3824
+ <type name="gint" c:type="int"/>
3825
+ </parameter>
3826
+ <parameter name="return_value" transfer-ownership="none">
3827
+ <doc xml:whitespace="preserve">return location for the return value of the function. If the function returns void, @return_value may be %NULL</doc>
3828
+ <type name="Argument" c:type="GIArgument*"/>
3829
+ </parameter>
3830
+ </parameters>
3831
+ </function>
3832
+ </namespace>
3833
+ </repository>