atk 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/atk/extconf.rb +8 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- 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/libatk-1.0-0.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/include/atk-1.0/atk/atk-enum-types.h +2 -2
- data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/lib/atk-1.0.def +1 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libatk-1.0.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/pkgconfig/atk.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{atk-dev_1.30.0-2_win32.mft → atk-dev_1.32.0-1_win32.mft} +3 -3
- data/vendor/local/manifest/{atk_1.30.0-2_win32.mft → atk_1.32.0-1_win32.mft} +3 -1
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +148 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- 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/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/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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.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/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.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/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.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/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.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/atk10.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/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- 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/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/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.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/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.log +730 -0
- data/vendor/local/src/tml/packaging/{atk_1.30.0-2_win32.sh → atk_1.32.0-1_win32.sh} +8 -6
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- metadata +906 -826
- data/ext/atk/Makefile +0 -160
- data/ext/atk/rbatkversion.h +0 -24
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +0 -739
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
@@ -0,0 +1,239 @@
|
|
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>GTimeZone</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
+
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
|
+
<link rel="prev" href="glib-Date-and-Time-Functions.html" title="Date and Time Functions">
|
10
|
+
<link rel="next" href="glib-GDateTime.html" title="GDateTime">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="glib-Date-and-Time-Functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="glib-GDateTime.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#glib-GTimeZone.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#glib-GTimeZone.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="glib-GTimeZone"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="glib-GTimeZone.top_of_page"></a>GTimeZone</span></h2>
|
34
|
+
<p>GTimeZone — A structure representing a time zone</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="glib-GTimeZone.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">
|
41
|
+
#include <glib.h>
|
42
|
+
|
43
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone">GTimeZone</a>;
|
44
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()">g_time_zone_unref</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
|
45
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-ref" title="g_time_zone_ref ()">g_time_zone_ref</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
|
46
|
+
|
47
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new" title="g_time_zone_new ()">g_time_zone_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier</code></em>);
|
48
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()">g_time_zone_new_local</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc" title="g_time_zone_new_utc ()">g_time_zone_new_utc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
+
</pre>
|
51
|
+
</div>
|
52
|
+
<div class="refsect1">
|
53
|
+
<a name="glib-GTimeZone.description"></a><h2>Description</h2>
|
54
|
+
<p>
|
55
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> is a structure that represents a time zone, at no
|
56
|
+
particular point in time. It is refcounted and immutable.
|
57
|
+
</p>
|
58
|
+
<p>
|
59
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> is available since GLib 2.26.
|
60
|
+
</p>
|
61
|
+
</div>
|
62
|
+
<div class="refsect1">
|
63
|
+
<a name="glib-GTimeZone.details"></a><h2>Details</h2>
|
64
|
+
<div class="refsect2">
|
65
|
+
<a name="GTimeZone"></a><h3>GTimeZone</h3>
|
66
|
+
<pre class="programlisting">typedef struct _GTimeZone GTimeZone;</pre>
|
67
|
+
<p>
|
68
|
+
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is an opaque structure whose members cannot be accessed
|
69
|
+
directly.
|
70
|
+
</p>
|
71
|
+
<p class="since">Since 2.26</p>
|
72
|
+
</div>
|
73
|
+
<hr>
|
74
|
+
<div class="refsect2">
|
75
|
+
<a name="g-time-zone-unref"></a><h3>g_time_zone_unref ()</h3>
|
76
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_time_zone_unref (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
|
77
|
+
<p>
|
78
|
+
Decreases the reference count on <em class="parameter"><code>tz</code></em>.
|
79
|
+
</p>
|
80
|
+
<div class="variablelist"><table border="0">
|
81
|
+
<col align="left" valign="top">
|
82
|
+
<tbody><tr>
|
83
|
+
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
84
|
+
<td>a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
|
85
|
+
</td>
|
86
|
+
</tr></tbody>
|
87
|
+
</table></div>
|
88
|
+
<p class="since">Since 2.26</p>
|
89
|
+
</div>
|
90
|
+
<hr>
|
91
|
+
<div class="refsect2">
|
92
|
+
<a name="g-time-zone-ref"></a><h3>g_time_zone_ref ()</h3>
|
93
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_ref (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
|
94
|
+
<p>
|
95
|
+
Increases the reference count on <em class="parameter"><code>tz</code></em>.
|
96
|
+
</p>
|
97
|
+
<div class="variablelist"><table border="0">
|
98
|
+
<col align="left" valign="top">
|
99
|
+
<tbody>
|
100
|
+
<tr>
|
101
|
+
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
102
|
+
<td>a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
107
|
+
<td> a new reference to <em class="parameter"><code>tz</code></em>.
|
108
|
+
|
109
|
+
</td>
|
110
|
+
</tr>
|
111
|
+
</tbody>
|
112
|
+
</table></div>
|
113
|
+
<p class="since">Since 2.26</p>
|
114
|
+
</div>
|
115
|
+
<hr>
|
116
|
+
<div class="refsect2">
|
117
|
+
<a name="g-time-zone-new"></a><h3>g_time_zone_new ()</h3>
|
118
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier</code></em>);</pre>
|
119
|
+
<p>
|
120
|
+
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to <em class="parameter"><code>identifier</code></em>.
|
121
|
+
</p>
|
122
|
+
<p>
|
123
|
+
<em class="parameter"><code>identifier</code></em> can either be an RFC3339/ISO 8601 time offset or
|
124
|
+
something that would pass as a valid value for the
|
125
|
+
<code class="varname">TZ</code> environment variable (including <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>).
|
126
|
+
</p>
|
127
|
+
<p>
|
128
|
+
Valid RFC3339 time offsets are <code class="literal">"Z"</code> (for UTC) or
|
129
|
+
<code class="literal">"±hh:mm"</code>. ISO 8601 additionally specifies
|
130
|
+
<code class="literal">"±hhmm"</code> and <code class="literal">"±hh"</code>.
|
131
|
+
</p>
|
132
|
+
<p>
|
133
|
+
The <code class="varname">TZ</code> environment variable typically corresponds
|
134
|
+
to the name of a file in the zoneinfo database, but there are many
|
135
|
+
other possibilities. Note that those other possibilities are not
|
136
|
+
currently implemented, but are planned.
|
137
|
+
</p>
|
138
|
+
<p>
|
139
|
+
<a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()"><code class="function">g_time_zone_new_local()</code></a> calls this function with the value of the
|
140
|
+
<code class="varname">TZ</code> environment variable. This function itself is
|
141
|
+
independent of the value of <code class="varname">TZ</code>, but if <em class="parameter"><code>identifier</code></em>
|
142
|
+
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <code class="filename">/etc/localtime</code> will be consulted
|
143
|
+
to discover the correct timezone.
|
144
|
+
</p>
|
145
|
+
<p>
|
146
|
+
See <a class="ulink" href="http://tools.ietf.org/html/rfc3339#section-5.6" target="_top">RFC3339
|
147
|
+
§5.6</a> for a precise definition of valid RFC3339 time offsets
|
148
|
+
(the <code class="varname">time-offset</code> expansion) and ISO 8601 for the
|
149
|
+
full list of valid time offsets. See <a class="ulink" href="http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html" target="_top">The
|
150
|
+
GNU C Library manual</a> for an explanation of the possible
|
151
|
+
values of the <code class="varname">TZ</code> environment variable.
|
152
|
+
</p>
|
153
|
+
<p>
|
154
|
+
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
155
|
+
when you are done with it.
|
156
|
+
</p>
|
157
|
+
<div class="variablelist"><table border="0">
|
158
|
+
<col align="left" valign="top">
|
159
|
+
<tbody>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><em class="parameter"><code>identifier</code></em> :</span></p></td>
|
162
|
+
<td> a timezone identifier. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
167
|
+
<td> the requested timezone
|
168
|
+
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
</tbody>
|
172
|
+
</table></div>
|
173
|
+
<p class="since">Since 2.26</p>
|
174
|
+
</div>
|
175
|
+
<hr>
|
176
|
+
<div class="refsect2">
|
177
|
+
<a name="g-time-zone-new-local"></a><h3>g_time_zone_new_local ()</h3>
|
178
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new_local (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
179
|
+
<p>
|
180
|
+
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to local time.
|
181
|
+
</p>
|
182
|
+
<p>
|
183
|
+
This is equivalent to calling <a class="link" href="glib-GTimeZone.html#g-time-zone-new" title="g_time_zone_new ()"><code class="function">g_time_zone_new()</code></a> with the value of the
|
184
|
+
<code class="varname">TZ</code> environment variable (including the possibility
|
185
|
+
of <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>). Changes made to <code class="varname">TZ</code> after the first
|
186
|
+
call to this function may or may not be noticed by future calls.
|
187
|
+
</p>
|
188
|
+
<p>
|
189
|
+
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
190
|
+
when you are done with it.
|
191
|
+
</p>
|
192
|
+
<div class="variablelist"><table border="0">
|
193
|
+
<col align="left" valign="top">
|
194
|
+
<tbody><tr>
|
195
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
196
|
+
<td> the local timezone
|
197
|
+
|
198
|
+
</td>
|
199
|
+
</tr></tbody>
|
200
|
+
</table></div>
|
201
|
+
<p class="since">Since 2.26</p>
|
202
|
+
</div>
|
203
|
+
<hr>
|
204
|
+
<div class="refsect2">
|
205
|
+
<a name="g-time-zone-new-utc"></a><h3>g_time_zone_new_utc ()</h3>
|
206
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new_utc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
207
|
+
<p>
|
208
|
+
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to UTC.
|
209
|
+
</p>
|
210
|
+
<p>
|
211
|
+
This is equivalent to calling <a class="link" href="glib-GTimeZone.html#g-time-zone-new" title="g_time_zone_new ()"><code class="function">g_time_zone_new()</code></a> with a value like
|
212
|
+
"Z", "UTC", "+00", etc.
|
213
|
+
</p>
|
214
|
+
<p>
|
215
|
+
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
216
|
+
when you are done with it.
|
217
|
+
</p>
|
218
|
+
<div class="variablelist"><table border="0">
|
219
|
+
<col align="left" valign="top">
|
220
|
+
<tbody><tr>
|
221
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
222
|
+
<td> the universal timezone
|
223
|
+
|
224
|
+
</td>
|
225
|
+
</tr></tbody>
|
226
|
+
</table></div>
|
227
|
+
<p class="since">Since 2.26</p>
|
228
|
+
</div>
|
229
|
+
</div>
|
230
|
+
<div class="refsect1">
|
231
|
+
<a name="glib-GTimeZone.see-also"></a><h2>See Also</h2>
|
232
|
+
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
|
233
|
+
</div>
|
234
|
+
</div>
|
235
|
+
<div class="footer">
|
236
|
+
<hr>
|
237
|
+
Generated by GTK-Doc V1.15.1</div>
|
238
|
+
</body>
|
239
|
+
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-GVariantType.html" title="GVariantType">
|
10
10
|
<link rel="next" href="gvariant-format-strings.html" title="GVariant Format Strings">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-GVariant.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-GVariant"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,20 +35,24 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-GVariant.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
43
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a>;
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()">g_variant_unref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
45
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
46
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
47
|
-
|
48
|
-
const <a class="link" href="glib-
|
45
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-ref" title="g_variant_ref ()">g_variant_ref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
46
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()">g_variant_ref_sink</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
47
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-floating" title="g_variant_is_floating ()">g_variant_is_floating</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
48
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()">g_variant_get_type</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
49
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-type-string" title="g_variant_get_type_string ()">g_variant_get_type_string</a>
|
50
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
49
51
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-of-type" title="g_variant_is_of_type ()">g_variant_is_of_type</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
50
52
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
51
53
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-container" title="g_variant_is_container ()">g_variant_is_container</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
54
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GVariant.html#g-variant-compare" title="g_variant_compare ()">g_variant_compare</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> one</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);
|
52
56
|
|
53
57
|
<a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass"><span class="returnvalue">GVariantClass</span></a> <a class="link" href="glib-GVariant.html#g-variant-classify" title="g_variant_classify ()">g_variant_classify</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
54
58
|
enum <a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass">GVariantClass</a>;
|
@@ -60,29 +64,36 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
60
64
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
61
65
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
62
66
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
63
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
67
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()">g_variant_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
64
68
|
<em class="parameter"><code>...</code></em>);
|
65
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
69
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-va" title="g_variant_new_va ()">g_variant_new_va</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
66
70
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
67
71
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
68
72
|
|
69
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
70
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
71
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
72
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
73
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
74
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
75
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
76
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
77
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
78
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
79
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
80
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
73
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-boolean" title="g_variant_new_boolean ()">g_variant_new_boolean</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> boolean</code></em>);
|
74
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-byte" title="g_variant_new_byte ()">g_variant_new_byte</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> byte</code></em>);
|
75
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int16" title="g_variant_new_int16 ()">g_variant_new_int16</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> int16</code></em>);
|
76
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint16" title="g_variant_new_uint16 ()">g_variant_new_uint16</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> uint16</code></em>);
|
77
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int32" title="g_variant_new_int32 ()">g_variant_new_int32</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> int32</code></em>);
|
78
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint32" title="g_variant_new_uint32 ()">g_variant_new_uint32</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> uint32</code></em>);
|
79
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int64" title="g_variant_new_int64 ()">g_variant_new_int64</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> int64</code></em>);
|
80
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint64" title="g_variant_new_uint64 ()">g_variant_new_uint64</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> uint64</code></em>);
|
81
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-handle" title="g_variant_new_handle ()">g_variant_new_handle</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> handle</code></em>);
|
82
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-double" title="g_variant_new_double ()">g_variant_new_double</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> floating</code></em>);
|
83
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-string" title="g_variant_new_string ()">g_variant_new_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
84
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-object-path" title="g_variant_new_object_path ()">g_variant_new_object_path</a>
|
85
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);
|
81
86
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-object-path" title="g_variant_is_object_path ()">g_variant_is_object_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
82
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
87
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-signature" title="g_variant_new_signature ()">g_variant_new_signature</a>
|
88
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);
|
83
89
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-signature" title="g_variant_is_signature ()">g_variant_is_signature</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
84
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
85
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
90
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-variant" title="g_variant_new_variant ()">g_variant_new_variant</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
91
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-strv" title="g_variant_new_strv ()">g_variant_new_strv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
92
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);
|
93
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-bytestring" title="g_variant_new_bytestring ()">g_variant_new_bytestring</a>
|
94
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
95
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-bytestring-array" title="g_variant_new_bytestring_array ()">g_variant_new_bytestring_array</a>
|
96
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
86
97
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);
|
87
98
|
|
88
99
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-boolean" title="g_variant_get_boolean ()">g_variant_get_boolean</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
@@ -95,29 +106,42 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
95
106
|
<a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-uint64" title="g_variant_get_uint64 ()">g_variant_get_uint64</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
96
107
|
<a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-handle" title="g_variant_get_handle ()">g_variant_get_handle</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
97
108
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-double" title="g_variant_get_double ()">g_variant_get_double</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
98
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
109
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-string" title="g_variant_get_string ()">g_variant_get_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
110
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
111
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-dup-string" title="g_variant_dup_string ()">g_variant_dup_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
112
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
113
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-variant" title="g_variant_get_variant ()">g_variant_get_variant</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
114
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-strv" title="g_variant_get_strv ()">g_variant_get_strv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
115
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
116
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-dup-strv" title="g_variant_dup_strv ()">g_variant_dup_strv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
99
117
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
100
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
118
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-bytestring" title="g_variant_get_bytestring ()">g_variant_get_bytestring</a>
|
119
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
120
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring" title="g_variant_dup_bytestring ()">g_variant_dup_bytestring</a>
|
121
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
101
122
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
102
|
-
<a class="link" href="glib-
|
103
|
-
|
123
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-bytestring-array" title="g_variant_get_bytestring_array ()">g_variant_get_bytestring_array</a>
|
124
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
104
125
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
105
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
126
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring-array" title="g_variant_dup_bytestring_array ()">g_variant_dup_bytestring_array</a>
|
127
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
106
128
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
107
129
|
|
108
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
130
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-maybe" title="g_variant_new_maybe ()">g_variant_new_maybe</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
109
131
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);
|
110
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
132
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-array" title="g_variant_new_array ()">g_variant_new_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
111
133
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
112
134
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);
|
113
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
135
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-tuple" title="g_variant_new_tuple ()">g_variant_new_tuple</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
114
136
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);
|
115
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
137
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-dict-entry" title="g_variant_new_dict_entry ()">g_variant_new_dict_entry</a>
|
138
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
116
139
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
117
140
|
|
118
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
141
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-maybe" title="g_variant_get_maybe ()">g_variant_get_maybe</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
119
142
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-n-children" title="g_variant_n_children ()">g_variant_n_children</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
120
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
143
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-child-value" title="g_variant_get_child_value ()">g_variant_get_child_value</a>
|
144
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
121
145
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>);
|
122
146
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-get-child" title="g_variant_get_child ()">g_variant_get_child</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
123
147
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>,
|
@@ -131,34 +155,37 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
131
155
|
<a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="returnvalue">gconstpointer</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-data" title="g_variant_get_data ()">g_variant_get_data</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
132
156
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-store" title="g_variant_store ()">g_variant_store</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
133
157
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
134
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
158
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-from-data" title="g_variant_new_from_data ()">g_variant_new_from_data</a>
|
159
|
+
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
135
160
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
136
161
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
137
162
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
138
163
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>,
|
139
164
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
140
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
141
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
165
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-byteswap" title="g_variant_byteswap ()">g_variant_byteswap</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
166
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-normal-form" title="g_variant_get_normal_form ()">g_variant_get_normal_form</a>
|
167
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
142
168
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-normal-form" title="g_variant_is_normal_form ()">g_variant_is_normal_form</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
143
169
|
|
144
170
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-GVariant.html#g-variant-hash" title="g_variant_hash ()">g_variant_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> value</code></em>);
|
145
171
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-equal" title="g_variant_equal ()">g_variant_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> one</code></em>,
|
146
172
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);
|
147
173
|
|
148
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
174
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()">g_variant_print</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
149
175
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);
|
150
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> *
|
176
|
+
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-GVariant.html#g-variant-print-string" title="g_variant_print_string ()">g_variant_print_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
151
177
|
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>,
|
152
178
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);
|
153
179
|
|
154
180
|
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter">GVariantIter</a>;
|
155
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
181
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-copy" title="g_variant_iter_copy ()">g_variant_iter_copy</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
156
182
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()">g_variant_iter_free</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
157
183
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-init" title="g_variant_iter_init ()">g_variant_iter_init</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
158
184
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
159
185
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-n-children" title="g_variant_iter_n_children ()">g_variant_iter_n_children</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
160
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
161
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
186
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-new" title="g_variant_iter_new ()">g_variant_iter_new</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
187
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-next-value" title="g_variant_iter_next_value ()">g_variant_iter_next_value</a>
|
188
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
162
189
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()">g_variant_iter_next</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
163
190
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
164
191
|
<em class="parameter"><code>...</code></em>);
|
@@ -168,8 +195,8 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
168
195
|
|
169
196
|
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder">GVariantBuilder</a>;
|
170
197
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-unref" title="g_variant_builder_unref ()">g_variant_builder_unref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
171
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
172
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
198
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-ref" title="g_variant_builder_ref ()">g_variant_builder_ref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
199
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()">g_variant_builder_new</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
173
200
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()">g_variant_builder_init</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
174
201
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
175
202
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-clear" title="g_variant_builder_clear ()">g_variant_builder_clear</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
@@ -178,24 +205,29 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
178
205
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-add" title="g_variant_builder_add ()">g_variant_builder_add</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
179
206
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
180
207
|
<em class="parameter"><code>...</code></em>);
|
181
|
-
<
|
208
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-add-parsed" title="g_variant_builder_add_parsed ()">g_variant_builder_add_parsed</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
209
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
210
|
+
<em class="parameter"><code>...</code></em>);
|
211
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-end" title="g_variant_builder_end ()">g_variant_builder_end</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
182
212
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-open" title="g_variant_builder_open ()">g_variant_builder_open</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
183
213
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
184
214
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-close" title="g_variant_builder_close ()">g_variant_builder_close</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
185
215
|
|
216
|
+
enum <a class="link" href="glib-GVariant.html#GVariantParseError" title="enum GVariantParseError">GVariantParseError</a>;
|
186
217
|
#define <a class="link" href="glib-GVariant.html#G-VARIANT-PARSE-ERROR:CAPS" title="G_VARIANT_PARSE_ERROR">G_VARIANT_PARSE_ERROR</a>
|
187
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
218
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()">g_variant_parse</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
188
219
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
189
220
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
190
221
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
191
222
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
192
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
223
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-parsed-va" title="g_variant_new_parsed_va ()">g_variant_new_parsed_va</a>
|
224
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
193
225
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
194
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
226
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-parsed" title="g_variant_new_parsed ()">g_variant_new_parsed</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
195
227
|
<em class="parameter"><code>...</code></em>);
|
196
228
|
</pre>
|
197
229
|
</div>
|
198
|
-
<div class="refsect1"
|
230
|
+
<div class="refsect1">
|
199
231
|
<a name="glib-GVariant.description"></a><h2>Description</h2>
|
200
232
|
<p>
|
201
233
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is a variant datatype; it stores a value along with
|
@@ -241,8 +273,10 @@ There is a Python-inspired text language for describing <a class="link" href="gl
|
|
241
273
|
values. <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> includes a printer for this language and a parser
|
242
274
|
with type inferencing.
|
243
275
|
</p>
|
244
|
-
<
|
245
|
-
|
276
|
+
<p>
|
277
|
+
</p>
|
278
|
+
<div class="refsect2">
|
279
|
+
<a name="id961094"></a><h3>Memory Use</h3>
|
246
280
|
<p>
|
247
281
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tries to be quite efficient with respect to memory use.
|
248
282
|
This section gives a rough idea of how much memory is used by the
|
@@ -255,8 +289,8 @@ with type inferencing.
|
|
255
289
|
information cache, buffer management memory and memory for the
|
256
290
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure itself.
|
257
291
|
</p>
|
258
|
-
<div class="refsect3"
|
259
|
-
<a name="
|
292
|
+
<div class="refsect3">
|
293
|
+
<a name="id961128"></a><h4>Serialised Data Memory</h4>
|
260
294
|
<p>
|
261
295
|
This is the memory that is used for storing GVariant data in
|
262
296
|
serialised form. This is what would be sent over the network or
|
@@ -323,8 +357,8 @@ with type inferencing.
|
|
323
357
|
+ 2 = 29 bytes to encode the entire two-item dictionary.
|
324
358
|
</p>
|
325
359
|
</div>
|
326
|
-
<div class="refsect3"
|
327
|
-
<a name="
|
360
|
+
<div class="refsect3">
|
361
|
+
<a name="id961192"></a><h4>Type Information Cache</h4>
|
328
362
|
<p>
|
329
363
|
For each GVariant type that currently exists in the program a type
|
330
364
|
information structure is kept in the type information cache. The
|
@@ -378,8 +412,8 @@ with type inferencing.
|
|
378
412
|
structure is required for many different values of the same type.
|
379
413
|
</p>
|
380
414
|
</div>
|
381
|
-
<div class="refsect3"
|
382
|
-
<a name="
|
415
|
+
<div class="refsect3">
|
416
|
+
<a name="id961262"></a><h4>Buffer Management Memory</h4>
|
383
417
|
<p>
|
384
418
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses an internal buffer management structure to deal
|
385
419
|
with the various different possible sources of serialised data
|
@@ -394,8 +428,8 @@ with type inferencing.
|
|
394
428
|
* (void *). On 32bit systems, that's 16 bytes.
|
395
429
|
</p>
|
396
430
|
</div>
|
397
|
-
<div class="refsect3"
|
398
|
-
<a name="
|
431
|
+
<div class="refsect3">
|
432
|
+
<a name="id961316"></a><h4>GVariant structure</h4>
|
399
433
|
<p>
|
400
434
|
The size of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure is 6 * (void *). On 32 bit
|
401
435
|
systems, that's 24 bytes.
|
@@ -419,8 +453,8 @@ with type inferencing.
|
|
419
453
|
child.
|
420
454
|
</p>
|
421
455
|
</div>
|
422
|
-
<div class="refsect3"
|
423
|
-
<a name="
|
456
|
+
<div class="refsect3">
|
457
|
+
<a name="id961377"></a><h4>Summary</h4>
|
424
458
|
<p>
|
425
459
|
To put the entire example together, for our dictionary mapping
|
426
460
|
strings to variants (with two entries, as given above), we are
|
@@ -436,10 +470,12 @@ with type inferencing.
|
|
436
470
|
</p>
|
437
471
|
</div>
|
438
472
|
</div>
|
473
|
+
<p>
|
474
|
+
</p>
|
439
475
|
</div>
|
440
|
-
<div class="refsect1"
|
476
|
+
<div class="refsect1">
|
441
477
|
<a name="glib-GVariant.details"></a><h2>Details</h2>
|
442
|
-
<div class="refsect2"
|
478
|
+
<div class="refsect2">
|
443
479
|
<a name="GVariant"></a><h3>GVariant</h3>
|
444
480
|
<pre class="programlisting">typedef struct _GVariant GVariant;</pre>
|
445
481
|
<p>
|
@@ -449,7 +485,7 @@ using the following functions.
|
|
449
485
|
<p class="since">Since 2.24</p>
|
450
486
|
</div>
|
451
487
|
<hr>
|
452
|
-
<div class="refsect2"
|
488
|
+
<div class="refsect2">
|
453
489
|
<a name="g-variant-unref"></a><h3>g_variant_unref ()</h3>
|
454
490
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_unref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
455
491
|
<p>
|
@@ -467,9 +503,9 @@ drops to 0, the memory used by the variant is freed.
|
|
467
503
|
<p class="since">Since 2.24</p>
|
468
504
|
</div>
|
469
505
|
<hr>
|
470
|
-
<div class="refsect2"
|
506
|
+
<div class="refsect2">
|
471
507
|
<a name="g-variant-ref"></a><h3>g_variant_ref ()</h3>
|
472
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
508
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
473
509
|
<p>
|
474
510
|
Increases the reference count of <em class="parameter"><code>value</code></em>.
|
475
511
|
</p>
|
@@ -491,9 +527,9 @@ Increases the reference count of <em class="parameter"><code>value</code></em>.
|
|
491
527
|
<p class="since">Since 2.24</p>
|
492
528
|
</div>
|
493
529
|
<hr>
|
494
|
-
<div class="refsect2"
|
530
|
+
<div class="refsect2">
|
495
531
|
<a name="g-variant-ref-sink"></a><h3>g_variant_ref_sink ()</h3>
|
496
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
532
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_ref_sink (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
497
533
|
<p>
|
498
534
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses a floating reference count system. All functions with
|
499
535
|
names starting with <code class="literal">g_variant_new_</code> return floating
|
@@ -539,9 +575,42 @@ are not floating.
|
|
539
575
|
<p class="since">Since 2.24</p>
|
540
576
|
</div>
|
541
577
|
<hr>
|
542
|
-
<div class="refsect2"
|
578
|
+
<div class="refsect2">
|
579
|
+
<a name="g-variant-is-floating"></a><h3>g_variant_is_floating ()</h3>
|
580
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_floating (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
581
|
+
<p>
|
582
|
+
Checks whether <em class="parameter"><code>value</code></em> has a floating reference count.
|
583
|
+
</p>
|
584
|
+
<p>
|
585
|
+
This function should only ever be used to assert that a given variant
|
586
|
+
is or is not floating, or for debug purposes. To acquire a reference
|
587
|
+
to a variant that might be floating, always use <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>.
|
588
|
+
</p>
|
589
|
+
<p>
|
590
|
+
See <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> for more information about floating reference
|
591
|
+
counts.
|
592
|
+
</p>
|
593
|
+
<div class="variablelist"><table border="0">
|
594
|
+
<col align="left" valign="top">
|
595
|
+
<tbody>
|
596
|
+
<tr>
|
597
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
598
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
599
|
+
</td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
603
|
+
<td>whether <em class="parameter"><code>value</code></em> is floating
|
604
|
+
</td>
|
605
|
+
</tr>
|
606
|
+
</tbody>
|
607
|
+
</table></div>
|
608
|
+
<p class="since">Since 2.26</p>
|
609
|
+
</div>
|
610
|
+
<hr>
|
611
|
+
<div class="refsect2">
|
543
612
|
<a name="g-variant-get-type"></a><h3>g_variant_get_type ()</h3>
|
544
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> *
|
613
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_get_type (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
545
614
|
<p>
|
546
615
|
Determines the type of <em class="parameter"><code>value</code></em>.
|
547
616
|
</p>
|
@@ -567,9 +636,10 @@ be freed.
|
|
567
636
|
<p class="since">Since 2.24</p>
|
568
637
|
</div>
|
569
638
|
<hr>
|
570
|
-
<div class="refsect2"
|
639
|
+
<div class="refsect2">
|
571
640
|
<a name="g-variant-get-type-string"></a><h3>g_variant_get_type_string ()</h3>
|
572
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
641
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_type_string
|
642
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
573
643
|
<p>
|
574
644
|
Returns the type string of <em class="parameter"><code>value</code></em>. Unlike the result of calling
|
575
645
|
<a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()"><code class="function">g_variant_type_peek_string()</code></a>, this string is nul-terminated. This
|
@@ -593,7 +663,7 @@ string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVar
|
|
593
663
|
<p class="since">Since 2.24</p>
|
594
664
|
</div>
|
595
665
|
<hr>
|
596
|
-
<div class="refsect2"
|
666
|
+
<div class="refsect2">
|
597
667
|
<a name="g-variant-is-of-type"></a><h3>g_variant_is_of_type ()</h3>
|
598
668
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_of_type (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
599
669
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
@@ -624,7 +694,7 @@ Checks if a value has a type matching the provided type.
|
|
624
694
|
<p class="since">Since 2.24</p>
|
625
695
|
</div>
|
626
696
|
<hr>
|
627
|
-
<div class="refsect2"
|
697
|
+
<div class="refsect2">
|
628
698
|
<a name="g-variant-is-container"></a><h3>g_variant_is_container ()</h3>
|
629
699
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_container (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
630
700
|
<p>
|
@@ -648,7 +718,61 @@ Checks if <em class="parameter"><code>value</code></em> is a container.
|
|
648
718
|
</table></div>
|
649
719
|
</div>
|
650
720
|
<hr>
|
651
|
-
<div class="refsect2"
|
721
|
+
<div class="refsect2">
|
722
|
+
<a name="g-variant-compare"></a><h3>g_variant_compare ()</h3>
|
723
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_variant_compare (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> one</code></em>,
|
724
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);</pre>
|
725
|
+
<p>
|
726
|
+
Compares <em class="parameter"><code>one</code></em> and <em class="parameter"><code>two</code></em>.
|
727
|
+
</p>
|
728
|
+
<p>
|
729
|
+
The types of <em class="parameter"><code>one</code></em> and <em class="parameter"><code>two</code></em> are <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> only to allow use of
|
730
|
+
this function with <a class="link" href="glib-Balanced-Binary-Trees.html#GTree" title="GTree"><span class="type">GTree</span></a>, <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a>, etc. They must each be a
|
731
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
732
|
+
</p>
|
733
|
+
<p>
|
734
|
+
Comparison is only defined for basic types (ie: booleans, numbers,
|
735
|
+
strings). For booleans, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is less than <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. Numbers are
|
736
|
+
ordered in the usual way. Strings are in ASCII lexographical order.
|
737
|
+
</p>
|
738
|
+
<p>
|
739
|
+
It is a programmer error to attempt to compare container values or
|
740
|
+
two values that have types that are not exactly equal. For example,
|
741
|
+
you can not compare a 32-bit signed integer with a 32-bit unsigned
|
742
|
+
integer. Also note that this function is not particularly
|
743
|
+
well-behaved when it comes to comparison of doubles; in particular,
|
744
|
+
the handling of incomparable values (ie: NaN) is undefined.
|
745
|
+
</p>
|
746
|
+
<p>
|
747
|
+
If you only require an equality comparison, <a class="link" href="glib-GVariant.html#g-variant-equal" title="g_variant_equal ()"><code class="function">g_variant_equal()</code></a> is more
|
748
|
+
general.
|
749
|
+
</p>
|
750
|
+
<div class="variablelist"><table border="0">
|
751
|
+
<col align="left" valign="top">
|
752
|
+
<tbody>
|
753
|
+
<tr>
|
754
|
+
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
755
|
+
<td> a basic-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[type GVariant]</span>
|
756
|
+
</td>
|
757
|
+
</tr>
|
758
|
+
<tr>
|
759
|
+
<td><p><span class="term"><em class="parameter"><code>two</code></em> :</span></p></td>
|
760
|
+
<td> a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance of the same type. <span class="annotation">[type GVariant]</span>
|
761
|
+
</td>
|
762
|
+
</tr>
|
763
|
+
<tr>
|
764
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
765
|
+
<td>negative value if a < b;
|
766
|
+
zero if a = b;
|
767
|
+
positive value if a > b.
|
768
|
+
</td>
|
769
|
+
</tr>
|
770
|
+
</tbody>
|
771
|
+
</table></div>
|
772
|
+
<p class="since">Since 2.26</p>
|
773
|
+
</div>
|
774
|
+
<hr>
|
775
|
+
<div class="refsect2">
|
652
776
|
<a name="g-variant-classify"></a><h3>g_variant_classify ()</h3>
|
653
777
|
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass"><span class="returnvalue">GVariantClass</span></a> g_variant_classify (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
654
778
|
<p>
|
@@ -672,7 +796,7 @@ Classifies <em class="parameter"><code>value</code></em> according to its top-le
|
|
672
796
|
<p class="since">Since 2.24</p>
|
673
797
|
</div>
|
674
798
|
<hr>
|
675
|
-
<div class="refsect2"
|
799
|
+
<div class="refsect2">
|
676
800
|
<a name="GVariantClass"></a><h3>enum GVariantClass</h3>
|
677
801
|
<pre class="programlisting">typedef enum
|
678
802
|
{
|
@@ -799,7 +923,7 @@ The range of possible top-level types of <a class="link" href="glib-GVariant.htm
|
|
799
923
|
<p class="since">Since 2.24</p>
|
800
924
|
</div>
|
801
925
|
<hr>
|
802
|
-
<div class="refsect2"
|
926
|
+
<div class="refsect2">
|
803
927
|
<a name="g-variant-get"></a><h3>g_variant_get ()</h3>
|
804
928
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_get (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
805
929
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -841,7 +965,7 @@ extended in the future.
|
|
841
965
|
<p class="since">Since 2.24</p>
|
842
966
|
</div>
|
843
967
|
<hr>
|
844
|
-
<div class="refsect2"
|
968
|
+
<div class="refsect2">
|
845
969
|
<a name="g-variant-get-va"></a><h3>g_variant_get_va ()</h3>
|
846
970
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_get_va (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
847
971
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -887,7 +1011,8 @@ varargs call by the user.
|
|
887
1011
|
</tr>
|
888
1012
|
<tr>
|
889
1013
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
890
|
-
<td>location to store the end pointer,
|
1014
|
+
<td> location to store the end pointer,
|
1015
|
+
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Default parameter value (for in case the shadows-to function has less parameters)."><span class="acronym">default</span></acronym> NULL]</span>
|
891
1016
|
</td>
|
892
1017
|
</tr>
|
893
1018
|
<tr>
|
@@ -900,9 +1025,9 @@ varargs call by the user.
|
|
900
1025
|
<p class="since">Since 2.24</p>
|
901
1026
|
</div>
|
902
1027
|
<hr>
|
903
|
-
<div class="refsect2"
|
1028
|
+
<div class="refsect2">
|
904
1029
|
<a name="g-variant-new"></a><h3>g_variant_new ()</h3>
|
905
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1030
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
906
1031
|
<em class="parameter"><code>...</code></em>);</pre>
|
907
1032
|
<p>
|
908
1033
|
Creates a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
@@ -945,9 +1070,9 @@ function (and not merely passed through it unmodified).
|
|
945
1070
|
<p class="since">Since 2.24</p>
|
946
1071
|
</div>
|
947
1072
|
<hr>
|
948
|
-
<div class="refsect2"
|
1073
|
+
<div class="refsect2">
|
949
1074
|
<a name="g-variant-new-va"></a><h3>g_variant_new_va ()</h3>
|
950
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1075
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_va (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
951
1076
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
952
1077
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
953
1078
|
<p>
|
@@ -1000,7 +1125,8 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
1000
1125
|
</tr>
|
1001
1126
|
<tr>
|
1002
1127
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
1003
|
-
<td>location to store the end pointer,
|
1128
|
+
<td> location to store the end pointer,
|
1129
|
+
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Default parameter value (for in case the shadows-to function has less parameters)."><span class="acronym">default</span></acronym> NULL]</span>
|
1004
1130
|
</td>
|
1005
1131
|
</tr>
|
1006
1132
|
<tr>
|
@@ -1018,9 +1144,9 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
1018
1144
|
<p class="since">Since 2.24</p>
|
1019
1145
|
</div>
|
1020
1146
|
<hr>
|
1021
|
-
<div class="refsect2"
|
1147
|
+
<div class="refsect2">
|
1022
1148
|
<a name="g-variant-new-boolean"></a><h3>g_variant_new_boolean ()</h3>
|
1023
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1149
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_boolean (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> boolean</code></em>);</pre>
|
1024
1150
|
<p>
|
1025
1151
|
Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance -- either <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.
|
1026
1152
|
</p>
|
@@ -1034,7 +1160,7 @@ Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="
|
|
1034
1160
|
</tr>
|
1035
1161
|
<tr>
|
1036
1162
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1037
|
-
<td>a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1163
|
+
<td>a floating reference to a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1038
1164
|
</td>
|
1039
1165
|
</tr>
|
1040
1166
|
</tbody>
|
@@ -1042,9 +1168,9 @@ Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="
|
|
1042
1168
|
<p class="since">Since 2.24</p>
|
1043
1169
|
</div>
|
1044
1170
|
<hr>
|
1045
|
-
<div class="refsect2"
|
1171
|
+
<div class="refsect2">
|
1046
1172
|
<a name="g-variant-new-byte"></a><h3>g_variant_new_byte ()</h3>
|
1047
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1173
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_byte (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> byte</code></em>);</pre>
|
1048
1174
|
<p>
|
1049
1175
|
Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1050
1176
|
</p>
|
@@ -1058,7 +1184,7 @@ Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVa
|
|
1058
1184
|
</tr>
|
1059
1185
|
<tr>
|
1060
1186
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1061
|
-
<td>a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1187
|
+
<td>a floating reference to a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1062
1188
|
</td>
|
1063
1189
|
</tr>
|
1064
1190
|
</tbody>
|
@@ -1066,9 +1192,9 @@ Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVa
|
|
1066
1192
|
<p class="since">Since 2.24</p>
|
1067
1193
|
</div>
|
1068
1194
|
<hr>
|
1069
|
-
<div class="refsect2"
|
1195
|
+
<div class="refsect2">
|
1070
1196
|
<a name="g-variant-new-int16"></a><h3>g_variant_new_int16 ()</h3>
|
1071
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1197
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> int16</code></em>);</pre>
|
1072
1198
|
<p>
|
1073
1199
|
Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1074
1200
|
</p>
|
@@ -1082,7 +1208,7 @@ Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1082
1208
|
</tr>
|
1083
1209
|
<tr>
|
1084
1210
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1085
|
-
<td>a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1211
|
+
<td>a floating reference to a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1086
1212
|
</td>
|
1087
1213
|
</tr>
|
1088
1214
|
</tbody>
|
@@ -1090,9 +1216,9 @@ Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1090
1216
|
<p class="since">Since 2.24</p>
|
1091
1217
|
</div>
|
1092
1218
|
<hr>
|
1093
|
-
<div class="refsect2"
|
1219
|
+
<div class="refsect2">
|
1094
1220
|
<a name="g-variant-new-uint16"></a><h3>g_variant_new_uint16 ()</h3>
|
1095
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1221
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> uint16</code></em>);</pre>
|
1096
1222
|
<p>
|
1097
1223
|
Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1098
1224
|
</p>
|
@@ -1106,7 +1232,7 @@ Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1106
1232
|
</tr>
|
1107
1233
|
<tr>
|
1108
1234
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1109
|
-
<td>a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1235
|
+
<td>a floating reference to a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1110
1236
|
</td>
|
1111
1237
|
</tr>
|
1112
1238
|
</tbody>
|
@@ -1114,9 +1240,9 @@ Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1114
1240
|
<p class="since">Since 2.24</p>
|
1115
1241
|
</div>
|
1116
1242
|
<hr>
|
1117
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1118
1244
|
<a name="g-variant-new-int32"></a><h3>g_variant_new_int32 ()</h3>
|
1119
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1245
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> int32</code></em>);</pre>
|
1120
1246
|
<p>
|
1121
1247
|
Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1122
1248
|
</p>
|
@@ -1130,7 +1256,7 @@ Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1130
1256
|
</tr>
|
1131
1257
|
<tr>
|
1132
1258
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1133
|
-
<td>a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1259
|
+
<td>a floating reference to a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1134
1260
|
</td>
|
1135
1261
|
</tr>
|
1136
1262
|
</tbody>
|
@@ -1138,9 +1264,9 @@ Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1138
1264
|
<p class="since">Since 2.24</p>
|
1139
1265
|
</div>
|
1140
1266
|
<hr>
|
1141
|
-
<div class="refsect2"
|
1267
|
+
<div class="refsect2">
|
1142
1268
|
<a name="g-variant-new-uint32"></a><h3>g_variant_new_uint32 ()</h3>
|
1143
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1269
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> uint32</code></em>);</pre>
|
1144
1270
|
<p>
|
1145
1271
|
Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1146
1272
|
</p>
|
@@ -1154,7 +1280,7 @@ Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1154
1280
|
</tr>
|
1155
1281
|
<tr>
|
1156
1282
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1157
|
-
<td>a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1283
|
+
<td>a floating reference to a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1158
1284
|
</td>
|
1159
1285
|
</tr>
|
1160
1286
|
</tbody>
|
@@ -1162,9 +1288,9 @@ Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1162
1288
|
<p class="since">Since 2.24</p>
|
1163
1289
|
</div>
|
1164
1290
|
<hr>
|
1165
|
-
<div class="refsect2"
|
1291
|
+
<div class="refsect2">
|
1166
1292
|
<a name="g-variant-new-int64"></a><h3>g_variant_new_int64 ()</h3>
|
1167
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1293
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> int64</code></em>);</pre>
|
1168
1294
|
<p>
|
1169
1295
|
Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1170
1296
|
</p>
|
@@ -1178,7 +1304,7 @@ Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1178
1304
|
</tr>
|
1179
1305
|
<tr>
|
1180
1306
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1181
|
-
<td>a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1307
|
+
<td>a floating reference to a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1182
1308
|
</td>
|
1183
1309
|
</tr>
|
1184
1310
|
</tbody>
|
@@ -1186,9 +1312,9 @@ Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1186
1312
|
<p class="since">Since 2.24</p>
|
1187
1313
|
</div>
|
1188
1314
|
<hr>
|
1189
|
-
<div class="refsect2"
|
1315
|
+
<div class="refsect2">
|
1190
1316
|
<a name="g-variant-new-uint64"></a><h3>g_variant_new_uint64 ()</h3>
|
1191
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1317
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> uint64</code></em>);</pre>
|
1192
1318
|
<p>
|
1193
1319
|
Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1194
1320
|
</p>
|
@@ -1202,7 +1328,7 @@ Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1202
1328
|
</tr>
|
1203
1329
|
<tr>
|
1204
1330
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1205
|
-
<td>a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1331
|
+
<td>a floating reference to a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1206
1332
|
</td>
|
1207
1333
|
</tr>
|
1208
1334
|
</tbody>
|
@@ -1210,9 +1336,9 @@ Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1210
1336
|
<p class="since">Since 2.24</p>
|
1211
1337
|
</div>
|
1212
1338
|
<hr>
|
1213
|
-
<div class="refsect2"
|
1339
|
+
<div class="refsect2">
|
1214
1340
|
<a name="g-variant-new-handle"></a><h3>g_variant_new_handle ()</h3>
|
1215
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1341
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_handle (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> handle</code></em>);</pre>
|
1216
1342
|
<p>
|
1217
1343
|
Creates a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1218
1344
|
</p>
|
@@ -1231,7 +1357,7 @@ with DBus, you probably don't need them.
|
|
1231
1357
|
</tr>
|
1232
1358
|
<tr>
|
1233
1359
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1234
|
-
<td>a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1360
|
+
<td>a floating reference to a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1235
1361
|
</td>
|
1236
1362
|
</tr>
|
1237
1363
|
</tbody>
|
@@ -1239,9 +1365,9 @@ with DBus, you probably don't need them.
|
|
1239
1365
|
<p class="since">Since 2.24</p>
|
1240
1366
|
</div>
|
1241
1367
|
<hr>
|
1242
|
-
<div class="refsect2"
|
1368
|
+
<div class="refsect2">
|
1243
1369
|
<a name="g-variant-new-double"></a><h3>g_variant_new_double ()</h3>
|
1244
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1370
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_double (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> floating</code></em>);</pre>
|
1245
1371
|
<p>
|
1246
1372
|
Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1247
1373
|
</p>
|
@@ -1255,7 +1381,7 @@ Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1255
1381
|
</tr>
|
1256
1382
|
<tr>
|
1257
1383
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1258
|
-
<td>a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1384
|
+
<td>a floating reference to a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1259
1385
|
</td>
|
1260
1386
|
</tr>
|
1261
1387
|
</tbody>
|
@@ -1263,23 +1389,26 @@ Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1263
1389
|
<p class="since">Since 2.24</p>
|
1264
1390
|
</div>
|
1265
1391
|
<hr>
|
1266
|
-
<div class="refsect2"
|
1392
|
+
<div class="refsect2">
|
1267
1393
|
<a name="g-variant-new-string"></a><h3>g_variant_new_string ()</h3>
|
1268
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1394
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1269
1395
|
<p>
|
1270
1396
|
Creates a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1271
1397
|
</p>
|
1398
|
+
<p>
|
1399
|
+
<em class="parameter"><code>string</code></em> must be valid utf8.
|
1400
|
+
</p>
|
1272
1401
|
<div class="variablelist"><table border="0">
|
1273
1402
|
<col align="left" valign="top">
|
1274
1403
|
<tbody>
|
1275
1404
|
<tr>
|
1276
1405
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1277
|
-
<td>a normal
|
1406
|
+
<td>a normal utf8 nul-terminated string
|
1278
1407
|
</td>
|
1279
1408
|
</tr>
|
1280
1409
|
<tr>
|
1281
1410
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1282
|
-
<td>a new string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1411
|
+
<td>a floating reference to a new string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1283
1412
|
</td>
|
1284
1413
|
</tr>
|
1285
1414
|
</tbody>
|
@@ -1287,9 +1416,10 @@ Creates a string <a class="link" href="glib-GVariant.html#GVariant" title="GVari
|
|
1287
1416
|
<p class="since">Since 2.24</p>
|
1288
1417
|
</div>
|
1289
1418
|
<hr>
|
1290
|
-
<div class="refsect2"
|
1419
|
+
<div class="refsect2">
|
1291
1420
|
<a name="g-variant-new-object-path"></a><h3>g_variant_new_object_path ()</h3>
|
1292
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1421
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_object_path
|
1422
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
|
1293
1423
|
<p>
|
1294
1424
|
Creates a DBus object path <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1295
1425
|
<em class="parameter"><code>string</code></em> must be a valid DBus object path. Use
|
@@ -1305,7 +1435,7 @@ Creates a DBus object path <a class="link" href="glib-GVariant.html#GVariant" ti
|
|
1305
1435
|
</tr>
|
1306
1436
|
<tr>
|
1307
1437
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1308
|
-
<td>a new object path <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1438
|
+
<td>a floating reference to a new object path <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1309
1439
|
</td>
|
1310
1440
|
</tr>
|
1311
1441
|
</tbody>
|
@@ -1313,7 +1443,7 @@ Creates a DBus object path <a class="link" href="glib-GVariant.html#GVariant" ti
|
|
1313
1443
|
<p class="since">Since 2.24</p>
|
1314
1444
|
</div>
|
1315
1445
|
<hr>
|
1316
|
-
<div class="refsect2"
|
1446
|
+
<div class="refsect2">
|
1317
1447
|
<a name="g-variant-is-object-path"></a><h3>g_variant_is_object_path ()</h3>
|
1318
1448
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_object_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1319
1449
|
<p>
|
@@ -1346,9 +1476,10 @@ must contain only the characters "[A-Z][a-z][0-9]_". No sequence
|
|
1346
1476
|
<p class="since">Since 2.24</p>
|
1347
1477
|
</div>
|
1348
1478
|
<hr>
|
1349
|
-
<div class="refsect2"
|
1479
|
+
<div class="refsect2">
|
1350
1480
|
<a name="g-variant-new-signature"></a><h3>g_variant_new_signature ()</h3>
|
1351
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1481
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_signature
|
1482
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);</pre>
|
1352
1483
|
<p>
|
1353
1484
|
Creates a DBus type signature <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of
|
1354
1485
|
<em class="parameter"><code>string</code></em>. <em class="parameter"><code>string</code></em> must be a valid DBus type signature. Use
|
@@ -1364,7 +1495,7 @@ Creates a DBus type signature <a class="link" href="glib-GVariant.html#GVariant"
|
|
1364
1495
|
</tr>
|
1365
1496
|
<tr>
|
1366
1497
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1367
|
-
<td>a new signature <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1498
|
+
<td>a floating reference to a new signature <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1368
1499
|
</td>
|
1369
1500
|
</tr>
|
1370
1501
|
</tbody>
|
@@ -1372,12 +1503,12 @@ Creates a DBus type signature <a class="link" href="glib-GVariant.html#GVariant"
|
|
1372
1503
|
<p class="since">Since 2.24</p>
|
1373
1504
|
</div>
|
1374
1505
|
<hr>
|
1375
|
-
<div class="refsect2"
|
1506
|
+
<div class="refsect2">
|
1376
1507
|
<a name="g-variant-is-signature"></a><h3>g_variant_is_signature ()</h3>
|
1377
1508
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_signature (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1378
1509
|
<p>
|
1379
1510
|
Determines if a given string is a valid DBus type signature. You
|
1380
|
-
should ensure that a string is a valid DBus
|
1511
|
+
should ensure that a string is a valid DBus type signature before
|
1381
1512
|
passing it to <a class="link" href="glib-GVariant.html#g-variant-new-signature" title="g_variant_new_signature ()"><code class="function">g_variant_new_signature()</code></a>.
|
1382
1513
|
</p>
|
1383
1514
|
<p>
|
@@ -1403,13 +1534,17 @@ strings in sequence.
|
|
1403
1534
|
<p class="since">Since 2.24</p>
|
1404
1535
|
</div>
|
1405
1536
|
<hr>
|
1406
|
-
<div class="refsect2"
|
1537
|
+
<div class="refsect2">
|
1407
1538
|
<a name="g-variant-new-variant"></a><h3>g_variant_new_variant ()</h3>
|
1408
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1539
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_variant (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1409
1540
|
<p>
|
1410
1541
|
Boxes <em class="parameter"><code>value</code></em>. The result is a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance representing a
|
1411
1542
|
variant containing the original value.
|
1412
1543
|
</p>
|
1544
|
+
<p>
|
1545
|
+
If <em class="parameter"><code>child</code></em> is a floating reference (see <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>), the new
|
1546
|
+
instance takes ownership of <em class="parameter"><code>child</code></em>.
|
1547
|
+
</p>
|
1413
1548
|
<div class="variablelist"><table border="0">
|
1414
1549
|
<col align="left" valign="top">
|
1415
1550
|
<tbody>
|
@@ -1420,7 +1555,7 @@ variant containing the original value.
|
|
1420
1555
|
</tr>
|
1421
1556
|
<tr>
|
1422
1557
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1423
|
-
<td>a new variant <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1558
|
+
<td>a floating reference to a new variant <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1424
1559
|
</td>
|
1425
1560
|
</tr>
|
1426
1561
|
</tbody>
|
@@ -1428,24 +1563,23 @@ variant containing the original value.
|
|
1428
1563
|
<p class="since">Since 2.24</p>
|
1429
1564
|
</div>
|
1430
1565
|
<hr>
|
1431
|
-
<div class="refsect2"
|
1566
|
+
<div class="refsect2">
|
1432
1567
|
<a name="g-variant-new-strv"></a><h3>g_variant_new_strv ()</h3>
|
1433
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1568
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_strv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1434
1569
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);</pre>
|
1435
1570
|
<p>
|
1436
1571
|
Constructs an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from the given array of
|
1437
1572
|
strings.
|
1438
1573
|
</p>
|
1439
1574
|
<p>
|
1440
|
-
If <em class="parameter"><code>length</code></em> is
|
1441
|
-
any case, a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer in <em class="parameter"><code>strv</code></em> is taken as a terminator.
|
1575
|
+
If <em class="parameter"><code>length</code></em> is -1 then <em class="parameter"><code>strv</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1442
1576
|
</p>
|
1443
1577
|
<div class="variablelist"><table border="0">
|
1444
1578
|
<col align="left" valign="top">
|
1445
1579
|
<tbody>
|
1446
1580
|
<tr>
|
1447
1581
|
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
1448
|
-
<td>an array of strings
|
1582
|
+
<td> an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
|
1449
1583
|
</td>
|
1450
1584
|
</tr>
|
1451
1585
|
<tr>
|
@@ -1463,7 +1597,73 @@ any case, a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NU
|
|
1463
1597
|
<p class="since">Since 2.24</p>
|
1464
1598
|
</div>
|
1465
1599
|
<hr>
|
1466
|
-
<div class="refsect2"
|
1600
|
+
<div class="refsect2">
|
1601
|
+
<a name="g-variant-new-bytestring"></a><h3>g_variant_new_bytestring ()</h3>
|
1602
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring
|
1603
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1604
|
+
<p>
|
1605
|
+
Creates an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1606
|
+
This function is just like <a class="link" href="glib-GVariant.html#g-variant-new-string" title="g_variant_new_string ()"><code class="function">g_variant_new_string()</code></a> except that the
|
1607
|
+
string need not be valid utf8.
|
1608
|
+
</p>
|
1609
|
+
<p>
|
1610
|
+
The nul terminator character at the end of the string is stored in
|
1611
|
+
the array.
|
1612
|
+
</p>
|
1613
|
+
<div class="variablelist"><table border="0">
|
1614
|
+
<col align="left" valign="top">
|
1615
|
+
<tbody>
|
1616
|
+
<tr>
|
1617
|
+
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1618
|
+
<td>a normal nul-terminated string in no particular encoding
|
1619
|
+
</td>
|
1620
|
+
</tr>
|
1621
|
+
<tr>
|
1622
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1623
|
+
<td>a floating reference to a new bytestring <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1624
|
+
</td>
|
1625
|
+
</tr>
|
1626
|
+
</tbody>
|
1627
|
+
</table></div>
|
1628
|
+
<p class="since">Since 2.26</p>
|
1629
|
+
</div>
|
1630
|
+
<hr>
|
1631
|
+
<div class="refsect2">
|
1632
|
+
<a name="g-variant-new-bytestring-array"></a><h3>g_variant_new_bytestring_array ()</h3>
|
1633
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring_array
|
1634
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1635
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);</pre>
|
1636
|
+
<p>
|
1637
|
+
Constructs an array of bytestring <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from the given array of
|
1638
|
+
strings.
|
1639
|
+
</p>
|
1640
|
+
<p>
|
1641
|
+
If <em class="parameter"><code>length</code></em> is -1 then <em class="parameter"><code>strv</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1642
|
+
</p>
|
1643
|
+
<div class="variablelist"><table border="0">
|
1644
|
+
<col align="left" valign="top">
|
1645
|
+
<tbody>
|
1646
|
+
<tr>
|
1647
|
+
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
1648
|
+
<td> an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
1649
|
+
</td>
|
1650
|
+
</tr>
|
1651
|
+
<tr>
|
1652
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1653
|
+
<td>the length of <em class="parameter"><code>strv</code></em>, or -1
|
1654
|
+
</td>
|
1655
|
+
</tr>
|
1656
|
+
<tr>
|
1657
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1658
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1659
|
+
</td>
|
1660
|
+
</tr>
|
1661
|
+
</tbody>
|
1662
|
+
</table></div>
|
1663
|
+
<p class="since">Since 2.26</p>
|
1664
|
+
</div>
|
1665
|
+
<hr>
|
1666
|
+
<div class="refsect2">
|
1467
1667
|
<a name="g-variant-get-boolean"></a><h3>g_variant_get_boolean ()</h3>
|
1468
1668
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_get_boolean (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1469
1669
|
<p>
|
@@ -1492,7 +1692,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:C
|
|
1492
1692
|
<p class="since">Since 2.24</p>
|
1493
1693
|
</div>
|
1494
1694
|
<hr>
|
1495
|
-
<div class="refsect2"
|
1695
|
+
<div class="refsect2">
|
1496
1696
|
<a name="g-variant-get-byte"></a><h3>g_variant_get_byte ()</h3>
|
1497
1697
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="returnvalue">guchar</span></a> g_variant_get_byte (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1498
1698
|
<p>
|
@@ -1520,7 +1720,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS
|
|
1520
1720
|
<p class="since">Since 2.24</p>
|
1521
1721
|
</div>
|
1522
1722
|
<hr>
|
1523
|
-
<div class="refsect2"
|
1723
|
+
<div class="refsect2">
|
1524
1724
|
<a name="g-variant-get-int16"></a><h3>g_variant_get_int16 ()</h3>
|
1525
1725
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="returnvalue">gint16</span></a> g_variant_get_int16 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1526
1726
|
<p>
|
@@ -1548,7 +1748,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAP
|
|
1548
1748
|
<p class="since">Since 2.24</p>
|
1549
1749
|
</div>
|
1550
1750
|
<hr>
|
1551
|
-
<div class="refsect2"
|
1751
|
+
<div class="refsect2">
|
1552
1752
|
<a name="g-variant-get-uint16"></a><h3>g_variant_get_uint16 ()</h3>
|
1553
1753
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="returnvalue">guint16</span></a> g_variant_get_uint16 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1554
1754
|
<p>
|
@@ -1576,7 +1776,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CA
|
|
1576
1776
|
<p class="since">Since 2.24</p>
|
1577
1777
|
</div>
|
1578
1778
|
<hr>
|
1579
|
-
<div class="refsect2"
|
1779
|
+
<div class="refsect2">
|
1580
1780
|
<a name="g-variant-get-int32"></a><h3>g_variant_get_int32 ()</h3>
|
1581
1781
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_variant_get_int32 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1582
1782
|
<p>
|
@@ -1604,7 +1804,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAP
|
|
1604
1804
|
<p class="since">Since 2.24</p>
|
1605
1805
|
</div>
|
1606
1806
|
<hr>
|
1607
|
-
<div class="refsect2"
|
1807
|
+
<div class="refsect2">
|
1608
1808
|
<a name="g-variant-get-uint32"></a><h3>g_variant_get_uint32 ()</h3>
|
1609
1809
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> g_variant_get_uint32 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1610
1810
|
<p>
|
@@ -1632,7 +1832,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CA
|
|
1632
1832
|
<p class="since">Since 2.24</p>
|
1633
1833
|
</div>
|
1634
1834
|
<hr>
|
1635
|
-
<div class="refsect2"
|
1835
|
+
<div class="refsect2">
|
1636
1836
|
<a name="g-variant-get-int64"></a><h3>g_variant_get_int64 ()</h3>
|
1637
1837
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_variant_get_int64 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1638
1838
|
<p>
|
@@ -1660,7 +1860,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAP
|
|
1660
1860
|
<p class="since">Since 2.24</p>
|
1661
1861
|
</div>
|
1662
1862
|
<hr>
|
1663
|
-
<div class="refsect2"
|
1863
|
+
<div class="refsect2">
|
1664
1864
|
<a name="g-variant-get-uint64"></a><h3>g_variant_get_uint64 ()</h3>
|
1665
1865
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> g_variant_get_uint64 (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1666
1866
|
<p>
|
@@ -1688,7 +1888,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CA
|
|
1688
1888
|
<p class="since">Since 2.24</p>
|
1689
1889
|
</div>
|
1690
1890
|
<hr>
|
1691
|
-
<div class="refsect2"
|
1891
|
+
<div class="refsect2">
|
1692
1892
|
<a name="g-variant-get-handle"></a><h3>g_variant_get_handle ()</h3>
|
1693
1893
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_variant_get_handle (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1694
1894
|
<p>
|
@@ -1721,7 +1921,7 @@ with DBus, you probably don't need them.
|
|
1721
1921
|
<p class="since">Since 2.24</p>
|
1722
1922
|
</div>
|
1723
1923
|
<hr>
|
1724
|
-
<div class="refsect2"
|
1924
|
+
<div class="refsect2">
|
1725
1925
|
<a name="g-variant-get-double"></a><h3>g_variant_get_double ()</h3>
|
1726
1926
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_variant_get_double (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1727
1927
|
<p>
|
@@ -1749,9 +1949,9 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CA
|
|
1749
1949
|
<p class="since">Since 2.24</p>
|
1750
1950
|
</div>
|
1751
1951
|
<hr>
|
1752
|
-
<div class="refsect2"
|
1952
|
+
<div class="refsect2">
|
1753
1953
|
<a name="g-variant-get-string"></a><h3>g_variant_get_string ()</h3>
|
1754
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
1954
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1755
1955
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1756
1956
|
<p>
|
1757
1957
|
Returns the string value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance with a string
|
@@ -1759,6 +1959,9 @@ type. This includes the types <a class="link" href="glib-GVariantType.html#G-VA
|
|
1759
1959
|
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-OBJECT-PATH:CAPS" title="G_VARIANT_TYPE_OBJECT_PATH"><code class="literal">G_VARIANT_TYPE_OBJECT_PATH</code></a> and <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-SIGNATURE:CAPS" title="G_VARIANT_TYPE_SIGNATURE"><code class="literal">G_VARIANT_TYPE_SIGNATURE</code></a>.
|
1760
1960
|
</p>
|
1761
1961
|
<p>
|
1962
|
+
The string will always be utf8 encoded.
|
1963
|
+
</p>
|
1964
|
+
<p>
|
1762
1965
|
If <em class="parameter"><code>length</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the length of the string (in bytes) is
|
1763
1966
|
returned there. For trusted values, this information is already
|
1764
1967
|
known. For untrusted values, a <code class="function">strlen()</code> will be performed.
|
@@ -1780,12 +1983,13 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
1780
1983
|
</tr>
|
1781
1984
|
<tr>
|
1782
1985
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1783
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>,
|
1986
|
+
<td> a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>,
|
1987
|
+
to store the length. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Default parameter value (for in case the shadows-to function has less parameters)."><span class="acronym">default</span></acronym> NULL][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> NULL]</span>
|
1784
1988
|
</td>
|
1785
1989
|
</tr>
|
1786
1990
|
<tr>
|
1787
1991
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1788
|
-
<td>the constant string
|
1992
|
+
<td>the constant string, utf8 encoded
|
1789
1993
|
</td>
|
1790
1994
|
</tr>
|
1791
1995
|
</tbody>
|
@@ -1793,15 +1997,18 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
1793
1997
|
<p class="since">Since 2.24</p>
|
1794
1998
|
</div>
|
1795
1999
|
<hr>
|
1796
|
-
<div class="refsect2"
|
2000
|
+
<div class="refsect2">
|
1797
2001
|
<a name="g-variant-dup-string"></a><h3>g_variant_dup_string ()</h3>
|
1798
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2002
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_dup_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1799
2003
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1800
2004
|
<p>
|
1801
2005
|
Similar to <a class="link" href="glib-GVariant.html#g-variant-get-string" title="g_variant_get_string ()"><code class="function">g_variant_get_string()</code></a> except that instead of returning
|
1802
2006
|
a constant string, the string is duplicated.
|
1803
2007
|
</p>
|
1804
2008
|
<p>
|
2009
|
+
The string will always be utf8 encoded.
|
2010
|
+
</p>
|
2011
|
+
<p>
|
1805
2012
|
The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
1806
2013
|
</p>
|
1807
2014
|
<div class="variablelist"><table border="0">
|
@@ -1819,7 +2026,7 @@ The return value must be freed using <a class="link" href="glib-Memory-Allocatio
|
|
1819
2026
|
</tr>
|
1820
2027
|
<tr>
|
1821
2028
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1822
|
-
<td>a newly allocated string
|
2029
|
+
<td>a newly allocated string, utf8 encoded
|
1823
2030
|
</td>
|
1824
2031
|
</tr>
|
1825
2032
|
</tbody>
|
@@ -1827,9 +2034,9 @@ The return value must be freed using <a class="link" href="glib-Memory-Allocatio
|
|
1827
2034
|
<p class="since">Since 2.24</p>
|
1828
2035
|
</div>
|
1829
2036
|
<hr>
|
1830
|
-
<div class="refsect2"
|
2037
|
+
<div class="refsect2">
|
1831
2038
|
<a name="g-variant-get-variant"></a><h3>g_variant_get_variant ()</h3>
|
1832
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2039
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_variant (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1833
2040
|
<p>
|
1834
2041
|
Unboxes <em class="parameter"><code>value</code></em>. The result is the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance that was
|
1835
2042
|
contained in <em class="parameter"><code>value</code></em>.
|
@@ -1852,9 +2059,9 @@ contained in <em class="parameter"><code>value</code></em>.
|
|
1852
2059
|
<p class="since">Since 2.24</p>
|
1853
2060
|
</div>
|
1854
2061
|
<hr>
|
1855
|
-
<div class="refsect2"
|
2062
|
+
<div class="refsect2">
|
1856
2063
|
<a name="g-variant-get-strv"></a><h3>g_variant_get_strv ()</h3>
|
1857
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2064
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_get_strv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1858
2065
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1859
2066
|
<p>
|
1860
2067
|
Gets the contents of an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -1880,12 +2087,13 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
1880
2087
|
</tr>
|
1881
2088
|
<tr>
|
1882
2089
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1883
|
-
<td>the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2090
|
+
<td> the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1884
2091
|
</td>
|
1885
2092
|
</tr>
|
1886
2093
|
<tr>
|
1887
2094
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1888
|
-
<td>an array of constant
|
2095
|
+
<td> an array of constant
|
2096
|
+
strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym> length=length]</span>
|
1889
2097
|
</td>
|
1890
2098
|
</tr>
|
1891
2099
|
</tbody>
|
@@ -1893,9 +2101,9 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
1893
2101
|
<p class="since">Since 2.24</p>
|
1894
2102
|
</div>
|
1895
2103
|
<hr>
|
1896
|
-
<div class="refsect2"
|
2104
|
+
<div class="refsect2">
|
1897
2105
|
<a name="g-variant-dup-strv"></a><h3>g_variant_dup_strv ()</h3>
|
1898
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2106
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_dup_strv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1899
2107
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1900
2108
|
<p>
|
1901
2109
|
Gets the contents of an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -1921,12 +2129,12 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
1921
2129
|
</tr>
|
1922
2130
|
<tr>
|
1923
2131
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1924
|
-
<td>the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2132
|
+
<td> the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1925
2133
|
</td>
|
1926
2134
|
</tr>
|
1927
2135
|
<tr>
|
1928
2136
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1929
|
-
<td>an array of
|
2137
|
+
<td> an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
1930
2138
|
</td>
|
1931
2139
|
</tr>
|
1932
2140
|
</tbody>
|
@@ -1934,35 +2142,203 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
1934
2142
|
<p class="since">Since 2.24</p>
|
1935
2143
|
</div>
|
1936
2144
|
<hr>
|
1937
|
-
<div class="refsect2"
|
2145
|
+
<div class="refsect2">
|
2146
|
+
<a name="g-variant-get-bytestring"></a><h3>g_variant_get_bytestring ()</h3>
|
2147
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_bytestring
|
2148
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2149
|
+
<p>
|
2150
|
+
Returns the string value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance with an
|
2151
|
+
array-of-bytes type. The string has no particular encoding.
|
2152
|
+
</p>
|
2153
|
+
<p>
|
2154
|
+
If the array does not end with a nul terminator character, the empty
|
2155
|
+
string is returned. For this reason, you can always trust that a
|
2156
|
+
non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> nul-terminated string will be returned by this function.
|
2157
|
+
</p>
|
2158
|
+
<p>
|
2159
|
+
If the array contains a nul terminator character somewhere other than
|
2160
|
+
the last byte then the returned string is the string, up to the first
|
2161
|
+
such nul character.
|
2162
|
+
</p>
|
2163
|
+
<p>
|
2164
|
+
It is an error to call this function with a <em class="parameter"><code>value</code></em> that is not an
|
2165
|
+
array of bytes.
|
2166
|
+
</p>
|
2167
|
+
<p>
|
2168
|
+
The return value remains valid as long as <em class="parameter"><code>value</code></em> exists.
|
2169
|
+
</p>
|
2170
|
+
<div class="variablelist"><table border="0">
|
2171
|
+
<col align="left" valign="top">
|
2172
|
+
<tbody>
|
2173
|
+
<tr>
|
2174
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2175
|
+
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2176
|
+
</td>
|
2177
|
+
</tr>
|
2178
|
+
<tr>
|
2179
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2180
|
+
<td>the constant string
|
2181
|
+
</td>
|
2182
|
+
</tr>
|
2183
|
+
</tbody>
|
2184
|
+
</table></div>
|
2185
|
+
<p class="since">Since 2.26</p>
|
2186
|
+
</div>
|
2187
|
+
<hr>
|
2188
|
+
<div class="refsect2">
|
2189
|
+
<a name="g-variant-dup-bytestring"></a><h3>g_variant_dup_bytestring ()</h3>
|
2190
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_dup_bytestring
|
2191
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2192
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2193
|
+
<p>
|
2194
|
+
Similar 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> except that instead of
|
2195
|
+
returning a constant string, the string is duplicated.
|
2196
|
+
</p>
|
2197
|
+
<p>
|
2198
|
+
The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
2199
|
+
</p>
|
2200
|
+
<div class="variablelist"><table border="0">
|
2201
|
+
<col align="left" valign="top">
|
2202
|
+
<tbody>
|
2203
|
+
<tr>
|
2204
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2205
|
+
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2206
|
+
</td>
|
2207
|
+
</tr>
|
2208
|
+
<tr>
|
2209
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2210
|
+
<td> a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>, to store
|
2211
|
+
the length (not including the nul terminator). <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Default parameter value (for in case the shadows-to function has less parameters)."><span class="acronym">default</span></acronym> NULL]</span>
|
2212
|
+
</td>
|
2213
|
+
</tr>
|
2214
|
+
<tr>
|
2215
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2216
|
+
<td>a newly allocated string
|
2217
|
+
</td>
|
2218
|
+
</tr>
|
2219
|
+
</tbody>
|
2220
|
+
</table></div>
|
2221
|
+
<p class="since">Since 2.26</p>
|
2222
|
+
</div>
|
2223
|
+
<hr>
|
2224
|
+
<div class="refsect2">
|
2225
|
+
<a name="g-variant-get-bytestring-array"></a><h3>g_variant_get_bytestring_array ()</h3>
|
2226
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_get_bytestring_array
|
2227
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2228
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2229
|
+
<p>
|
2230
|
+
Gets the contents of an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
2231
|
+
makes a shallow copy; the return result should be released with
|
2232
|
+
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>, but the individual strings must not be modified.
|
2233
|
+
</p>
|
2234
|
+
<p>
|
2235
|
+
If <em class="parameter"><code>length</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the number of elements in the result is
|
2236
|
+
stored there. In any case, the resulting array will be
|
2237
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
2238
|
+
</p>
|
2239
|
+
<p>
|
2240
|
+
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2241
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2242
|
+
</p>
|
2243
|
+
<div class="variablelist"><table border="0">
|
2244
|
+
<col align="left" valign="top">
|
2245
|
+
<tbody>
|
2246
|
+
<tr>
|
2247
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2248
|
+
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')
|
2249
|
+
</td>
|
2250
|
+
</tr>
|
2251
|
+
<tr>
|
2252
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2253
|
+
<td> the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2254
|
+
</td>
|
2255
|
+
</tr>
|
2256
|
+
<tr>
|
2257
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2258
|
+
<td> an array of constant strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
2259
|
+
</td>
|
2260
|
+
</tr>
|
2261
|
+
</tbody>
|
2262
|
+
</table></div>
|
2263
|
+
<p class="since">Since 2.26</p>
|
2264
|
+
</div>
|
2265
|
+
<hr>
|
2266
|
+
<div class="refsect2">
|
2267
|
+
<a name="g-variant-dup-bytestring-array"></a><h3>g_variant_dup_bytestring_array ()</h3>
|
2268
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_dup_bytestring_array
|
2269
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2270
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2271
|
+
<p>
|
2272
|
+
Gets the contents of an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
2273
|
+
makes a deep copy; the return result should be released with
|
2274
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
|
2275
|
+
</p>
|
2276
|
+
<p>
|
2277
|
+
If <em class="parameter"><code>length</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the number of elements in the result is
|
2278
|
+
stored there. In any case, the resulting array will be
|
2279
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
2280
|
+
</p>
|
2281
|
+
<p>
|
2282
|
+
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2283
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2284
|
+
</p>
|
2285
|
+
<div class="variablelist"><table border="0">
|
2286
|
+
<col align="left" valign="top">
|
2287
|
+
<tbody>
|
2288
|
+
<tr>
|
2289
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2290
|
+
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')
|
2291
|
+
</td>
|
2292
|
+
</tr>
|
2293
|
+
<tr>
|
2294
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2295
|
+
<td> the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2296
|
+
</td>
|
2297
|
+
</tr>
|
2298
|
+
<tr>
|
2299
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2300
|
+
<td> an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
2301
|
+
</td>
|
2302
|
+
</tr>
|
2303
|
+
</tbody>
|
2304
|
+
</table></div>
|
2305
|
+
<p class="since">Since 2.26</p>
|
2306
|
+
</div>
|
2307
|
+
<hr>
|
2308
|
+
<div class="refsect2">
|
1938
2309
|
<a name="g-variant-new-maybe"></a><h3>g_variant_new_maybe ()</h3>
|
1939
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2310
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_maybe (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
1940
2311
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);</pre>
|
1941
2312
|
<p>
|
1942
|
-
Depending on if <em class="parameter"><code>
|
2313
|
+
Depending on if <em class="parameter"><code>child</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, either wraps <em class="parameter"><code>child</code></em> inside of a
|
1943
2314
|
maybe container or creates a Nothing instance for the given <em class="parameter"><code>type</code></em>.
|
1944
2315
|
</p>
|
1945
2316
|
<p>
|
1946
|
-
At least one of <em class="parameter"><code>
|
1947
|
-
non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it must be a definite type.
|
1948
|
-
non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>
|
2317
|
+
At least one of <em class="parameter"><code>child_type</code></em> and <em class="parameter"><code>child</code></em> must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
2318
|
+
If <em class="parameter"><code>child_type</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it must be a definite type.
|
2319
|
+
If they are both non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>child_type</code></em> must be the type
|
2320
|
+
of <em class="parameter"><code>child</code></em>.
|
2321
|
+
</p>
|
2322
|
+
<p>
|
2323
|
+
If <em class="parameter"><code>child</code></em> is a floating reference (see <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>), the new
|
2324
|
+
instance takes ownership of <em class="parameter"><code>child</code></em>.
|
1949
2325
|
</p>
|
1950
2326
|
<div class="variablelist"><table border="0">
|
1951
2327
|
<col align="left" valign="top">
|
1952
2328
|
<tbody>
|
1953
2329
|
<tr>
|
1954
2330
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
1955
|
-
<td>the <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> of the child
|
2331
|
+
<td> the <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> of the child, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1956
2332
|
</td>
|
1957
2333
|
</tr>
|
1958
2334
|
<tr>
|
1959
2335
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
1960
|
-
<td>the child value, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2336
|
+
<td> the child value, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1961
2337
|
</td>
|
1962
2338
|
</tr>
|
1963
2339
|
<tr>
|
1964
2340
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1965
|
-
<td>a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> maybe instance
|
2341
|
+
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> maybe instance
|
1966
2342
|
</td>
|
1967
2343
|
</tr>
|
1968
2344
|
</tbody>
|
@@ -1970,9 +2346,9 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
1970
2346
|
<p class="since">Since 2.24</p>
|
1971
2347
|
</div>
|
1972
2348
|
<hr>
|
1973
|
-
<div class="refsect2"
|
2349
|
+
<div class="refsect2">
|
1974
2350
|
<a name="g-variant-new-array"></a><h3>g_variant_new_array ()</h3>
|
1975
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2351
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
1976
2352
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
1977
2353
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);</pre>
|
1978
2354
|
<p>
|
@@ -1992,17 +2368,22 @@ in the <em class="parameter"><code>children</code></em> array may be <a class="l
|
|
1992
2368
|
All items in the array must have the same type, which must be the
|
1993
2369
|
same as <em class="parameter"><code>child_type</code></em>, if given.
|
1994
2370
|
</p>
|
2371
|
+
<p>
|
2372
|
+
If the <em class="parameter"><code>children</code></em> are floating references (see <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>), the
|
2373
|
+
new instance takes ownership of them as if via <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>.
|
2374
|
+
</p>
|
1995
2375
|
<div class="variablelist"><table border="0">
|
1996
2376
|
<col align="left" valign="top">
|
1997
2377
|
<tbody>
|
1998
2378
|
<tr>
|
1999
2379
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
2000
|
-
<td>the element type of the new array
|
2380
|
+
<td> the element type of the new array. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2001
2381
|
</td>
|
2002
2382
|
</tr>
|
2003
2383
|
<tr>
|
2004
2384
|
<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td>
|
2005
|
-
<td>an array of
|
2385
|
+
<td> an array of
|
2386
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> pointers, the children. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_children]</span>
|
2006
2387
|
</td>
|
2007
2388
|
</tr>
|
2008
2389
|
<tr>
|
@@ -2012,7 +2393,7 @@ same as <em class="parameter"><code>child_type</code></em>, if given.
|
|
2012
2393
|
</tr>
|
2013
2394
|
<tr>
|
2014
2395
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2015
|
-
<td>a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array
|
2396
|
+
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array
|
2016
2397
|
</td>
|
2017
2398
|
</tr>
|
2018
2399
|
</tbody>
|
@@ -2020,9 +2401,9 @@ same as <em class="parameter"><code>child_type</code></em>, if given.
|
|
2020
2401
|
<p class="since">Since 2.24</p>
|
2021
2402
|
</div>
|
2022
2403
|
<hr>
|
2023
|
-
<div class="refsect2"
|
2404
|
+
<div class="refsect2">
|
2024
2405
|
<a name="g-variant-new-tuple"></a><h3>g_variant_new_tuple ()</h3>
|
2025
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2406
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_tuple (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
2026
2407
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);</pre>
|
2027
2408
|
<p>
|
2028
2409
|
Creates a new tuple <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> out of the items in <em class="parameter"><code>children</code></em>. The
|
@@ -2032,12 +2413,16 @@ type is determined from the types of <em class="parameter"><code>children</code>
|
|
2032
2413
|
<p>
|
2033
2414
|
If <em class="parameter"><code>n_children</code></em> is 0 then the unit tuple is constructed.
|
2034
2415
|
</p>
|
2416
|
+
<p>
|
2417
|
+
If the <em class="parameter"><code>children</code></em> are floating references (see <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>), the
|
2418
|
+
new instance takes ownership of them as if via <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>.
|
2419
|
+
</p>
|
2035
2420
|
<div class="variablelist"><table border="0">
|
2036
2421
|
<col align="left" valign="top">
|
2037
2422
|
<tbody>
|
2038
2423
|
<tr>
|
2039
2424
|
<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td>
|
2040
|
-
<td>the items to make the tuple out of
|
2425
|
+
<td> the items to make the tuple out of. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_children]</span>
|
2041
2426
|
</td>
|
2042
2427
|
</tr>
|
2043
2428
|
<tr>
|
@@ -2047,7 +2432,7 @@ If <em class="parameter"><code>n_children</code></em> is 0 then the unit tuple i
|
|
2047
2432
|
</tr>
|
2048
2433
|
<tr>
|
2049
2434
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2050
|
-
<td>a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tuple
|
2435
|
+
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tuple
|
2051
2436
|
</td>
|
2052
2437
|
</tr>
|
2053
2438
|
</tbody>
|
@@ -2055,9 +2440,10 @@ If <em class="parameter"><code>n_children</code></em> is 0 then the unit tuple i
|
|
2055
2440
|
<p class="since">Since 2.24</p>
|
2056
2441
|
</div>
|
2057
2442
|
<hr>
|
2058
|
-
<div class="refsect2"
|
2443
|
+
<div class="refsect2">
|
2059
2444
|
<a name="g-variant-new-dict-entry"></a><h3>g_variant_new_dict_entry ()</h3>
|
2060
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2445
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_dict_entry
|
2446
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
2061
2447
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2062
2448
|
<p>
|
2063
2449
|
Creates a new dictionary entry <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. <em class="parameter"><code>key</code></em> and <em class="parameter"><code>value</code></em> must be
|
@@ -2066,6 +2452,10 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
2066
2452
|
<p>
|
2067
2453
|
<em class="parameter"><code>key</code></em> must be a value of a basic type (ie: not a container).
|
2068
2454
|
</p>
|
2455
|
+
<p>
|
2456
|
+
If the <em class="parameter"><code>key</code></em> or <em class="parameter"><code>value</code></em> are floating references (see <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>),
|
2457
|
+
the new instance takes ownership of them as if via <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>.
|
2458
|
+
</p>
|
2069
2459
|
<div class="variablelist"><table border="0">
|
2070
2460
|
<col align="left" valign="top">
|
2071
2461
|
<tbody>
|
@@ -2081,7 +2471,7 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
2081
2471
|
</tr>
|
2082
2472
|
<tr>
|
2083
2473
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2084
|
-
<td>a new dictionary entry <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2474
|
+
<td>a floating reference to a new dictionary entry <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2085
2475
|
</td>
|
2086
2476
|
</tr>
|
2087
2477
|
</tbody>
|
@@ -2089,9 +2479,9 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
2089
2479
|
<p class="since">Since 2.24</p>
|
2090
2480
|
</div>
|
2091
2481
|
<hr>
|
2092
|
-
<div class="refsect2"
|
2482
|
+
<div class="refsect2">
|
2093
2483
|
<a name="g-variant-get-maybe"></a><h3>g_variant_get_maybe ()</h3>
|
2094
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2484
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_maybe (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2095
2485
|
<p>
|
2096
2486
|
Given a maybe-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance, extract its value. If the
|
2097
2487
|
value is Nothing, then this function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
@@ -2106,7 +2496,7 @@ value is Nothing, then this function returns <a class="link" href="glib-Standard
|
|
2106
2496
|
</tr>
|
2107
2497
|
<tr>
|
2108
2498
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2109
|
-
<td>the contents of <em class="parameter"><code>value</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2499
|
+
<td> the contents of <em class="parameter"><code>value</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2110
2500
|
</td>
|
2111
2501
|
</tr>
|
2112
2502
|
</tbody>
|
@@ -2114,7 +2504,7 @@ value is Nothing, then this function returns <a class="link" href="glib-Standard
|
|
2114
2504
|
<p class="since">Since 2.24</p>
|
2115
2505
|
</div>
|
2116
2506
|
<hr>
|
2117
|
-
<div class="refsect2"
|
2507
|
+
<div class="refsect2">
|
2118
2508
|
<a name="g-variant-n-children"></a><h3>g_variant_n_children ()</h3>
|
2119
2509
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_n_children (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2120
2510
|
<p>
|
@@ -2150,9 +2540,10 @@ This function is O(1).
|
|
2150
2540
|
<p class="since">Since 2.24</p>
|
2151
2541
|
</div>
|
2152
2542
|
<hr>
|
2153
|
-
<div class="refsect2"
|
2543
|
+
<div class="refsect2">
|
2154
2544
|
<a name="g-variant-get-child-value"></a><h3>g_variant_get_child_value ()</h3>
|
2155
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2545
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_child_value
|
2546
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2156
2547
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>);</pre>
|
2157
2548
|
<p>
|
2158
2549
|
Reads a child item out of a container <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. This
|
@@ -2190,7 +2581,7 @@ This function is O(1).
|
|
2190
2581
|
<p class="since">Since 2.24</p>
|
2191
2582
|
</div>
|
2192
2583
|
<hr>
|
2193
|
-
<div class="refsect2"
|
2584
|
+
<div class="refsect2">
|
2194
2585
|
<a name="g-variant-get-child"></a><h3>g_variant_get_child ()</h3>
|
2195
2586
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_get_child (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2196
2587
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>,
|
@@ -2230,7 +2621,7 @@ essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-
|
|
2230
2621
|
<p class="since">Since 2.24</p>
|
2231
2622
|
</div>
|
2232
2623
|
<hr>
|
2233
|
-
<div class="refsect2"
|
2624
|
+
<div class="refsect2">
|
2234
2625
|
<a name="g-variant-get-fixed-array"></a><h3>g_variant_get_fixed_array ()</h3>
|
2235
2626
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="returnvalue">gconstpointer</span></a> g_variant_get_fixed_array (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2236
2627
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *n_elements</code></em>,
|
@@ -2274,7 +2665,7 @@ items in the array.
|
|
2274
2665
|
</tr>
|
2275
2666
|
<tr>
|
2276
2667
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2277
|
-
<td>a pointer to the fixed array
|
2668
|
+
<td> a pointer to the fixed array. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_elements]</span>
|
2278
2669
|
</td>
|
2279
2670
|
</tr>
|
2280
2671
|
</tbody>
|
@@ -2282,7 +2673,7 @@ items in the array.
|
|
2282
2673
|
<p class="since">Since 2.24</p>
|
2283
2674
|
</div>
|
2284
2675
|
<hr>
|
2285
|
-
<div class="refsect2"
|
2676
|
+
<div class="refsect2">
|
2286
2677
|
<a name="g-variant-get-size"></a><h3>g_variant_get_size ()</h3>
|
2287
2678
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_get_size (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2288
2679
|
<p>
|
@@ -2318,7 +2709,7 @@ involved.
|
|
2318
2709
|
<p class="since">Since 2.24</p>
|
2319
2710
|
</div>
|
2320
2711
|
<hr>
|
2321
|
-
<div class="refsect2"
|
2712
|
+
<div class="refsect2">
|
2322
2713
|
<a name="g-variant-get-data"></a><h3>g_variant_get_data ()</h3>
|
2323
2714
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="returnvalue">gconstpointer</span></a> g_variant_get_data (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2324
2715
|
<p>
|
@@ -2358,7 +2749,7 @@ of the result.
|
|
2358
2749
|
<p class="since">Since 2.24</p>
|
2359
2750
|
</div>
|
2360
2751
|
<hr>
|
2361
|
-
<div class="refsect2"
|
2752
|
+
<div class="refsect2">
|
2362
2753
|
<a name="g-variant-store"></a><h3>g_variant_store ()</h3>
|
2363
2754
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_store (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2364
2755
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
@@ -2392,9 +2783,10 @@ This function is approximately O(n) in the size of <em class="parameter"><code>d
|
|
2392
2783
|
<p class="since">Since 2.24</p>
|
2393
2784
|
</div>
|
2394
2785
|
<hr>
|
2395
|
-
<div class="refsect2"
|
2786
|
+
<div class="refsect2">
|
2396
2787
|
<a name="g-variant-new-from-data"></a><h3>g_variant_new_from_data ()</h3>
|
2397
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2788
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_from_data
|
2789
|
+
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
2398
2790
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
2399
2791
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
2400
2792
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
@@ -2470,9 +2862,9 @@ before this function returns.
|
|
2470
2862
|
<p class="since">Since 2.24</p>
|
2471
2863
|
</div>
|
2472
2864
|
<hr>
|
2473
|
-
<div class="refsect2"
|
2865
|
+
<div class="refsect2">
|
2474
2866
|
<a name="g-variant-byteswap"></a><h3>g_variant_byteswap ()</h3>
|
2475
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2867
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_byteswap (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2476
2868
|
<p>
|
2477
2869
|
Performs a byteswapping operation on the contents of <em class="parameter"><code>value</code></em>. The
|
2478
2870
|
result is that all multi-byte numeric data contained in <em class="parameter"><code>value</code></em> is
|
@@ -2506,9 +2898,10 @@ The returned value is always in normal form and is marked as trusted.
|
|
2506
2898
|
<p class="since">Since 2.24</p>
|
2507
2899
|
</div>
|
2508
2900
|
<hr>
|
2509
|
-
<div class="refsect2"
|
2901
|
+
<div class="refsect2">
|
2510
2902
|
<a name="g-variant-get-normal-form"></a><h3>g_variant_get_normal_form ()</h3>
|
2511
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2903
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_normal_form
|
2904
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2512
2905
|
<p>
|
2513
2906
|
Gets a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance that has the same value as <em class="parameter"><code>value</code></em> and is
|
2514
2907
|
trusted to be in normal form.
|
@@ -2549,7 +2942,7 @@ output is definitely in normal form.
|
|
2549
2942
|
<p class="since">Since 2.24</p>
|
2550
2943
|
</div>
|
2551
2944
|
<hr>
|
2552
|
-
<div class="refsect2"
|
2945
|
+
<div class="refsect2">
|
2553
2946
|
<a name="g-variant-is-normal-form"></a><h3>g_variant_is_normal_form ()</h3>
|
2554
2947
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_is_normal_form (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2555
2948
|
<p>
|
@@ -2585,7 +2978,7 @@ this function will immediately return <a class="link" href="glib-Standard-Macros
|
|
2585
2978
|
<p class="since">Since 2.24</p>
|
2586
2979
|
</div>
|
2587
2980
|
<hr>
|
2588
|
-
<div class="refsect2"
|
2981
|
+
<div class="refsect2">
|
2589
2982
|
<a name="g-variant-hash"></a><h3>g_variant_hash ()</h3>
|
2590
2983
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_variant_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> value</code></em>);</pre>
|
2591
2984
|
<p>
|
@@ -2606,7 +2999,7 @@ function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
2606
2999
|
<tbody>
|
2607
3000
|
<tr>
|
2608
3001
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2609
|
-
<td>a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> value as a <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a>
|
3002
|
+
<td> a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> value as a <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a>. <span class="annotation">[type GVariant]</span>
|
2610
3003
|
</td>
|
2611
3004
|
</tr>
|
2612
3005
|
<tr>
|
@@ -2619,7 +3012,7 @@ function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
2619
3012
|
<p class="since">Since 2.24</p>
|
2620
3013
|
</div>
|
2621
3014
|
<hr>
|
2622
|
-
<div class="refsect2"
|
3015
|
+
<div class="refsect2">
|
2623
3016
|
<a name="g-variant-equal"></a><h3>g_variant_equal ()</h3>
|
2624
3017
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> one</code></em>,
|
2625
3018
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);</pre>
|
@@ -2635,12 +3028,12 @@ this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title
|
|
2635
3028
|
<tbody>
|
2636
3029
|
<tr>
|
2637
3030
|
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
2638
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
3031
|
+
<td> a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[type GVariant]</span>
|
2639
3032
|
</td>
|
2640
3033
|
</tr>
|
2641
3034
|
<tr>
|
2642
3035
|
<td><p><span class="term"><em class="parameter"><code>two</code></em> :</span></p></td>
|
2643
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
3036
|
+
<td> a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[type GVariant]</span>
|
2644
3037
|
</td>
|
2645
3038
|
</tr>
|
2646
3039
|
<tr>
|
@@ -2654,9 +3047,9 @@ this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title
|
|
2654
3047
|
<p class="since">Since 2.24</p>
|
2655
3048
|
</div>
|
2656
3049
|
<hr>
|
2657
|
-
<div class="refsect2"
|
3050
|
+
<div class="refsect2">
|
2658
3051
|
<a name="g-variant-print"></a><h3>g_variant_print ()</h3>
|
2659
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
3052
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_print (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2660
3053
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);</pre>
|
2661
3054
|
<p>
|
2662
3055
|
Pretty-prints <em class="parameter"><code>value</code></em> in the format understood by <a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()"><code class="function">g_variant_parse()</code></a>.
|
@@ -2689,9 +3082,9 @@ the output.
|
|
2689
3082
|
</table></div>
|
2690
3083
|
</div>
|
2691
3084
|
<hr>
|
2692
|
-
<div class="refsect2"
|
3085
|
+
<div class="refsect2">
|
2693
3086
|
<a name="g-variant-print-string"></a><h3>g_variant_print_string ()</h3>
|
2694
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> *
|
3087
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * g_variant_print_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2695
3088
|
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>,
|
2696
3089
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);</pre>
|
2697
3090
|
<p>
|
@@ -2711,7 +3104,7 @@ a new empty <a class="link" href="glib-Strings.html#GString" title="GString"><sp
|
|
2711
3104
|
</tr>
|
2712
3105
|
<tr>
|
2713
3106
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2714
|
-
<td>a <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
3107
|
+
<td> a <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Default parameter value (for in case the shadows-to function has less parameters)."><span class="acronym">default</span></acronym> NULL]</span>
|
2715
3108
|
</td>
|
2716
3109
|
</tr>
|
2717
3110
|
<tr>
|
@@ -2731,7 +3124,7 @@ a new empty <a class="link" href="glib-Strings.html#GString" title="GString"><sp
|
|
2731
3124
|
<p class="since">Since 2.24</p>
|
2732
3125
|
</div>
|
2733
3126
|
<hr>
|
2734
|
-
<div class="refsect2"
|
3127
|
+
<div class="refsect2">
|
2735
3128
|
<a name="GVariantIter"></a><h3>GVariantIter</h3>
|
2736
3129
|
<pre class="programlisting">typedef struct {
|
2737
3130
|
} GVariantIter;
|
@@ -2742,9 +3135,9 @@ using the following functions.
|
|
2742
3135
|
</p>
|
2743
3136
|
</div>
|
2744
3137
|
<hr>
|
2745
|
-
<div class="refsect2"
|
3138
|
+
<div class="refsect2">
|
2746
3139
|
<a name="g-variant-iter-copy"></a><h3>g_variant_iter_copy ()</h3>
|
2747
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
3140
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> * g_variant_iter_copy (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
2748
3141
|
<p>
|
2749
3142
|
Creates a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> to iterate over the
|
2750
3143
|
container that was being iterated over by <em class="parameter"><code>iter</code></em>. Iteration begins on
|
@@ -2777,7 +3170,7 @@ and will be releated only when <a class="link" href="glib-GVariant.html#g-varian
|
|
2777
3170
|
<p class="since">Since 2.24</p>
|
2778
3171
|
</div>
|
2779
3172
|
<hr>
|
2780
|
-
<div class="refsect2"
|
3173
|
+
<div class="refsect2">
|
2781
3174
|
<a name="g-variant-iter-free"></a><h3>g_variant_iter_free ()</h3>
|
2782
3175
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_iter_free (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
2783
3176
|
<p>
|
@@ -2796,7 +3189,7 @@ iterators that were returned by <a class="link" href="glib-GVariant.html#g-varia
|
|
2796
3189
|
<p class="since">Since 2.24</p>
|
2797
3190
|
</div>
|
2798
3191
|
<hr>
|
2799
|
-
<div class="refsect2"
|
3192
|
+
<div class="refsect2">
|
2800
3193
|
<a name="g-variant-iter-init"></a><h3>g_variant_iter_init ()</h3>
|
2801
3194
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_iter_init (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
2802
3195
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
@@ -2832,7 +3225,7 @@ be freed in any way.
|
|
2832
3225
|
<p class="since">Since 2.24</p>
|
2833
3226
|
</div>
|
2834
3227
|
<hr>
|
2835
|
-
<div class="refsect2"
|
3228
|
+
<div class="refsect2">
|
2836
3229
|
<a name="g-variant-iter-n-children"></a><h3>g_variant_iter_n_children ()</h3>
|
2837
3230
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_iter_n_children (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
2838
3231
|
<p>
|
@@ -2861,9 +3254,9 @@ This function might be useful for preallocation of arrays.
|
|
2861
3254
|
<p class="since">Since 2.24</p>
|
2862
3255
|
</div>
|
2863
3256
|
<hr>
|
2864
|
-
<div class="refsect2"
|
3257
|
+
<div class="refsect2">
|
2865
3258
|
<a name="g-variant-iter-new"></a><h3>g_variant_iter_new ()</h3>
|
2866
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
3259
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> * g_variant_iter_new (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2867
3260
|
<p>
|
2868
3261
|
Creates a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> for iterating over the items
|
2869
3262
|
in <em class="parameter"><code>value</code></em>.
|
@@ -2894,9 +3287,10 @@ A reference is taken to <em class="parameter"><code>value</code></em> and will b
|
|
2894
3287
|
<p class="since">Since 2.24</p>
|
2895
3288
|
</div>
|
2896
3289
|
<hr>
|
2897
|
-
<div class="refsect2"
|
3290
|
+
<div class="refsect2">
|
2898
3291
|
<a name="g-variant-iter-next-value"></a><h3>g_variant_iter_next_value ()</h3>
|
2899
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3292
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_iter_next_value
|
3293
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
2900
3294
|
<p>
|
2901
3295
|
Gets the next item in the container. If no more items remain then
|
2902
3296
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
|
@@ -2908,7 +3302,7 @@ you no longer need it.
|
|
2908
3302
|
<p>
|
2909
3303
|
</p>
|
2910
3304
|
<div class="example">
|
2911
|
-
<a name="
|
3305
|
+
<a name="id975500"></a><p class="title"><b>Example 23. Iterating with <a class="link" href="glib-GVariant.html#g-variant-iter-next-value" title="g_variant_iter_next_value ()"><code class="function">g_variant_iter_next_value()</code></a></b></p>
|
2912
3306
|
<div class="example-contents">
|
2913
3307
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2914
3308
|
<tbody>
|
@@ -2967,7 +3361,7 @@ you no longer need it.
|
|
2967
3361
|
</tr>
|
2968
3362
|
<tr>
|
2969
3363
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2970
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
3364
|
+
<td> a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2971
3365
|
</td>
|
2972
3366
|
</tr>
|
2973
3367
|
</tbody>
|
@@ -2975,7 +3369,7 @@ you no longer need it.
|
|
2975
3369
|
<p class="since">Since 2.24</p>
|
2976
3370
|
</div>
|
2977
3371
|
<hr>
|
2978
|
-
<div class="refsect2"
|
3372
|
+
<div class="refsect2">
|
2979
3373
|
<a name="g-variant-iter-next"></a><h3>g_variant_iter_next ()</h3>
|
2980
3374
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_iter_next (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
2981
3375
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -2994,9 +3388,13 @@ responsibility of the caller to free all of the values returned by
|
|
2994
3388
|
the unpacking process.
|
2995
3389
|
</p>
|
2996
3390
|
<p>
|
3391
|
+
See the section on <GTKDOCLINK HREF="gvariant-format-strings">GVariant
|
3392
|
+
Format Strings</GTKDOCLINK>.
|
3393
|
+
</p>
|
3394
|
+
<p>
|
2997
3395
|
</p>
|
2998
3396
|
<div class="example">
|
2999
|
-
<a name="
|
3397
|
+
<a name="id975735"></a><p class="title"><b>Example 24. Memory management with <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()"><code class="function">g_variant_iter_next()</code></a></b></p>
|
3000
3398
|
<div class="example-contents">
|
3001
3399
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3002
3400
|
<tbody>
|
@@ -3081,7 +3479,7 @@ when dealing with loops, see <a class="link" href="glib-GVariant.html#g-variant-
|
|
3081
3479
|
<p class="since">Since 2.24</p>
|
3082
3480
|
</div>
|
3083
3481
|
<hr>
|
3084
|
-
<div class="refsect2"
|
3482
|
+
<div class="refsect2">
|
3085
3483
|
<a name="g-variant-iter-loop"></a><h3>g_variant_iter_loop ()</h3>
|
3086
3484
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_iter_loop (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
3087
3485
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -3111,9 +3509,13 @@ function and <a class="link" href="glib-GVariant.html#g-variant-iter-next" title
|
|
3111
3509
|
the same iterator is not recommended.
|
3112
3510
|
</p>
|
3113
3511
|
<p>
|
3512
|
+
See the section on <GTKDOCLINK HREF="gvariant-format-strings">GVariant
|
3513
|
+
Format Strings</GTKDOCLINK>.
|
3514
|
+
</p>
|
3515
|
+
<p>
|
3114
3516
|
</p>
|
3115
3517
|
<div class="example">
|
3116
|
-
<a name="
|
3518
|
+
<a name="id976043"></a><p class="title"><b>Example 25. Memory management with <a class="link" href="glib-GVariant.html#g-variant-iter-loop" title="g_variant_iter_loop ()"><code class="function">g_variant_iter_loop()</code></a></b></p>
|
3117
3519
|
<div class="example-contents">
|
3118
3520
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3119
3521
|
<tbody>
|
@@ -3194,7 +3596,7 @@ typing, see <a class="link" href="glib-GVariant.html#g-variant-iter-next" title=
|
|
3194
3596
|
<p class="since">Since 2.24</p>
|
3195
3597
|
</div>
|
3196
3598
|
<hr>
|
3197
|
-
<div class="refsect2"
|
3599
|
+
<div class="refsect2">
|
3198
3600
|
<a name="GVariantBuilder"></a><h3>GVariantBuilder</h3>
|
3199
3601
|
<pre class="programlisting">typedef struct {
|
3200
3602
|
} GVariantBuilder;
|
@@ -3212,7 +3614,7 @@ access it from more than one thread.
|
|
3212
3614
|
</p>
|
3213
3615
|
</div>
|
3214
3616
|
<hr>
|
3215
|
-
<div class="refsect2"
|
3617
|
+
<div class="refsect2">
|
3216
3618
|
<a name="g-variant-builder-unref"></a><h3>g_variant_builder_unref ()</h3>
|
3217
3619
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_unref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3218
3620
|
<p>
|
@@ -3237,9 +3639,9 @@ things will happen.
|
|
3237
3639
|
<p class="since">Since 2.24</p>
|
3238
3640
|
</div>
|
3239
3641
|
<hr>
|
3240
|
-
<div class="refsect2"
|
3642
|
+
<div class="refsect2">
|
3241
3643
|
<a name="g-variant-builder-ref"></a><h3>g_variant_builder_ref ()</h3>
|
3242
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
3644
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * g_variant_builder_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3243
3645
|
<p>
|
3244
3646
|
Increases the reference count on <em class="parameter"><code>builder</code></em>.
|
3245
3647
|
</p>
|
@@ -3265,9 +3667,9 @@ things will happen.
|
|
3265
3667
|
<p class="since">Since 2.24</p>
|
3266
3668
|
</div>
|
3267
3669
|
<hr>
|
3268
|
-
<div class="refsect2"
|
3670
|
+
<div class="refsect2">
|
3269
3671
|
<a name="g-variant-builder-new"></a><h3>g_variant_builder_new ()</h3>
|
3270
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
3672
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * g_variant_builder_new (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
3271
3673
|
<p>
|
3272
3674
|
Allocates and initialises a new <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3273
3675
|
</p>
|
@@ -3299,7 +3701,7 @@ the stack of the calling function and initialise it with
|
|
3299
3701
|
<p class="since">Since 2.24</p>
|
3300
3702
|
</div>
|
3301
3703
|
<hr>
|
3302
|
-
<div class="refsect2"
|
3704
|
+
<div class="refsect2">
|
3303
3705
|
<a name="g-variant-builder-init"></a><h3>g_variant_builder_init ()</h3>
|
3304
3706
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_init (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3305
3707
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
@@ -3357,7 +3759,7 @@ this function.
|
|
3357
3759
|
<p class="since">Since 2.24</p>
|
3358
3760
|
</div>
|
3359
3761
|
<hr>
|
3360
|
-
<div class="refsect2"
|
3762
|
+
<div class="refsect2">
|
3361
3763
|
<a name="g-variant-builder-clear"></a><h3>g_variant_builder_clear ()</h3>
|
3362
3764
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_clear (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3363
3765
|
<p>
|
@@ -3389,7 +3791,7 @@ to call this function on uninitialised memory.
|
|
3389
3791
|
<p class="since">Since 2.24</p>
|
3390
3792
|
</div>
|
3391
3793
|
<hr>
|
3392
|
-
<div class="refsect2"
|
3794
|
+
<div class="refsect2">
|
3393
3795
|
<a name="g-variant-builder-add-value"></a><h3>g_variant_builder_add_value ()</h3>
|
3394
3796
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_add_value (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3395
3797
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
@@ -3421,7 +3823,7 @@ a variant, etc.
|
|
3421
3823
|
<p class="since">Since 2.24</p>
|
3422
3824
|
</div>
|
3423
3825
|
<hr>
|
3424
|
-
<div class="refsect2"
|
3826
|
+
<div class="refsect2">
|
3425
3827
|
<a name="g-variant-builder-add"></a><h3>g_variant_builder_add ()</h3>
|
3426
3828
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_add (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3427
3829
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -3445,8 +3847,7 @@ make_pointless_dictionary (void)
|
|
3445
3847
|
GVariantBuilder *builder;
|
3446
3848
|
int i;
|
3447
3849
|
|
3448
|
-
builder = g_variant_builder_new (
|
3449
|
-
NULL);
|
3850
|
+
builder = g_variant_builder_new (G_VARIANT_TYPE_ARRAY);
|
3450
3851
|
for (i = 0; i < 16; i++)
|
3451
3852
|
{
|
3452
3853
|
gchar buf[3];
|
@@ -3483,9 +3884,66 @@ make_pointless_dictionary (void)
|
|
3483
3884
|
<p class="since">Since 2.24</p>
|
3484
3885
|
</div>
|
3485
3886
|
<hr>
|
3486
|
-
<div class="refsect2"
|
3887
|
+
<div class="refsect2">
|
3888
|
+
<a name="g-variant-builder-add-parsed"></a><h3>g_variant_builder_add_parsed ()</h3>
|
3889
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_add_parsed (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3890
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
3891
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
3892
|
+
<p>
|
3893
|
+
Adds to a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3894
|
+
</p>
|
3895
|
+
<p>
|
3896
|
+
This call is a convenience wrapper that is exactly equivalent to
|
3897
|
+
calling <a class="link" href="glib-GVariant.html#g-variant-new-parsed" title="g_variant_new_parsed ()"><code class="function">g_variant_new_parsed()</code></a> followed by
|
3898
|
+
<a class="link" href="glib-GVariant.html#g-variant-builder-add-value" title="g_variant_builder_add_value ()"><code class="function">g_variant_builder_add_value()</code></a>.
|
3899
|
+
</p>
|
3900
|
+
<p>
|
3901
|
+
This function might be used as follows:
|
3902
|
+
</p>
|
3903
|
+
<p>
|
3904
|
+
</p>
|
3905
|
+
<pre class="programlisting">
|
3906
|
+
GVariant *
|
3907
|
+
make_pointless_dictionary (void)
|
3908
|
+
{
|
3909
|
+
GVariantBuilder *builder;
|
3910
|
+
int i;
|
3911
|
+
|
3912
|
+
builder = g_variant_builder_new (G_VARIANT_TYPE_ARRAY);
|
3913
|
+
g_variant_builder_add_parsed (builder, "{'width', <%i>}", 600);
|
3914
|
+
g_variant_builder_add_parsed (builder, "{'title', <%s>}", "foo");
|
3915
|
+
g_variant_builder_add_parsed (builder, "{'transparency', <0.5>}");
|
3916
|
+
return g_variant_builder_end (builder);
|
3917
|
+
}
|
3918
|
+
</pre>
|
3919
|
+
<p>
|
3920
|
+
</p>
|
3921
|
+
<div class="variablelist"><table border="0">
|
3922
|
+
<col align="left" valign="top">
|
3923
|
+
<tbody>
|
3924
|
+
<tr>
|
3925
|
+
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3926
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3927
|
+
</td>
|
3928
|
+
</tr>
|
3929
|
+
<tr>
|
3930
|
+
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
3931
|
+
<td>a text format <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
3932
|
+
</td>
|
3933
|
+
</tr>
|
3934
|
+
<tr>
|
3935
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
3936
|
+
<td>arguments as per <em class="parameter"><code>format</code></em>
|
3937
|
+
</td>
|
3938
|
+
</tr>
|
3939
|
+
</tbody>
|
3940
|
+
</table></div>
|
3941
|
+
<p class="since">Since 2.26</p>
|
3942
|
+
</div>
|
3943
|
+
<hr>
|
3944
|
+
<div class="refsect2">
|
3487
3945
|
<a name="g-variant-builder-end"></a><h3>g_variant_builder_end ()</h3>
|
3488
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3946
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_builder_end (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3489
3947
|
<p>
|
3490
3948
|
Ends the builder process and returns the constructed value.
|
3491
3949
|
</p>
|
@@ -3514,7 +3972,7 @@ the empty array.
|
|
3514
3972
|
</tr>
|
3515
3973
|
<tr>
|
3516
3974
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3517
|
-
<td>a new, floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
3975
|
+
<td> a new, floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
3518
3976
|
</td>
|
3519
3977
|
</tr>
|
3520
3978
|
</tbody>
|
@@ -3522,7 +3980,7 @@ the empty array.
|
|
3522
3980
|
<p class="since">Since 2.24</p>
|
3523
3981
|
</div>
|
3524
3982
|
<hr>
|
3525
|
-
<div class="refsect2"
|
3983
|
+
<div class="refsect2">
|
3526
3984
|
<a name="g-variant-builder-open"></a><h3>g_variant_builder_open ()</h3>
|
3527
3985
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_open (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3528
3986
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
@@ -3553,7 +4011,7 @@ a value of an incorrect type).
|
|
3553
4011
|
<p class="since">Since 2.24</p>
|
3554
4012
|
</div>
|
3555
4013
|
<hr>
|
3556
|
-
<div class="refsect2"
|
4014
|
+
<div class="refsect2">
|
3557
4015
|
<a name="g-variant-builder-close"></a><h3>g_variant_builder_close ()</h3>
|
3558
4016
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_builder_close (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3559
4017
|
<p>
|
@@ -3576,7 +4034,28 @@ subcontainer).
|
|
3576
4034
|
<p class="since">Since 2.24</p>
|
3577
4035
|
</div>
|
3578
4036
|
<hr>
|
3579
|
-
<div class="refsect2"
|
4037
|
+
<div class="refsect2">
|
4038
|
+
<a name="GVariantParseError"></a><h3>enum GVariantParseError</h3>
|
4039
|
+
<pre class="programlisting">typedef enum
|
4040
|
+
{
|
4041
|
+
G_VARIANT_PARSE_ERROR_FAILED
|
4042
|
+
} GVariantParseError;
|
4043
|
+
</pre>
|
4044
|
+
<p>
|
4045
|
+
Error codes returned by parsing text-format GVariants. Currently the
|
4046
|
+
parser makes no distinction between different types of error.
|
4047
|
+
</p>
|
4048
|
+
<div class="variablelist"><table border="0">
|
4049
|
+
<col align="left" valign="top">
|
4050
|
+
<tbody><tr>
|
4051
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_FAILED</code></span></p></td>
|
4052
|
+
<td>generic error
|
4053
|
+
</td>
|
4054
|
+
</tr></tbody>
|
4055
|
+
</table></div>
|
4056
|
+
</div>
|
4057
|
+
<hr>
|
4058
|
+
<div class="refsect2">
|
3580
4059
|
<a name="G-VARIANT-PARSE-ERROR:CAPS"></a><h3>G_VARIANT_PARSE_ERROR</h3>
|
3581
4060
|
<pre class="programlisting">#define G_VARIANT_PARSE_ERROR (g_variant_parser_get_error_quark ())
|
3582
4061
|
</pre>
|
@@ -3587,9 +4066,9 @@ information on error domains.
|
|
3587
4066
|
</p>
|
3588
4067
|
</div>
|
3589
4068
|
<hr>
|
3590
|
-
<div class="refsect2"
|
4069
|
+
<div class="refsect2">
|
3591
4070
|
<a name="g-variant-parse"></a><h3>g_variant_parse ()</h3>
|
3592
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4071
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_parse (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
3593
4072
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
3594
4073
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
3595
4074
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -3668,9 +4147,10 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
3668
4147
|
</table></div>
|
3669
4148
|
</div>
|
3670
4149
|
<hr>
|
3671
|
-
<div class="refsect2"
|
4150
|
+
<div class="refsect2">
|
3672
4151
|
<a name="g-variant-new-parsed-va"></a><h3>g_variant_new_parsed_va ()</h3>
|
3673
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4152
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_parsed_va
|
4153
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
3674
4154
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
3675
4155
|
<p>
|
3676
4156
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
@@ -3716,15 +4196,15 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
3716
4196
|
</table></div>
|
3717
4197
|
</div>
|
3718
4198
|
<hr>
|
3719
|
-
<div class="refsect2"
|
4199
|
+
<div class="refsect2">
|
3720
4200
|
<a name="g-variant-new-parsed"></a><h3>g_variant_new_parsed ()</h3>
|
3721
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4201
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_parsed (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
3722
4202
|
<em class="parameter"><code>...</code></em>);</pre>
|
3723
4203
|
<p>
|
3724
4204
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
3725
4205
|
</p>
|
3726
4206
|
<p>
|
3727
|
-
<em class="parameter"><code>format</code></em> must be a text format <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with one
|
4207
|
+
<em class="parameter"><code>format</code></em> must be a text format <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with one extension: at any
|
3728
4208
|
point that a value may appear in the text, a '%' character followed
|
3729
4209
|
by a GVariant format string (as per <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a>) may appear. In
|
3730
4210
|
that case, the same arguments are collected from the argument list as
|
@@ -3786,13 +4266,13 @@ with "%@".
|
|
3786
4266
|
</table></div>
|
3787
4267
|
</div>
|
3788
4268
|
</div>
|
3789
|
-
<div class="refsect1"
|
4269
|
+
<div class="refsect1">
|
3790
4270
|
<a name="glib-GVariant.see-also"></a><h2>See Also</h2>
|
3791
4271
|
GVariantType
|
3792
4272
|
</div>
|
3793
4273
|
</div>
|
3794
4274
|
<div class="footer">
|
3795
4275
|
<hr>
|
3796
|
-
Generated by GTK-Doc V1.
|
4276
|
+
Generated by GTK-Doc V1.15.1</div>
|
3797
4277
|
</body>
|
3798
4278
|
</html>
|