atk 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (765) hide show
  1. data/ChangeLog +9 -0
  2. data/Rakefile +8 -70
  3. data/ext/atk/Makefile +160 -0
  4. data/ext/atk/extconf.rb +9 -9
  5. data/ext/atk/rbatkversion.h +24 -0
  6. data/lib/1.8/atk.so +0 -0
  7. data/lib/1.9/atk.so +0 -0
  8. data/vendor/local/lib/pkgconfig/atk.pc +1 -1
  9. metadata +150 -902
  10. data/vendor/local/bin/envsubst.exe +0 -0
  11. data/vendor/local/bin/gettext.exe +0 -0
  12. data/vendor/local/bin/gettext.sh +0 -123
  13. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  14. data/vendor/local/bin/glib-gettextize +0 -188
  15. data/vendor/local/bin/glib-mkenums +0 -537
  16. data/vendor/local/bin/gobject-query.exe +0 -0
  17. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  18. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  19. data/vendor/local/bin/intl.dll +0 -0
  20. data/vendor/local/bin/libasprintf-0.dll +0 -0
  21. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  22. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  23. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  24. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  25. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  26. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  27. data/vendor/local/bin/ngettext.exe +0 -0
  28. data/vendor/local/include/autosprintf.h +0 -66
  29. data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
  30. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
  31. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
  32. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
  33. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
  34. data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
  35. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
  36. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
  37. data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
  38. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
  39. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
  40. data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
  41. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
  42. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
  43. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
  44. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
  45. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
  46. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
  47. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
  48. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
  49. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
  50. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
  51. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
  52. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
  53. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
  54. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
  55. data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
  56. data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
  57. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
  58. data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
  59. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
  60. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
  61. data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
  62. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
  63. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
  64. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
  65. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
  66. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
  67. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
  68. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
  69. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
  70. data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
  71. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
  72. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
  73. data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
  74. data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
  75. data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
  76. data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
  77. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
  78. data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
  79. data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
  80. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
  81. data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
  82. data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
  83. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
  84. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
  85. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
  86. data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
  87. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
  88. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
  89. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
  90. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
  91. data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
  92. data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
  93. data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
  94. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
  95. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
  96. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
  97. data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
  98. data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
  99. data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
  100. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
  101. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
  102. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
  103. data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
  104. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
  105. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
  106. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
  107. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
  108. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
  109. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
  110. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
  111. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
  112. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
  113. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
  114. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
  115. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
  116. data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
  117. data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
  118. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
  119. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
  120. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
  121. data/vendor/local/include/glib-2.0/glib-object.h +0 -42
  122. data/vendor/local/include/glib-2.0/glib.h +0 -99
  123. data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
  124. data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
  125. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
  126. data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
  127. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
  128. data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
  129. data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
  130. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
  131. data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
  132. data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
  133. data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
  134. data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
  135. data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
  136. data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
  137. data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
  138. data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
  139. data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
  140. data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
  141. data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
  142. data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
  143. data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
  144. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
  145. data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
  146. data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
  147. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
  148. data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
  149. data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
  150. data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
  151. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
  152. data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
  153. data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
  154. data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
  155. data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
  156. data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
  157. data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
  158. data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
  159. data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
  160. data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
  161. data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
  162. data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
  163. data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
  164. data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
  165. data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
  166. data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
  167. data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
  168. data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
  169. data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
  170. data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
  171. data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
  172. data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
  173. data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
  174. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
  175. data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
  176. data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
  177. data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
  178. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
  179. data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
  180. data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
  181. data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
  182. data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
  183. data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
  184. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
  185. data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
  186. data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
  187. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
  188. data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
  189. data/vendor/local/include/glib-2.0/gmodule.h +0 -101
  190. data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
  191. data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
  192. data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
  193. data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
  194. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
  195. data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
  196. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
  197. data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
  198. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
  199. data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
  200. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
  201. data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
  202. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
  203. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
  204. data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
  205. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
  206. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
  207. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
  208. data/vendor/local/include/libintl.h +0 -464
  209. data/vendor/local/lib/GNU.Gettext.dll +0 -0
  210. data/vendor/local/lib/gio-2.0.def +0 -1143
  211. data/vendor/local/lib/gio-2.0.lib +0 -0
  212. data/vendor/local/lib/glib-2.0.def +0 -1452
  213. data/vendor/local/lib/glib-2.0.lib +0 -0
  214. data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
  215. data/vendor/local/lib/gmodule-2.0.def +0 -11
  216. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  217. data/vendor/local/lib/gobject-2.0.def +0 -370
  218. data/vendor/local/lib/gobject-2.0.lib +0 -0
  219. data/vendor/local/lib/gthread-2.0.def +0 -3
  220. data/vendor/local/lib/gthread-2.0.lib +0 -0
  221. data/vendor/local/lib/intl.lib +0 -0
  222. data/vendor/local/lib/libasprintf.dll.a +0 -0
  223. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  224. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  225. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  226. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  227. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  228. data/vendor/local/lib/libintl.def +0 -31
  229. data/vendor/local/lib/libintl.dll.a +0 -0
  230. data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
  231. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
  232. data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
  233. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
  234. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
  235. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
  236. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
  237. data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
  238. data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
  239. data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
  240. data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
  241. data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
  242. data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
  243. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
  244. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
  245. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
  246. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
  247. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
  248. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
  249. data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
  250. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
  251. data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
  252. data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
  253. data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
  254. data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
  255. data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
  256. data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
  257. data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
  258. data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
  259. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
  260. data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
  261. data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
  262. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
  263. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
  264. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
  265. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
  266. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
  267. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
  268. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
  269. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
  270. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
  271. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
  272. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
  273. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
  274. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
  275. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
  276. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
  277. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
  278. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
  279. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
  280. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
  281. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
  282. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
  283. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
  284. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
  285. data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
  286. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
  287. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
  288. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
  289. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
  290. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
  291. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
  292. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
  293. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
  294. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
  295. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
  296. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
  297. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
  298. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
  299. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
  300. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
  301. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
  302. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
  303. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
  304. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
  305. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
  306. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
  307. data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
  308. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
  309. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
  310. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
  311. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
  312. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
  313. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
  314. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
  315. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
  316. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
  317. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
  318. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
  319. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
  320. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
  321. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
  322. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
  323. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
  324. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
  325. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
  326. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
  327. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
  328. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
  329. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
  330. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
  331. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
  332. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
  333. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
  334. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
  335. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
  336. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
  337. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
  338. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
  339. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
  340. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
  341. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
  342. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
  343. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
  344. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
  345. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
  346. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
  347. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
  348. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
  349. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
  350. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
  351. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
  352. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
  353. data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
  354. data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
  355. data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
  356. data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
  357. data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
  358. data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
  359. data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
  360. data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
  361. data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
  362. data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
  363. data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
  364. data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
  365. data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
  366. data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
  367. data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
  368. data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
  369. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
  370. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
  371. data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
  372. data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
  373. data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
  374. data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
  375. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
  376. data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
  377. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
  378. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
  379. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
  380. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
  381. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
  382. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
  383. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
  384. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
  385. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
  386. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
  387. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
  388. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
  389. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
  390. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
  391. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
  392. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
  393. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
  394. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
  395. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
  396. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
  397. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
  398. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
  399. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
  400. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
  401. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
  402. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
  403. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
  404. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  405. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
  406. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  407. data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
  408. data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
  409. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
  410. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  411. data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
  412. data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
  413. data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
  414. data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
  415. data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
  416. data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
  417. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  418. data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
  419. data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
  420. data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
  421. data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
  422. data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
  423. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  424. data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
  425. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
  426. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
  427. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
  428. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
  429. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
  430. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
  431. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
  432. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
  433. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
  434. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
  435. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
  436. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
  437. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
  438. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
  439. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
  440. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
  441. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
  442. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
  463. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
  464. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
  465. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
  466. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
  467. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
  470. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
  471. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
  472. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
  473. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
  474. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
  475. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
  480. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
  481. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
  485. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
  490. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
  498. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
  499. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
  502. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
  503. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
  504. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
  507. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
  508. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
  510. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
  511. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
  512. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
  513. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
  514. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
  515. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
  516. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
  517. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
  518. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
  519. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
  520. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
  521. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
  522. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
  523. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
  524. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
  525. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
  526. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
  527. data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
  528. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
  529. data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
  530. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
  531. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  532. data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
  533. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
  534. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  535. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  536. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  537. data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
  538. data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
  539. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  540. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
  541. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
  542. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
  543. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
  545. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
  546. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
  547. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
  548. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
  549. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
  550. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
  551. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
  552. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
  553. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
  554. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
  555. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
  556. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
  557. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
  558. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
  559. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
  560. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
  561. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
  562. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
  563. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
  564. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
  565. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
  567. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
  568. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
  569. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
  570. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
  571. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
  572. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
  573. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
  574. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
  575. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
  576. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
  577. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
  578. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
  579. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
  580. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
  581. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
  582. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
  583. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
  584. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
  585. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
  586. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  587. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
  588. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
  589. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
  590. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
  591. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
  592. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
  593. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
  594. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
  595. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
  596. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
  597. data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
  598. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
  599. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  600. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
  601. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
  602. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
  603. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
  604. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
  606. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
  607. data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
  608. data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
  609. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
  610. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
  611. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
  612. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
  613. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
  614. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  615. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  616. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  617. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  618. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  619. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  620. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  621. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  622. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  623. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  624. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  625. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  626. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  627. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  628. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  629. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  630. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  631. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  632. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  633. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  634. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  635. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  636. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  637. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  638. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  639. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  640. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  641. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  642. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  643. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  644. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  645. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  646. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  647. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  648. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  649. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  650. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  651. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  652. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  653. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  654. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  656. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  658. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  660. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  662. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  663. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  664. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  666. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  668. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  670. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  671. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  672. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  673. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  674. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  675. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  676. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  678. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  680. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  681. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  682. data/vendor/local/share/locale/locale.alias +0 -77
  683. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  684. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  686. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  688. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  690. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  692. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  693. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  694. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  695. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  696. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  697. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  698. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  699. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  700. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  701. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  703. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  704. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  705. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  706. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  707. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  709. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  711. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  713. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  714. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  715. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  716. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  717. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  718. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  719. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  720. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  722. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  724. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  726. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  727. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  729. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  731. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  732. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  733. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  735. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  737. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  739. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  741. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  742. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  743. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  744. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  745. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  746. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  747. data/vendor/local/share/man/man1/envsubst.1 +0 -54
  748. data/vendor/local/share/man/man1/gettext.1 +0 -69
  749. data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
  750. data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
  751. data/vendor/local/share/man/man1/gobject-query.1 +0 -83
  752. data/vendor/local/share/man/man1/ngettext.1 +0 -68
  753. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
  754. data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
  755. data/vendor/local/share/man/man3/dcgettext.3 +0 -1
  756. data/vendor/local/share/man/man3/dcngettext.3 +0 -1
  757. data/vendor/local/share/man/man3/dgettext.3 +0 -1
  758. data/vendor/local/share/man/man3/dngettext.3 +0 -1
  759. data/vendor/local/share/man/man3/gettext.3 +0 -99
  760. data/vendor/local/share/man/man3/ngettext.3 +0 -60
  761. data/vendor/local/share/man/man3/textdomain.3 +0 -57
  762. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
  763. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
  764. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
  765. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,1552 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>Miscellaneous Utility Functions</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
- <link rel="home" href="index.html" title="GLib Reference Manual">
8
- <link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
- <link rel="prev" href="glib-Hook-Functions.html" title="Hook Functions">
10
- <link rel="next" href="glib-Lexical-Scanner.html" title="Lexical Scanner">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
- <link rel="stylesheet" href="style.css" type="text/css">
13
- </head>
14
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="glib-Hook-Functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">GLib Reference Manual</th>
21
- <td><a accesskey="n" href="glib-Lexical-Scanner.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#glib-Miscellaneous-Utility-Functions.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#glib-Miscellaneous-Utility-Functions.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
29
- <div class="refentry">
30
- <a name="glib-Miscellaneous-Utility-Functions"></a><div class="titlepage"></div>
31
- <div class="refnamediv"><table width="100%"><tr>
32
- <td valign="top">
33
- <h2><span class="refentrytitle"><a name="glib-Miscellaneous-Utility-Functions.top_of_page"></a>Miscellaneous Utility Functions</span></h2>
34
- <p>Miscellaneous Utility Functions — a selection of portable utility functions</p>
35
- </td>
36
- <td valign="top" align="right"></td>
37
- </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="glib-Miscellaneous-Utility-Functions.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">
41
- #include &lt;glib.h&gt;
42
-
43
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()">g_get_application_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
44
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()">g_set_application_name</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *application_name</code></em>);
45
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()">g_get_prgname</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
46
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()">g_set_prgname</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prgname</code></em>);
47
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()">g_getenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);
48
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv ()">g_setenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>,
49
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>,
50
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> overwrite</code></em>);
51
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv ()">g_unsetenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);
52
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-listenv" title="g_listenv ()">g_listenv</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
53
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-name" title="g_get_user_name ()">g_get_user_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
54
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-real-name" title="g_get_real_name ()">g_get_real_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
55
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir" title="g_get_user_cache_dir ()">g_get_user_cache_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
56
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()">g_get_user_data_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
57
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir" title="g_get_user_config_dir ()">g_get_user_config_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
58
- enum <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory">GUserDirectory</a>;
59
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()">g_get_user_special_dir</a> (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);
60
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()">g_get_system_data_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
61
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-config-dirs" title="g_get_system_config_dirs ()">g_get_system_config_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
62
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-reload-user-special-dirs-cache" title="g_reload_user_special_dirs_cache ()">g_reload_user_special_dirs_cache</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
63
-
64
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-host-name" title="g_get_host_name ()">g_get_host_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
65
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir ()">g_get_home_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
66
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-tmp-dir" title="g_get_tmp_dir ()">g_get_tmp_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
67
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-current-dir" title="g_get_current_dir ()">g_get_current_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
68
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-basename" title="g_basename ()">g_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
69
- #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-dirname" title="g_dirname">g_dirname</a>
70
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-is-absolute" title="g_path_is_absolute ()">g_path_is_absolute</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
71
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-skip-root" title="g_path_skip_root ()">g_path_skip_root</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
72
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()">g_path_get_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
73
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-dirname" title="g_path_get_dirname ()">g_path_get_dirname</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
74
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-filename" title="g_build_filename ()">g_build_filename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
75
- <em class="parameter"><code>...</code></em>);
76
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-filenamev" title="g_build_filenamev ()">g_build_filenamev</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);
77
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-path" title="g_build_path ()">g_build_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
78
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
79
- <em class="parameter"><code>...</code></em>);
80
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-pathv" title="g_build_pathv ()">g_build_pathv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
81
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);
82
- <span class="returnvalue">char</span> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-format-size-for-display" title="g_format_size_for_display ()">g_format_size_for_display</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a> size</code></em>);
83
-
84
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-find-program-in-path" title="g_find_program_in_path ()">g_find_program_in_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *program</code></em>);
85
-
86
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-bit-nth-lsf" title="g_bit_nth_lsf ()">g_bit_nth_lsf</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
87
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);
88
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-bit-nth-msf" title="g_bit_nth_msf ()">g_bit_nth_msf</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
89
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);
90
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-bit-storage" title="g_bit_storage ()">g_bit_storage</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> number</code></em>);
91
-
92
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-spaced-primes-closest" title="g_spaced_primes_closest ()">g_spaced_primes_closest</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> num</code></em>);
93
-
94
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()">g_atexit</a> (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()"><span class="type">GVoidFunc</span></a> func</code></em>);
95
-
96
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-parse-debug-string" title="g_parse_debug_string ()">g_parse_debug_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
97
- <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
98
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nkeys</code></em>);
99
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey">GDebugKey</a>;
100
-
101
- <span class="returnvalue">void</span> (<a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()">*GVoidFunc</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
102
- <span class="returnvalue">void</span> (<a class="link" href="glib-Miscellaneous-Utility-Functions.html#GFreeFunc" title="GFreeFunc ()">*GFreeFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
103
-
104
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-qsort-with-data" title="g_qsort_with_data ()">g_qsort_with_data</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> pbase</code></em>,
105
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> total_elems</code></em>,
106
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
107
- <em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>,
108
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
109
-
110
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-nullify-pointer" title="g_nullify_pointer ()">g_nullify_pointer</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *nullify_location</code></em>);
111
- </pre>
112
- </div>
113
- <div class="refsect1">
114
- <a name="glib-Miscellaneous-Utility-Functions.description"></a><h2>Description</h2>
115
- <p>
116
- These are portable utility functions.
117
- </p>
118
- </div>
119
- <div class="refsect1">
120
- <a name="glib-Miscellaneous-Utility-Functions.details"></a><h2>Details</h2>
121
- <div class="refsect2">
122
- <a name="g-get-application-name"></a><h3>g_get_application_name ()</h3>
123
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_application_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
124
- <p>
125
- Gets a human-readable name for the application, as set by
126
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a>. This name should be localized if
127
- possible, and is intended for display to the user. Contrast with
128
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, which gets a non-localized name. If
129
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a> has not been called, returns the result of
130
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a> (which may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> has also not
131
- been called).
132
- </p>
133
- <div class="variablelist"><table border="0">
134
- <col align="left" valign="top">
135
- <tbody><tr>
136
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
137
- <td> human-readable application name. may return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
138
-
139
- </td>
140
- </tr></tbody>
141
- </table></div>
142
- <p class="since">Since 2.2</p>
143
- </div>
144
- <hr>
145
- <div class="refsect2">
146
- <a name="g-set-application-name"></a><h3>g_set_application_name ()</h3>
147
- <pre class="programlisting"><span class="returnvalue">void</span> g_set_application_name (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *application_name</code></em>);</pre>
148
- <p>
149
- Sets a human-readable name for the application. This name should be
150
- localized if possible, and is intended for display to the user.
151
- Contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a>, which sets a non-localized name.
152
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> will be called automatically by <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>,
153
- but <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a> will not.
154
- </p>
155
- <p>
156
- Note that for thread safety reasons, this function can only
157
- be called once.
158
- </p>
159
- <p>
160
- The application name will be used in contexts such as error messages,
161
- or when displaying an application's name in the task list.
162
- </p>
163
- <div class="variablelist"><table border="0">
164
- <col align="left" valign="top">
165
- <tbody><tr>
166
- <td><p><span class="term"><em class="parameter"><code>application_name</code></em> :</span></p></td>
167
- <td>localized name of the application
168
- </td>
169
- </tr></tbody>
170
- </table></div>
171
- <p class="since">Since 2.2</p>
172
- </div>
173
- <hr>
174
- <div class="refsect2">
175
- <a name="g-get-prgname"></a><h3>g_get_prgname ()</h3>
176
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_prgname (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
177
- <p>
178
- Gets the name of the program. This name should <span class="emphasis"><em>not</em></span>
179
- be localized, contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>.
180
- (If you are using GDK or GTK+ the program name is set in <a href="http://library.gnome.org/devel/gdk/unstable/gdk3-General.html#gdk-init"><code class="function">gdk_init()</code></a>,
181
- which is called by <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>. The program name is found by taking
182
- the last component of <code class="literal">argv[0]</code>.)
183
- </p>
184
- <div class="variablelist"><table border="0">
185
- <col align="left" valign="top">
186
- <tbody><tr>
187
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
188
- <td> the name of the program. The returned string belongs
189
- to GLib and must not be modified or freed.
190
- </td>
191
- </tr></tbody>
192
- </table></div>
193
- </div>
194
- <hr>
195
- <div class="refsect2">
196
- <a name="g-set-prgname"></a><h3>g_set_prgname ()</h3>
197
- <pre class="programlisting"><span class="returnvalue">void</span> g_set_prgname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prgname</code></em>);</pre>
198
- <p>
199
- Sets the name of the program. This name should <span class="emphasis"><em>not</em></span>
200
- be localized, contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a>. Note that for
201
- thread-safety reasons this function can only be called once.
202
- </p>
203
- <div class="variablelist"><table border="0">
204
- <col align="left" valign="top">
205
- <tbody><tr>
206
- <td><p><span class="term"><em class="parameter"><code>prgname</code></em> :</span></p></td>
207
- <td>the name of the program.
208
- </td>
209
- </tr></tbody>
210
- </table></div>
211
- </div>
212
- <hr>
213
- <div class="refsect2">
214
- <a name="g-getenv"></a><h3>g_getenv ()</h3>
215
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_getenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);</pre>
216
- <p>
217
- Returns the value of an environment variable. The name and value
218
- are in the GLib file name encoding. On UNIX, this means the actual
219
- bytes which might or might not be in some consistent character set
220
- and encoding. On Windows, it is in UTF-8. On Windows, in case the
221
- environment variable's value contains references to other
222
- environment variables, they are expanded.
223
- </p>
224
- <div class="variablelist"><table border="0">
225
- <col align="left" valign="top">
226
- <tbody>
227
- <tr>
228
- <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
229
- <td>the environment variable to get, in the GLib file name encoding.
230
- </td>
231
- </tr>
232
- <tr>
233
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
234
- <td> the value of the environment variable, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if
235
- the environment variable is not found. The returned string may be
236
- overwritten by the next call to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv ()"><code class="function">g_setenv()</code></a> or
237
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv ()"><code class="function">g_unsetenv()</code></a>.
238
- </td>
239
- </tr>
240
- </tbody>
241
- </table></div>
242
- </div>
243
- <hr>
244
- <div class="refsect2">
245
- <a name="g-setenv"></a><h3>g_setenv ()</h3>
246
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_setenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>,
247
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>,
248
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> overwrite</code></em>);</pre>
249
- <p>
250
- Sets an environment variable. Both the variable's name and value
251
- should be in the GLib file name encoding. On UNIX, this means that
252
- they can be any sequence of bytes. On Windows, they should be in
253
- UTF-8.
254
- </p>
255
- <p>
256
- Note that on some systems, when variables are overwritten, the memory
257
- used for the previous variables and its value isn't reclaimed.
258
- </p>
259
- <div class="variablelist"><table border="0">
260
- <col align="left" valign="top">
261
- <tbody>
262
- <tr>
263
- <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
264
- <td>the environment variable to set, must not contain '='.
265
- </td>
266
- </tr>
267
- <tr>
268
- <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
269
- <td>the value for to set the variable to.
270
- </td>
271
- </tr>
272
- <tr>
273
- <td><p><span class="term"><em class="parameter"><code>overwrite</code></em> :</span></p></td>
274
- <td>whether to change the variable if it already exists.
275
- </td>
276
- </tr>
277
- <tr>
278
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
279
- <td> <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the environment variable couldn't be set.
280
-
281
- </td>
282
- </tr>
283
- </tbody>
284
- </table></div>
285
- <p class="since">Since 2.4</p>
286
- </div>
287
- <hr>
288
- <div class="refsect2">
289
- <a name="g-unsetenv"></a><h3>g_unsetenv ()</h3>
290
- <pre class="programlisting"><span class="returnvalue">void</span> g_unsetenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);</pre>
291
- <p>
292
- Removes an environment variable from the environment.
293
- </p>
294
- <p>
295
- Note that on some systems, when variables are overwritten, the memory
296
- used for the previous variables and its value isn't reclaimed.
297
- Furthermore, this function can't be guaranteed to operate in a
298
- threadsafe way.
299
- </p>
300
- <div class="variablelist"><table border="0">
301
- <col align="left" valign="top">
302
- <tbody><tr>
303
- <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
304
- <td>the environment variable to remove, must not contain '='.
305
- </td>
306
- </tr></tbody>
307
- </table></div>
308
- <p class="since">Since 2.4</p>
309
- </div>
310
- <hr>
311
- <div class="refsect2">
312
- <a name="g-listenv"></a><h3>g_listenv ()</h3>
313
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_listenv (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
314
- <p>
315
- Gets the names of all variables set in the environment.
316
- </p>
317
- <div class="variablelist"><table border="0">
318
- <col align="left" valign="top">
319
- <tbody><tr>
320
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
321
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings which must be freed
322
- with <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
323
-
324
- Programs that want to be portable to Windows should typically use
325
- this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a> instead of using the environ array
326
- from the C library directly. On Windows, the strings in the environ
327
- array are in system codepage encoding, while in most of the typical
328
- use cases for environment variables in GLib-using programs you want
329
- the UTF-8 encoding that this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a> provide.
330
-
331
- </td>
332
- </tr></tbody>
333
- </table></div>
334
- <p class="since">Since 2.8</p>
335
- </div>
336
- <hr>
337
- <div class="refsect2">
338
- <a name="g-get-user-name"></a><h3>g_get_user_name ()</h3>
339
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
340
- <p>
341
- Gets the user name of the current user. The encoding of the returned
342
- string is system-defined. On UNIX, it might be the preferred file name
343
- encoding, or something else, and there is no guarantee that it is even
344
- consistent on a machine. On Windows, it is always UTF-8.
345
- </p>
346
- <div class="variablelist"><table border="0">
347
- <col align="left" valign="top">
348
- <tbody><tr>
349
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
350
- <td> the user name of the current user.
351
- </td>
352
- </tr></tbody>
353
- </table></div>
354
- </div>
355
- <hr>
356
- <div class="refsect2">
357
- <a name="g-get-real-name"></a><h3>g_get_real_name ()</h3>
358
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_real_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
359
- <p>
360
- Gets the real name of the user. This usually comes from the user's entry
361
- in the <code class="filename">passwd</code> file. The encoding of the returned
362
- string is system-defined. (On Windows, it is, however, always UTF-8.)
363
- If the real user name cannot be determined, the string "Unknown" is
364
- returned.
365
- </p>
366
- <div class="variablelist"><table border="0">
367
- <col align="left" valign="top">
368
- <tbody><tr>
369
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
370
- <td> the user's real name.
371
- </td>
372
- </tr></tbody>
373
- </table></div>
374
- </div>
375
- <hr>
376
- <div class="refsect2">
377
- <a name="g-get-user-cache-dir"></a><h3>g_get_user_cache_dir ()</h3>
378
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_cache_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
379
- <p>
380
- Returns a base directory in which to store non-essential, cached
381
- data specific to particular user.
382
- </p>
383
- <p>
384
- On UNIX platforms this is determined using the mechanisms described in
385
- the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
386
- XDG Base Directory Specification</a>.
387
- In this case the directory retrieved will be XDG_CACHE_HOME.
388
- </p>
389
- <p>
390
- On Windows is the directory that serves as a common repository for
391
- temporary Internet files. A typical path is
392
- C:\Documents and Settings\username\Local Settings\Temporary Internet Files.
393
- See documentation for CSIDL_INTERNET_CACHE.
394
- </p>
395
- <div class="variablelist"><table border="0">
396
- <col align="left" valign="top">
397
- <tbody><tr>
398
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
399
- <td> a string owned by GLib that must not be modified
400
- or freed.
401
- </td>
402
- </tr></tbody>
403
- </table></div>
404
- <p class="since">Since 2.6</p>
405
- </div>
406
- <hr>
407
- <div class="refsect2">
408
- <a name="g-get-user-data-dir"></a><h3>g_get_user_data_dir ()</h3>
409
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_data_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
410
- <p>
411
- Returns a base directory in which to access application data such
412
- as icons that is customized for a particular user.
413
- </p>
414
- <p>
415
- On UNIX platforms this is determined using the mechanisms described in
416
- the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
417
- XDG Base Directory Specification</a>.
418
- In this case the directory retrieved will be XDG_DATA_HOME.
419
- </p>
420
- <p>
421
- On Windows is the virtual folder that represents the My Documents
422
- desktop item. See documentation for CSIDL_PERSONAL.
423
- </p>
424
- <div class="variablelist"><table border="0">
425
- <col align="left" valign="top">
426
- <tbody><tr>
427
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
428
- <td> a string owned by GLib that must not be modified
429
- or freed.
430
- </td>
431
- </tr></tbody>
432
- </table></div>
433
- <p class="since">Since 2.6</p>
434
- </div>
435
- <hr>
436
- <div class="refsect2">
437
- <a name="g-get-user-config-dir"></a><h3>g_get_user_config_dir ()</h3>
438
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_config_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
439
- <p>
440
- Returns a base directory in which to store user-specific application
441
- configuration information such as user preferences and settings.
442
- </p>
443
- <p>
444
- On UNIX platforms this is determined using the mechanisms described in
445
- the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
446
- XDG Base Directory Specification</a>.
447
- In this case the directory retrieved will be XDG_CONFIG_HOME.
448
- </p>
449
- <p>
450
- On Windows is the directory that serves as a common repository for
451
- application-specific data. A typical path is
452
- C:\Documents and Settings\username\Application. See documentation for
453
- CSIDL_APPDATA.
454
- </p>
455
- <div class="variablelist"><table border="0">
456
- <col align="left" valign="top">
457
- <tbody><tr>
458
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
459
- <td> a string owned by GLib that must not be modified
460
- or freed.
461
- </td>
462
- </tr></tbody>
463
- </table></div>
464
- <p class="since">Since 2.6</p>
465
- </div>
466
- <hr>
467
- <div class="refsect2">
468
- <a name="GUserDirectory"></a><h3>enum GUserDirectory</h3>
469
- <pre class="programlisting">typedef enum {
470
- G_USER_DIRECTORY_DESKTOP,
471
- G_USER_DIRECTORY_DOCUMENTS,
472
- G_USER_DIRECTORY_DOWNLOAD,
473
- G_USER_DIRECTORY_MUSIC,
474
- G_USER_DIRECTORY_PICTURES,
475
- G_USER_DIRECTORY_PUBLIC_SHARE,
476
- G_USER_DIRECTORY_TEMPLATES,
477
- G_USER_DIRECTORY_VIDEOS,
478
-
479
- G_USER_N_DIRECTORIES
480
- } GUserDirectory;
481
- </pre>
482
- <p>
483
- These are logical ids for special directories which are defined
484
- depending on the platform used. You should use <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()"><code class="function">g_get_user_special_dir()</code></a>
485
- to retrieve the full path associated to the logical id.
486
- </p>
487
- <p>
488
- The <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> enumeration can be extended at later date. Not
489
- every platform has a directory for every logical id in this
490
- enumeration.
491
- </p>
492
- <div class="variablelist"><table border="0">
493
- <col align="left" valign="top">
494
- <tbody>
495
- <tr>
496
- <td><p><a name="G-USER-DIRECTORY-DESKTOP:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_DESKTOP</code></span></p></td>
497
- <td>the user's Desktop directory
498
- </td>
499
- </tr>
500
- <tr>
501
- <td><p><a name="G-USER-DIRECTORY-DOCUMENTS:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_DOCUMENTS</code></span></p></td>
502
- <td>the user's Documents directory
503
- </td>
504
- </tr>
505
- <tr>
506
- <td><p><a name="G-USER-DIRECTORY-DOWNLOAD:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_DOWNLOAD</code></span></p></td>
507
- <td>the user's Downloads directory
508
- </td>
509
- </tr>
510
- <tr>
511
- <td><p><a name="G-USER-DIRECTORY-MUSIC:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_MUSIC</code></span></p></td>
512
- <td>the user's Music directory
513
- </td>
514
- </tr>
515
- <tr>
516
- <td><p><a name="G-USER-DIRECTORY-PICTURES:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_PICTURES</code></span></p></td>
517
- <td>the user's Pictures directory
518
- </td>
519
- </tr>
520
- <tr>
521
- <td><p><a name="G-USER-DIRECTORY-PUBLIC-SHARE:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_PUBLIC_SHARE</code></span></p></td>
522
- <td>the user's shared directory
523
- </td>
524
- </tr>
525
- <tr>
526
- <td><p><a name="G-USER-DIRECTORY-TEMPLATES:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_TEMPLATES</code></span></p></td>
527
- <td>the user's Templates directory
528
- </td>
529
- </tr>
530
- <tr>
531
- <td><p><a name="G-USER-DIRECTORY-VIDEOS:CAPS"></a><span class="term"><code class="literal">G_USER_DIRECTORY_VIDEOS</code></span></p></td>
532
- <td>the user's Movies directory
533
- </td>
534
- </tr>
535
- <tr>
536
- <td><p><a name="G-USER-N-DIRECTORIES:CAPS"></a><span class="term"><code class="literal">G_USER_N_DIRECTORIES</code></span></p></td>
537
- <td>the number of enum values
538
- </td>
539
- </tr>
540
- </tbody>
541
- </table></div>
542
- <p class="since">Since 2.14</p>
543
- </div>
544
- <hr>
545
- <div class="refsect2">
546
- <a name="g-get-user-special-dir"></a><h3>g_get_user_special_dir ()</h3>
547
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_special_dir (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);</pre>
548
- <p>
549
- Returns the full path of a special directory using its logical id.
550
- </p>
551
- <p>
552
- On Unix this is done using the XDG special user directories.
553
- For compatibility with existing practise, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#G-USER-DIRECTORY-DESKTOP:CAPS"><code class="literal">G_USER_DIRECTORY_DESKTOP</code></a>
554
- falls back to <code class="filename">$HOME/Desktop</code> when XDG special
555
- user directories have not been set up.
556
- </p>
557
- <p>
558
- Depending on the platform, the user might be able to change the path
559
- of the special directory without requiring the session to restart; GLib
560
- will not reflect any change once the special directories are loaded.
561
- </p>
562
- <div class="variablelist"><table border="0">
563
- <col align="left" valign="top">
564
- <tbody>
565
- <tr>
566
- <td><p><span class="term"><em class="parameter"><code>directory</code></em> :</span></p></td>
567
- <td>the logical id of special directory
568
- </td>
569
- </tr>
570
- <tr>
571
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
572
- <td> the path to the specified special directory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
573
- if the logical id was not found. The returned string is owned by
574
- GLib and should not be modified or freed.
575
-
576
- </td>
577
- </tr>
578
- </tbody>
579
- </table></div>
580
- <p class="since">Since 2.14</p>
581
- </div>
582
- <hr>
583
- <div class="refsect2">
584
- <a name="g-get-system-data-dirs"></a><h3>g_get_system_data_dirs ()</h3>
585
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * g_get_system_data_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
586
- <p>
587
- Returns an ordered list of base directories in which to access
588
- system-wide application data.
589
- </p>
590
- <p>
591
- On UNIX platforms this is determined using the mechanisms described in
592
- the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
593
- XDG Base Directory Specification</a>
594
- In this case the list of directories retrieved will be XDG_DATA_DIRS.
595
- </p>
596
- <p>
597
- On Windows the first elements in the list are the Application Data
598
- and Documents folders for All Users. (These can be determined only
599
- on Windows 2000 or later and are not present in the list on other
600
- Windows versions.) See documentation for CSIDL_COMMON_APPDATA and
601
- CSIDL_COMMON_DOCUMENTS.
602
- </p>
603
- <p>
604
- Then follows the "share" subfolder in the installation folder for
605
- the package containing the DLL that calls this function, if it can
606
- be determined.
607
- </p>
608
- <p>
609
- Finally the list contains the "share" subfolder in the installation
610
- folder for GLib, and in the installation folder for the package the
611
- application's .exe file belongs to.
612
- </p>
613
- <p>
614
- The installation folders above are determined by looking up the
615
- folder where the module (DLL or EXE) in question is located. If the
616
- folder's name is "bin", its parent is used, otherwise the folder
617
- itself.
618
- </p>
619
- <p>
620
- Note that on Windows the returned list can vary depending on where
621
- this function is called.
622
- </p>
623
- <div class="variablelist"><table border="0">
624
- <col align="left" valign="top">
625
- <tbody><tr>
626
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
627
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
628
- not be modified or freed.
629
- </td>
630
- </tr></tbody>
631
- </table></div>
632
- <p class="since">Since 2.6</p>
633
- </div>
634
- <hr>
635
- <div class="refsect2">
636
- <a name="g-get-system-config-dirs"></a><h3>g_get_system_config_dirs ()</h3>
637
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * g_get_system_config_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
638
- <p>
639
- Returns an ordered list of base directories in which to access
640
- system-wide configuration information.
641
- </p>
642
- <p>
643
- On UNIX platforms this is determined using the mechanisms described in
644
- the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
645
- XDG Base Directory Specification</a>.
646
- In this case the list of directories retrieved will be XDG_CONFIG_DIRS.
647
- </p>
648
- <p>
649
- On Windows is the directory that contains application data for all users.
650
- A typical path is C:\Documents and Settings\All Users\Application Data.
651
- This folder is used for application data that is not user specific.
652
- For example, an application can store a spell-check dictionary, a database
653
- of clip art, or a log file in the CSIDL_COMMON_APPDATA folder.
654
- This information will not roam and is available to anyone using the computer.
655
- </p>
656
- <div class="variablelist"><table border="0">
657
- <col align="left" valign="top">
658
- <tbody><tr>
659
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
660
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
661
- not be modified or freed.
662
- </td>
663
- </tr></tbody>
664
- </table></div>
665
- <p class="since">Since 2.6</p>
666
- </div>
667
- <hr>
668
- <div class="refsect2">
669
- <a name="g-reload-user-special-dirs-cache"></a><h3>g_reload_user_special_dirs_cache ()</h3>
670
- <pre class="programlisting"><span class="returnvalue">void</span> g_reload_user_special_dirs_cache (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
671
- <p>
672
- Resets the cache used for <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()"><code class="function">g_get_user_special_dir()</code></a>, so
673
- that the latest on-disk version is used. Call this only
674
- if you just changed the data on disk yourself.
675
- </p>
676
- <p>
677
- Due to threadsafety issues this may cause leaking of strings
678
- that were previously returned from <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()"><code class="function">g_get_user_special_dir()</code></a>
679
- that can't be freed. We ensure to only leak the data for
680
- the directories that actually changed value though.
681
- </p>
682
- <p class="since">Since 2.22</p>
683
- </div>
684
- <hr>
685
- <div class="refsect2">
686
- <a name="g-get-host-name"></a><h3>g_get_host_name ()</h3>
687
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_host_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
688
- <p>
689
- Return a name for the machine.
690
- </p>
691
- <p>
692
- The returned name is not necessarily a fully-qualified domain name,
693
- or even present in DNS or some other name service at all. It need
694
- not even be unique on your local network or site, but usually it
695
- is. Callers should not rely on the return value having any specific
696
- properties like uniqueness for security purposes. Even if the name
697
- of the machine is changed while an application is running, the
698
- return value from this function does not change. The returned
699
- string is owned by GLib and should not be modified or freed. If no
700
- name can be determined, a default fixed string "localhost" is
701
- returned.
702
- </p>
703
- <div class="variablelist"><table border="0">
704
- <col align="left" valign="top">
705
- <tbody><tr>
706
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
- <td> the host name of the machine.
708
-
709
- </td>
710
- </tr></tbody>
711
- </table></div>
712
- <p class="since">Since 2.8</p>
713
- </div>
714
- <hr>
715
- <div class="refsect2">
716
- <a name="g-get-home-dir"></a><h3>g_get_home_dir ()</h3>
717
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_home_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
718
- <p>
719
- Gets the current user's home directory as defined in the
720
- password database.
721
- </p>
722
- <p>
723
- Note that in contrast to traditional UNIX tools, this function
724
- prefers <code class="filename">passwd</code> entries over the <code class="envar">HOME</code>
725
- environment variable.
726
- </p>
727
- <p>
728
- One of the reasons for this decision is that applications in many
729
- cases need special handling to deal with the case where
730
- <code class="envar">HOME</code> is
731
- </p>
732
- <table border="0" summary="Simple list" class="simplelist">
733
- <tr><td>Not owned by the user</td></tr>
734
- <tr><td>Not writeable</td></tr>
735
- <tr><td>Not even readable</td></tr>
736
- </table>
737
- <p>
738
- Since applications are in general <span class="emphasis"><em>not</em></span> written
739
- to deal with these situations it was considered better to make
740
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir ()"><code class="function">g_get_home_dir()</code></a> not pay attention to <code class="envar">HOME</code> and to
741
- return the real home directory for the user. If applications
742
- want to pay attention to <code class="envar">HOME</code>, they can do:
743
- </p>
744
- <div class="informalexample">
745
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
746
- <tbody>
747
- <tr>
748
- <td class="listing_lines" align="right"><pre>1
749
- 2
750
- 3</pre></td>
751
- <td class="listing_code"><pre class="programlisting"><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">homedir </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Utility-Functions.html#g-getenv">g_getenv</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"HOME"</span><span class="symbol">);</span>
752
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">homedir</span><span class="symbol">)</span>
753
- <span class="normal"> homedir </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir">g_get_home_dir</a></span><span class="normal"> </span><span class="symbol">();</span></pre></td>
754
- </tr>
755
- </tbody>
756
- </table>
757
- </div>
758
-
759
- <p>
760
- </p>
761
- <div class="variablelist"><table border="0">
762
- <col align="left" valign="top">
763
- <tbody><tr>
764
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
765
- <td> the current user's home directory
766
- </td>
767
- </tr></tbody>
768
- </table></div>
769
- </div>
770
- <hr>
771
- <div class="refsect2">
772
- <a name="g-get-tmp-dir"></a><h3>g_get_tmp_dir ()</h3>
773
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_tmp_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
774
- <p>
775
- Gets the directory to use for temporary files. This is found from
776
- inspecting the environment variables <code class="envar">TMPDIR</code>,
777
- <code class="envar">TMP</code>, and <code class="envar">TEMP</code> in that order. If none
778
- of those are defined "/tmp" is returned on UNIX and "C:\" on Windows.
779
- The encoding of the returned string is system-defined. On Windows,
780
- it is always UTF-8. The return value is never <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> or the empty string.
781
- </p>
782
- <div class="variablelist"><table border="0">
783
- <col align="left" valign="top">
784
- <tbody><tr>
785
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
786
- <td> the directory to use for temporary files.
787
- </td>
788
- </tr></tbody>
789
- </table></div>
790
- </div>
791
- <hr>
792
- <div class="refsect2">
793
- <a name="g-get-current-dir"></a><h3>g_get_current_dir ()</h3>
794
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_current_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
795
- <p>
796
- Gets the current directory.
797
- The returned string should be freed when no longer needed. The encoding
798
- of the returned string is system defined. On Windows, it is always UTF-8.
799
- </p>
800
- <div class="variablelist"><table border="0">
801
- <col align="left" valign="top">
802
- <tbody><tr>
803
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
804
- <td> the current directory.
805
- </td>
806
- </tr></tbody>
807
- </table></div>
808
- </div>
809
- <hr>
810
- <div class="refsect2">
811
- <a name="g-basename"></a><h3>g_basename ()</h3>
812
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
813
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
814
- <h3 class="title">Warning</h3>
815
- <p><code class="literal">g_basename</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()"><code class="function">g_path_get_basename()</code></a> instead, but notice that
816
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()"><code class="function">g_path_get_basename()</code></a> allocates new memory for the returned string, unlike
817
- this function which returns a pointer into the argument.</p>
818
- </div>
819
- <p>
820
- Gets the name of the file without any leading directory components.
821
- It returns a pointer into the given file name string.
822
- </p>
823
- <div class="variablelist"><table border="0">
824
- <col align="left" valign="top">
825
- <tbody>
826
- <tr>
827
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
828
- <td>the name of the file.
829
- </td>
830
- </tr>
831
- <tr>
832
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
833
- <td> the name of the file without any leading directory components.
834
-
835
- </td>
836
- </tr>
837
- </tbody>
838
- </table></div>
839
- </div>
840
- <hr>
841
- <div class="refsect2">
842
- <a name="g-dirname"></a><h3>g_dirname</h3>
843
- <pre class="programlisting">#define g_dirname</pre>
844
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
845
- <h3 class="title">Warning</h3>
846
- <p><code class="literal">g_dirname</code> is deprecated and should not be used in newly-written code.</p>
847
- </div>
848
- <p>
849
- This function is deprecated and will be removed in the next major
850
- release of GLib. Use <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-dirname" title="g_path_get_dirname ()"><code class="function">g_path_get_dirname()</code></a> instead.
851
- </p>
852
- <p>
853
- Gets the directory components of a file name.
854
- If the file name has no directory components "." is returned.
855
- The returned string should be freed when no longer needed.
856
- </p>
857
- <div class="variablelist"><table border="0">
858
- <col align="left" valign="top">
859
- <tbody><tr>
860
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
861
- <td>the directory components of the file.
862
- </td>
863
- </tr></tbody>
864
- </table></div>
865
- </div>
866
- <hr>
867
- <div class="refsect2">
868
- <a name="g-path-is-absolute"></a><h3>g_path_is_absolute ()</h3>
869
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_path_is_absolute (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
870
- <p>
871
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the given <em class="parameter"><code>file_name</code></em> is an absolute file name,
872
- i.e. it contains a full path from the root directory such as "/usr/local"
873
- on UNIX or "C:\windows" on Windows systems.
874
- </p>
875
- <div class="variablelist"><table border="0">
876
- <col align="left" valign="top">
877
- <tbody>
878
- <tr>
879
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
880
- <td>a file name.
881
- </td>
882
- </tr>
883
- <tr>
884
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
885
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>file_name</code></em> is an absolute path.
886
- </td>
887
- </tr>
888
- </tbody>
889
- </table></div>
890
- </div>
891
- <hr>
892
- <div class="refsect2">
893
- <a name="g-path-skip-root"></a><h3>g_path_skip_root ()</h3>
894
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_skip_root (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
895
- <p>
896
- Returns a pointer into <em class="parameter"><code>file_name</code></em> after the root component, i.e. after
897
- the "/" in UNIX or "C:\" under Windows. If <em class="parameter"><code>file_name</code></em> is not an absolute
898
- path it returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
899
- </p>
900
- <div class="variablelist"><table border="0">
901
- <col align="left" valign="top">
902
- <tbody>
903
- <tr>
904
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
905
- <td>a file name.
906
- </td>
907
- </tr>
908
- <tr>
909
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
910
- <td> a pointer into <em class="parameter"><code>file_name</code></em> after the root component.
911
- </td>
912
- </tr>
913
- </tbody>
914
- </table></div>
915
- </div>
916
- <hr>
917
- <div class="refsect2">
918
- <a name="g-path-get-basename"></a><h3>g_path_get_basename ()</h3>
919
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_get_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
920
- <p>
921
- Gets the last component of the filename. If <em class="parameter"><code>file_name</code></em> ends with a
922
- directory separator it gets the component before the last slash. If
923
- <em class="parameter"><code>file_name</code></em> consists only of directory separators (and on Windows,
924
- possibly a drive letter), a single separator is returned. If
925
- <em class="parameter"><code>file_name</code></em> is empty, it gets ".".
926
- </p>
927
- <div class="variablelist"><table border="0">
928
- <col align="left" valign="top">
929
- <tbody>
930
- <tr>
931
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
932
- <td>the name of the file.
933
- </td>
934
- </tr>
935
- <tr>
936
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
937
- <td> a newly allocated string containing the last component of
938
- the filename.
939
- </td>
940
- </tr>
941
- </tbody>
942
- </table></div>
943
- </div>
944
- <hr>
945
- <div class="refsect2">
946
- <a name="g-path-get-dirname"></a><h3>g_path_get_dirname ()</h3>
947
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_get_dirname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
948
- <p>
949
- Gets the directory components of a file name. If the file name has no
950
- directory components "." is returned. The returned string should be
951
- freed when no longer needed.
952
- </p>
953
- <div class="variablelist"><table border="0">
954
- <col align="left" valign="top">
955
- <tbody>
956
- <tr>
957
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
958
- <td>the name of the file.
959
- </td>
960
- </tr>
961
- <tr>
962
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
963
- <td> the directory components of the file.
964
- </td>
965
- </tr>
966
- </tbody>
967
- </table></div>
968
- </div>
969
- <hr>
970
- <div class="refsect2">
971
- <a name="g-build-filename"></a><h3>g_build_filename ()</h3>
972
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_filename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
973
- <em class="parameter"><code>...</code></em>);</pre>
974
- <p>
975
- Creates a filename from a series of elements using the correct
976
- separator for filenames.
977
- </p>
978
- <p>
979
- On Unix, this function behaves identically to <code class="literal">g_build_path
980
- (G_DIR_SEPARATOR_S, first_element, ....)</code>.
981
- </p>
982
- <p>
983
- On Windows, it takes into account that either the backslash
984
- (<code class="literal">\</code> or slash (<code class="literal">/</code>) can be used
985
- as separator in filenames, but otherwise behaves as on Unix. When
986
- file pathname separators need to be inserted, the one that last
987
- previously occurred in the parameters (reading from left to right)
988
- is used.
989
- </p>
990
- <p>
991
- No attempt is made to force the resulting filename to be an absolute
992
- path. If the first element is a relative path, the result will
993
- be a relative path.
994
- </p>
995
- <div class="variablelist"><table border="0">
996
- <col align="left" valign="top">
997
- <tbody>
998
- <tr>
999
- <td><p><span class="term"><em class="parameter"><code>first_element</code></em> :</span></p></td>
1000
- <td>the first element in the path
1001
- </td>
1002
- </tr>
1003
- <tr>
1004
- <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1005
- <td>remaining elements in path, terminated by <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1006
- </td>
1007
- </tr>
1008
- <tr>
1009
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1010
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1011
- </td>
1012
- </tr>
1013
- </tbody>
1014
- </table></div>
1015
- </div>
1016
- <hr>
1017
- <div class="refsect2">
1018
- <a name="g-build-filenamev"></a><h3>g_build_filenamev ()</h3>
1019
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_filenamev (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);</pre>
1020
- <p>
1021
- Behaves exactly like <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-filename" title="g_build_filename ()"><code class="function">g_build_filename()</code></a>, but takes the path elements
1022
- as a string array, instead of varargs. This function is mainly
1023
- meant for language bindings.
1024
- </p>
1025
- <div class="variablelist"><table border="0">
1026
- <col align="left" valign="top">
1027
- <tbody>
1028
- <tr>
1029
- <td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
1030
- <td>
1031
- <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.
1032
- </td>
1033
- </tr>
1034
- <tr>
1035
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1036
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1037
-
1038
- </td>
1039
- </tr>
1040
- </tbody>
1041
- </table></div>
1042
- <p class="since">Since 2.8</p>
1043
- </div>
1044
- <hr>
1045
- <div class="refsect2">
1046
- <a name="g-build-path"></a><h3>g_build_path ()</h3>
1047
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
1048
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
1049
- <em class="parameter"><code>...</code></em>);</pre>
1050
- <p>
1051
- Creates a path from a series of elements using <em class="parameter"><code>separator</code></em> as the
1052
- separator between elements. At the boundary between two elements,
1053
- any trailing occurrences of separator in the first element, or
1054
- leading occurrences of separator in the second element are removed
1055
- and exactly one copy of the separator is inserted.
1056
- </p>
1057
- <p>
1058
- Empty elements are ignored.
1059
- </p>
1060
- <p>
1061
- The number of leading copies of the separator on the result is
1062
- the same as the number of leading copies of the separator on
1063
- the first non-empty element.
1064
- </p>
1065
- <p>
1066
- The number of trailing copies of the separator on the result is
1067
- the same as the number of trailing copies of the separator on
1068
- the last non-empty element. (Determination of the number of
1069
- trailing copies is done without stripping leading copies, so
1070
- if the separator is <code class="literal">ABA</code>, <code class="literal">ABABA</code>
1071
- has 1 trailing copy.)
1072
- </p>
1073
- <p>
1074
- However, if there is only a single non-empty element, and there
1075
- are no characters in that element not part of the leading or
1076
- trailing separators, then the result is exactly the original value
1077
- of that element.
1078
- </p>
1079
- <p>
1080
- Other than for determination of the number of leading and trailing
1081
- copies of the separator, elements consisting only of copies
1082
- of the separator are ignored.
1083
- </p>
1084
- <div class="variablelist"><table border="0">
1085
- <col align="left" valign="top">
1086
- <tbody>
1087
- <tr>
1088
- <td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1089
- <td>a string used to separator the elements of the path.
1090
- </td>
1091
- </tr>
1092
- <tr>
1093
- <td><p><span class="term"><em class="parameter"><code>first_element</code></em> :</span></p></td>
1094
- <td>the first element in the path
1095
- </td>
1096
- </tr>
1097
- <tr>
1098
- <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1099
- <td>remaining elements in path, terminated by <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1100
- </td>
1101
- </tr>
1102
- <tr>
1103
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1104
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1105
- </td>
1106
- </tr>
1107
- </tbody>
1108
- </table></div>
1109
- </div>
1110
- <hr>
1111
- <div class="refsect2">
1112
- <a name="g-build-pathv"></a><h3>g_build_pathv ()</h3>
1113
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_pathv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
1114
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);</pre>
1115
- <p>
1116
- Behaves exactly like <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-path" title="g_build_path ()"><code class="function">g_build_path()</code></a>, but takes the path elements
1117
- as a string array, instead of varargs. This function is mainly
1118
- meant for language bindings.
1119
- </p>
1120
- <div class="variablelist"><table border="0">
1121
- <col align="left" valign="top">
1122
- <tbody>
1123
- <tr>
1124
- <td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1125
- <td>a string used to separator the elements of the path.
1126
- </td>
1127
- </tr>
1128
- <tr>
1129
- <td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
1130
- <td>
1131
- <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.
1132
- </td>
1133
- </tr>
1134
- <tr>
1135
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1136
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1137
-
1138
- </td>
1139
- </tr>
1140
- </tbody>
1141
- </table></div>
1142
- <p class="since">Since 2.8</p>
1143
- </div>
1144
- <hr>
1145
- <div class="refsect2">
1146
- <a name="g-format-size-for-display"></a><h3>g_format_size_for_display ()</h3>
1147
- <pre class="programlisting"><span class="returnvalue">char</span> * g_format_size_for_display (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a> size</code></em>);</pre>
1148
- <p>
1149
- Formats a size (for example the size of a file) into a human readable string.
1150
- Sizes are rounded to the nearest size prefix (KB, MB, GB) and are displayed
1151
- rounded to the nearest tenth. E.g. the file size 3292528 bytes will be
1152
- converted into the string "3.1 MB".
1153
- </p>
1154
- <p>
1155
- The prefix units base is 1024 (i.e. 1 KB is 1024 bytes).
1156
- </p>
1157
- <p>
1158
- This string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when not needed any longer.
1159
- </p>
1160
- <div class="variablelist"><table border="0">
1161
- <col align="left" valign="top">
1162
- <tbody>
1163
- <tr>
1164
- <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
1165
- <td>a size in bytes.
1166
- </td>
1167
- </tr>
1168
- <tr>
1169
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1170
- <td> a newly-allocated formatted string containing a human readable
1171
- file size.
1172
-
1173
- </td>
1174
- </tr>
1175
- </tbody>
1176
- </table></div>
1177
- <p class="since">Since 2.16</p>
1178
- </div>
1179
- <hr>
1180
- <div class="refsect2">
1181
- <a name="g-find-program-in-path"></a><h3>g_find_program_in_path ()</h3>
1182
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_find_program_in_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *program</code></em>);</pre>
1183
- <p>
1184
- Locates the first executable named <em class="parameter"><code>program</code></em> in the user's path, in the
1185
- same way that <code class="function">execvp()</code> would locate it. Returns an allocated string
1186
- with the absolute path name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the program is not found in
1187
- the path. If <em class="parameter"><code>program</code></em> is already an absolute path, returns a copy of
1188
- <em class="parameter"><code>program</code></em> if <em class="parameter"><code>program</code></em> exists and is executable, and <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> otherwise.
1189
-
1190
- On Windows, if <em class="parameter"><code>program</code></em> does not have a file type suffix, tries
1191
- with the suffixes .exe, .cmd, .bat and .com, and the suffixes in
1192
- the <code class="envar">PATHEXT</code> environment variable.
1193
- </p>
1194
- <p>
1195
- On Windows, it looks for the file in the same way as <code class="function">CreateProcess()</code>
1196
- would. This means first in the directory where the executing
1197
- program was loaded from, then in the current directory, then in the
1198
- Windows 32-bit system directory, then in the Windows directory, and
1199
- finally in the directories in the <code class="envar">PATH</code> environment
1200
- variable. If the program is found, the return value contains the
1201
- full name including the type suffix.
1202
- </p>
1203
- <div class="variablelist"><table border="0">
1204
- <col align="left" valign="top">
1205
- <tbody>
1206
- <tr>
1207
- <td><p><span class="term"><em class="parameter"><code>program</code></em> :</span></p></td>
1208
- <td>a program name in the GLib file name encoding
1209
- </td>
1210
- </tr>
1211
- <tr>
1212
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1213
- <td> absolute path, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1214
- </td>
1215
- </tr>
1216
- </tbody>
1217
- </table></div>
1218
- </div>
1219
- <hr>
1220
- <div class="refsect2">
1221
- <a name="g-bit-nth-lsf"></a><h3>g_bit_nth_lsf ()</h3>
1222
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_bit_nth_lsf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
1223
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);</pre>
1224
- <p>
1225
- Find the position of the first bit set in <em class="parameter"><code>mask</code></em>, searching from (but not
1226
- including) <em class="parameter"><code>nth_bit</code></em> upwards. Bits are numbered from 0 (least significant)
1227
- to sizeof(<a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a>) * 8 - 1 (31 or 63, usually). To start searching from the
1228
- 0th bit, set <em class="parameter"><code>nth_bit</code></em> to -1.
1229
- </p>
1230
- <div class="variablelist"><table border="0">
1231
- <col align="left" valign="top">
1232
- <tbody>
1233
- <tr>
1234
- <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
1235
- <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.
1236
- </td>
1237
- </tr>
1238
- <tr>
1239
- <td><p><span class="term"><em class="parameter"><code>nth_bit</code></em> :</span></p></td>
1240
- <td>the index of the bit to start the search from.
1241
- </td>
1242
- </tr>
1243
- <tr>
1244
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1245
- <td>the index of the first bit set which is higher than <em class="parameter"><code>nth_bit</code></em>.
1246
- </td>
1247
- </tr>
1248
- </tbody>
1249
- </table></div>
1250
- </div>
1251
- <hr>
1252
- <div class="refsect2">
1253
- <a name="g-bit-nth-msf"></a><h3>g_bit_nth_msf ()</h3>
1254
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_bit_nth_msf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
1255
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);</pre>
1256
- <p>
1257
- Find the position of the first bit set in <em class="parameter"><code>mask</code></em>, searching from (but not
1258
- including) <em class="parameter"><code>nth_bit</code></em> downwards. Bits are numbered from 0 (least significant)
1259
- to sizeof(<a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a>) * 8 - 1 (31 or 63, usually). To start searching from the
1260
- last bit, set <em class="parameter"><code>nth_bit</code></em> to -1 or GLIB_SIZEOF_LONG * 8.
1261
- </p>
1262
- <div class="variablelist"><table border="0">
1263
- <col align="left" valign="top">
1264
- <tbody>
1265
- <tr>
1266
- <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
1267
- <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.
1268
- </td>
1269
- </tr>
1270
- <tr>
1271
- <td><p><span class="term"><em class="parameter"><code>nth_bit</code></em> :</span></p></td>
1272
- <td>the index of the bit to start the search from.
1273
- </td>
1274
- </tr>
1275
- <tr>
1276
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1277
- <td>the index of the first bit set which is lower than <em class="parameter"><code>nth_bit</code></em>.
1278
- </td>
1279
- </tr>
1280
- </tbody>
1281
- </table></div>
1282
- </div>
1283
- <hr>
1284
- <div class="refsect2">
1285
- <a name="g-bit-storage"></a><h3>g_bit_storage ()</h3>
1286
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_bit_storage (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> number</code></em>);</pre>
1287
- <p>
1288
- Gets the number of bits used to hold <em class="parameter"><code>number</code></em>,
1289
- e.g. if <em class="parameter"><code>number</code></em> is 4, 3 bits are needed.
1290
- </p>
1291
- <div class="variablelist"><table border="0">
1292
- <col align="left" valign="top">
1293
- <tbody>
1294
- <tr>
1295
- <td><p><span class="term"><em class="parameter"><code>number</code></em> :</span></p></td>
1296
- <td>a guint.
1297
- </td>
1298
- </tr>
1299
- <tr>
1300
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1301
- <td>the number of bits used to hold <em class="parameter"><code>number</code></em>.
1302
- </td>
1303
- </tr>
1304
- </tbody>
1305
- </table></div>
1306
- </div>
1307
- <hr>
1308
- <div class="refsect2">
1309
- <a name="g-spaced-primes-closest"></a><h3>g_spaced_primes_closest ()</h3>
1310
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_spaced_primes_closest (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> num</code></em>);</pre>
1311
- <p>
1312
- Gets the smallest prime number from a built-in array of primes which
1313
- is larger than <em class="parameter"><code>num</code></em>. This is used within GLib to calculate the optimum
1314
- size of a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.
1315
- </p>
1316
- <p>
1317
- The built-in array of primes ranges from 11 to 13845163 such that
1318
- each prime is approximately 1.5-2 times the previous prime.
1319
- </p>
1320
- <div class="variablelist"><table border="0">
1321
- <col align="left" valign="top">
1322
- <tbody>
1323
- <tr>
1324
- <td><p><span class="term"><em class="parameter"><code>num</code></em> :</span></p></td>
1325
- <td>a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a>.
1326
- </td>
1327
- </tr>
1328
- <tr>
1329
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1330
- <td>the smallest prime number from a built-in array of primes which is
1331
- larger than <em class="parameter"><code>num</code></em>.
1332
- </td>
1333
- </tr>
1334
- </tbody>
1335
- </table></div>
1336
- </div>
1337
- <hr>
1338
- <div class="refsect2">
1339
- <a name="g-atexit"></a><h3>g_atexit ()</h3>
1340
- <pre class="programlisting"><span class="returnvalue">void</span> g_atexit (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()"><span class="type">GVoidFunc</span></a> func</code></em>);</pre>
1341
- <p>
1342
- Specifies a function to be called at normal program termination.
1343
- </p>
1344
- <p>
1345
- Since GLib 2.8.2, on Windows <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a> actually is a preprocessor
1346
- macro that maps to a call to the <code class="function">atexit()</code> function in the C
1347
- library. This means that in case the code that calls <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a>,
1348
- i.e. <code class="function">atexit()</code>, is in a DLL, the function will be called when the
1349
- DLL is detached from the program. This typically makes more sense
1350
- than that the function is called when the GLib DLL is detached,
1351
- which happened earlier when <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a> was a function in the GLib
1352
- DLL.
1353
- </p>
1354
- <p>
1355
- The behaviour of <code class="function">atexit()</code> in the context of dynamically loaded
1356
- modules is not formally specified and varies wildly.
1357
- </p>
1358
- <p>
1359
- On POSIX systems, calling <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a> (or <code class="function">atexit()</code>) in a dynamically
1360
- loaded module which is unloaded before the program terminates might
1361
- well cause a crash at program exit.
1362
- </p>
1363
- <p>
1364
- Some POSIX systems implement <code class="function">atexit()</code> like Windows, and have each
1365
- dynamically loaded module maintain an own atexit chain that is
1366
- called when the module is unloaded.
1367
- </p>
1368
- <p>
1369
- On other POSIX systems, before a dynamically loaded module is
1370
- unloaded, the registered atexit functions (if any) residing in that
1371
- module are called, regardless where the code that registered them
1372
- resided. This is presumably the most robust approach.
1373
- </p>
1374
- <p>
1375
- As can be seen from the above, for portability it's best to avoid
1376
- calling <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a> (or <code class="function">atexit()</code>) except in the main executable of a
1377
- program.
1378
- </p>
1379
- <div class="variablelist"><table border="0">
1380
- <col align="left" valign="top">
1381
- <tbody><tr>
1382
- <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1383
- <td>the function to call on normal program termination.
1384
- </td>
1385
- </tr></tbody>
1386
- </table></div>
1387
- </div>
1388
- <hr>
1389
- <div class="refsect2">
1390
- <a name="g-parse-debug-string"></a><h3>g_parse_debug_string ()</h3>
1391
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_parse_debug_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
1392
- <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
1393
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nkeys</code></em>);</pre>
1394
- <p>
1395
- Parses a string containing debugging options
1396
- into a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><code class="literal">guint</code></a> containing bit flags. This is used
1397
- within GDK and GTK+ to parse the debug options passed on the
1398
- command line or through environment variables.
1399
- </p>
1400
- <p>
1401
- If <em class="parameter"><code>string</code></em> is equal to "all", all flags are set. If <em class="parameter"><code>string</code></em>
1402
- is equal to "help", all the available keys in <em class="parameter"><code>keys</code></em> are printed
1403
- out to standard error.
1404
- </p>
1405
- <div class="variablelist"><table border="0">
1406
- <col align="left" valign="top">
1407
- <tbody>
1408
- <tr>
1409
- <td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
1410
- <td>a list of debug options separated by colons, spaces, or
1411
- commas, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1412
- </td>
1413
- </tr>
1414
- <tr>
1415
- <td><p><span class="term"><em class="parameter"><code>keys</code></em> :</span></p></td>
1416
- <td>pointer to an array of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> which associate
1417
- strings with bit flags.
1418
- </td>
1419
- </tr>
1420
- <tr>
1421
- <td><p><span class="term"><em class="parameter"><code>nkeys</code></em> :</span></p></td>
1422
- <td>the number of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a>s in the array.
1423
- </td>
1424
- </tr>
1425
- <tr>
1426
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1427
- <td> the combined set of bit flags.
1428
- </td>
1429
- </tr>
1430
- </tbody>
1431
- </table></div>
1432
- </div>
1433
- <hr>
1434
- <div class="refsect2">
1435
- <a name="GDebugKey"></a><h3>GDebugKey</h3>
1436
- <pre class="programlisting">typedef struct {
1437
- const gchar *key;
1438
- guint value;
1439
- } GDebugKey;
1440
- </pre>
1441
- <p>
1442
- Associates a string with a bit flag.
1443
- Used in <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-parse-debug-string" title="g_parse_debug_string ()"><code class="function">g_parse_debug_string()</code></a>.
1444
- </p>
1445
- <div class="variablelist"><table border="0">
1446
- <col align="left" valign="top">
1447
- <tbody>
1448
- <tr>
1449
- <td><p><span class="term">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GDebugKey.key"></a>key</code></em>;</span></p></td>
1450
- <td>the string
1451
- </td>
1452
- </tr>
1453
- <tr>
1454
- <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDebugKey.value"></a>value</code></em>;</span></p></td>
1455
- <td>the flag
1456
- </td>
1457
- </tr>
1458
- </tbody>
1459
- </table></div>
1460
- </div>
1461
- <hr>
1462
- <div class="refsect2">
1463
- <a name="GVoidFunc"></a><h3>GVoidFunc ()</h3>
1464
- <pre class="programlisting"><span class="returnvalue">void</span> (*GVoidFunc) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1465
- <p>
1466
- Declares a type of function which takes no arguments and has no return value.
1467
- It is used to specify the type function passed to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()"><code class="function">g_atexit()</code></a>.
1468
- </p>
1469
- </div>
1470
- <hr>
1471
- <div class="refsect2">
1472
- <a name="GFreeFunc"></a><h3>GFreeFunc ()</h3>
1473
- <pre class="programlisting"><span class="returnvalue">void</span> (*GFreeFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
1474
- <p>
1475
- Declares a type of function which takes an arbitrary data pointer argument
1476
- and has no return value. It is not currently used in GLib or GTK+.
1477
- </p>
1478
- <div class="variablelist"><table border="0">
1479
- <col align="left" valign="top">
1480
- <tbody><tr>
1481
- <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1482
- <td>a data pointer.
1483
- </td>
1484
- </tr></tbody>
1485
- </table></div>
1486
- </div>
1487
- <hr>
1488
- <div class="refsect2">
1489
- <a name="g-qsort-with-data"></a><h3>g_qsort_with_data ()</h3>
1490
- <pre class="programlisting"><span class="returnvalue">void</span> g_qsort_with_data (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> pbase</code></em>,
1491
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> total_elems</code></em>,
1492
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
1493
- <em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>,
1494
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1495
- <p>
1496
- This is just like the standard C <code class="function">qsort()</code> function, but
1497
- the comparison routine accepts a user data argument.
1498
- </p>
1499
- <div class="variablelist"><table border="0">
1500
- <col align="left" valign="top">
1501
- <tbody>
1502
- <tr>
1503
- <td><p><span class="term"><em class="parameter"><code>pbase</code></em> :</span></p></td>
1504
- <td>start of array to sort
1505
- </td>
1506
- </tr>
1507
- <tr>
1508
- <td><p><span class="term"><em class="parameter"><code>total_elems</code></em> :</span></p></td>
1509
- <td>elements in the array
1510
- </td>
1511
- </tr>
1512
- <tr>
1513
- <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
1514
- <td>size of each element
1515
- </td>
1516
- </tr>
1517
- <tr>
1518
- <td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
1519
- <td>function to compare elements
1520
- </td>
1521
- </tr>
1522
- <tr>
1523
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1524
- <td>data to pass to <em class="parameter"><code>compare_func</code></em>
1525
- </td>
1526
- </tr>
1527
- </tbody>
1528
- </table></div>
1529
- </div>
1530
- <hr>
1531
- <div class="refsect2">
1532
- <a name="g-nullify-pointer"></a><h3>g_nullify_pointer ()</h3>
1533
- <pre class="programlisting"><span class="returnvalue">void</span> g_nullify_pointer (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *nullify_location</code></em>);</pre>
1534
- <p>
1535
- Set the pointer at the specified location to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1536
- </p>
1537
- <div class="variablelist"><table border="0">
1538
- <col align="left" valign="top">
1539
- <tbody><tr>
1540
- <td><p><span class="term"><em class="parameter"><code>nullify_location</code></em> :</span></p></td>
1541
- <td>the memory address of the pointer.
1542
- </td>
1543
- </tr></tbody>
1544
- </table></div>
1545
- </div>
1546
- </div>
1547
- </div>
1548
- <div class="footer">
1549
- <hr>
1550
- Generated by GTK-Doc V1.15.1</div>
1551
- </body>
1552
- </html>