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.
- data/ChangeLog +9 -0
- data/Rakefile +8 -70
- data/ext/atk/Makefile +160 -0
- data/ext/atk/extconf.rb +9 -9
- data/ext/atk/rbatkversion.h +24 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +1 -1
- metadata +150 -902
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +0 -123
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +0 -188
- data/vendor/local/bin/glib-mkenums +0 -537
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/autosprintf.h +0 -66
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
- data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
- data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
- data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
- data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
- data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
- data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
- data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
- data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
- data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
- data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
- data/vendor/local/include/glib-2.0/glib-object.h +0 -42
- data/vendor/local/include/glib-2.0/glib.h +0 -99
- data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
- data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
- data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
- data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
- data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
- data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
- data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
- data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
- data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
- data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
- data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
- data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
- data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
- data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
- data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
- data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
- data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
- data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
- data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
- data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
- data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
- data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
- data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
- data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
- data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
- data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
- data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
- data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
- data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
- data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
- data/vendor/local/include/glib-2.0/gmodule.h +0 -101
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
- data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
- data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
- data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
- data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
- data/vendor/local/include/libintl.h +0 -464
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1143
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +0 -1452
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +0 -370
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +0 -3
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +0 -31
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
- data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
- data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
- data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
- data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
- data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
- data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
- data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
- data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
- data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
- data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
- data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
- data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
- data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
- data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
- data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +0 -77
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +0 -54
- data/vendor/local/share/man/man1/gettext.1 +0 -69
- data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
- data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
- data/vendor/local/share/man/man1/gobject-query.1 +0 -83
- data/vendor/local/share/man/man1/ngettext.1 +0 -68
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
- data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
- data/vendor/local/share/man/man3/dcgettext.3 +0 -1
- data/vendor/local/share/man/man3/dcngettext.3 +0 -1
- data/vendor/local/share/man/man3/dgettext.3 +0 -1
- data/vendor/local/share/man/man3/dngettext.3 +0 -1
- data/vendor/local/share/man/man3/gettext.3 +0 -99
- data/vendor/local/share/man/man3/ngettext.3 +0 -60
- data/vendor/local/share/man/man3/textdomain.3 +0 -57
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,80 +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>GLib Overview</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="index.html" title="GLib Reference Manual">
|
9
|
-
<link rel="prev" href="index.html" title="GLib Reference Manual">
|
10
|
-
<link rel="next" href="glib-building.html" title="Compiling the GLib package">
|
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"><tr valign="middle">
|
16
|
-
<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
-
<td> </td>
|
18
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
20
|
-
<td><a accesskey="n" href="glib-building.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
-
</tr></table>
|
22
|
-
<div class="chapter">
|
23
|
-
<div class="titlepage"><div><div><h2 class="title">
|
24
|
-
<a name="glib"></a>GLib Overview</h2></div></div></div>
|
25
|
-
<div class="toc"><dl>
|
26
|
-
<dt>
|
27
|
-
<span class="refentrytitle"><a href="glib-building.html">Compiling the GLib package</a></span><span class="refpurpose"> —
|
28
|
-
How to compile GLib itself
|
29
|
-
</span>
|
30
|
-
</dt>
|
31
|
-
<dt>
|
32
|
-
<span class="refentrytitle"><a href="glib-cross-compiling.html">Cross-compiling the GLib package</a></span><span class="refpurpose"> —
|
33
|
-
How to cross-compile GLib
|
34
|
-
</span>
|
35
|
-
</dt>
|
36
|
-
<dt>
|
37
|
-
<span class="refentrytitle"><a href="glib-compiling.html">Compiling GLib Applications</a></span><span class="refpurpose"> —
|
38
|
-
How to compile your GLib application
|
39
|
-
</span>
|
40
|
-
</dt>
|
41
|
-
<dt>
|
42
|
-
<span class="refentrytitle"><a href="glib-running.html">Running GLib Applications</a></span><span class="refpurpose"> —
|
43
|
-
How to run and debug your GLib application
|
44
|
-
</span>
|
45
|
-
</dt>
|
46
|
-
<dt>
|
47
|
-
<span class="refentrytitle"><a href="glib-changes.html">Changes to GLib</a></span><span class="refpurpose"> —
|
48
|
-
Incompatible changes made between successing versions of GLib
|
49
|
-
</span>
|
50
|
-
</dt>
|
51
|
-
<dt>
|
52
|
-
<span class="refentrytitle"><a href="glib-regex-syntax.html">Regular expression syntax</a></span><span class="refpurpose"> —
|
53
|
-
Syntax and semantics of the regular expressions supported by GRegex
|
54
|
-
</span>
|
55
|
-
</dt>
|
56
|
-
<dt>
|
57
|
-
<span class="refentrytitle"><a href="glib-resources.html">Mailing lists and bug reports</a></span><span class="refpurpose"> —
|
58
|
-
Getting help with GLib
|
59
|
-
</span>
|
60
|
-
</dt>
|
61
|
-
</dl></div>
|
62
|
-
<p>
|
63
|
-
GLib is a general-purpose utility library, which provides many useful data
|
64
|
-
types, macros, type conversions, string utilities, file utilities, a main
|
65
|
-
loop abstraction, and so on. It works on many UNIX-like platforms, Windows,
|
66
|
-
OS/2 and BeOS. GLib is released under the GNU Library General Public License
|
67
|
-
(GNU LGPL).
|
68
|
-
</p>
|
69
|
-
<p>
|
70
|
-
The general policy of GLib is that all functions are invisibly threadsafe with the
|
71
|
-
exception of data structure manipulation functions, where, if you have two threads
|
72
|
-
manipulating the <span class="emphasis"><em>same</em></span> data structure, they must use a lock to
|
73
|
-
synchronize their operation.
|
74
|
-
</p>
|
75
|
-
</div>
|
76
|
-
<div class="footer">
|
77
|
-
<hr>
|
78
|
-
Generated by GTK-Doc V1.15.1</div>
|
79
|
-
</body>
|
80
|
-
</html>
|
@@ -1,72 +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>gtester-report</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="tools.html" title="GLib Tools">
|
9
|
-
<link rel="prev" href="gtester.html" title="gtester">
|
10
|
-
<link rel="next" href="api-index-full.html" title="Index">
|
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"><tr valign="middle">
|
16
|
-
<td><a accesskey="p" href="gtester.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
-
<td><a accesskey="u" href="tools.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
20
|
-
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
-
</tr></table>
|
22
|
-
<div class="refentry">
|
23
|
-
<a name="gtester-report"></a><div class="titlepage"></div>
|
24
|
-
<div class="refnamediv"><table width="100%"><tr>
|
25
|
-
<td valign="top">
|
26
|
-
<h2><span class="refentrytitle">gtester-report</span></h2>
|
27
|
-
<p>gtester-report — test report formatting utility</p>
|
28
|
-
</td>
|
29
|
-
<td valign="top" align="right"></td>
|
30
|
-
</tr></table></div>
|
31
|
-
<div class="refsynopsisdiv">
|
32
|
-
<h2>Synopsis</h2>
|
33
|
-
<div class="cmdsynopsis"><p><code class="command">gtester-report</code> [option...] [gtester-log]</p></div>
|
34
|
-
</div>
|
35
|
-
<div class="refsect1">
|
36
|
-
<a name="id546133"></a><h2>Description</h2>
|
37
|
-
<p><span class="command"><strong>gtester-report</strong></span> is a script which converts
|
38
|
-
the XML output generated by gtester into HTML.
|
39
|
-
</p>
|
40
|
-
<div class="refsect2">
|
41
|
-
<a name="id562114"></a><h3>Options</h3>
|
42
|
-
<div class="variablelist"><table border="0">
|
43
|
-
<col align="left" valign="top">
|
44
|
-
<tbody>
|
45
|
-
<tr>
|
46
|
-
<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
|
47
|
-
<td><p>
|
48
|
-
print help and exit
|
49
|
-
</p></td>
|
50
|
-
</tr>
|
51
|
-
<tr>
|
52
|
-
<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td>
|
53
|
-
<td><p>
|
54
|
-
print version information and exit
|
55
|
-
</p></td>
|
56
|
-
</tr>
|
57
|
-
</tbody>
|
58
|
-
</table></div>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
<div class="refsect1">
|
62
|
-
<a name="id700082"></a><h2>See also</h2>
|
63
|
-
<p>
|
64
|
-
<span class="citerefentry"><span class="refentrytitle">gtester</span>(1)</span>
|
65
|
-
</p>
|
66
|
-
</div>
|
67
|
-
</div>
|
68
|
-
<div class="footer">
|
69
|
-
<hr>
|
70
|
-
Generated by GTK-Doc V1.15.1</div>
|
71
|
-
</body>
|
72
|
-
</html>
|
@@ -1,131 +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>gtester</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="tools.html" title="GLib Tools">
|
9
|
-
<link rel="prev" href="glib-gettextize.html" title="glib-gettextize">
|
10
|
-
<link rel="next" href="gtester-report.html" title="gtester-report">
|
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"><tr valign="middle">
|
16
|
-
<td><a accesskey="p" href="glib-gettextize.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
-
<td><a accesskey="u" href="tools.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
20
|
-
<td><a accesskey="n" href="gtester-report.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
-
</tr></table>
|
22
|
-
<div class="refentry">
|
23
|
-
<a name="gtester"></a><div class="titlepage"></div>
|
24
|
-
<div class="refnamediv"><table width="100%"><tr>
|
25
|
-
<td valign="top">
|
26
|
-
<h2><span class="refentrytitle">gtester</span></h2>
|
27
|
-
<p>gtester — test running utility</p>
|
28
|
-
</td>
|
29
|
-
<td valign="top" align="right"></td>
|
30
|
-
</tr></table></div>
|
31
|
-
<div class="refsynopsisdiv">
|
32
|
-
<h2>Synopsis</h2>
|
33
|
-
<div class="cmdsynopsis"><p><code class="command">gtester</code> [option...] [testprogram]</p></div>
|
34
|
-
</div>
|
35
|
-
<div class="refsect1">
|
36
|
-
<a name="id537872"></a><h2>Description</h2>
|
37
|
-
<p><span class="command"><strong>gtester</strong></span> is a utility to run unit tests that have
|
38
|
-
been written using the GLib test framework.
|
39
|
-
</p>
|
40
|
-
<p>
|
41
|
-
When called with the <code class="option">-o</code> option, <span class="command"><strong>gtester</strong></span>
|
42
|
-
writes an XML report of the test results, which can be converted
|
43
|
-
into HTML using the <span class="command"><strong>gtester-report</strong></span> utility.
|
44
|
-
</p>
|
45
|
-
<div class="refsect2">
|
46
|
-
<a name="id551936"></a><h3>Options</h3>
|
47
|
-
<div class="variablelist"><table border="0">
|
48
|
-
<col align="left" valign="top">
|
49
|
-
<tbody>
|
50
|
-
<tr>
|
51
|
-
<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
|
52
|
-
<td><p>
|
53
|
-
print help and exit
|
54
|
-
</p></td>
|
55
|
-
</tr>
|
56
|
-
<tr>
|
57
|
-
<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td>
|
58
|
-
<td><p>
|
59
|
-
print version information and exit
|
60
|
-
</p></td>
|
61
|
-
</tr>
|
62
|
-
<tr>
|
63
|
-
<td><p><span class="term"><code class="option">--g-fatal-warnings</code></span></p></td>
|
64
|
-
<td><p>
|
65
|
-
make warnings fatal
|
66
|
-
</p></td>
|
67
|
-
</tr>
|
68
|
-
<tr>
|
69
|
-
<td><p><span class="term"><code class="option">-k</code>, <code class="option">--keep-going</code></span></p></td>
|
70
|
-
<td><p>
|
71
|
-
continue running after tests failed
|
72
|
-
</p></td>
|
73
|
-
</tr>
|
74
|
-
<tr>
|
75
|
-
<td><p><span class="term"><code class="option">-l</code></span></p></td>
|
76
|
-
<td><p>
|
77
|
-
list paths of available test cases
|
78
|
-
</p></td>
|
79
|
-
</tr>
|
80
|
-
<tr>
|
81
|
-
<td><p><span class="term"><code class="option">-m=<em class="replaceable"><code>MODE</code></em></code></span></p></td>
|
82
|
-
<td><p>
|
83
|
-
run test cases in <em class="replaceable"><code>MODE</code></em>, which can be perf, slow, thorough or quick. The default mode is quick.
|
84
|
-
</p></td>
|
85
|
-
</tr>
|
86
|
-
<tr>
|
87
|
-
<td><p><span class="term"><code class="option">-p=<em class="replaceable"><code>TESTPATH</code></em></code></span></p></td>
|
88
|
-
<td><p>
|
89
|
-
only run test cases matching <em class="replaceable"><code>TESTPATH</code></em>
|
90
|
-
</p></td>
|
91
|
-
</tr>
|
92
|
-
<tr>
|
93
|
-
<td><p><span class="term"><code class="option">--seed=<em class="replaceable"><code>SEEDSTRING</code></em></code></span></p></td>
|
94
|
-
<td><p>
|
95
|
-
run all test cases with random number seed <em class="replaceable"><code>SEEDSTRING</code></em>
|
96
|
-
</p></td>
|
97
|
-
</tr>
|
98
|
-
<tr>
|
99
|
-
<td><p><span class="term"><code class="option">-o=<em class="replaceable"><code>LOGFILE</code></em></code></span></p></td>
|
100
|
-
<td><p>
|
101
|
-
write the test log to <em class="replaceable"><code>LOGFILE</code></em>
|
102
|
-
</p></td>
|
103
|
-
</tr>
|
104
|
-
<tr>
|
105
|
-
<td><p><span class="term"><code class="option">-q</code>, <code class="option">--quiet</code></span></p></td>
|
106
|
-
<td><p>
|
107
|
-
suppress per test binary output
|
108
|
-
</p></td>
|
109
|
-
</tr>
|
110
|
-
<tr>
|
111
|
-
<td><p><span class="term"><code class="option">--verbose</code></span></p></td>
|
112
|
-
<td><p>
|
113
|
-
report success per testcase
|
114
|
-
</p></td>
|
115
|
-
</tr>
|
116
|
-
</tbody>
|
117
|
-
</table></div>
|
118
|
-
</div>
|
119
|
-
</div>
|
120
|
-
<div class="refsect1">
|
121
|
-
<a name="id555189"></a><h2>See also</h2>
|
122
|
-
<p>
|
123
|
-
<span class="citerefentry"><span class="refentrytitle">gtester-report</span>(1)</span>
|
124
|
-
</p>
|
125
|
-
</div>
|
126
|
-
</div>
|
127
|
-
<div class="footer">
|
128
|
-
<hr>
|
129
|
-
Generated by GTK-Doc V1.15.1</div>
|
130
|
-
</body>
|
131
|
-
</html>
|
@@ -1,1288 +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>GVariant Format Strings</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-data-types.html" title="GLib Data Types">
|
9
|
-
<link rel="prev" href="glib-GVariant.html" title="GVariant">
|
10
|
-
<link rel="next" href="tools.html" title="GLib Tools">
|
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"><tr valign="middle">
|
16
|
-
<td><a accesskey="p" href="glib-GVariant.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
-
<td><a accesskey="u" href="glib-data-types.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
20
|
-
<td><a accesskey="n" href="tools.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
-
</tr></table>
|
22
|
-
<div class="refentry">
|
23
|
-
<a name="gvariant-format-strings"></a><div class="titlepage"></div>
|
24
|
-
<div class="refsect1">
|
25
|
-
<a name="id552741"></a><h2>Variable Argument Conversions</h2>
|
26
|
-
<p>
|
27
|
-
This page attempts to document how to perform variable argument conversions with GVariant.
|
28
|
-
</p>
|
29
|
-
<p>
|
30
|
-
Conversions occur according to format strings. A format string is a two-way mapping between a single
|
31
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> value and one or more C values.
|
32
|
-
</p>
|
33
|
-
<p>
|
34
|
-
A conversion from C values into a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> value is made using the
|
35
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> function. A conversion from a
|
36
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> into C values is made using the
|
37
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> function.
|
38
|
-
</p>
|
39
|
-
</div>
|
40
|
-
<div class="refsect1">
|
41
|
-
<a name="id854768"></a><h2>Syntax</h2>
|
42
|
-
<p>
|
43
|
-
This section exhaustively describes all possibilities for GVariant format strings. There are no valid forms of
|
44
|
-
format strings other than those described here. Please note that the format string syntax is likely to expand in the
|
45
|
-
future.
|
46
|
-
</p>
|
47
|
-
<p>
|
48
|
-
Valid format strings have one of the following forms:
|
49
|
-
</p>
|
50
|
-
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
51
|
-
<li class="listitem"><p>any type string</p></li>
|
52
|
-
<li class="listitem"><p>
|
53
|
-
a type string prefixed with a '<code class="literal">@</code>'
|
54
|
-
</p></li>
|
55
|
-
<li class="listitem"><p>
|
56
|
-
'<code class="literal">&s</code>' '<code class="literal">&o</code>', '<code class="literal">&g</code>', '<code class="literal">^as</code>',
|
57
|
-
'<code class="literal">^a&s</code>', '<code class="literal">^ay</code>', '<code class="literal">^&ay</code>', '<code class="literal">^aay</code>'
|
58
|
-
or '<code class="literal">^a&ay</code>'.
|
59
|
-
</p></li>
|
60
|
-
<li class="listitem"><p>
|
61
|
-
any format string, prefixed with an '<code class="literal">m</code>'
|
62
|
-
</p></li>
|
63
|
-
<li class="listitem"><p>
|
64
|
-
a sequence of zero or more format strings strings, concatenated and enclosed in parentheses
|
65
|
-
</p></li>
|
66
|
-
<li class="listitem"><p>
|
67
|
-
an opening brace, followed by two format strings, followed by a closing brace (subject to the constraint that the
|
68
|
-
first format string correspond to a type valid for use as the key type of a dictionary)
|
69
|
-
</p></li>
|
70
|
-
</ul></div>
|
71
|
-
</div>
|
72
|
-
<div class="refsect1">
|
73
|
-
<a name="id558277"></a><h2>Symbols</h2>
|
74
|
-
<p>
|
75
|
-
The following table describes the rough meaning of symbols that may appear inside a GVariant format string. Each
|
76
|
-
symbol is described in detail in its own section, including usage examples.
|
77
|
-
</p>
|
78
|
-
<div class="informaltable"><table border="1">
|
79
|
-
<colgroup>
|
80
|
-
<col>
|
81
|
-
<col>
|
82
|
-
</colgroup>
|
83
|
-
<tbody>
|
84
|
-
<tr>
|
85
|
-
<td>
|
86
|
-
<p>
|
87
|
-
<span class="strong"><strong>Symbol</strong></span>
|
88
|
-
</p>
|
89
|
-
</td>
|
90
|
-
<td>
|
91
|
-
<p>
|
92
|
-
<span class="strong"><strong>Meaning</strong></span>
|
93
|
-
</p>
|
94
|
-
</td>
|
95
|
-
</tr>
|
96
|
-
<tr>
|
97
|
-
<td>
|
98
|
-
<p>
|
99
|
-
<span class="strong"><strong>
|
100
|
-
<code class="literal">b</code>, <code class="literal">y</code>, <code class="literal">n</code>, <code class="literal">q</code>, <code class="literal">i</code>,
|
101
|
-
<code class="literal">u</code>, <code class="literal">x</code>, <code class="literal">t</code>, <code class="literal">h</code>, <code class="literal">d</code>
|
102
|
-
</strong></span>
|
103
|
-
</p>
|
104
|
-
</td>
|
105
|
-
<td>
|
106
|
-
<p>
|
107
|
-
Used for building or deconstructing boolean, byte and numeric types. See
|
108
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-numeric-types">Numeric Types</a> below.
|
109
|
-
</p>
|
110
|
-
</td>
|
111
|
-
</tr>
|
112
|
-
<tr>
|
113
|
-
<td>
|
114
|
-
<p>
|
115
|
-
<span class="strong"><strong>
|
116
|
-
<code class="literal">s</code>, <code class="literal">o</code>, <code class="literal">g</code>
|
117
|
-
</strong></span>
|
118
|
-
</p>
|
119
|
-
</td>
|
120
|
-
<td>
|
121
|
-
<p>
|
122
|
-
Used for building or deconstructing string types. See
|
123
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-strings">Strings</a> below.
|
124
|
-
</p>
|
125
|
-
</td>
|
126
|
-
</tr>
|
127
|
-
<tr>
|
128
|
-
<td>
|
129
|
-
<p>
|
130
|
-
<span class="strong"><strong><code class="literal">v</code></strong></span>
|
131
|
-
</p>
|
132
|
-
</td>
|
133
|
-
<td>
|
134
|
-
<p>
|
135
|
-
Used for building or deconstructing variant types. See
|
136
|
-
Variants below.
|
137
|
-
</p>
|
138
|
-
</td>
|
139
|
-
</tr>
|
140
|
-
<tr>
|
141
|
-
<td>
|
142
|
-
<p>
|
143
|
-
<span class="strong"><strong>
|
144
|
-
<code class="literal">a</code>
|
145
|
-
</strong></span>
|
146
|
-
</p>
|
147
|
-
</td>
|
148
|
-
<td>
|
149
|
-
<p>
|
150
|
-
Used for building or deconstructing arrays. See
|
151
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-arrays">Arrays</a> below.
|
152
|
-
</p>
|
153
|
-
</td>
|
154
|
-
</tr>
|
155
|
-
<tr>
|
156
|
-
<td>
|
157
|
-
<p>
|
158
|
-
<span class="strong"><strong>
|
159
|
-
<code class="literal">m</code>
|
160
|
-
</strong></span>
|
161
|
-
</p>
|
162
|
-
</td>
|
163
|
-
<td>
|
164
|
-
<p>
|
165
|
-
Used for building or deconstructing maybe types. See
|
166
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-maybe-types">Maybe Types</a> below.
|
167
|
-
</p>
|
168
|
-
</td>
|
169
|
-
</tr>
|
170
|
-
<tr>
|
171
|
-
<td>
|
172
|
-
<p>
|
173
|
-
<span class="strong"><strong>
|
174
|
-
<code class="literal">()</code>
|
175
|
-
</strong></span>
|
176
|
-
</p>
|
177
|
-
</td>
|
178
|
-
<td>
|
179
|
-
<p>
|
180
|
-
Used for building or deconstructing tuples. See
|
181
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-tuples">Tuples</a> below.
|
182
|
-
</p>
|
183
|
-
</td>
|
184
|
-
</tr>
|
185
|
-
<tr>
|
186
|
-
<td>
|
187
|
-
<p>
|
188
|
-
<span class="strong"><strong>
|
189
|
-
<code class="literal">{}</code>
|
190
|
-
</strong></span>
|
191
|
-
</p>
|
192
|
-
</td>
|
193
|
-
<td>
|
194
|
-
<p>
|
195
|
-
Used for building or deconstructing dictionary entries. See
|
196
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-dictionaries">Dictionaries</a> below.
|
197
|
-
</p>
|
198
|
-
</td>
|
199
|
-
</tr>
|
200
|
-
<tr>
|
201
|
-
<td>
|
202
|
-
<p>
|
203
|
-
<span class="strong"><strong>
|
204
|
-
<code class="literal">@</code>
|
205
|
-
</strong></span>
|
206
|
-
</p>
|
207
|
-
</td>
|
208
|
-
<td>
|
209
|
-
<p>
|
210
|
-
Used as a prefix on a GVariant type string (not format string). Denotes that a pointer to a
|
211
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> should be used in place of the normal C type or types. For
|
212
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> this means that you must pass a
|
213
|
-
non-<code class="literal">NULL</code> <code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a>
|
214
|
-
*)</code>; if it is a floating reference, ownership will be taken, as
|
215
|
-
if by using <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.
|
216
|
-
For <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> this means that you
|
217
|
-
must pass a pointer to a <code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> *)</code> for the value to be returned
|
218
|
-
by reference or <code class="literal">NULL</code> to ignore the value. See
|
219
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-gvariant"><code class="code">GVariant *</code></a> below.
|
220
|
-
</p>
|
221
|
-
</td>
|
222
|
-
</tr>
|
223
|
-
<tr>
|
224
|
-
<td>
|
225
|
-
<p>
|
226
|
-
<span class="strong"><strong>
|
227
|
-
<code class="literal">*</code>, <code class="literal">?</code>, <code class="literal">r</code>
|
228
|
-
</strong></span>
|
229
|
-
</p>
|
230
|
-
</td>
|
231
|
-
<td>
|
232
|
-
<p>
|
233
|
-
Exactly equivalent to <code class="literal">@*</code>, <code class="literal">@?</code> and <code class="literal">@r</code>. Provided only for
|
234
|
-
completeness so that all GVariant type strings can be used also as format strings. See <a href="gvariant-format-strings.html#gvariant-format-strings-gvariant"><code class="code">GVariant *</code></a> below.
|
235
|
-
</p>
|
236
|
-
</td>
|
237
|
-
</tr>
|
238
|
-
<tr>
|
239
|
-
<td>
|
240
|
-
<p>
|
241
|
-
<span class="strong"><strong><code class="literal">&</code></strong></span>
|
242
|
-
</p>
|
243
|
-
</td>
|
244
|
-
<td>
|
245
|
-
<p>
|
246
|
-
Used as a prefix on a GVariant type string (not format string). Denotes that a C pointer to serialised data
|
247
|
-
should be used in place of the normal C type. See
|
248
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">Pointers</a> below.
|
249
|
-
</p>
|
250
|
-
</td>
|
251
|
-
</tr>
|
252
|
-
<tr>
|
253
|
-
<td>
|
254
|
-
<p>
|
255
|
-
<span class="strong"><strong><code class="literal">^</code></strong></span>
|
256
|
-
</p>
|
257
|
-
</td>
|
258
|
-
<td>
|
259
|
-
<p>
|
260
|
-
Used as a prefix on some specific types of format strings. See
|
261
|
-
<a href="gvariant-format-strings.html#gvariant-format-strings-convenience">Convenience Conversions</a> below.
|
262
|
-
</p>
|
263
|
-
</td>
|
264
|
-
</tr>
|
265
|
-
</tbody>
|
266
|
-
</table></div>
|
267
|
-
<div class="refsect2">
|
268
|
-
<a name="gvariant-format-strings-numeric-types"></a><h3>Numeric Types</h3>
|
269
|
-
<p>
|
270
|
-
<span class="strong"><strong>
|
271
|
-
Characters: <code class="literal">b</code>, <code class="literal">y</code>, <code class="literal">n</code>, <code class="literal">q</code>,
|
272
|
-
<code class="literal">i</code>, <code class="literal">u</code>, <code class="literal">x</code>, <code class="literal">t</code>, <code class="literal">h</code>,
|
273
|
-
<code class="literal">d</code>
|
274
|
-
</strong></span>
|
275
|
-
</p>
|
276
|
-
<p>
|
277
|
-
Variable argument conversions from numeric types work in the most obvious way possible. Upon encountering one of
|
278
|
-
these characters, <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> takes the equivalent C
|
279
|
-
type as an argument. <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> takes a pointer to
|
280
|
-
the equivalent C type (or <code class="literal">NULL</code> to ignore the value).
|
281
|
-
</p>
|
282
|
-
<p>
|
283
|
-
The equivalent C types are as follows:
|
284
|
-
</p>
|
285
|
-
<div class="informaltable"><table border="1">
|
286
|
-
<colgroup>
|
287
|
-
<col>
|
288
|
-
<col>
|
289
|
-
</colgroup>
|
290
|
-
<tbody>
|
291
|
-
<tr>
|
292
|
-
<td>
|
293
|
-
<p>
|
294
|
-
<span class="strong"><strong>Character</strong></span>
|
295
|
-
</p>
|
296
|
-
</td>
|
297
|
-
<td>
|
298
|
-
<p>
|
299
|
-
<span class="strong"><strong>Equivalent C type</strong></span>
|
300
|
-
</p>
|
301
|
-
</td>
|
302
|
-
</tr>
|
303
|
-
<tr>
|
304
|
-
<td>
|
305
|
-
<p>
|
306
|
-
<span class="strong"><strong>
|
307
|
-
<code class="literal">b</code>
|
308
|
-
</strong></span>
|
309
|
-
</p>
|
310
|
-
</td>
|
311
|
-
<td>
|
312
|
-
<p>
|
313
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a>
|
314
|
-
</p>
|
315
|
-
</td>
|
316
|
-
</tr>
|
317
|
-
<tr>
|
318
|
-
<td>
|
319
|
-
<p>
|
320
|
-
<span class="strong"><strong>
|
321
|
-
<code class="literal">y</code>
|
322
|
-
</strong></span>
|
323
|
-
</p>
|
324
|
-
</td>
|
325
|
-
<td>
|
326
|
-
<p>
|
327
|
-
<a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a>
|
328
|
-
</p>
|
329
|
-
</td>
|
330
|
-
</tr>
|
331
|
-
<tr>
|
332
|
-
<td>
|
333
|
-
<p>
|
334
|
-
<span class="strong"><strong>
|
335
|
-
<code class="literal">n</code>
|
336
|
-
</strong></span>
|
337
|
-
</p>
|
338
|
-
</td>
|
339
|
-
<td>
|
340
|
-
<p>
|
341
|
-
<a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a>
|
342
|
-
</p>
|
343
|
-
</td>
|
344
|
-
</tr>
|
345
|
-
<tr>
|
346
|
-
<td>
|
347
|
-
<p>
|
348
|
-
<span class="strong"><strong>
|
349
|
-
<code class="literal">q</code>
|
350
|
-
</strong></span>
|
351
|
-
</p>
|
352
|
-
</td>
|
353
|
-
<td>
|
354
|
-
<p>
|
355
|
-
<a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a>
|
356
|
-
</p>
|
357
|
-
</td>
|
358
|
-
</tr>
|
359
|
-
<tr>
|
360
|
-
<td>
|
361
|
-
<p>
|
362
|
-
<span class="strong"><strong>
|
363
|
-
<code class="literal">i</code>
|
364
|
-
</strong></span>
|
365
|
-
</p>
|
366
|
-
</td>
|
367
|
-
<td>
|
368
|
-
<p>
|
369
|
-
<a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a>
|
370
|
-
</p>
|
371
|
-
</td>
|
372
|
-
</tr>
|
373
|
-
<tr>
|
374
|
-
<td>
|
375
|
-
<p>
|
376
|
-
<span class="strong"><strong>
|
377
|
-
<code class="literal">u</code>
|
378
|
-
</strong></span>
|
379
|
-
</p>
|
380
|
-
</td>
|
381
|
-
<td>
|
382
|
-
<p>
|
383
|
-
<a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a>
|
384
|
-
</p>
|
385
|
-
</td>
|
386
|
-
</tr>
|
387
|
-
<tr>
|
388
|
-
<td>
|
389
|
-
<p>
|
390
|
-
<span class="strong"><strong>
|
391
|
-
<code class="literal">x</code>
|
392
|
-
</strong></span>
|
393
|
-
</p>
|
394
|
-
</td>
|
395
|
-
<td>
|
396
|
-
<p>
|
397
|
-
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>
|
398
|
-
</p>
|
399
|
-
</td>
|
400
|
-
</tr>
|
401
|
-
<tr>
|
402
|
-
<td>
|
403
|
-
<p>
|
404
|
-
<span class="strong"><strong>
|
405
|
-
<code class="literal">t</code>
|
406
|
-
</strong></span>
|
407
|
-
</p>
|
408
|
-
</td>
|
409
|
-
<td>
|
410
|
-
<p>
|
411
|
-
<a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a>
|
412
|
-
</p>
|
413
|
-
</td>
|
414
|
-
</tr>
|
415
|
-
<tr>
|
416
|
-
<td>
|
417
|
-
<p>
|
418
|
-
<span class="strong"><strong>
|
419
|
-
<code class="literal">h</code>
|
420
|
-
</strong></span>
|
421
|
-
</p>
|
422
|
-
</td>
|
423
|
-
<td>
|
424
|
-
<p>
|
425
|
-
<a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a>
|
426
|
-
</p>
|
427
|
-
</td>
|
428
|
-
</tr>
|
429
|
-
<tr>
|
430
|
-
<td>
|
431
|
-
<p>
|
432
|
-
<span class="strong"><strong>
|
433
|
-
<code class="literal">d</code>
|
434
|
-
</strong></span>
|
435
|
-
</p>
|
436
|
-
</td>
|
437
|
-
<td>
|
438
|
-
<p>
|
439
|
-
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a>
|
440
|
-
</p>
|
441
|
-
</td>
|
442
|
-
</tr>
|
443
|
-
</tbody>
|
444
|
-
</table></div>
|
445
|
-
<p>
|
446
|
-
Note that in C, small integer types in variable argument lists are promoted up to <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">int</span></a> or <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">unsigned int</span></a> as appropriate, and
|
447
|
-
read back accordingly. <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">int</span></a> is 32 bits on every platform on which GLib is
|
448
|
-
currently suported. This means that you can use C expressions of type <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">int</span></a>
|
449
|
-
with <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> and format characters
|
450
|
-
'<code class="literal">b</code>', '<code class="literal">y</code>', '<code class="literal">n</code>', '<code class="literal">q</code>',
|
451
|
-
'<code class="literal">i</code>', '<code class="literal">u</code>' and '<code class="literal">h</code>'. Specifically, you can use integer
|
452
|
-
literals with these characters.
|
453
|
-
</p>
|
454
|
-
<p>
|
455
|
-
When using the '<code class="literal">x</code>' and '<code class="literal">t</code>' characters, you must ensure that the value that you
|
456
|
-
provide is 64 bit. This means that you should use a cast or make use of the
|
457
|
-
<code class="literal">G_GINT64_CONSTANT</code> or
|
458
|
-
<code class="literal">G_GUINT64_CONSTANT</code> macros.
|
459
|
-
</p>
|
460
|
-
<p>
|
461
|
-
No type promotion occurs when using <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> since
|
462
|
-
it operates with pointers. The pointers must always point to a memory region of exactly the correct size.
|
463
|
-
</p>
|
464
|
-
<div class="refsect3">
|
465
|
-
<a name="id649957"></a><h4>Examples</h4>
|
466
|
-
<div class="informalexample">
|
467
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
468
|
-
<tbody>
|
469
|
-
<tr>
|
470
|
-
<td class="listing_lines" align="right"><pre>1
|
471
|
-
2
|
472
|
-
3
|
473
|
-
4
|
474
|
-
5
|
475
|
-
6
|
476
|
-
7
|
477
|
-
8
|
478
|
-
9
|
479
|
-
10
|
480
|
-
11
|
481
|
-
12
|
482
|
-
13
|
483
|
-
14
|
484
|
-
15
|
485
|
-
16
|
486
|
-
17
|
487
|
-
18</pre></td>
|
488
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value3</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value4</span><span class="symbol">;</span>
|
489
|
-
|
490
|
-
<span class="normal">value1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
491
|
-
<span class="normal">value2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"b"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
492
|
-
<span class="normal">value3 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"d"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">37.5</span><span class="symbol">):</span>
|
493
|
-
<span class="normal">value4 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-Basic-Types.html#G-GINT64-CONSTANT:CAPS">G_GINT64_CONSTANT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">998877665544332211</span><span class="symbol">));</span>
|
494
|
-
|
495
|
-
<span class="cbracket">{</span>
|
496
|
-
<span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> floating</span><span class="symbol">;</span>
|
497
|
-
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> truth</span><span class="symbol">;</span>
|
498
|
-
<span class="normal"> </span><span class="usertype">gint64</span><span class="normal"> bignum</span><span class="symbol">;</span>
|
499
|
-
|
500
|
-
|
501
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* ignore the value. */</span>
|
502
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"b"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">truth</span><span class="symbol">);</span>
|
503
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value3</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"d"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">floating</span><span class="symbol">);</span>
|
504
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value4</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">bignum</span><span class="symbol">);</span>
|
505
|
-
<span class="cbracket">}</span></pre></td>
|
506
|
-
</tr>
|
507
|
-
</tbody>
|
508
|
-
</table>
|
509
|
-
</div>
|
510
|
-
|
511
|
-
</div>
|
512
|
-
</div>
|
513
|
-
<hr>
|
514
|
-
<div class="refsect2">
|
515
|
-
<a name="gvariant-format-strings-strings"></a><h3>Strings</h3>
|
516
|
-
<p>
|
517
|
-
<span class="strong"><strong>
|
518
|
-
Characters: <code class="literal">s</code>, <code class="literal">o</code>, <code class="literal">g</code>
|
519
|
-
</strong></span>
|
520
|
-
</p>
|
521
|
-
<p>
|
522
|
-
String conversions occur to and from standard nul-terminated C strings. Upon encountering an
|
523
|
-
'<code class="literal">s</code>', '<code class="literal">o</code>' or '<code class="literal">g</code>' in a format string,
|
524
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> takes a <code class="code">(const
|
525
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *)</code> and makes a copy of it.
|
526
|
-
<code class="literal">NULL</code> is not a valid string. If the '<code class="literal">o</code>' or
|
527
|
-
'<code class="literal">g</code>' characters are used, care must be taken to ensure that the passed string is a valid DBus
|
528
|
-
object path or DBus type signature, respectively.
|
529
|
-
</p>
|
530
|
-
<p>
|
531
|
-
Upon encounting '<code class="literal">s</code>', '<code class="literal">o</code>' or '<code class="literal">g</code>', <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> takes a pointer to a
|
532
|
-
<code class="code">(<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *)</code> (ie: <code class="code">(<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **)</code>) and
|
533
|
-
sets it to a newly-allocated copy of the string. It is appropriate to free this copy using
|
534
|
-
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
535
|
-
<code class="literal">NULL</code> may also be passed to indicate that the value of the
|
536
|
-
string should be ignored (in which case no copy is made).
|
537
|
-
</p>
|
538
|
-
<div class="refsect3">
|
539
|
-
<a name="id558163"></a><h4>Examples</h4>
|
540
|
-
<div class="informalexample">
|
541
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
542
|
-
<tbody>
|
543
|
-
<tr>
|
544
|
-
<td class="listing_lines" align="right"><pre>1
|
545
|
-
2
|
546
|
-
3
|
547
|
-
4
|
548
|
-
5
|
549
|
-
6
|
550
|
-
7
|
551
|
-
8
|
552
|
-
9
|
553
|
-
10
|
554
|
-
11
|
555
|
-
12
|
556
|
-
13
|
557
|
-
14
|
558
|
-
15
|
559
|
-
16
|
560
|
-
17</pre></td>
|
561
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value3</span><span class="symbol">;</span>
|
562
|
-
|
563
|
-
<span class="normal">value1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"hello world!"</span><span class="symbol">);</span>
|
564
|
-
<span class="normal">value2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"o"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"/must/be/a/valid/path"</span><span class="symbol">);</span>
|
565
|
-
<span class="normal">value3 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"g"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"iias"</span><span class="symbol">);</span>
|
566
|
-
|
567
|
-
<span class="preproc">#if</span><span class="normal"> </span><span class="number">0</span>
|
568
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* not valid: NULL is not a string. */</span>
|
569
|
-
<span class="preproc">#endif</span>
|
570
|
-
|
571
|
-
<span class="cbracket">{</span>
|
572
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">;</span>
|
573
|
-
|
574
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">result</span><span class="symbol">);</span>
|
575
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"It was '%s'</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">);</span>
|
576
|
-
<span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">);</span>
|
577
|
-
<span class="cbracket">}</span></pre></td>
|
578
|
-
</tr>
|
579
|
-
</tbody>
|
580
|
-
</table>
|
581
|
-
</div>
|
582
|
-
|
583
|
-
</div>
|
584
|
-
</div>
|
585
|
-
<hr>
|
586
|
-
<div class="refsect2">
|
587
|
-
<a name="gvariant-format-strings-variants"></a><h3>Variants</h3>
|
588
|
-
<p>
|
589
|
-
<span class="strong"><strong>
|
590
|
-
Characters: <code class="literal">v</code>
|
591
|
-
</strong></span>
|
592
|
-
</p>
|
593
|
-
<p>
|
594
|
-
Upon encountering a '<code class="literal">v</code>',
|
595
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> takes a <code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> *)</code>. The value of the
|
596
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is used as the contents of the variant value.
|
597
|
-
</p>
|
598
|
-
<p>
|
599
|
-
Upon encountering a '<code class="literal">v</code>', <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> takes a pointer to a
|
600
|
-
<code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> *)</code> (ie: <code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> **)
|
601
|
-
</code>). It is set to a new reference to a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
602
|
-
containing the contents of the variant value. It is appropriate to free this reference using
|
603
|
-
<a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()"><code class="function">g_variant_unref()</code></a>.
|
604
|
-
<code class="literal">NULL</code> may also be passed to indicate that the value should be
|
605
|
-
ignored (in which case no new reference is created).
|
606
|
-
</p>
|
607
|
-
<div class="refsect3">
|
608
|
-
<a name="id676125"></a><h4>Examples</h4>
|
609
|
-
<div class="informalexample">
|
610
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
611
|
-
<tbody>
|
612
|
-
<tr>
|
613
|
-
<td class="listing_lines" align="right"><pre>1
|
614
|
-
2
|
615
|
-
3
|
616
|
-
4
|
617
|
-
5
|
618
|
-
6
|
619
|
-
7
|
620
|
-
8
|
621
|
-
9</pre></td>
|
622
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">y</span><span class="symbol">;</span>
|
623
|
-
|
624
|
-
<span class="comment">/* the following two lines are equivalent: */</span>
|
625
|
-
<span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"v"</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
626
|
-
<span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new-variant">g_variant_new_variant</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">y</span><span class="symbol">);</span>
|
627
|
-
|
628
|
-
<span class="comment">/* as are these: */</span>
|
629
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"v"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y</span><span class="symbol">);</span>
|
630
|
-
<span class="normal">y </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get-variant">g_variant_get_variant</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">);</span></pre></td>
|
631
|
-
</tr>
|
632
|
-
</tbody>
|
633
|
-
</table>
|
634
|
-
</div>
|
635
|
-
|
636
|
-
</div>
|
637
|
-
</div>
|
638
|
-
<hr>
|
639
|
-
<div class="refsect2">
|
640
|
-
<a name="gvariant-format-strings-arrays"></a><h3>Arrays</h3>
|
641
|
-
<p>
|
642
|
-
<span class="strong"><strong>
|
643
|
-
Characters: <code class="literal">a</code>
|
644
|
-
</strong></span>
|
645
|
-
</p>
|
646
|
-
<p>
|
647
|
-
Upon encountering an '<code class="literal">a</code>' character followed by a type string,
|
648
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> will take a
|
649
|
-
<code class="code">(<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder">GVariantBuilder</a> *)</code> that has been created as an array builder
|
650
|
-
for an array of the type given in the type string. The builder will have
|
651
|
-
<a class="link" href="glib-GVariant.html#g-variant-builder-end" title="g_variant_builder_end ()"><code class="function">g_variant_builder_end()</code></a> called on it and the
|
652
|
-
result will be used as the value. As a special exception, if the given type string is a definite type, then
|
653
|
-
<code class="literal">NULL</code> may be given to mean an empty array of that type.
|
654
|
-
</p>
|
655
|
-
<p>
|
656
|
-
Upon encountering an '<code class="literal">a</code>' character followed by a type string,
|
657
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> will take a pointer to a
|
658
|
-
<code class="code">(<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter">GVariantIter</a> *)</code> (ie:
|
659
|
-
<code class="code">(<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter">GVariantIter</a> **)</code>).
|
660
|
-
A new heap-allocated iterator is created and returned, initialised for iterating over the elements of the array.
|
661
|
-
This iterator should be freed when you are done with it, using
|
662
|
-
<a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a>.
|
663
|
-
<code class="literal">NULL</code> may also be given to indicate that the value of the array
|
664
|
-
should be ignored.
|
665
|
-
</p>
|
666
|
-
<div class="refsect3">
|
667
|
-
<a name="id868364"></a><h4>Examples</h4>
|
668
|
-
<div class="informalexample">
|
669
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
670
|
-
<tbody>
|
671
|
-
<tr>
|
672
|
-
<td class="listing_lines" align="right"><pre>1
|
673
|
-
2
|
674
|
-
3
|
675
|
-
4
|
676
|
-
5
|
677
|
-
6
|
678
|
-
7
|
679
|
-
8
|
680
|
-
9
|
681
|
-
10
|
682
|
-
11
|
683
|
-
12
|
684
|
-
13
|
685
|
-
14
|
686
|
-
15
|
687
|
-
16
|
688
|
-
17
|
689
|
-
18
|
690
|
-
19
|
691
|
-
20
|
692
|
-
21
|
693
|
-
22</pre></td>
|
694
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariantBuilder</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">builder</span><span class="symbol">;</span>
|
695
|
-
<span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
|
696
|
-
|
697
|
-
<span class="normal">builder </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-builder-new">g_variant_builder_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-GVariantType.html#G-VARIANT-TYPE:CAPS">G_VARIANT_TYPE</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"as"</span><span class="symbol">));</span>
|
698
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"when"</span><span class="symbol">);</span>
|
699
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"in"</span><span class="symbol">);</span>
|
700
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"the"</span><span class="symbol">);</span>
|
701
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"course"</span><span class="symbol">);</span>
|
702
|
-
<span class="normal">value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"as"</span><span class="symbol">,</span><span class="normal"> builder</span><span class="symbol">);</span>
|
703
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-unref">g_variant_builder_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">);</span>
|
704
|
-
|
705
|
-
<span class="cbracket">{</span>
|
706
|
-
<span class="normal"> </span><span class="usertype">GVariantIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter</span><span class="symbol">;</span>
|
707
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
708
|
-
|
709
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"as"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">);</span>
|
710
|
-
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-GVariant.html#g-variant-iter-loop">g_variant_iter_loop</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">str</span><span class="symbol">))</span>
|
711
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
712
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-iter-free">g_variant_iter_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
|
713
|
-
<span class="cbracket">}</span>
|
714
|
-
|
715
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span></pre></td>
|
716
|
-
</tr>
|
717
|
-
</tbody>
|
718
|
-
</table>
|
719
|
-
</div>
|
720
|
-
|
721
|
-
</div>
|
722
|
-
</div>
|
723
|
-
<hr>
|
724
|
-
<div class="refsect2">
|
725
|
-
<a name="gvariant-format-strings-maybe-types"></a><h3>Maybe Types</h3>
|
726
|
-
<p>
|
727
|
-
<span class="strong"><strong>
|
728
|
-
Characters: <code class="literal">m</code>
|
729
|
-
</strong></span>
|
730
|
-
</p>
|
731
|
-
<p>
|
732
|
-
Maybe types are handled in two separate ways depending on the format string that follows the
|
733
|
-
'<code class="literal">m</code>'. The method that is used currently depends entirely on the character immediately following the
|
734
|
-
'<code class="literal">m</code>'.
|
735
|
-
</p>
|
736
|
-
<p>
|
737
|
-
The first way is used with format strings starting with '<code class="literal">s</code>', '<code class="literal">o</code>',
|
738
|
-
'<code class="literal">g</code>', '<code class="literal">v</code>', '<code class="literal">@</code>', '<code class="literal">*</code>',
|
739
|
-
'<code class="literal">?</code>', '<code class="literal">r</code>', '<code class="literal">&</code>', or '<code class="literal">^</code>'. In all of
|
740
|
-
these cases, for non-maybe types, <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> takes
|
741
|
-
a pointer to a non-<code class="literal">NULL</code> value and
|
742
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> returns (by reference) a
|
743
|
-
non-<code class="literal">NULL</code> pointer. When any of these format strings are
|
744
|
-
prefixed with an '<code class="literal">m</code>', the type of arguments that are collected does not change in any way, but
|
745
|
-
<code class="literal">NULL</code> becomes a permissable value, to indicate the Nothing case.
|
746
|
-
</p>
|
747
|
-
<p>
|
748
|
-
The second way is used with all other format strings. For
|
749
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> an additional
|
750
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> argument is collected and for
|
751
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> an additional
|
752
|
-
<code class="code">(<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a> *)</code>. Following this argument, the arguments that are normally
|
753
|
-
collected for the equivalent non-maybe type will be collected.
|
754
|
-
</p>
|
755
|
-
<p>
|
756
|
-
If <code class="literal">FALSE</code> is given to
|
757
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> then the Nothing value is constructed and
|
758
|
-
the collected arguments are ignored. Otherwise (if <code class="literal">TRUE</code> was
|
759
|
-
given), the arguments are used in the normal way to create the Just value.
|
760
|
-
</p>
|
761
|
-
<p>
|
762
|
-
If <code class="literal">NULL</code> is given to
|
763
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> then the value is ignored. If a
|
764
|
-
non-<code class="literal">NULL</code> pointer is given then it is used to return by reference
|
765
|
-
whether the value was Just. In the case that the value was Just, the
|
766
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> will be set to
|
767
|
-
<code class="literal">TRUE</code> and the value will be stored in the arguments in the usual
|
768
|
-
way. In the case that the value was Nothing, the <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> will be set to
|
769
|
-
<code class="literal">FALSE</code> and the arguments will be collected in the normal way
|
770
|
-
but have their values set to binary zero.
|
771
|
-
</p>
|
772
|
-
<div class="refsect3">
|
773
|
-
<a name="id542746"></a><h4>Examples</h4>
|
774
|
-
<div class="informalexample">
|
775
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
776
|
-
<tbody>
|
777
|
-
<tr>
|
778
|
-
<td class="listing_lines" align="right"><pre>1
|
779
|
-
2
|
780
|
-
3
|
781
|
-
4
|
782
|
-
5
|
783
|
-
6
|
784
|
-
7
|
785
|
-
8
|
786
|
-
9
|
787
|
-
10
|
788
|
-
11
|
789
|
-
12
|
790
|
-
13
|
791
|
-
14
|
792
|
-
15
|
793
|
-
16
|
794
|
-
17
|
795
|
-
18
|
796
|
-
19
|
797
|
-
20
|
798
|
-
21
|
799
|
-
22
|
800
|
-
23
|
801
|
-
24
|
802
|
-
25
|
803
|
-
26
|
804
|
-
27
|
805
|
-
28
|
806
|
-
29
|
807
|
-
30
|
808
|
-
31
|
809
|
-
32
|
810
|
-
33
|
811
|
-
34
|
812
|
-
35
|
813
|
-
36
|
814
|
-
37
|
815
|
-
38
|
816
|
-
39
|
817
|
-
40
|
818
|
-
41
|
819
|
-
42
|
820
|
-
43
|
821
|
-
44
|
822
|
-
45
|
823
|
-
46
|
824
|
-
47
|
825
|
-
48
|
826
|
-
49
|
827
|
-
50
|
828
|
-
51
|
829
|
-
52
|
830
|
-
53
|
831
|
-
54
|
832
|
-
55</pre></td>
|
833
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value3</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value4</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value5</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value6</span><span class="symbol">;</span>
|
834
|
-
<span class="normal">value1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"ms"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Hello world"</span><span class="symbol">);</span>
|
835
|
-
<span class="normal">value2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"ms"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
836
|
-
<span class="normal">value3 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(m(ii)s)"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">123</span><span class="symbol">,</span><span class="normal"> </span><span class="number">456</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Done"</span><span class="symbol">);</span>
|
837
|
-
<span class="normal">value4 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(m(ii)s)"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Done"</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* both '-1' are ignored. */</span>
|
838
|
-
<span class="normal">value5 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(m@(ii)s)"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Done"</span><span class="symbol">);</span>
|
839
|
-
|
840
|
-
<span class="cbracket">{</span>
|
841
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents</span><span class="symbol">;</span>
|
842
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cstr</span><span class="symbol">;</span>
|
843
|
-
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> just</span><span class="symbol">;</span>
|
844
|
-
<span class="normal"> </span><span class="usertype">gint32</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">;</span>
|
845
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
846
|
-
|
847
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ms"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">str</span><span class="symbol">);</span>
|
848
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str </span><span class="symbol">!=</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
849
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"str: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
850
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
851
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was null</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
852
|
-
<span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">);</span>
|
853
|
-
|
854
|
-
|
855
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"m&s"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">cstr</span><span class="symbol">);</span>
|
856
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cstr </span><span class="symbol">!=</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
857
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"str: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> cstr</span><span class="symbol">);</span>
|
858
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
859
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was null</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
860
|
-
<span class="normal"> </span><span class="comment">/* don't free 'cstr' */</span>
|
861
|
-
|
862
|
-
|
863
|
-
<span class="normal"> </span><span class="comment">/* NULL passed for the gboolean *, but two 'gint32 *' still collected */</span>
|
864
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value3</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(m(ii)s)"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">str</span><span class="symbol">);</span>
|
865
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"string is %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
866
|
-
<span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">);</span>
|
867
|
-
|
868
|
-
<span class="normal"> </span><span class="comment">/* note: &s used, so g_free() not needed */</span>
|
869
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value4</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(m(ii)&s)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">just</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">cstr</span><span class="symbol">);</span>
|
870
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">just</span><span class="symbol">)</span>
|
871
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was (%d, %d)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
872
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
873
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was null</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
874
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"string is %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> cstr</span><span class="symbol">);</span>
|
875
|
-
<span class="normal"> </span><span class="comment">/* don't free 'cstr' */</span>
|
876
|
-
|
877
|
-
|
878
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value5</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(m*s)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">contents</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* ignore the string. */</span>
|
879
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">contents </span><span class="symbol">!=</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
880
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
881
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">contents</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(ii)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y</span><span class="symbol">);</span>
|
882
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was (%d, %d)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
883
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">contents</span><span class="symbol">);</span>
|
884
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
885
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
886
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it was null</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
887
|
-
<span class="cbracket">}</span></pre></td>
|
888
|
-
</tr>
|
889
|
-
</tbody>
|
890
|
-
</table>
|
891
|
-
</div>
|
892
|
-
|
893
|
-
</div>
|
894
|
-
</div>
|
895
|
-
<hr>
|
896
|
-
<div class="refsect2">
|
897
|
-
<a name="gvariant-format-strings-tuples"></a><h3>Tuples</h3>
|
898
|
-
<p>
|
899
|
-
<span class="strong"><strong>
|
900
|
-
Characters: <code class="code">()</code>
|
901
|
-
</strong></span>
|
902
|
-
</p>
|
903
|
-
<p>
|
904
|
-
Tuples are handled by handling each item in the tuple, in sequence. Each item is handled in the usual way.
|
905
|
-
</p>
|
906
|
-
<div class="refsect3">
|
907
|
-
<a name="id538563"></a><h4>Examples</h4>
|
908
|
-
<div class="informalexample">
|
909
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
910
|
-
<tbody>
|
911
|
-
<tr>
|
912
|
-
<td class="listing_lines" align="right"><pre>1
|
913
|
-
2
|
914
|
-
3
|
915
|
-
4
|
916
|
-
5
|
917
|
-
6
|
918
|
-
7
|
919
|
-
8
|
920
|
-
9
|
921
|
-
10
|
922
|
-
11
|
923
|
-
12
|
924
|
-
13
|
925
|
-
14
|
926
|
-
15</pre></td>
|
927
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value2</span><span class="symbol">;</span>
|
928
|
-
|
929
|
-
<span class="normal">value1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(s(ii))"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Hello"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">55</span><span class="symbol">,</span><span class="normal"> </span><span class="number">77</span><span class="symbol">);</span>
|
930
|
-
<span class="normal">value2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"()"</span><span class="symbol">);</span>
|
931
|
-
|
932
|
-
<span class="cbracket">{</span>
|
933
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">string</span><span class="symbol">;</span>
|
934
|
-
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">;</span>
|
935
|
-
|
936
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(s(ii))"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">string</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y</span><span class="symbol">);</span>
|
937
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%s, %d, %d</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> string</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
938
|
-
<span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">string</span><span class="symbol">);</span>
|
939
|
-
|
940
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"()"</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* do nothing... */</span>
|
941
|
-
<span class="cbracket">}</span></pre></td>
|
942
|
-
</tr>
|
943
|
-
</tbody>
|
944
|
-
</table>
|
945
|
-
</div>
|
946
|
-
|
947
|
-
</div>
|
948
|
-
</div>
|
949
|
-
<hr>
|
950
|
-
<div class="refsect2">
|
951
|
-
<a name="gvariant-format-strings-dictionaries"></a><h3>Dictionaries</h3>
|
952
|
-
<p>
|
953
|
-
<span class="strong"><strong>
|
954
|
-
Characters: <code class="code">{}</code>
|
955
|
-
</strong></span>
|
956
|
-
</p>
|
957
|
-
<p>
|
958
|
-
Dictionary entries are handled by handling first the key, then the value. Each is handled in the usual way.
|
959
|
-
</p>
|
960
|
-
<div class="refsect3">
|
961
|
-
<a name="id646526"></a><h4>Examples</h4>
|
962
|
-
<div class="informalexample">
|
963
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
964
|
-
<tbody>
|
965
|
-
<tr>
|
966
|
-
<td class="listing_lines" align="right"><pre>1
|
967
|
-
2
|
968
|
-
3
|
969
|
-
4
|
970
|
-
5
|
971
|
-
6
|
972
|
-
7</pre></td>
|
973
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariantBuilder</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">b</span><span class="symbol">;</span>
|
974
|
-
<span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dict</span><span class="symbol">;</span>
|
975
|
-
|
976
|
-
<span class="normal">b </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-builder-new">g_variant_builder_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-GVariantType.html#G-VARIANT-TYPE:CAPS">G_VARIANT_TYPE</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"a{sv}"</span><span class="symbol">));</span>
|
977
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">b</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"{sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"name"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new-string">g_variant_new_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"foo"</span><span class="symbol">));</span>
|
978
|
-
<span class="function"><a href="glib-GVariant.html#g-variant-builder-add">g_variant_builder_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">b</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"{sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"timeout"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new-int32">g_variant_new_int32</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">10</span><span class="symbol">));</span>
|
979
|
-
<span class="normal">dict </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-builder-end">g_variant_builder_end</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">b</span><span class="symbol">);</span></pre></td>
|
980
|
-
</tr>
|
981
|
-
</tbody>
|
982
|
-
</table>
|
983
|
-
</div>
|
984
|
-
|
985
|
-
</div>
|
986
|
-
</div>
|
987
|
-
<hr>
|
988
|
-
<div class="refsect2">
|
989
|
-
<a name="gvariant-format-strings-gvariant"></a><h3>GVariant *</h3>
|
990
|
-
<p>
|
991
|
-
<span class="strong"><strong>
|
992
|
-
Characters: <code class="literal">@</code>, <code class="literal">*</code>, <code class="literal">?</code>, <code class="literal">r</code>
|
993
|
-
</strong></span>
|
994
|
-
|
995
|
-
</p>
|
996
|
-
<p>
|
997
|
-
Upon encountering a '<code class="literal">@</code>' in front of a type string,
|
998
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> takes a
|
999
|
-
non-<code class="literal">NULL</code> pointer to a
|
1000
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> and uses its value directly instead of collecting arguments to
|
1001
|
-
create the value. The provided <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> must have a type that matches the
|
1002
|
-
type string following the '<code class="literal">@</code>'. '<code class="literal">*</code>' is
|
1003
|
-
the same as '<code class="literal">@*</code>' (ie: take a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> of any type).
|
1004
|
-
'<code class="literal">?</code>' is the same as '<code class="literal">@?</code>' (ie: take a
|
1005
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> of any basic type). '<code class="literal">r</code>' is the same as
|
1006
|
-
'<code class="literal">@r</code>' (ie: take a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> of any tuple type).
|
1007
|
-
</p>
|
1008
|
-
<p>
|
1009
|
-
Upon encountering a '<code class="literal">@</code>' in front of a type string,
|
1010
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>
|
1011
|
-
takes a pointer to a <code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> *)</code> (ie: a
|
1012
|
-
<code class="code">(<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a> **)</code>) and sets it to a new reference to a
|
1013
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> containing the value (instead of deconstructing the value into
|
1014
|
-
C types in the usual way). <code class="literal">NULL</code> can be given to ignore the
|
1015
|
-
value. '<code class="literal">*</code>', '<code class="literal">?</code>' and '<code class="literal">r</code>' are handled in a way analogous to
|
1016
|
-
what is stated above.
|
1017
|
-
</p>
|
1018
|
-
<p>
|
1019
|
-
You can always use '<code class="literal">*</code>' as an alternative to '<code class="literal">?</code>', '<code class="literal">r</code>' or any
|
1020
|
-
use of '<code class="literal">@</code>'. Using the other characters where possible is recommended, however, due to the
|
1021
|
-
improvements in type safety and code self-documentation.
|
1022
|
-
</p>
|
1023
|
-
<div class="refsect3">
|
1024
|
-
<a name="id553651"></a><h4>Examples</h4>
|
1025
|
-
<div class="informalexample">
|
1026
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1027
|
-
<tbody>
|
1028
|
-
<tr>
|
1029
|
-
<td class="listing_lines" align="right"><pre>1
|
1030
|
-
2
|
1031
|
-
3
|
1032
|
-
4
|
1033
|
-
5
|
1034
|
-
6
|
1035
|
-
7
|
1036
|
-
8
|
1037
|
-
9
|
1038
|
-
10
|
1039
|
-
11
|
1040
|
-
12
|
1041
|
-
13
|
1042
|
-
14
|
1043
|
-
15
|
1044
|
-
16
|
1045
|
-
17
|
1046
|
-
18
|
1047
|
-
19
|
1048
|
-
20
|
1049
|
-
21
|
1050
|
-
22
|
1051
|
-
23</pre></td>
|
1052
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value2</span><span class="symbol">;</span>
|
1053
|
-
|
1054
|
-
<span class="normal">value1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(i@ii)"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">44</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new-int32">g_variant_new_int32</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">55</span><span class="symbol">),</span><span class="normal"> </span><span class="number">66</span><span class="symbol">);</span>
|
1055
|
-
|
1056
|
-
<span class="comment">/* note: consumes floating reference count on 'value1' */</span>
|
1057
|
-
<span class="normal">value2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(@(iii)*)"</span><span class="symbol">,</span><span class="normal"> value1</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new-string">g_variant_new_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"foo"</span><span class="symbol">));</span>
|
1058
|
-
|
1059
|
-
<span class="cbracket">{</span>
|
1060
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">string</span><span class="symbol">;</span>
|
1061
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tmp</span><span class="symbol">;</span>
|
1062
|
-
<span class="normal"> </span><span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
1063
|
-
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> z</span><span class="symbol">;</span>
|
1064
|
-
|
1065
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"((iii)*)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">z</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">tmp</span><span class="symbol">);</span>
|
1066
|
-
<span class="normal"> string </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get-string">g_variant_get_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tmp</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">);</span>
|
1067
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"it is %d %d %d %s (length=%d)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> z</span><span class="symbol">,</span><span class="normal"> string</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="symbol">)</span><span class="normal"> length</span><span class="symbol">);</span>
|
1068
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tmp</span><span class="symbol">);</span>
|
1069
|
-
|
1070
|
-
<span class="normal"> </span><span class="comment">/* quick way to skip all the values in a tuple */</span>
|
1071
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(rs)"</span><span class="symbol">,</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">string</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* or "(@(iii)s)" */</span>
|
1072
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"i only got the string: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> string</span><span class="symbol">);</span>
|
1073
|
-
<span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">string</span><span class="symbol">);</span>
|
1074
|
-
<span class="cbracket">}</span></pre></td>
|
1075
|
-
</tr>
|
1076
|
-
</tbody>
|
1077
|
-
</table>
|
1078
|
-
</div>
|
1079
|
-
|
1080
|
-
</div>
|
1081
|
-
</div>
|
1082
|
-
<hr>
|
1083
|
-
<div class="refsect2">
|
1084
|
-
<a name="gvariant-format-strings-pointers"></a><h3>Pointers</h3>
|
1085
|
-
<p>
|
1086
|
-
<span class="strong"><strong>
|
1087
|
-
Characters: <code class="code">&</code>
|
1088
|
-
</strong></span>
|
1089
|
-
</p>
|
1090
|
-
<p>
|
1091
|
-
The '<code class="code">&</code>' character is used to indicate that serialised data should be directly exchanged via a
|
1092
|
-
pointer.
|
1093
|
-
</p>
|
1094
|
-
<p>
|
1095
|
-
Currently, the only use for this character is when it is applied to a string (ie: '<code class="literal">&s</code>',
|
1096
|
-
'<code class="literal">&o</code>' or '<code class="code">&g</code>'). For
|
1097
|
-
<a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> this has absolutely no effect. The string
|
1098
|
-
is collected and duplicated normally. For <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>
|
1099
|
-
it means that instead of creating a newly allocated copy of the string, a pointer to the serialised data is
|
1100
|
-
returned. This pointer should not be freed. Validity checks are performed to ensure that the string data will
|
1101
|
-
always be properly nul-terminated.
|
1102
|
-
</p>
|
1103
|
-
<div class="refsect3">
|
1104
|
-
<a name="id638703"></a><h4>Examples</h4>
|
1105
|
-
<div class="informalexample">
|
1106
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1107
|
-
<tbody>
|
1108
|
-
<tr>
|
1109
|
-
<td class="listing_lines" align="right"><pre>1
|
1110
|
-
2
|
1111
|
-
3
|
1112
|
-
4
|
1113
|
-
5
|
1114
|
-
6
|
1115
|
-
7
|
1116
|
-
8
|
1117
|
-
9</pre></td>
|
1118
|
-
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1119
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
1120
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
|
1121
|
-
|
1122
|
-
<span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"&s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"hello world"</span><span class="symbol">);</span>
|
1123
|
-
<span class="normal"> str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"&s"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">str</span><span class="symbol">);</span>
|
1124
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"string is: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
1125
|
-
<span class="normal"> </span><span class="comment">/* no need to free str */</span>
|
1126
|
-
<span class="cbracket">}</span></pre></td>
|
1127
|
-
</tr>
|
1128
|
-
</tbody>
|
1129
|
-
</table>
|
1130
|
-
</div>
|
1131
|
-
|
1132
|
-
</div>
|
1133
|
-
</div>
|
1134
|
-
<hr>
|
1135
|
-
<div class="refsect2">
|
1136
|
-
<a name="gvariant-format-strings-convenience"></a><h3>Convenience Conversions</h3>
|
1137
|
-
<p>
|
1138
|
-
<span class="strong"><strong>
|
1139
|
-
Characters: <code class="literal">^</code>
|
1140
|
-
</strong></span>
|
1141
|
-
</p>
|
1142
|
-
<p>
|
1143
|
-
The '<code class="literal">^</code>' character currently supports conversion to and from bytestrings or to and from arrays
|
1144
|
-
of strings or bytestrings. It has a number of forms.
|
1145
|
-
</p>
|
1146
|
-
<p>
|
1147
|
-
In all forms, when used with <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> one
|
1148
|
-
pointer value is collected from the variable arguments and passed to a function (as given in the table below).
|
1149
|
-
The result of that function is used as the value for this position. When used with
|
1150
|
-
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> one pointer value is produced by using
|
1151
|
-
the function (given in the table) and returned by reference.
|
1152
|
-
</p>
|
1153
|
-
<div class="informaltable"><table border="1">
|
1154
|
-
<colgroup>
|
1155
|
-
<col>
|
1156
|
-
<col>
|
1157
|
-
</colgroup>
|
1158
|
-
<tbody>
|
1159
|
-
<tr>
|
1160
|
-
<td>
|
1161
|
-
<p>
|
1162
|
-
<span class="strong"><strong>Conversion</strong></span>
|
1163
|
-
</p>
|
1164
|
-
</td>
|
1165
|
-
<td>
|
1166
|
-
<p>
|
1167
|
-
<span class="strong"><strong>
|
1168
|
-
Used with <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a>
|
1169
|
-
</strong></span>
|
1170
|
-
</p>
|
1171
|
-
</td>
|
1172
|
-
<td>
|
1173
|
-
<p>
|
1174
|
-
<span class="strong"><strong>
|
1175
|
-
Used with <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>
|
1176
|
-
</strong></span>
|
1177
|
-
</p>
|
1178
|
-
</td>
|
1179
|
-
</tr>
|
1180
|
-
<tr>
|
1181
|
-
<td>
|
1182
|
-
<p>
|
1183
|
-
<span class="strong"><strong>
|
1184
|
-
<code class="literal">^as</code>
|
1185
|
-
</strong></span>
|
1186
|
-
</p>
|
1187
|
-
</td>
|
1188
|
-
<td rowspan="2">
|
1189
|
-
<p>
|
1190
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-new-strv" title="g_variant_new_strv ()"><code class="function">g_variant_new_strv()</code></a>
|
1191
|
-
</p>
|
1192
|
-
</td>
|
1193
|
-
<td>
|
1194
|
-
<p>
|
1195
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-dup-strv" title="g_variant_dup_strv ()"><code class="function">g_variant_dup_strv()</code></a>
|
1196
|
-
</p>
|
1197
|
-
</td>
|
1198
|
-
</tr>
|
1199
|
-
<tr>
|
1200
|
-
<td>
|
1201
|
-
<p>
|
1202
|
-
<span class="strong"><strong>
|
1203
|
-
<code class="literal">^a&s</code>
|
1204
|
-
</strong></span>
|
1205
|
-
</p>
|
1206
|
-
</td>
|
1207
|
-
<td>
|
1208
|
-
<p>
|
1209
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-get-strv" title="g_variant_get_strv ()"><code class="function">g_variant_get_strv()</code></a>
|
1210
|
-
</p>
|
1211
|
-
</td>
|
1212
|
-
</tr>
|
1213
|
-
<tr>
|
1214
|
-
<td>
|
1215
|
-
<p>
|
1216
|
-
<span class="strong"><strong>
|
1217
|
-
<code class="literal">^ay</code>
|
1218
|
-
</strong></span>
|
1219
|
-
</p>
|
1220
|
-
</td>
|
1221
|
-
<td rowspan="2">
|
1222
|
-
<p>
|
1223
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-new-bytestring" title="g_variant_new_bytestring ()"><code class="function">g_variant_new_bytestring()</code></a>
|
1224
|
-
</p>
|
1225
|
-
</td>
|
1226
|
-
<td>
|
1227
|
-
<p>
|
1228
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring" title="g_variant_dup_bytestring ()"><code class="function">g_variant_dup_bytestring()</code></a>
|
1229
|
-
</p>
|
1230
|
-
</td>
|
1231
|
-
</tr>
|
1232
|
-
<tr>
|
1233
|
-
<td>
|
1234
|
-
<p>
|
1235
|
-
<span class="strong"><strong>
|
1236
|
-
<code class="literal">^&ay</code>
|
1237
|
-
</strong></span>
|
1238
|
-
</p>
|
1239
|
-
</td>
|
1240
|
-
<td>
|
1241
|
-
<p>
|
1242
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-get-bytestring" title="g_variant_get_bytestring ()"><code class="function">g_variant_get_bytestring()</code></a>
|
1243
|
-
</p>
|
1244
|
-
</td>
|
1245
|
-
</tr>
|
1246
|
-
<tr>
|
1247
|
-
<td>
|
1248
|
-
<p>
|
1249
|
-
<span class="strong"><strong>
|
1250
|
-
<code class="literal">^aay</code>
|
1251
|
-
</strong></span>
|
1252
|
-
</p>
|
1253
|
-
</td>
|
1254
|
-
<td rowspan="2">
|
1255
|
-
<p>
|
1256
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-new-bytestring-array" title="g_variant_new_bytestring_array ()"><code class="function">g_variant_new_bytestring_array()</code></a>
|
1257
|
-
</p>
|
1258
|
-
</td>
|
1259
|
-
<td>
|
1260
|
-
<p>
|
1261
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring-array" title="g_variant_dup_bytestring_array ()"><code class="function">g_variant_dup_bytestring_array()</code></a>
|
1262
|
-
</p>
|
1263
|
-
</td>
|
1264
|
-
</tr>
|
1265
|
-
<tr>
|
1266
|
-
<td>
|
1267
|
-
<p>
|
1268
|
-
<span class="strong"><strong>
|
1269
|
-
<code class="literal">^a&ay</code>
|
1270
|
-
</strong></span>
|
1271
|
-
</p>
|
1272
|
-
</td>
|
1273
|
-
<td>
|
1274
|
-
<p>
|
1275
|
-
equivalent to <a class="link" href="glib-GVariant.html#g-variant-get-bytestring-array" title="g_variant_get_bytestring_array ()"><code class="function">g_variant_get_bytestring_array()</code></a>
|
1276
|
-
</p>
|
1277
|
-
</td>
|
1278
|
-
</tr>
|
1279
|
-
</tbody>
|
1280
|
-
</table></div>
|
1281
|
-
</div>
|
1282
|
-
</div>
|
1283
|
-
</div>
|
1284
|
-
<div class="footer">
|
1285
|
-
<hr>
|
1286
|
-
Generated by GTK-Doc V1.15.1</div>
|
1287
|
-
</body>
|
1288
|
-
</html>
|