glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- 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/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/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -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/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/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- 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 +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- 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 -3
- 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 +4 -4
- 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 +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- 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 +6 -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 +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- 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 +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- 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 +65 -53
- 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 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- 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 +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- 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 +7 -7
- 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 +10 -10
- 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 +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- 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 +6 -6
- 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/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/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/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/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/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/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/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/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/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/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/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 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -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.16.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,18 +35,19 @@
|
|
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> *
|
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
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> *
|
49
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
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>);
|
50
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>,
|
51
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>);
|
52
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>);
|
@@ -63,32 +64,36 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
63
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>,
|
64
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>,
|
65
66
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
66
|
-
<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>,
|
67
68
|
<em class="parameter"><code>...</code></em>);
|
68
|
-
<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>,
|
69
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>,
|
70
71
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
71
72
|
|
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> *
|
81
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
82
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
83
|
-
<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> value</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> value</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> value</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> value</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> value</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> value</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> value</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> value</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> value</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> value</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>);
|
84
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>);
|
85
|
-
<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>);
|
86
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>);
|
87
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
88
|
-
<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>,
|
89
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>);
|
90
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
91
|
-
|
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>,
|
92
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>);
|
93
98
|
|
94
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>);
|
@@ -101,41 +106,54 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
101
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>);
|
102
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>);
|
103
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>);
|
104
|
-
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>,
|
105
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>);
|
106
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
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>,
|
107
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>);
|
108
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
109
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
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>,
|
110
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>);
|
111
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
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>,
|
112
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>);
|
113
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
114
|
-
|
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>,
|
115
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>);
|
116
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
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>,
|
117
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>);
|
118
|
-
<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>,
|
119
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>);
|
120
129
|
|
121
|
-
<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>,
|
122
131
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);
|
123
|
-
<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>,
|
124
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>,
|
125
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>);
|
126
|
-
<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>,
|
127
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>);
|
128
|
-
<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>,
|
129
139
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
130
140
|
|
131
|
-
<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>);
|
132
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>);
|
133
|
-
<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>,
|
134
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>);
|
135
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>,
|
136
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>,
|
137
148
|
<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>,
|
138
149
|
<em class="parameter"><code>...</code></em>);
|
150
|
+
<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-lookup-value" title="g_variant_lookup_value ()">g_variant_lookup_value</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
151
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
152
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *expected_type</code></em>);
|
153
|
+
<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-lookup" title="g_variant_lookup ()">g_variant_lookup</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
154
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
155
|
+
<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>,
|
156
|
+
<em class="parameter"><code>...</code></em>);
|
139
157
|
<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-fixed-array" title="g_variant_get_fixed_array ()">g_variant_get_fixed_array</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
140
158
|
<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>,
|
141
159
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> element_size</code></em>);
|
@@ -144,75 +162,79 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
144
162
|
<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>);
|
145
163
|
<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>,
|
146
164
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
147
|
-
<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-new-from-data" title="g_variant_new_from_data ()">g_variant_new_from_data</a>
|
166
|
+
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
148
167
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
149
168
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
150
169
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
151
170
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>,
|
152
171
|
<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>);
|
153
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
154
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
172
|
+
<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>);
|
173
|
+
<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>
|
174
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
155
175
|
<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>);
|
156
176
|
|
157
177
|
<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>);
|
158
178
|
<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>,
|
159
179
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);
|
160
180
|
|
161
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
181
|
+
<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>,
|
162
182
|
<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>);
|
163
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> *
|
164
|
-
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>,
|
183
|
+
<a class="link" href="glib-Strings.html#GString" title="struct 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>,
|
184
|
+
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>,
|
165
185
|
<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>);
|
166
186
|
|
167
|
-
|
168
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
169
|
-
<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>);
|
170
|
-
<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>,
|
187
|
+
struct <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter">GVariantIter</a>;
|
188
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct 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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
189
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
190
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
171
191
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
172
|
-
<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>);
|
173
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
174
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
175
|
-
|
192
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
193
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct 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>);
|
194
|
+
<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>
|
195
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
196
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
176
197
|
<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>,
|
177
198
|
<em class="parameter"><code>...</code></em>);
|
178
|
-
<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-loop" title="g_variant_iter_loop ()">g_variant_iter_loop</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
199
|
+
<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-loop" title="g_variant_iter_loop ()">g_variant_iter_loop</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
179
200
|
<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
201
|
<em class="parameter"><code>...</code></em>);
|
181
202
|
|
182
|
-
|
183
|
-
<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>);
|
184
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
185
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
186
|
-
<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>,
|
203
|
+
struct <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder">GVariantBuilder</a>;
|
204
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
205
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct 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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
206
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct 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>);
|
207
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
187
208
|
<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
|
-
<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>);
|
189
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-add-value" title="g_variant_builder_add_value ()">g_variant_builder_add_value</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
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
210
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-add-value" title="g_variant_builder_add_value ()">g_variant_builder_add_value</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
190
211
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
191
|
-
<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>,
|
212
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
192
213
|
<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>,
|
193
214
|
<em class="parameter"><code>...</code></em>);
|
194
|
-
<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>,
|
215
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
195
216
|
<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>,
|
196
217
|
<em class="parameter"><code>...</code></em>);
|
197
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
198
|
-
<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>,
|
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-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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
219
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
199
220
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
200
|
-
<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>);
|
221
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
201
222
|
|
202
223
|
enum <a class="link" href="glib-GVariant.html#GVariantParseError" title="enum GVariantParseError">GVariantParseError</a>;
|
203
224
|
#define <a class="link" href="glib-GVariant.html#G-VARIANT-PARSE-ERROR:CAPS" title="G_VARIANT_PARSE_ERROR">G_VARIANT_PARSE_ERROR</a>
|
204
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
225
|
+
<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>,
|
205
226
|
<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>,
|
206
227
|
<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>,
|
207
228
|
<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>,
|
208
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
209
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
229
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
230
|
+
<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>
|
231
|
+
(<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
232
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
211
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
233
|
+
<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>,
|
212
234
|
<em class="parameter"><code>...</code></em>);
|
213
235
|
</pre>
|
214
236
|
</div>
|
215
|
-
<div class="refsect1"
|
237
|
+
<div class="refsect1">
|
216
238
|
<a name="glib-GVariant.description"></a><h2>Description</h2>
|
217
239
|
<p>
|
218
240
|
<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
|
@@ -258,8 +280,10 @@ There is a Python-inspired text language for describing <a class="link" href="gl
|
|
258
280
|
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
|
259
281
|
with type inferencing.
|
260
282
|
</p>
|
261
|
-
<
|
262
|
-
|
283
|
+
<p>
|
284
|
+
</p>
|
285
|
+
<div class="refsect2">
|
286
|
+
<a name="id840180"></a><h3>Memory Use</h3>
|
263
287
|
<p>
|
264
288
|
<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.
|
265
289
|
This section gives a rough idea of how much memory is used by the
|
@@ -272,8 +296,8 @@ with type inferencing.
|
|
272
296
|
information cache, buffer management memory and memory for the
|
273
297
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure itself.
|
274
298
|
</p>
|
275
|
-
<div class="refsect3"
|
276
|
-
<a name="
|
299
|
+
<div class="refsect3">
|
300
|
+
<a name="id840214"></a><h4>Serialised Data Memory</h4>
|
277
301
|
<p>
|
278
302
|
This is the memory that is used for storing GVariant data in
|
279
303
|
serialised form. This is what would be sent over the network or
|
@@ -340,8 +364,8 @@ with type inferencing.
|
|
340
364
|
+ 2 = 29 bytes to encode the entire two-item dictionary.
|
341
365
|
</p>
|
342
366
|
</div>
|
343
|
-
<div class="refsect3"
|
344
|
-
<a name="
|
367
|
+
<div class="refsect3">
|
368
|
+
<a name="id840278"></a><h4>Type Information Cache</h4>
|
345
369
|
<p>
|
346
370
|
For each GVariant type that currently exists in the program a type
|
347
371
|
information structure is kept in the type information cache. The
|
@@ -395,8 +419,8 @@ with type inferencing.
|
|
395
419
|
structure is required for many different values of the same type.
|
396
420
|
</p>
|
397
421
|
</div>
|
398
|
-
<div class="refsect3"
|
399
|
-
<a name="
|
422
|
+
<div class="refsect3">
|
423
|
+
<a name="id840348"></a><h4>Buffer Management Memory</h4>
|
400
424
|
<p>
|
401
425
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses an internal buffer management structure to deal
|
402
426
|
with the various different possible sources of serialised data
|
@@ -411,8 +435,8 @@ with type inferencing.
|
|
411
435
|
* (void *). On 32bit systems, that's 16 bytes.
|
412
436
|
</p>
|
413
437
|
</div>
|
414
|
-
<div class="refsect3"
|
415
|
-
<a name="
|
438
|
+
<div class="refsect3">
|
439
|
+
<a name="id840402"></a><h4>GVariant structure</h4>
|
416
440
|
<p>
|
417
441
|
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
|
418
442
|
systems, that's 24 bytes.
|
@@ -436,8 +460,8 @@ with type inferencing.
|
|
436
460
|
child.
|
437
461
|
</p>
|
438
462
|
</div>
|
439
|
-
<div class="refsect3"
|
440
|
-
<a name="
|
463
|
+
<div class="refsect3">
|
464
|
+
<a name="id840463"></a><h4>Summary</h4>
|
441
465
|
<p>
|
442
466
|
To put the entire example together, for our dictionary mapping
|
443
467
|
strings to variants (with two entries, as given above), we are
|
@@ -453,10 +477,12 @@ with type inferencing.
|
|
453
477
|
</p>
|
454
478
|
</div>
|
455
479
|
</div>
|
480
|
+
<p>
|
481
|
+
</p>
|
456
482
|
</div>
|
457
|
-
<div class="refsect1"
|
483
|
+
<div class="refsect1">
|
458
484
|
<a name="glib-GVariant.details"></a><h2>Details</h2>
|
459
|
-
<div class="refsect2"
|
485
|
+
<div class="refsect2">
|
460
486
|
<a name="GVariant"></a><h3>GVariant</h3>
|
461
487
|
<pre class="programlisting">typedef struct _GVariant GVariant;</pre>
|
462
488
|
<p>
|
@@ -466,7 +492,7 @@ using the following functions.
|
|
466
492
|
<p class="since">Since 2.24</p>
|
467
493
|
</div>
|
468
494
|
<hr>
|
469
|
-
<div class="refsect2"
|
495
|
+
<div class="refsect2">
|
470
496
|
<a name="g-variant-unref"></a><h3>g_variant_unref ()</h3>
|
471
497
|
<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>
|
472
498
|
<p>
|
@@ -484,9 +510,9 @@ drops to 0, the memory used by the variant is freed.
|
|
484
510
|
<p class="since">Since 2.24</p>
|
485
511
|
</div>
|
486
512
|
<hr>
|
487
|
-
<div class="refsect2"
|
513
|
+
<div class="refsect2">
|
488
514
|
<a name="g-variant-ref"></a><h3>g_variant_ref ()</h3>
|
489
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
515
|
+
<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>
|
490
516
|
<p>
|
491
517
|
Increases the reference count of <em class="parameter"><code>value</code></em>.
|
492
518
|
</p>
|
@@ -508,9 +534,9 @@ Increases the reference count of <em class="parameter"><code>value</code></em>.
|
|
508
534
|
<p class="since">Since 2.24</p>
|
509
535
|
</div>
|
510
536
|
<hr>
|
511
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
512
538
|
<a name="g-variant-ref-sink"></a><h3>g_variant_ref_sink ()</h3>
|
513
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
539
|
+
<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>
|
514
540
|
<p>
|
515
541
|
<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
|
516
542
|
names starting with <code class="literal">g_variant_new_</code> return floating
|
@@ -556,7 +582,7 @@ are not floating.
|
|
556
582
|
<p class="since">Since 2.24</p>
|
557
583
|
</div>
|
558
584
|
<hr>
|
559
|
-
<div class="refsect2"
|
585
|
+
<div class="refsect2">
|
560
586
|
<a name="g-variant-is-floating"></a><h3>g_variant_is_floating ()</h3>
|
561
587
|
<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>
|
562
588
|
<p>
|
@@ -581,17 +607,16 @@ counts.
|
|
581
607
|
</tr>
|
582
608
|
<tr>
|
583
609
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
584
|
-
<td>whether <em class="parameter"><code>value</code></em> is floating
|
585
|
-
</td>
|
610
|
+
<td>whether <em class="parameter"><code>value</code></em> is floating</td>
|
586
611
|
</tr>
|
587
612
|
</tbody>
|
588
613
|
</table></div>
|
589
614
|
<p class="since">Since 2.26</p>
|
590
615
|
</div>
|
591
616
|
<hr>
|
592
|
-
<div class="refsect2"
|
617
|
+
<div class="refsect2">
|
593
618
|
<a name="g-variant-get-type"></a><h3>g_variant_get_type ()</h3>
|
594
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> *
|
619
|
+
<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>
|
595
620
|
<p>
|
596
621
|
Determines the type of <em class="parameter"><code>value</code></em>.
|
597
622
|
</p>
|
@@ -617,9 +642,10 @@ be freed.
|
|
617
642
|
<p class="since">Since 2.24</p>
|
618
643
|
</div>
|
619
644
|
<hr>
|
620
|
-
<div class="refsect2"
|
645
|
+
<div class="refsect2">
|
621
646
|
<a name="g-variant-get-type-string"></a><h3>g_variant_get_type_string ()</h3>
|
622
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
647
|
+
<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
|
648
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
623
649
|
<p>
|
624
650
|
Returns the type string of <em class="parameter"><code>value</code></em>. Unlike the result of calling
|
625
651
|
<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
|
@@ -643,7 +669,7 @@ string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVar
|
|
643
669
|
<p class="since">Since 2.24</p>
|
644
670
|
</div>
|
645
671
|
<hr>
|
646
|
-
<div class="refsect2"
|
672
|
+
<div class="refsect2">
|
647
673
|
<a name="g-variant-is-of-type"></a><h3>g_variant_is_of_type ()</h3>
|
648
674
|
<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>,
|
649
675
|
<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>
|
@@ -655,8 +681,7 @@ Checks if a value has a type matching the provided type.
|
|
655
681
|
<tbody>
|
656
682
|
<tr>
|
657
683
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
658
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
659
|
-
</td>
|
684
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
660
685
|
</tr>
|
661
686
|
<tr>
|
662
687
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
@@ -674,7 +699,7 @@ Checks if a value has a type matching the provided type.
|
|
674
699
|
<p class="since">Since 2.24</p>
|
675
700
|
</div>
|
676
701
|
<hr>
|
677
|
-
<div class="refsect2"
|
702
|
+
<div class="refsect2">
|
678
703
|
<a name="g-variant-is-container"></a><h3>g_variant_is_container ()</h3>
|
679
704
|
<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>
|
680
705
|
<p>
|
@@ -685,20 +710,18 @@ Checks if <em class="parameter"><code>value</code></em> is a container.
|
|
685
710
|
<tbody>
|
686
711
|
<tr>
|
687
712
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
688
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
689
|
-
</td>
|
713
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
690
714
|
</tr>
|
691
715
|
<tr>
|
692
716
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
693
717
|
<td>
|
694
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is a container
|
695
|
-
</td>
|
718
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is a container</td>
|
696
719
|
</tr>
|
697
720
|
</tbody>
|
698
721
|
</table></div>
|
699
722
|
</div>
|
700
723
|
<hr>
|
701
|
-
<div class="refsect2"
|
724
|
+
<div class="refsect2">
|
702
725
|
<a name="g-variant-compare"></a><h3>g_variant_compare ()</h3>
|
703
726
|
<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>,
|
704
727
|
<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>
|
@@ -707,7 +730,7 @@ Compares <em class="parameter"><code>one</code></em> and <em class="parameter"><
|
|
707
730
|
</p>
|
708
731
|
<p>
|
709
732
|
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
|
710
|
-
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
|
733
|
+
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="struct GPtrArray"><span class="type">GPtrArray</span></a>, etc. They must each be a
|
711
734
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
712
735
|
</p>
|
713
736
|
<p>
|
@@ -732,27 +755,26 @@ general.
|
|
732
755
|
<tbody>
|
733
756
|
<tr>
|
734
757
|
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
735
|
-
<td>
|
758
|
+
<td>a basic-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
|
736
759
|
</td>
|
737
760
|
</tr>
|
738
761
|
<tr>
|
739
762
|
<td><p><span class="term"><em class="parameter"><code>two</code></em> :</span></p></td>
|
740
|
-
<td>
|
763
|
+
<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">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
|
741
764
|
</td>
|
742
765
|
</tr>
|
743
766
|
<tr>
|
744
767
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
745
768
|
<td>negative value if a < b;
|
746
|
-
|
747
|
-
|
748
|
-
</td>
|
769
|
+
zero if a = b;
|
770
|
+
positive value if a > b.</td>
|
749
771
|
</tr>
|
750
772
|
</tbody>
|
751
773
|
</table></div>
|
752
774
|
<p class="since">Since 2.26</p>
|
753
775
|
</div>
|
754
776
|
<hr>
|
755
|
-
<div class="refsect2"
|
777
|
+
<div class="refsect2">
|
756
778
|
<a name="g-variant-classify"></a><h3>g_variant_classify ()</h3>
|
757
779
|
<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>
|
758
780
|
<p>
|
@@ -776,7 +798,7 @@ Classifies <em class="parameter"><code>value</code></em> according to its top-le
|
|
776
798
|
<p class="since">Since 2.24</p>
|
777
799
|
</div>
|
778
800
|
<hr>
|
779
|
-
<div class="refsect2"
|
801
|
+
<div class="refsect2">
|
780
802
|
<a name="GVariantClass"></a><h3>enum GVariantClass</h3>
|
781
803
|
<pre class="programlisting">typedef enum
|
782
804
|
{
|
@@ -903,7 +925,7 @@ The range of possible top-level types of <a class="link" href="glib-GVariant.htm
|
|
903
925
|
<p class="since">Since 2.24</p>
|
904
926
|
</div>
|
905
927
|
<hr>
|
906
|
-
<div class="refsect2"
|
928
|
+
<div class="refsect2">
|
907
929
|
<a name="g-variant-get"></a><h3>g_variant_get ()</h3>
|
908
930
|
<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>,
|
909
931
|
<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>,
|
@@ -927,13 +949,11 @@ extended in the future.
|
|
927
949
|
<tbody>
|
928
950
|
<tr>
|
929
951
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
930
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
931
|
-
</td>
|
952
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
932
953
|
</tr>
|
933
954
|
<tr>
|
934
955
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
935
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string
|
936
|
-
</td>
|
956
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string</td>
|
937
957
|
</tr>
|
938
958
|
<tr>
|
939
959
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
@@ -945,7 +965,7 @@ extended in the future.
|
|
945
965
|
<p class="since">Since 2.24</p>
|
946
966
|
</div>
|
947
967
|
<hr>
|
948
|
-
<div class="refsect2"
|
968
|
+
<div class="refsect2">
|
949
969
|
<a name="g-variant-get-va"></a><h3>g_variant_get_va ()</h3>
|
950
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>,
|
951
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>,
|
@@ -986,13 +1006,12 @@ varargs call by the user.
|
|
986
1006
|
</tr>
|
987
1007
|
<tr>
|
988
1008
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
989
|
-
<td>a string that is prefixed with a format string
|
990
|
-
</td>
|
1009
|
+
<td>a string that is prefixed with a format string</td>
|
991
1010
|
</tr>
|
992
1011
|
<tr>
|
993
1012
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
994
|
-
<td>
|
995
|
-
|
1013
|
+
<td>location to store the end pointer,
|
1014
|
+
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>
|
996
1015
|
</td>
|
997
1016
|
</tr>
|
998
1017
|
<tr>
|
@@ -1005,9 +1024,9 @@ varargs call by the user.
|
|
1005
1024
|
<p class="since">Since 2.24</p>
|
1006
1025
|
</div>
|
1007
1026
|
<hr>
|
1008
|
-
<div class="refsect2"
|
1027
|
+
<div class="refsect2">
|
1009
1028
|
<a name="g-variant-new"></a><h3>g_variant_new ()</h3>
|
1010
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1029
|
+
<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>,
|
1011
1030
|
<em class="parameter"><code>...</code></em>);</pre>
|
1012
1031
|
<p>
|
1013
1032
|
Creates a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
@@ -1032,8 +1051,7 @@ function (and not merely passed through it unmodified).
|
|
1032
1051
|
<tbody>
|
1033
1052
|
<tr>
|
1034
1053
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
1035
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string
|
1036
|
-
</td>
|
1054
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string</td>
|
1037
1055
|
</tr>
|
1038
1056
|
<tr>
|
1039
1057
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
@@ -1042,17 +1060,16 @@ function (and not merely passed through it unmodified).
|
|
1042
1060
|
</tr>
|
1043
1061
|
<tr>
|
1044
1062
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1045
|
-
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1046
|
-
</td>
|
1063
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1047
1064
|
</tr>
|
1048
1065
|
</tbody>
|
1049
1066
|
</table></div>
|
1050
1067
|
<p class="since">Since 2.24</p>
|
1051
1068
|
</div>
|
1052
1069
|
<hr>
|
1053
|
-
<div class="refsect2"
|
1070
|
+
<div class="refsect2">
|
1054
1071
|
<a name="g-variant-new-va"></a><h3>g_variant_new_va ()</h3>
|
1055
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1072
|
+
<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>,
|
1056
1073
|
<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>,
|
1057
1074
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
1058
1075
|
<p>
|
@@ -1100,13 +1117,12 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
1100
1117
|
<tbody>
|
1101
1118
|
<tr>
|
1102
1119
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
1103
|
-
<td>a string that is prefixed with a format string
|
1104
|
-
</td>
|
1120
|
+
<td>a string that is prefixed with a format string</td>
|
1105
1121
|
</tr>
|
1106
1122
|
<tr>
|
1107
1123
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
1108
|
-
<td>
|
1109
|
-
|
1124
|
+
<td>location to store the end pointer,
|
1125
|
+
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>
|
1110
1126
|
</td>
|
1111
1127
|
</tr>
|
1112
1128
|
<tr>
|
@@ -1124,9 +1140,9 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
1124
1140
|
<p class="since">Since 2.24</p>
|
1125
1141
|
</div>
|
1126
1142
|
<hr>
|
1127
|
-
<div class="refsect2"
|
1143
|
+
<div class="refsect2">
|
1128
1144
|
<a name="g-variant-new-boolean"></a><h3>g_variant_new_boolean ()</h3>
|
1129
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1145
|
+
<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> value</code></em>);</pre>
|
1130
1146
|
<p>
|
1131
1147
|
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>.
|
1132
1148
|
</p>
|
@@ -1134,23 +1150,21 @@ Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="
|
|
1134
1150
|
<col align="left" valign="top">
|
1135
1151
|
<tbody>
|
1136
1152
|
<tr>
|
1137
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1138
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value
|
1139
|
-
</td>
|
1153
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1154
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</td>
|
1140
1155
|
</tr>
|
1141
1156
|
<tr>
|
1142
1157
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1143
|
-
<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
|
1144
|
-
</td>
|
1158
|
+
<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</td>
|
1145
1159
|
</tr>
|
1146
1160
|
</tbody>
|
1147
1161
|
</table></div>
|
1148
1162
|
<p class="since">Since 2.24</p>
|
1149
1163
|
</div>
|
1150
1164
|
<hr>
|
1151
|
-
<div class="refsect2"
|
1165
|
+
<div class="refsect2">
|
1152
1166
|
<a name="g-variant-new-byte"></a><h3>g_variant_new_byte ()</h3>
|
1153
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1167
|
+
<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> value</code></em>);</pre>
|
1154
1168
|
<p>
|
1155
1169
|
Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1156
1170
|
</p>
|
@@ -1158,23 +1172,21 @@ Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVa
|
|
1158
1172
|
<col align="left" valign="top">
|
1159
1173
|
<tbody>
|
1160
1174
|
<tr>
|
1161
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1162
|
-
<td>a <a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="type">guint8</span></a> value
|
1163
|
-
</td>
|
1175
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1176
|
+
<td>a <a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="type">guint8</span></a> value</td>
|
1164
1177
|
</tr>
|
1165
1178
|
<tr>
|
1166
1179
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1167
|
-
<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
|
1168
|
-
</td>
|
1180
|
+
<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</td>
|
1169
1181
|
</tr>
|
1170
1182
|
</tbody>
|
1171
1183
|
</table></div>
|
1172
1184
|
<p class="since">Since 2.24</p>
|
1173
1185
|
</div>
|
1174
1186
|
<hr>
|
1175
|
-
<div class="refsect2"
|
1187
|
+
<div class="refsect2">
|
1176
1188
|
<a name="g-variant-new-int16"></a><h3>g_variant_new_int16 ()</h3>
|
1177
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1189
|
+
<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> value</code></em>);</pre>
|
1178
1190
|
<p>
|
1179
1191
|
Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1180
1192
|
</p>
|
@@ -1182,23 +1194,21 @@ Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1182
1194
|
<col align="left" valign="top">
|
1183
1195
|
<tbody>
|
1184
1196
|
<tr>
|
1185
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1186
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> value
|
1187
|
-
</td>
|
1197
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1198
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> value</td>
|
1188
1199
|
</tr>
|
1189
1200
|
<tr>
|
1190
1201
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1191
|
-
<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
|
1192
|
-
</td>
|
1202
|
+
<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</td>
|
1193
1203
|
</tr>
|
1194
1204
|
</tbody>
|
1195
1205
|
</table></div>
|
1196
1206
|
<p class="since">Since 2.24</p>
|
1197
1207
|
</div>
|
1198
1208
|
<hr>
|
1199
|
-
<div class="refsect2"
|
1209
|
+
<div class="refsect2">
|
1200
1210
|
<a name="g-variant-new-uint16"></a><h3>g_variant_new_uint16 ()</h3>
|
1201
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1211
|
+
<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> value</code></em>);</pre>
|
1202
1212
|
<p>
|
1203
1213
|
Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1204
1214
|
</p>
|
@@ -1206,23 +1216,21 @@ Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1206
1216
|
<col align="left" valign="top">
|
1207
1217
|
<tbody>
|
1208
1218
|
<tr>
|
1209
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1210
|
-
<td>a <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> value
|
1211
|
-
</td>
|
1219
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1220
|
+
<td>a <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> value</td>
|
1212
1221
|
</tr>
|
1213
1222
|
<tr>
|
1214
1223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1215
|
-
<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
|
1216
|
-
</td>
|
1224
|
+
<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</td>
|
1217
1225
|
</tr>
|
1218
1226
|
</tbody>
|
1219
1227
|
</table></div>
|
1220
1228
|
<p class="since">Since 2.24</p>
|
1221
1229
|
</div>
|
1222
1230
|
<hr>
|
1223
|
-
<div class="refsect2"
|
1231
|
+
<div class="refsect2">
|
1224
1232
|
<a name="g-variant-new-int32"></a><h3>g_variant_new_int32 ()</h3>
|
1225
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1233
|
+
<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> value</code></em>);</pre>
|
1226
1234
|
<p>
|
1227
1235
|
Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1228
1236
|
</p>
|
@@ -1230,23 +1238,21 @@ Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1230
1238
|
<col align="left" valign="top">
|
1231
1239
|
<tbody>
|
1232
1240
|
<tr>
|
1233
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1234
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value
|
1235
|
-
</td>
|
1241
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1242
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</td>
|
1236
1243
|
</tr>
|
1237
1244
|
<tr>
|
1238
1245
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1239
|
-
<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
|
1240
|
-
</td>
|
1246
|
+
<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</td>
|
1241
1247
|
</tr>
|
1242
1248
|
</tbody>
|
1243
1249
|
</table></div>
|
1244
1250
|
<p class="since">Since 2.24</p>
|
1245
1251
|
</div>
|
1246
1252
|
<hr>
|
1247
|
-
<div class="refsect2"
|
1253
|
+
<div class="refsect2">
|
1248
1254
|
<a name="g-variant-new-uint32"></a><h3>g_variant_new_uint32 ()</h3>
|
1249
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1255
|
+
<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> value</code></em>);</pre>
|
1250
1256
|
<p>
|
1251
1257
|
Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1252
1258
|
</p>
|
@@ -1254,23 +1260,21 @@ Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1254
1260
|
<col align="left" valign="top">
|
1255
1261
|
<tbody>
|
1256
1262
|
<tr>
|
1257
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1258
|
-
<td>a <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> value
|
1259
|
-
</td>
|
1263
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1264
|
+
<td>a <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> value</td>
|
1260
1265
|
</tr>
|
1261
1266
|
<tr>
|
1262
1267
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1263
|
-
<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
|
1264
|
-
</td>
|
1268
|
+
<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</td>
|
1265
1269
|
</tr>
|
1266
1270
|
</tbody>
|
1267
1271
|
</table></div>
|
1268
1272
|
<p class="since">Since 2.24</p>
|
1269
1273
|
</div>
|
1270
1274
|
<hr>
|
1271
|
-
<div class="refsect2"
|
1275
|
+
<div class="refsect2">
|
1272
1276
|
<a name="g-variant-new-int64"></a><h3>g_variant_new_int64 ()</h3>
|
1273
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1277
|
+
<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> value</code></em>);</pre>
|
1274
1278
|
<p>
|
1275
1279
|
Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1276
1280
|
</p>
|
@@ -1278,23 +1282,21 @@ Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1278
1282
|
<col align="left" valign="top">
|
1279
1283
|
<tbody>
|
1280
1284
|
<tr>
|
1281
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1282
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value
|
1283
|
-
</td>
|
1285
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1286
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</td>
|
1284
1287
|
</tr>
|
1285
1288
|
<tr>
|
1286
1289
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1287
|
-
<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
|
1288
|
-
</td>
|
1290
|
+
<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</td>
|
1289
1291
|
</tr>
|
1290
1292
|
</tbody>
|
1291
1293
|
</table></div>
|
1292
1294
|
<p class="since">Since 2.24</p>
|
1293
1295
|
</div>
|
1294
1296
|
<hr>
|
1295
|
-
<div class="refsect2"
|
1297
|
+
<div class="refsect2">
|
1296
1298
|
<a name="g-variant-new-uint64"></a><h3>g_variant_new_uint64 ()</h3>
|
1297
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1299
|
+
<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> value</code></em>);</pre>
|
1298
1300
|
<p>
|
1299
1301
|
Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1300
1302
|
</p>
|
@@ -1302,23 +1304,21 @@ Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1302
1304
|
<col align="left" valign="top">
|
1303
1305
|
<tbody>
|
1304
1306
|
<tr>
|
1305
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1306
|
-
<td>a <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value
|
1307
|
-
</td>
|
1307
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1308
|
+
<td>a <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</td>
|
1308
1309
|
</tr>
|
1309
1310
|
<tr>
|
1310
1311
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1311
|
-
<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
|
1312
|
-
</td>
|
1312
|
+
<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</td>
|
1313
1313
|
</tr>
|
1314
1314
|
</tbody>
|
1315
1315
|
</table></div>
|
1316
1316
|
<p class="since">Since 2.24</p>
|
1317
1317
|
</div>
|
1318
1318
|
<hr>
|
1319
|
-
<div class="refsect2"
|
1319
|
+
<div class="refsect2">
|
1320
1320
|
<a name="g-variant-new-handle"></a><h3>g_variant_new_handle ()</h3>
|
1321
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1321
|
+
<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> value</code></em>);</pre>
|
1322
1322
|
<p>
|
1323
1323
|
Creates a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1324
1324
|
</p>
|
@@ -1331,23 +1331,21 @@ with DBus, you probably don't need them.
|
|
1331
1331
|
<col align="left" valign="top">
|
1332
1332
|
<tbody>
|
1333
1333
|
<tr>
|
1334
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1335
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value
|
1336
|
-
</td>
|
1334
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1335
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</td>
|
1337
1336
|
</tr>
|
1338
1337
|
<tr>
|
1339
1338
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1340
|
-
<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
|
1341
|
-
</td>
|
1339
|
+
<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</td>
|
1342
1340
|
</tr>
|
1343
1341
|
</tbody>
|
1344
1342
|
</table></div>
|
1345
1343
|
<p class="since">Since 2.24</p>
|
1346
1344
|
</div>
|
1347
1345
|
<hr>
|
1348
|
-
<div class="refsect2"
|
1346
|
+
<div class="refsect2">
|
1349
1347
|
<a name="g-variant-new-double"></a><h3>g_variant_new_double ()</h3>
|
1350
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1348
|
+
<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> value</code></em>);</pre>
|
1351
1349
|
<p>
|
1352
1350
|
Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1353
1351
|
</p>
|
@@ -1355,23 +1353,21 @@ Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1355
1353
|
<col align="left" valign="top">
|
1356
1354
|
<tbody>
|
1357
1355
|
<tr>
|
1358
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1359
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> floating point value
|
1360
|
-
</td>
|
1356
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1357
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> floating point value</td>
|
1361
1358
|
</tr>
|
1362
1359
|
<tr>
|
1363
1360
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1364
|
-
<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
|
1365
|
-
</td>
|
1361
|
+
<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</td>
|
1366
1362
|
</tr>
|
1367
1363
|
</tbody>
|
1368
1364
|
</table></div>
|
1369
1365
|
<p class="since">Since 2.24</p>
|
1370
1366
|
</div>
|
1371
1367
|
<hr>
|
1372
|
-
<div class="refsect2"
|
1368
|
+
<div class="refsect2">
|
1373
1369
|
<a name="g-variant-new-string"></a><h3>g_variant_new_string ()</h3>
|
1374
|
-
<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_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>
|
1375
1371
|
<p>
|
1376
1372
|
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>.
|
1377
1373
|
</p>
|
@@ -1383,22 +1379,21 @@ Creates a string <a class="link" href="glib-GVariant.html#GVariant" title="GVari
|
|
1383
1379
|
<tbody>
|
1384
1380
|
<tr>
|
1385
1381
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1386
|
-
<td>a normal utf8 nul-terminated string
|
1387
|
-
</td>
|
1382
|
+
<td>a normal utf8 nul-terminated string</td>
|
1388
1383
|
</tr>
|
1389
1384
|
<tr>
|
1390
1385
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1391
|
-
<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
|
1392
|
-
</td>
|
1386
|
+
<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</td>
|
1393
1387
|
</tr>
|
1394
1388
|
</tbody>
|
1395
1389
|
</table></div>
|
1396
1390
|
<p class="since">Since 2.24</p>
|
1397
1391
|
</div>
|
1398
1392
|
<hr>
|
1399
|
-
<div class="refsect2"
|
1393
|
+
<div class="refsect2">
|
1400
1394
|
<a name="g-variant-new-object-path"></a><h3>g_variant_new_object_path ()</h3>
|
1401
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1395
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_object_path
|
1396
|
+
(<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>
|
1402
1397
|
<p>
|
1403
1398
|
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>.
|
1404
1399
|
<em class="parameter"><code>string</code></em> must be a valid DBus object path. Use
|
@@ -1409,20 +1404,18 @@ Creates a DBus object path <a class="link" href="glib-GVariant.html#GVariant" ti
|
|
1409
1404
|
<tbody>
|
1410
1405
|
<tr>
|
1411
1406
|
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
1412
|
-
<td>a normal C nul-terminated string
|
1413
|
-
</td>
|
1407
|
+
<td>a normal C nul-terminated string</td>
|
1414
1408
|
</tr>
|
1415
1409
|
<tr>
|
1416
1410
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1417
|
-
<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
|
1418
|
-
</td>
|
1411
|
+
<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</td>
|
1419
1412
|
</tr>
|
1420
1413
|
</tbody>
|
1421
1414
|
</table></div>
|
1422
1415
|
<p class="since">Since 2.24</p>
|
1423
1416
|
</div>
|
1424
1417
|
<hr>
|
1425
|
-
<div class="refsect2"
|
1418
|
+
<div class="refsect2">
|
1426
1419
|
<a name="g-variant-is-object-path"></a><h3>g_variant_is_object_path ()</h3>
|
1427
1420
|
<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>
|
1428
1421
|
<p>
|
@@ -1441,23 +1434,22 @@ must contain only the characters "[A-Z][a-z][0-9]_". No sequence
|
|
1441
1434
|
<tbody>
|
1442
1435
|
<tr>
|
1443
1436
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1444
|
-
<td>a normal C nul-terminated string
|
1445
|
-
</td>
|
1437
|
+
<td>a normal C nul-terminated string</td>
|
1446
1438
|
</tr>
|
1447
1439
|
<tr>
|
1448
1440
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1449
1441
|
<td>
|
1450
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em> is a DBus object path
|
1451
|
-
</td>
|
1442
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em> is a DBus object path</td>
|
1452
1443
|
</tr>
|
1453
1444
|
</tbody>
|
1454
1445
|
</table></div>
|
1455
1446
|
<p class="since">Since 2.24</p>
|
1456
1447
|
</div>
|
1457
1448
|
<hr>
|
1458
|
-
<div class="refsect2"
|
1449
|
+
<div class="refsect2">
|
1459
1450
|
<a name="g-variant-new-signature"></a><h3>g_variant_new_signature ()</h3>
|
1460
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1451
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_signature
|
1452
|
+
(<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>
|
1461
1453
|
<p>
|
1462
1454
|
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
|
1463
1455
|
<em class="parameter"><code>string</code></em>. <em class="parameter"><code>string</code></em> must be a valid DBus type signature. Use
|
@@ -1468,20 +1460,18 @@ Creates a DBus type signature <a class="link" href="glib-GVariant.html#GVariant"
|
|
1468
1460
|
<tbody>
|
1469
1461
|
<tr>
|
1470
1462
|
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
1471
|
-
<td>a normal C nul-terminated string
|
1472
|
-
</td>
|
1463
|
+
<td>a normal C nul-terminated string</td>
|
1473
1464
|
</tr>
|
1474
1465
|
<tr>
|
1475
1466
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1476
|
-
<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
|
1477
|
-
</td>
|
1467
|
+
<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</td>
|
1478
1468
|
</tr>
|
1479
1469
|
</tbody>
|
1480
1470
|
</table></div>
|
1481
1471
|
<p class="since">Since 2.24</p>
|
1482
1472
|
</div>
|
1483
1473
|
<hr>
|
1484
|
-
<div class="refsect2"
|
1474
|
+
<div class="refsect2">
|
1485
1475
|
<a name="g-variant-is-signature"></a><h3>g_variant_is_signature ()</h3>
|
1486
1476
|
<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>
|
1487
1477
|
<p>
|
@@ -1498,23 +1488,21 @@ strings in sequence.
|
|
1498
1488
|
<tbody>
|
1499
1489
|
<tr>
|
1500
1490
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1501
|
-
<td>a normal C nul-terminated string
|
1502
|
-
</td>
|
1491
|
+
<td>a normal C nul-terminated string</td>
|
1503
1492
|
</tr>
|
1504
1493
|
<tr>
|
1505
1494
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1506
1495
|
<td>
|
1507
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em> is a DBus type signature
|
1508
|
-
</td>
|
1496
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em> is a DBus type signature</td>
|
1509
1497
|
</tr>
|
1510
1498
|
</tbody>
|
1511
1499
|
</table></div>
|
1512
1500
|
<p class="since">Since 2.24</p>
|
1513
1501
|
</div>
|
1514
1502
|
<hr>
|
1515
|
-
<div class="refsect2"
|
1503
|
+
<div class="refsect2">
|
1516
1504
|
<a name="g-variant-new-variant"></a><h3>g_variant_new_variant ()</h3>
|
1517
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1505
|
+
<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>
|
1518
1506
|
<p>
|
1519
1507
|
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
|
1520
1508
|
variant containing the original value.
|
@@ -1528,22 +1516,20 @@ instance takes ownership of <em class="parameter"><code>child</code></em>.
|
|
1528
1516
|
<tbody>
|
1529
1517
|
<tr>
|
1530
1518
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1531
|
-
<td>a <span class="type">GVariance</span> instance
|
1532
|
-
</td>
|
1519
|
+
<td>a <span class="type">GVariance</span> instance</td>
|
1533
1520
|
</tr>
|
1534
1521
|
<tr>
|
1535
1522
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1536
|
-
<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
|
1537
|
-
</td>
|
1523
|
+
<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</td>
|
1538
1524
|
</tr>
|
1539
1525
|
</tbody>
|
1540
1526
|
</table></div>
|
1541
1527
|
<p class="since">Since 2.24</p>
|
1542
1528
|
</div>
|
1543
1529
|
<hr>
|
1544
|
-
<div class="refsect2"
|
1530
|
+
<div class="refsect2">
|
1545
1531
|
<a name="g-variant-new-strv"></a><h3>g_variant_new_strv ()</h3>
|
1546
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1532
|
+
<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>,
|
1547
1533
|
<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>
|
1548
1534
|
<p>
|
1549
1535
|
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
|
@@ -1557,27 +1543,26 @@ If <em class="parameter"><code>length</code></em> is -1 then <em class="paramete
|
|
1557
1543
|
<tbody>
|
1558
1544
|
<tr>
|
1559
1545
|
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
1560
|
-
<td>
|
1546
|
+
<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>
|
1561
1547
|
</td>
|
1562
1548
|
</tr>
|
1563
1549
|
<tr>
|
1564
1550
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1565
|
-
<td>the length of <em class="parameter"><code>strv</code></em>, or -1
|
1566
|
-
</td>
|
1551
|
+
<td>the length of <em class="parameter"><code>strv</code></em>, or -1</td>
|
1567
1552
|
</tr>
|
1568
1553
|
<tr>
|
1569
1554
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1570
|
-
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1571
|
-
</td>
|
1555
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1572
1556
|
</tr>
|
1573
1557
|
</tbody>
|
1574
1558
|
</table></div>
|
1575
1559
|
<p class="since">Since 2.24</p>
|
1576
1560
|
</div>
|
1577
1561
|
<hr>
|
1578
|
-
<div class="refsect2"
|
1562
|
+
<div class="refsect2">
|
1579
1563
|
<a name="g-variant-new-bytestring"></a><h3>g_variant_new_bytestring ()</h3>
|
1580
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1564
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring
|
1565
|
+
(<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>
|
1581
1566
|
<p>
|
1582
1567
|
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>.
|
1583
1568
|
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
|
@@ -1592,22 +1577,21 @@ the array.
|
|
1592
1577
|
<tbody>
|
1593
1578
|
<tr>
|
1594
1579
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1595
|
-
<td>a normal nul-terminated string in no particular encoding
|
1596
|
-
</td>
|
1580
|
+
<td>a normal nul-terminated string in no particular encoding</td>
|
1597
1581
|
</tr>
|
1598
1582
|
<tr>
|
1599
1583
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1600
|
-
<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
|
1601
|
-
</td>
|
1584
|
+
<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</td>
|
1602
1585
|
</tr>
|
1603
1586
|
</tbody>
|
1604
1587
|
</table></div>
|
1605
1588
|
<p class="since">Since 2.26</p>
|
1606
1589
|
</div>
|
1607
1590
|
<hr>
|
1608
|
-
<div class="refsect2"
|
1591
|
+
<div class="refsect2">
|
1609
1592
|
<a name="g-variant-new-bytestring-array"></a><h3>g_variant_new_bytestring_array ()</h3>
|
1610
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1593
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring_array
|
1594
|
+
(<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>,
|
1611
1595
|
<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>
|
1612
1596
|
<p>
|
1613
1597
|
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
|
@@ -1621,25 +1605,23 @@ If <em class="parameter"><code>length</code></em> is -1 then <em class="paramete
|
|
1621
1605
|
<tbody>
|
1622
1606
|
<tr>
|
1623
1607
|
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
1624
|
-
<td>
|
1608
|
+
<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>
|
1625
1609
|
</td>
|
1626
1610
|
</tr>
|
1627
1611
|
<tr>
|
1628
1612
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1629
|
-
<td>the length of <em class="parameter"><code>strv</code></em>, or -1
|
1630
|
-
</td>
|
1613
|
+
<td>the length of <em class="parameter"><code>strv</code></em>, or -1</td>
|
1631
1614
|
</tr>
|
1632
1615
|
<tr>
|
1633
1616
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1634
|
-
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1635
|
-
</td>
|
1617
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1636
1618
|
</tr>
|
1637
1619
|
</tbody>
|
1638
1620
|
</table></div>
|
1639
1621
|
<p class="since">Since 2.26</p>
|
1640
1622
|
</div>
|
1641
1623
|
<hr>
|
1642
|
-
<div class="refsect2"
|
1624
|
+
<div class="refsect2">
|
1643
1625
|
<a name="g-variant-get-boolean"></a><h3>g_variant_get_boolean ()</h3>
|
1644
1626
|
<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>
|
1645
1627
|
<p>
|
@@ -1654,8 +1636,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:C
|
|
1654
1636
|
<tbody>
|
1655
1637
|
<tr>
|
1656
1638
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1657
|
-
<td>a boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1658
|
-
</td>
|
1639
|
+
<td>a boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1659
1640
|
</tr>
|
1660
1641
|
<tr>
|
1661
1642
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1668,7 +1649,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:C
|
|
1668
1649
|
<p class="since">Since 2.24</p>
|
1669
1650
|
</div>
|
1670
1651
|
<hr>
|
1671
|
-
<div class="refsect2"
|
1652
|
+
<div class="refsect2">
|
1672
1653
|
<a name="g-variant-get-byte"></a><h3>g_variant_get_byte ()</h3>
|
1673
1654
|
<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>
|
1674
1655
|
<p>
|
@@ -1683,8 +1664,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS
|
|
1683
1664
|
<tbody>
|
1684
1665
|
<tr>
|
1685
1666
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1686
|
-
<td>a byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1687
|
-
</td>
|
1667
|
+
<td>a byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1688
1668
|
</tr>
|
1689
1669
|
<tr>
|
1690
1670
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1696,7 +1676,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS
|
|
1696
1676
|
<p class="since">Since 2.24</p>
|
1697
1677
|
</div>
|
1698
1678
|
<hr>
|
1699
|
-
<div class="refsect2"
|
1679
|
+
<div class="refsect2">
|
1700
1680
|
<a name="g-variant-get-int16"></a><h3>g_variant_get_int16 ()</h3>
|
1701
1681
|
<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>
|
1702
1682
|
<p>
|
@@ -1711,8 +1691,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAP
|
|
1711
1691
|
<tbody>
|
1712
1692
|
<tr>
|
1713
1693
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1714
|
-
<td>a int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1715
|
-
</td>
|
1694
|
+
<td>a int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1716
1695
|
</tr>
|
1717
1696
|
<tr>
|
1718
1697
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1724,7 +1703,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAP
|
|
1724
1703
|
<p class="since">Since 2.24</p>
|
1725
1704
|
</div>
|
1726
1705
|
<hr>
|
1727
|
-
<div class="refsect2"
|
1706
|
+
<div class="refsect2">
|
1728
1707
|
<a name="g-variant-get-uint16"></a><h3>g_variant_get_uint16 ()</h3>
|
1729
1708
|
<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>
|
1730
1709
|
<p>
|
@@ -1739,8 +1718,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CA
|
|
1739
1718
|
<tbody>
|
1740
1719
|
<tr>
|
1741
1720
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1742
|
-
<td>a uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1743
|
-
</td>
|
1721
|
+
<td>a uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1744
1722
|
</tr>
|
1745
1723
|
<tr>
|
1746
1724
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1752,7 +1730,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CA
|
|
1752
1730
|
<p class="since">Since 2.24</p>
|
1753
1731
|
</div>
|
1754
1732
|
<hr>
|
1755
|
-
<div class="refsect2"
|
1733
|
+
<div class="refsect2">
|
1756
1734
|
<a name="g-variant-get-int32"></a><h3>g_variant_get_int32 ()</h3>
|
1757
1735
|
<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>
|
1758
1736
|
<p>
|
@@ -1767,8 +1745,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAP
|
|
1767
1745
|
<tbody>
|
1768
1746
|
<tr>
|
1769
1747
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1770
|
-
<td>a int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1771
|
-
</td>
|
1748
|
+
<td>a int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1772
1749
|
</tr>
|
1773
1750
|
<tr>
|
1774
1751
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1780,7 +1757,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAP
|
|
1780
1757
|
<p class="since">Since 2.24</p>
|
1781
1758
|
</div>
|
1782
1759
|
<hr>
|
1783
|
-
<div class="refsect2"
|
1760
|
+
<div class="refsect2">
|
1784
1761
|
<a name="g-variant-get-uint32"></a><h3>g_variant_get_uint32 ()</h3>
|
1785
1762
|
<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>
|
1786
1763
|
<p>
|
@@ -1795,8 +1772,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CA
|
|
1795
1772
|
<tbody>
|
1796
1773
|
<tr>
|
1797
1774
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1798
|
-
<td>a uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1799
|
-
</td>
|
1775
|
+
<td>a uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1800
1776
|
</tr>
|
1801
1777
|
<tr>
|
1802
1778
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1808,7 +1784,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CA
|
|
1808
1784
|
<p class="since">Since 2.24</p>
|
1809
1785
|
</div>
|
1810
1786
|
<hr>
|
1811
|
-
<div class="refsect2"
|
1787
|
+
<div class="refsect2">
|
1812
1788
|
<a name="g-variant-get-int64"></a><h3>g_variant_get_int64 ()</h3>
|
1813
1789
|
<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>
|
1814
1790
|
<p>
|
@@ -1823,8 +1799,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAP
|
|
1823
1799
|
<tbody>
|
1824
1800
|
<tr>
|
1825
1801
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1826
|
-
<td>a int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1827
|
-
</td>
|
1802
|
+
<td>a int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1828
1803
|
</tr>
|
1829
1804
|
<tr>
|
1830
1805
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1836,7 +1811,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAP
|
|
1836
1811
|
<p class="since">Since 2.24</p>
|
1837
1812
|
</div>
|
1838
1813
|
<hr>
|
1839
|
-
<div class="refsect2"
|
1814
|
+
<div class="refsect2">
|
1840
1815
|
<a name="g-variant-get-uint64"></a><h3>g_variant_get_uint64 ()</h3>
|
1841
1816
|
<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>
|
1842
1817
|
<p>
|
@@ -1851,8 +1826,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CA
|
|
1851
1826
|
<tbody>
|
1852
1827
|
<tr>
|
1853
1828
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1854
|
-
<td>a uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1855
|
-
</td>
|
1829
|
+
<td>a uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1856
1830
|
</tr>
|
1857
1831
|
<tr>
|
1858
1832
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1864,7 +1838,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CA
|
|
1864
1838
|
<p class="since">Since 2.24</p>
|
1865
1839
|
</div>
|
1866
1840
|
<hr>
|
1867
|
-
<div class="refsect2"
|
1841
|
+
<div class="refsect2">
|
1868
1842
|
<a name="g-variant-get-handle"></a><h3>g_variant_get_handle ()</h3>
|
1869
1843
|
<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>
|
1870
1844
|
<p>
|
@@ -1884,8 +1858,7 @@ with DBus, you probably don't need them.
|
|
1884
1858
|
<tbody>
|
1885
1859
|
<tr>
|
1886
1860
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1887
|
-
<td>a handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1888
|
-
</td>
|
1861
|
+
<td>a handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1889
1862
|
</tr>
|
1890
1863
|
<tr>
|
1891
1864
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1897,7 +1870,7 @@ with DBus, you probably don't need them.
|
|
1897
1870
|
<p class="since">Since 2.24</p>
|
1898
1871
|
</div>
|
1899
1872
|
<hr>
|
1900
|
-
<div class="refsect2"
|
1873
|
+
<div class="refsect2">
|
1901
1874
|
<a name="g-variant-get-double"></a><h3>g_variant_get_double ()</h3>
|
1902
1875
|
<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>
|
1903
1876
|
<p>
|
@@ -1912,8 +1885,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CA
|
|
1912
1885
|
<tbody>
|
1913
1886
|
<tr>
|
1914
1887
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1915
|
-
<td>a double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1916
|
-
</td>
|
1888
|
+
<td>a double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1917
1889
|
</tr>
|
1918
1890
|
<tr>
|
1919
1891
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1925,9 +1897,9 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CA
|
|
1925
1897
|
<p class="since">Since 2.24</p>
|
1926
1898
|
</div>
|
1927
1899
|
<hr>
|
1928
|
-
<div class="refsect2"
|
1900
|
+
<div class="refsect2">
|
1929
1901
|
<a name="g-variant-get-string"></a><h3>g_variant_get_string ()</h3>
|
1930
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
1902
|
+
<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>,
|
1931
1903
|
<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>
|
1932
1904
|
<p>
|
1933
1905
|
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
|
@@ -1954,28 +1926,26 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
1954
1926
|
<tbody>
|
1955
1927
|
<tr>
|
1956
1928
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1957
|
-
<td>a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1958
|
-
</td>
|
1929
|
+
<td>a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1959
1930
|
</tr>
|
1960
1931
|
<tr>
|
1961
1932
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1962
|
-
<td>
|
1963
|
-
|
1933
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>,
|
1934
|
+
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>]</span>
|
1964
1935
|
</td>
|
1965
1936
|
</tr>
|
1966
1937
|
<tr>
|
1967
1938
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1968
|
-
<td>the constant string, utf8 encoded
|
1969
|
-
</td>
|
1939
|
+
<td>the constant string, utf8 encoded</td>
|
1970
1940
|
</tr>
|
1971
1941
|
</tbody>
|
1972
1942
|
</table></div>
|
1973
1943
|
<p class="since">Since 2.24</p>
|
1974
1944
|
</div>
|
1975
1945
|
<hr>
|
1976
|
-
<div class="refsect2"
|
1946
|
+
<div class="refsect2">
|
1977
1947
|
<a name="g-variant-dup-string"></a><h3>g_variant_dup_string ()</h3>
|
1978
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
1948
|
+
<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>,
|
1979
1949
|
<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>
|
1980
1950
|
<p>
|
1981
1951
|
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
|
@@ -1992,27 +1962,24 @@ The return value must be freed using <a class="link" href="glib-Memory-Allocatio
|
|
1992
1962
|
<tbody>
|
1993
1963
|
<tr>
|
1994
1964
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1995
|
-
<td>a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1996
|
-
</td>
|
1965
|
+
<td>a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
1997
1966
|
</tr>
|
1998
1967
|
<tr>
|
1999
1968
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2000
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>, to store the length
|
2001
|
-
</td>
|
1969
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>, to store the length</td>
|
2002
1970
|
</tr>
|
2003
1971
|
<tr>
|
2004
1972
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2005
|
-
<td>a newly allocated string, utf8 encoded
|
2006
|
-
</td>
|
1973
|
+
<td>a newly allocated string, utf8 encoded</td>
|
2007
1974
|
</tr>
|
2008
1975
|
</tbody>
|
2009
1976
|
</table></div>
|
2010
1977
|
<p class="since">Since 2.24</p>
|
2011
1978
|
</div>
|
2012
1979
|
<hr>
|
2013
|
-
<div class="refsect2"
|
1980
|
+
<div class="refsect2">
|
2014
1981
|
<a name="g-variant-get-variant"></a><h3>g_variant_get_variant ()</h3>
|
2015
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1982
|
+
<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>
|
2016
1983
|
<p>
|
2017
1984
|
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
|
2018
1985
|
contained in <em class="parameter"><code>value</code></em>.
|
@@ -2022,22 +1989,20 @@ contained in <em class="parameter"><code>value</code></em>.
|
|
2022
1989
|
<tbody>
|
2023
1990
|
<tr>
|
2024
1991
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2025
|
-
<td>a variant <span class="type">GVariance</span> instance
|
2026
|
-
</td>
|
1992
|
+
<td>a variant <span class="type">GVariance</span> instance</td>
|
2027
1993
|
</tr>
|
2028
1994
|
<tr>
|
2029
1995
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2030
|
-
<td>the item contained in the variant
|
2031
|
-
</td>
|
1996
|
+
<td>the item contained in the variant</td>
|
2032
1997
|
</tr>
|
2033
1998
|
</tbody>
|
2034
1999
|
</table></div>
|
2035
2000
|
<p class="since">Since 2.24</p>
|
2036
2001
|
</div>
|
2037
2002
|
<hr>
|
2038
|
-
<div class="refsect2"
|
2003
|
+
<div class="refsect2">
|
2039
2004
|
<a name="g-variant-get-strv"></a><h3>g_variant_get_strv ()</h3>
|
2040
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2005
|
+
<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>,
|
2041
2006
|
<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>
|
2042
2007
|
<p>
|
2043
2008
|
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
|
@@ -2063,13 +2028,13 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2063
2028
|
</tr>
|
2064
2029
|
<tr>
|
2065
2030
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2066
|
-
<td>
|
2031
|
+
<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>
|
2067
2032
|
</td>
|
2068
2033
|
</tr>
|
2069
2034
|
<tr>
|
2070
2035
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2071
|
-
<td>
|
2072
|
-
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>
|
2036
|
+
<td>an array of constant
|
2037
|
+
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>]</span>
|
2073
2038
|
</td>
|
2074
2039
|
</tr>
|
2075
2040
|
</tbody>
|
@@ -2077,9 +2042,9 @@ strings. <span class="annotation">[<acronym title="Parameter points to an array
|
|
2077
2042
|
<p class="since">Since 2.24</p>
|
2078
2043
|
</div>
|
2079
2044
|
<hr>
|
2080
|
-
<div class="refsect2"
|
2045
|
+
<div class="refsect2">
|
2081
2046
|
<a name="g-variant-dup-strv"></a><h3>g_variant_dup_strv ()</h3>
|
2082
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2047
|
+
<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>,
|
2083
2048
|
<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>
|
2084
2049
|
<p>
|
2085
2050
|
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
|
@@ -2105,12 +2070,12 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2105
2070
|
</tr>
|
2106
2071
|
<tr>
|
2107
2072
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2108
|
-
<td>
|
2073
|
+
<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>
|
2109
2074
|
</td>
|
2110
2075
|
</tr>
|
2111
2076
|
<tr>
|
2112
2077
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2113
|
-
<td>
|
2078
|
+
<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>
|
2114
2079
|
</td>
|
2115
2080
|
</tr>
|
2116
2081
|
</tbody>
|
@@ -2118,9 +2083,10 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2118
2083
|
<p class="since">Since 2.24</p>
|
2119
2084
|
</div>
|
2120
2085
|
<hr>
|
2121
|
-
<div class="refsect2"
|
2086
|
+
<div class="refsect2">
|
2122
2087
|
<a name="g-variant-get-bytestring"></a><h3>g_variant_get_bytestring ()</h3>
|
2123
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2088
|
+
<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
|
2089
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2124
2090
|
<p>
|
2125
2091
|
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
|
2126
2092
|
array-of-bytes type. The string has no particular encoding.
|
@@ -2147,22 +2113,21 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
2147
2113
|
<tbody>
|
2148
2114
|
<tr>
|
2149
2115
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2150
|
-
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2151
|
-
</td>
|
2116
|
+
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
2152
2117
|
</tr>
|
2153
2118
|
<tr>
|
2154
2119
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2155
|
-
<td>the constant string
|
2156
|
-
</td>
|
2120
|
+
<td>the constant string</td>
|
2157
2121
|
</tr>
|
2158
2122
|
</tbody>
|
2159
2123
|
</table></div>
|
2160
2124
|
<p class="since">Since 2.26</p>
|
2161
2125
|
</div>
|
2162
2126
|
<hr>
|
2163
|
-
<div class="refsect2"
|
2127
|
+
<div class="refsect2">
|
2164
2128
|
<a name="g-variant-dup-bytestring"></a><h3>g_variant_dup_bytestring ()</h3>
|
2165
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2129
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_dup_bytestring
|
2130
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2166
2131
|
<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>
|
2167
2132
|
<p>
|
2168
2133
|
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
|
@@ -2176,28 +2141,27 @@ The return value must be freed using <a class="link" href="glib-Memory-Allocatio
|
|
2176
2141
|
<tbody>
|
2177
2142
|
<tr>
|
2178
2143
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2179
|
-
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2180
|
-
</td>
|
2144
|
+
<td>an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
2181
2145
|
</tr>
|
2182
2146
|
<tr>
|
2183
2147
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2184
|
-
<td>
|
2185
|
-
|
2148
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>, to store
|
2149
|
+
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>
|
2186
2150
|
</td>
|
2187
2151
|
</tr>
|
2188
2152
|
<tr>
|
2189
2153
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2190
|
-
<td>a newly allocated string
|
2191
|
-
</td>
|
2154
|
+
<td>a newly allocated string</td>
|
2192
2155
|
</tr>
|
2193
2156
|
</tbody>
|
2194
2157
|
</table></div>
|
2195
2158
|
<p class="since">Since 2.26</p>
|
2196
2159
|
</div>
|
2197
2160
|
<hr>
|
2198
|
-
<div class="refsect2"
|
2161
|
+
<div class="refsect2">
|
2199
2162
|
<a name="g-variant-get-bytestring-array"></a><h3>g_variant_get_bytestring_array ()</h3>
|
2200
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2163
|
+
<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
|
2164
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2201
2165
|
<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>
|
2202
2166
|
<p>
|
2203
2167
|
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
|
@@ -2218,17 +2182,16 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2218
2182
|
<tbody>
|
2219
2183
|
<tr>
|
2220
2184
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2221
|
-
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')
|
2222
|
-
</td>
|
2185
|
+
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')</td>
|
2223
2186
|
</tr>
|
2224
2187
|
<tr>
|
2225
2188
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2226
|
-
<td>
|
2189
|
+
<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>
|
2227
2190
|
</td>
|
2228
2191
|
</tr>
|
2229
2192
|
<tr>
|
2230
2193
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2231
|
-
<td>
|
2194
|
+
<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>
|
2232
2195
|
</td>
|
2233
2196
|
</tr>
|
2234
2197
|
</tbody>
|
@@ -2236,9 +2199,10 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2236
2199
|
<p class="since">Since 2.26</p>
|
2237
2200
|
</div>
|
2238
2201
|
<hr>
|
2239
|
-
<div class="refsect2"
|
2202
|
+
<div class="refsect2">
|
2240
2203
|
<a name="g-variant-dup-bytestring-array"></a><h3>g_variant_dup_bytestring_array ()</h3>
|
2241
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2204
|
+
<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
|
2205
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2242
2206
|
<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>
|
2243
2207
|
<p>
|
2244
2208
|
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
|
@@ -2259,17 +2223,16 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2259
2223
|
<tbody>
|
2260
2224
|
<tr>
|
2261
2225
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2262
|
-
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')
|
2263
|
-
</td>
|
2226
|
+
<td>an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> ('aay')</td>
|
2264
2227
|
</tr>
|
2265
2228
|
<tr>
|
2266
2229
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2267
|
-
<td>
|
2230
|
+
<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>
|
2268
2231
|
</td>
|
2269
2232
|
</tr>
|
2270
2233
|
<tr>
|
2271
2234
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2272
|
-
<td>
|
2235
|
+
<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>
|
2273
2236
|
</td>
|
2274
2237
|
</tr>
|
2275
2238
|
</tbody>
|
@@ -2277,9 +2240,9 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2277
2240
|
<p class="since">Since 2.26</p>
|
2278
2241
|
</div>
|
2279
2242
|
<hr>
|
2280
|
-
<div class="refsect2"
|
2243
|
+
<div class="refsect2">
|
2281
2244
|
<a name="g-variant-new-maybe"></a><h3>g_variant_new_maybe ()</h3>
|
2282
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2245
|
+
<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>,
|
2283
2246
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);</pre>
|
2284
2247
|
<p>
|
2285
2248
|
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
|
@@ -2300,27 +2263,26 @@ instance takes ownership of <em class="parameter"><code>child</code></em>.
|
|
2300
2263
|
<tbody>
|
2301
2264
|
<tr>
|
2302
2265
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
2303
|
-
<td>
|
2266
|
+
<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>
|
2304
2267
|
</td>
|
2305
2268
|
</tr>
|
2306
2269
|
<tr>
|
2307
2270
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
2308
|
-
<td>
|
2271
|
+
<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>
|
2309
2272
|
</td>
|
2310
2273
|
</tr>
|
2311
2274
|
<tr>
|
2312
2275
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2313
|
-
<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
|
2314
|
-
</td>
|
2276
|
+
<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</td>
|
2315
2277
|
</tr>
|
2316
2278
|
</tbody>
|
2317
2279
|
</table></div>
|
2318
2280
|
<p class="since">Since 2.24</p>
|
2319
2281
|
</div>
|
2320
2282
|
<hr>
|
2321
|
-
<div class="refsect2"
|
2283
|
+
<div class="refsect2">
|
2322
2284
|
<a name="g-variant-new-array"></a><h3>g_variant_new_array ()</h3>
|
2323
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2285
|
+
<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>,
|
2324
2286
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
2325
2287
|
<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>
|
2326
2288
|
<p>
|
@@ -2349,13 +2311,13 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2349
2311
|
<tbody>
|
2350
2312
|
<tr>
|
2351
2313
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
2352
|
-
<td>
|
2314
|
+
<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>
|
2353
2315
|
</td>
|
2354
2316
|
</tr>
|
2355
2317
|
<tr>
|
2356
2318
|
<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td>
|
2357
|
-
<td>
|
2358
|
-
|
2319
|
+
<td>an array of
|
2320
|
+
<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>
|
2359
2321
|
</td>
|
2360
2322
|
</tr>
|
2361
2323
|
<tr>
|
@@ -2365,17 +2327,16 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2365
2327
|
</tr>
|
2366
2328
|
<tr>
|
2367
2329
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2368
|
-
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array
|
2369
|
-
</td>
|
2330
|
+
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array</td>
|
2370
2331
|
</tr>
|
2371
2332
|
</tbody>
|
2372
2333
|
</table></div>
|
2373
2334
|
<p class="since">Since 2.24</p>
|
2374
2335
|
</div>
|
2375
2336
|
<hr>
|
2376
|
-
<div class="refsect2"
|
2337
|
+
<div class="refsect2">
|
2377
2338
|
<a name="g-variant-new-tuple"></a><h3>g_variant_new_tuple ()</h3>
|
2378
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2339
|
+
<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>,
|
2379
2340
|
<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>
|
2380
2341
|
<p>
|
2381
2342
|
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
|
@@ -2394,7 +2355,7 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2394
2355
|
<tbody>
|
2395
2356
|
<tr>
|
2396
2357
|
<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td>
|
2397
|
-
<td>
|
2358
|
+
<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>
|
2398
2359
|
</td>
|
2399
2360
|
</tr>
|
2400
2361
|
<tr>
|
@@ -2404,17 +2365,17 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2404
2365
|
</tr>
|
2405
2366
|
<tr>
|
2406
2367
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2407
|
-
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tuple
|
2408
|
-
</td>
|
2368
|
+
<td>a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tuple</td>
|
2409
2369
|
</tr>
|
2410
2370
|
</tbody>
|
2411
2371
|
</table></div>
|
2412
2372
|
<p class="since">Since 2.24</p>
|
2413
2373
|
</div>
|
2414
2374
|
<hr>
|
2415
|
-
<div class="refsect2"
|
2375
|
+
<div class="refsect2">
|
2416
2376
|
<a name="g-variant-new-dict-entry"></a><h3>g_variant_new_dict_entry ()</h3>
|
2417
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2377
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_dict_entry
|
2378
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
2418
2379
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2419
2380
|
<p>
|
2420
2381
|
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
|
@@ -2432,13 +2393,11 @@ the new instance takes ownership of them as if via <a class="link" href="glib-GV
|
|
2432
2393
|
<tbody>
|
2433
2394
|
<tr>
|
2434
2395
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2435
|
-
<td>a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, the key
|
2436
|
-
</td>
|
2396
|
+
<td>a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, the key</td>
|
2437
2397
|
</tr>
|
2438
2398
|
<tr>
|
2439
2399
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2440
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, the value
|
2441
|
-
</td>
|
2400
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, the value</td>
|
2442
2401
|
</tr>
|
2443
2402
|
<tr>
|
2444
2403
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -2450,9 +2409,9 @@ the new instance takes ownership of them as if via <a class="link" href="glib-GV
|
|
2450
2409
|
<p class="since">Since 2.24</p>
|
2451
2410
|
</div>
|
2452
2411
|
<hr>
|
2453
|
-
<div class="refsect2"
|
2412
|
+
<div class="refsect2">
|
2454
2413
|
<a name="g-variant-get-maybe"></a><h3>g_variant_get_maybe ()</h3>
|
2455
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2414
|
+
<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>
|
2456
2415
|
<p>
|
2457
2416
|
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
|
2458
2417
|
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>.
|
@@ -2462,12 +2421,11 @@ value is Nothing, then this function returns <a class="link" href="glib-Standard
|
|
2462
2421
|
<tbody>
|
2463
2422
|
<tr>
|
2464
2423
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2465
|
-
<td>a maybe-typed value
|
2466
|
-
</td>
|
2424
|
+
<td>a maybe-typed value</td>
|
2467
2425
|
</tr>
|
2468
2426
|
<tr>
|
2469
2427
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2470
|
-
<td>
|
2428
|
+
<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>
|
2471
2429
|
</td>
|
2472
2430
|
</tr>
|
2473
2431
|
</tbody>
|
@@ -2475,7 +2433,7 @@ value is Nothing, then this function returns <a class="link" href="glib-Standard
|
|
2475
2433
|
<p class="since">Since 2.24</p>
|
2476
2434
|
</div>
|
2477
2435
|
<hr>
|
2478
|
-
<div class="refsect2"
|
2436
|
+
<div class="refsect2">
|
2479
2437
|
<a name="g-variant-n-children"></a><h3>g_variant_n_children ()</h3>
|
2480
2438
|
<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>
|
2481
2439
|
<p>
|
@@ -2503,17 +2461,17 @@ This function is O(1).
|
|
2503
2461
|
</tr>
|
2504
2462
|
<tr>
|
2505
2463
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2506
|
-
<td>the number of children in the container
|
2507
|
-
</td>
|
2464
|
+
<td>the number of children in the container</td>
|
2508
2465
|
</tr>
|
2509
2466
|
</tbody>
|
2510
2467
|
</table></div>
|
2511
2468
|
<p class="since">Since 2.24</p>
|
2512
2469
|
</div>
|
2513
2470
|
<hr>
|
2514
|
-
<div class="refsect2"
|
2471
|
+
<div class="refsect2">
|
2515
2472
|
<a name="g-variant-get-child-value"></a><h3>g_variant_get_child_value ()</h3>
|
2516
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2473
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_child_value
|
2474
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2517
2475
|
<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>
|
2518
2476
|
<p>
|
2519
2477
|
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
|
@@ -2538,20 +2496,18 @@ This function is O(1).
|
|
2538
2496
|
</tr>
|
2539
2497
|
<tr>
|
2540
2498
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
2541
|
-
<td>the index of the child to fetch
|
2542
|
-
</td>
|
2499
|
+
<td>the index of the child to fetch</td>
|
2543
2500
|
</tr>
|
2544
2501
|
<tr>
|
2545
2502
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2546
|
-
<td>the child at the specified index
|
2547
|
-
</td>
|
2503
|
+
<td>the child at the specified index</td>
|
2548
2504
|
</tr>
|
2549
2505
|
</tbody>
|
2550
2506
|
</table></div>
|
2551
2507
|
<p class="since">Since 2.24</p>
|
2552
2508
|
</div>
|
2553
2509
|
<hr>
|
2554
|
-
<div class="refsect2"
|
2510
|
+
<div class="refsect2">
|
2555
2511
|
<a name="g-variant-get-child"></a><h3>g_variant_get_child ()</h3>
|
2556
2512
|
<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>,
|
2557
2513
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>,
|
@@ -2573,13 +2529,11 @@ essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-
|
|
2573
2529
|
</tr>
|
2574
2530
|
<tr>
|
2575
2531
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
2576
|
-
<td>the index of the child to deconstruct
|
2577
|
-
</td>
|
2532
|
+
<td>the index of the child to deconstruct</td>
|
2578
2533
|
</tr>
|
2579
2534
|
<tr>
|
2580
2535
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
2581
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string
|
2582
|
-
</td>
|
2536
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string</td>
|
2583
2537
|
</tr>
|
2584
2538
|
<tr>
|
2585
2539
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
@@ -2591,7 +2545,114 @@ essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-
|
|
2591
2545
|
<p class="since">Since 2.24</p>
|
2592
2546
|
</div>
|
2593
2547
|
<hr>
|
2594
|
-
<div class="refsect2"
|
2548
|
+
<div class="refsect2">
|
2549
|
+
<a name="g-variant-lookup-value"></a><h3>g_variant_lookup_value ()</h3>
|
2550
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_lookup_value (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
2551
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2552
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *expected_type</code></em>);</pre>
|
2553
|
+
<p>
|
2554
|
+
Looks up a value in a dictionary <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
2555
|
+
</p>
|
2556
|
+
<p>
|
2557
|
+
This function works with dictionaries of the type
|
2558
|
+
<code class="literal">a{s*}</code> (and equally well with type
|
2559
|
+
<code class="literal">a{o*}</code>, but we only further discuss the string case
|
2560
|
+
for sake of clarity).
|
2561
|
+
</p>
|
2562
|
+
<p>
|
2563
|
+
In the event that <em class="parameter"><code>dictionary</code></em> has the type <code class="literal">a{sv}</code>,
|
2564
|
+
the <em class="parameter"><code>expected_type</code></em> string specifies what type of value is expected to
|
2565
|
+
be inside of the variant. If the value inside the variant has a
|
2566
|
+
different type then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned. In the event that <em class="parameter"><code>dictionary</code></em>
|
2567
|
+
has a value type other than <code class="literal">v</code> then <em class="parameter"><code>expected_type</code></em>
|
2568
|
+
must directly match the key type and it is used to unpack the value
|
2569
|
+
directly or an error occurs.
|
2570
|
+
</p>
|
2571
|
+
<p>
|
2572
|
+
In either case, if <em class="parameter"><code>key</code></em> is not found in <em class="parameter"><code>dictionary</code></em>, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is
|
2573
|
+
returned.
|
2574
|
+
</p>
|
2575
|
+
<p>
|
2576
|
+
If the key is found and the value has the correct type, it is
|
2577
|
+
returned. If <em class="parameter"><code>expected_type</code></em> was specified then any non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> return
|
2578
|
+
value will have this type.
|
2579
|
+
</p>
|
2580
|
+
<div class="variablelist"><table border="0">
|
2581
|
+
<col align="left" valign="top">
|
2582
|
+
<tbody>
|
2583
|
+
<tr>
|
2584
|
+
<td><p><span class="term"><em class="parameter"><code>dictionary</code></em> :</span></p></td>
|
2585
|
+
<td>a dictionary <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2586
|
+
</td>
|
2587
|
+
</tr>
|
2588
|
+
<tr>
|
2589
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2590
|
+
<td>the key to lookup in the dictionary</td>
|
2591
|
+
</tr>
|
2592
|
+
<tr>
|
2593
|
+
<td><p><span class="term"><em class="parameter"><code>expected_type</code></em> :</span></p></td>
|
2594
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2595
|
+
</td>
|
2596
|
+
</tr>
|
2597
|
+
<tr>
|
2598
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2599
|
+
<td>the value of the dictionary key, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2600
|
+
</td>
|
2601
|
+
</tr>
|
2602
|
+
</tbody>
|
2603
|
+
</table></div>
|
2604
|
+
<p class="since">Since 2.28</p>
|
2605
|
+
</div>
|
2606
|
+
<hr>
|
2607
|
+
<div class="refsect2">
|
2608
|
+
<a name="g-variant-lookup"></a><h3>g_variant_lookup ()</h3>
|
2609
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_lookup (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
2610
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2611
|
+
<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>,
|
2612
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
2613
|
+
<p>
|
2614
|
+
Looks up a value in a dictionary <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
2615
|
+
</p>
|
2616
|
+
<p>
|
2617
|
+
This function is a wrapper around <a class="link" href="glib-GVariant.html#g-variant-lookup-value" title="g_variant_lookup_value ()"><code class="function">g_variant_lookup_value()</code></a> and
|
2618
|
+
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>. In the case that <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> would have been returned,
|
2619
|
+
this function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. Otherwise, it unpacks the returned
|
2620
|
+
value and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
2621
|
+
</p>
|
2622
|
+
<p>
|
2623
|
+
See <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> for information about <em class="parameter"><code>format_string</code></em>.
|
2624
|
+
</p>
|
2625
|
+
<div class="variablelist"><table border="0">
|
2626
|
+
<col align="left" valign="top">
|
2627
|
+
<tbody>
|
2628
|
+
<tr>
|
2629
|
+
<td><p><span class="term"><em class="parameter"><code>dictionary</code></em> :</span></p></td>
|
2630
|
+
<td>a dictionary <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2631
|
+
</td>
|
2632
|
+
</tr>
|
2633
|
+
<tr>
|
2634
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2635
|
+
<td>the key to lookup in the dictionary</td>
|
2636
|
+
</tr>
|
2637
|
+
<tr>
|
2638
|
+
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
2639
|
+
<td>a GVariant format string</td>
|
2640
|
+
</tr>
|
2641
|
+
<tr>
|
2642
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2643
|
+
<td>the arguments to unpack the value into</td>
|
2644
|
+
</tr>
|
2645
|
+
<tr>
|
2646
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2647
|
+
<td>
|
2648
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked</td>
|
2649
|
+
</tr>
|
2650
|
+
</tbody>
|
2651
|
+
</table></div>
|
2652
|
+
<p class="since">Since 2.28</p>
|
2653
|
+
</div>
|
2654
|
+
<hr>
|
2655
|
+
<div class="refsect2">
|
2595
2656
|
<a name="g-variant-get-fixed-array"></a><h3>g_variant_get_fixed_array ()</h3>
|
2596
2657
|
<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>,
|
2597
2658
|
<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>,
|
@@ -2620,22 +2681,19 @@ items in the array.
|
|
2620
2681
|
<tbody>
|
2621
2682
|
<tr>
|
2622
2683
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2623
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array with fixed-sized elements
|
2624
|
-
</td>
|
2684
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array with fixed-sized elements</td>
|
2625
2685
|
</tr>
|
2626
2686
|
<tr>
|
2627
2687
|
<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td>
|
2628
|
-
<td>a pointer to the location to store the number of items
|
2629
|
-
</td>
|
2688
|
+
<td>a pointer to the location to store the number of items</td>
|
2630
2689
|
</tr>
|
2631
2690
|
<tr>
|
2632
2691
|
<td><p><span class="term"><em class="parameter"><code>element_size</code></em> :</span></p></td>
|
2633
|
-
<td>the size of each element
|
2634
|
-
</td>
|
2692
|
+
<td>the size of each element</td>
|
2635
2693
|
</tr>
|
2636
2694
|
<tr>
|
2637
2695
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2638
|
-
<td>
|
2696
|
+
<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>
|
2639
2697
|
</td>
|
2640
2698
|
</tr>
|
2641
2699
|
</tbody>
|
@@ -2643,7 +2701,7 @@ items in the array.
|
|
2643
2701
|
<p class="since">Since 2.24</p>
|
2644
2702
|
</div>
|
2645
2703
|
<hr>
|
2646
|
-
<div class="refsect2"
|
2704
|
+
<div class="refsect2">
|
2647
2705
|
<a name="g-variant-get-size"></a><h3>g_variant_get_size ()</h3>
|
2648
2706
|
<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>
|
2649
2707
|
<p>
|
@@ -2666,8 +2724,7 @@ involved.
|
|
2666
2724
|
<tbody>
|
2667
2725
|
<tr>
|
2668
2726
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2669
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2670
|
-
</td>
|
2727
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
2671
2728
|
</tr>
|
2672
2729
|
<tr>
|
2673
2730
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -2679,7 +2736,7 @@ involved.
|
|
2679
2736
|
<p class="since">Since 2.24</p>
|
2680
2737
|
</div>
|
2681
2738
|
<hr>
|
2682
|
-
<div class="refsect2"
|
2739
|
+
<div class="refsect2">
|
2683
2740
|
<a name="g-variant-get-data"></a><h3>g_variant_get_data ()</h3>
|
2684
2741
|
<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>
|
2685
2742
|
<p>
|
@@ -2706,8 +2763,7 @@ of the result.
|
|
2706
2763
|
<tbody>
|
2707
2764
|
<tr>
|
2708
2765
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2709
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2710
|
-
</td>
|
2766
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
2711
2767
|
</tr>
|
2712
2768
|
<tr>
|
2713
2769
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -2719,7 +2775,7 @@ of the result.
|
|
2719
2775
|
<p class="since">Since 2.24</p>
|
2720
2776
|
</div>
|
2721
2777
|
<hr>
|
2722
|
-
<div class="refsect2"
|
2778
|
+
<div class="refsect2">
|
2723
2779
|
<a name="g-variant-store"></a><h3>g_variant_store ()</h3>
|
2724
2780
|
<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>,
|
2725
2781
|
<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>
|
@@ -2730,7 +2786,7 @@ large enough. See <a class="link" href="glib-GVariant.html#g-variant-get-size"
|
|
2730
2786
|
<p>
|
2731
2787
|
The stored data is in machine native byte order but may not be in
|
2732
2788
|
fully-normalised form if read from an untrusted source. See
|
2733
|
-
<code class="function">
|
2789
|
+
<a class="link" href="glib-GVariant.html#g-variant-get-normal-form" title="g_variant_get_normal_form ()"><code class="function">g_variant_get_normal_form()</code></a> for a solution.
|
2734
2790
|
</p>
|
2735
2791
|
<p>
|
2736
2792
|
This function is approximately O(n) in the size of <em class="parameter"><code>data</code></em>.
|
@@ -2740,22 +2796,21 @@ This function is approximately O(n) in the size of <em class="parameter"><code>d
|
|
2740
2796
|
<tbody>
|
2741
2797
|
<tr>
|
2742
2798
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2743
|
-
<td>the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> to store
|
2744
|
-
</td>
|
2799
|
+
<td>the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> to store</td>
|
2745
2800
|
</tr>
|
2746
2801
|
<tr>
|
2747
2802
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2748
|
-
<td>the location to store the serialised data at
|
2749
|
-
</td>
|
2803
|
+
<td>the location to store the serialised data at</td>
|
2750
2804
|
</tr>
|
2751
2805
|
</tbody>
|
2752
2806
|
</table></div>
|
2753
2807
|
<p class="since">Since 2.24</p>
|
2754
2808
|
</div>
|
2755
2809
|
<hr>
|
2756
|
-
<div class="refsect2"
|
2810
|
+
<div class="refsect2">
|
2757
2811
|
<a name="g-variant-new-from-data"></a><h3>g_variant_new_from_data ()</h3>
|
2758
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2812
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_from_data
|
2813
|
+
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
2759
2814
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
2760
2815
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
2761
2816
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
@@ -2797,8 +2852,7 @@ before this function returns.
|
|
2797
2852
|
</tr>
|
2798
2853
|
<tr>
|
2799
2854
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2800
|
-
<td>the serialised data
|
2801
|
-
</td>
|
2855
|
+
<td>the serialised data</td>
|
2802
2856
|
</tr>
|
2803
2857
|
<tr>
|
2804
2858
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -2808,13 +2862,11 @@ before this function returns.
|
|
2808
2862
|
<tr>
|
2809
2863
|
<td><p><span class="term"><em class="parameter"><code>trusted</code></em> :</span></p></td>
|
2810
2864
|
<td>
|
2811
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>data</code></em> is definitely in normal form
|
2812
|
-
</td>
|
2865
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>data</code></em> is definitely in normal form</td>
|
2813
2866
|
</tr>
|
2814
2867
|
<tr>
|
2815
2868
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
2816
|
-
<td>function to call when <em class="parameter"><code>data</code></em> is no longer needed
|
2817
|
-
</td>
|
2869
|
+
<td>function to call when <em class="parameter"><code>data</code></em> is no longer needed</td>
|
2818
2870
|
</tr>
|
2819
2871
|
<tr>
|
2820
2872
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -2831,9 +2883,9 @@ before this function returns.
|
|
2831
2883
|
<p class="since">Since 2.24</p>
|
2832
2884
|
</div>
|
2833
2885
|
<hr>
|
2834
|
-
<div class="refsect2"
|
2886
|
+
<div class="refsect2">
|
2835
2887
|
<a name="g-variant-byteswap"></a><h3>g_variant_byteswap ()</h3>
|
2836
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2888
|
+
<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>
|
2837
2889
|
<p>
|
2838
2890
|
Performs a byteswapping operation on the contents of <em class="parameter"><code>value</code></em>. The
|
2839
2891
|
result is that all multi-byte numeric data contained in <em class="parameter"><code>value</code></em> is
|
@@ -2867,9 +2919,10 @@ The returned value is always in normal form and is marked as trusted.
|
|
2867
2919
|
<p class="since">Since 2.24</p>
|
2868
2920
|
</div>
|
2869
2921
|
<hr>
|
2870
|
-
<div class="refsect2"
|
2922
|
+
<div class="refsect2">
|
2871
2923
|
<a name="g-variant-get-normal-form"></a><h3>g_variant_get_normal_form ()</h3>
|
2872
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2924
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_normal_form
|
2925
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2873
2926
|
<p>
|
2874
2927
|
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
|
2875
2928
|
trusted to be in normal form.
|
@@ -2910,7 +2963,7 @@ output is definitely in normal form.
|
|
2910
2963
|
<p class="since">Since 2.24</p>
|
2911
2964
|
</div>
|
2912
2965
|
<hr>
|
2913
|
-
<div class="refsect2"
|
2966
|
+
<div class="refsect2">
|
2914
2967
|
<a name="g-variant-is-normal-form"></a><h3>g_variant_is_normal_form ()</h3>
|
2915
2968
|
<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>
|
2916
2969
|
<p>
|
@@ -2919,7 +2972,7 @@ Checks if <em class="parameter"><code>value</code></em> is in normal form.
|
|
2919
2972
|
<p>
|
2920
2973
|
The main reason to do this is to detect if a given chunk of
|
2921
2974
|
serialised data is in normal form: load the data into a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2922
|
-
using <code class="function">
|
2975
|
+
using <a class="link" href="glib-GVariant.html#g-variant-new-from-data" title="g_variant_new_from_data ()"><code class="function">g_variant_new_from_data()</code></a> and then use this function to
|
2923
2976
|
check.
|
2924
2977
|
</p>
|
2925
2978
|
<p>
|
@@ -2932,21 +2985,19 @@ this function will immediately return <a class="link" href="glib-Standard-Macros
|
|
2932
2985
|
<tbody>
|
2933
2986
|
<tr>
|
2934
2987
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2935
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
2936
|
-
</td>
|
2988
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
2937
2989
|
</tr>
|
2938
2990
|
<tr>
|
2939
2991
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2940
2992
|
<td>
|
2941
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is in normal form
|
2942
|
-
</td>
|
2993
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is in normal form</td>
|
2943
2994
|
</tr>
|
2944
2995
|
</tbody>
|
2945
2996
|
</table></div>
|
2946
2997
|
<p class="since">Since 2.24</p>
|
2947
2998
|
</div>
|
2948
2999
|
<hr>
|
2949
|
-
<div class="refsect2"
|
3000
|
+
<div class="refsect2">
|
2950
3001
|
<a name="g-variant-hash"></a><h3>g_variant_hash ()</h3>
|
2951
3002
|
<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>
|
2952
3003
|
<p>
|
@@ -2967,7 +3018,7 @@ function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
2967
3018
|
<tbody>
|
2968
3019
|
<tr>
|
2969
3020
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2970
|
-
<td>
|
3021
|
+
<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">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
|
2971
3022
|
</td>
|
2972
3023
|
</tr>
|
2973
3024
|
<tr>
|
@@ -2980,7 +3031,7 @@ function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
2980
3031
|
<p class="since">Since 2.24</p>
|
2981
3032
|
</div>
|
2982
3033
|
<hr>
|
2983
|
-
<div class="refsect2"
|
3034
|
+
<div class="refsect2">
|
2984
3035
|
<a name="g-variant-equal"></a><h3>g_variant_equal ()</h3>
|
2985
3036
|
<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>,
|
2986
3037
|
<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>
|
@@ -2996,33 +3047,35 @@ this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title
|
|
2996
3047
|
<tbody>
|
2997
3048
|
<tr>
|
2998
3049
|
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
2999
|
-
<td>
|
3050
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
|
3000
3051
|
</td>
|
3001
3052
|
</tr>
|
3002
3053
|
<tr>
|
3003
3054
|
<td><p><span class="term"><em class="parameter"><code>two</code></em> :</span></p></td>
|
3004
|
-
<td>
|
3055
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
|
3005
3056
|
</td>
|
3006
3057
|
</tr>
|
3007
3058
|
<tr>
|
3008
3059
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3009
3060
|
<td>
|
3010
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>one</code></em> and <em class="parameter"><code>two</code></em> are equal
|
3011
|
-
</td>
|
3061
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>one</code></em> and <em class="parameter"><code>two</code></em> are equal</td>
|
3012
3062
|
</tr>
|
3013
3063
|
</tbody>
|
3014
3064
|
</table></div>
|
3015
3065
|
<p class="since">Since 2.24</p>
|
3016
3066
|
</div>
|
3017
3067
|
<hr>
|
3018
|
-
<div class="refsect2"
|
3068
|
+
<div class="refsect2">
|
3019
3069
|
<a name="g-variant-print"></a><h3>g_variant_print ()</h3>
|
3020
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
3070
|
+
<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>,
|
3021
3071
|
<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>
|
3022
3072
|
<p>
|
3023
3073
|
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>.
|
3024
3074
|
</p>
|
3025
3075
|
<p>
|
3076
|
+
The format is described <a href="gvariant-text.html">here</a>.
|
3077
|
+
</p>
|
3078
|
+
<p>
|
3026
3079
|
If <em class="parameter"><code>type_annotate</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, then type information is included in
|
3027
3080
|
the output.
|
3028
3081
|
</p>
|
@@ -3038,29 +3091,27 @@ the output.
|
|
3038
3091
|
<td><p><span class="term"><em class="parameter"><code>type_annotate</code></em> :</span></p></td>
|
3039
3092
|
<td>
|
3040
3093
|
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if type information should be included in
|
3041
|
-
|
3042
|
-
</td>
|
3094
|
+
the output</td>
|
3043
3095
|
</tr>
|
3044
3096
|
<tr>
|
3045
3097
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3046
|
-
<td>a newly-allocated string holding the result
|
3047
|
-
</td>
|
3098
|
+
<td>a newly-allocated string holding the result.</td>
|
3048
3099
|
</tr>
|
3049
3100
|
</tbody>
|
3050
3101
|
</table></div>
|
3051
3102
|
</div>
|
3052
3103
|
<hr>
|
3053
|
-
<div class="refsect2"
|
3104
|
+
<div class="refsect2">
|
3054
3105
|
<a name="g-variant-print-string"></a><h3>g_variant_print_string ()</h3>
|
3055
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> *
|
3056
|
-
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>,
|
3106
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="struct 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>,
|
3107
|
+
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>,
|
3057
3108
|
<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>
|
3058
3109
|
<p>
|
3059
|
-
Behaves as <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()"><code class="function">g_variant_print()</code></a>, but operates on a <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a>.
|
3110
|
+
Behaves as <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()"><code class="function">g_variant_print()</code></a>, but operates on a <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a>.
|
3060
3111
|
</p>
|
3061
3112
|
<p>
|
3062
3113
|
If <em class="parameter"><code>string</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is appended to and returned. Else,
|
3063
|
-
a new empty <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> is allocated and it is returned.
|
3114
|
+
a new empty <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> is allocated and it is returned.
|
3064
3115
|
</p>
|
3065
3116
|
<div class="variablelist"><table border="0">
|
3066
3117
|
<col align="left" valign="top">
|
@@ -3072,42 +3123,40 @@ a new empty <a class="link" href="glib-Strings.html#GString" title="GString"><sp
|
|
3072
3123
|
</tr>
|
3073
3124
|
<tr>
|
3074
3125
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
3075
|
-
<td>
|
3126
|
+
<td>a <a class="link" href="glib-Strings.html#GString" title="struct 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>
|
3076
3127
|
</td>
|
3077
3128
|
</tr>
|
3078
3129
|
<tr>
|
3079
3130
|
<td><p><span class="term"><em class="parameter"><code>type_annotate</code></em> :</span></p></td>
|
3080
3131
|
<td>
|
3081
3132
|
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if type information should be included in
|
3082
|
-
|
3083
|
-
</td>
|
3133
|
+
the output</td>
|
3084
3134
|
</tr>
|
3085
3135
|
<tr>
|
3086
3136
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3087
|
-
<td>a <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> containing the string
|
3088
|
-
</td>
|
3137
|
+
<td>a <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> containing the string</td>
|
3089
3138
|
</tr>
|
3090
3139
|
</tbody>
|
3091
3140
|
</table></div>
|
3092
3141
|
<p class="since">Since 2.24</p>
|
3093
3142
|
</div>
|
3094
3143
|
<hr>
|
3095
|
-
<div class="refsect2"
|
3096
|
-
<a name="GVariantIter"></a><h3>GVariantIter</h3>
|
3097
|
-
<pre class="programlisting">
|
3098
|
-
}
|
3144
|
+
<div class="refsect2">
|
3145
|
+
<a name="GVariantIter"></a><h3>struct GVariantIter</h3>
|
3146
|
+
<pre class="programlisting">struct GVariantIter {
|
3147
|
+
};
|
3099
3148
|
</pre>
|
3100
3149
|
<p>
|
3101
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a> is an opaque data structure and can only be accessed
|
3150
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> is an opaque data structure and can only be accessed
|
3102
3151
|
using the following functions.
|
3103
3152
|
</p>
|
3104
3153
|
</div>
|
3105
3154
|
<hr>
|
3106
|
-
<div class="refsect2"
|
3155
|
+
<div class="refsect2">
|
3107
3156
|
<a name="g-variant-iter-copy"></a><h3>g_variant_iter_copy ()</h3>
|
3108
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
3157
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> * g_variant_iter_copy (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3109
3158
|
<p>
|
3110
|
-
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
|
3159
|
+
Creates a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> to iterate over the
|
3111
3160
|
container that was being iterated over by <em class="parameter"><code>iter</code></em>. Iteration begins on
|
3112
3161
|
the new iterator from the current position of the old iterator but
|
3113
3162
|
the two copies are independent past that point.
|
@@ -3125,12 +3174,12 @@ and will be releated only when <a class="link" href="glib-GVariant.html#g-varian
|
|
3125
3174
|
<tbody>
|
3126
3175
|
<tr>
|
3127
3176
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3128
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3177
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3129
3178
|
</td>
|
3130
3179
|
</tr>
|
3131
3180
|
<tr>
|
3132
3181
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3133
|
-
<td>a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3182
|
+
<td>a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3134
3183
|
</td>
|
3135
3184
|
</tr>
|
3136
3185
|
</tbody>
|
@@ -3138,11 +3187,11 @@ and will be releated only when <a class="link" href="glib-GVariant.html#g-varian
|
|
3138
3187
|
<p class="since">Since 2.24</p>
|
3139
3188
|
</div>
|
3140
3189
|
<hr>
|
3141
|
-
<div class="refsect2"
|
3190
|
+
<div class="refsect2">
|
3142
3191
|
<a name="g-variant-iter-free"></a><h3>g_variant_iter_free ()</h3>
|
3143
|
-
<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>
|
3192
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3144
3193
|
<p>
|
3145
|
-
Frees a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>. Only call this function on
|
3194
|
+
Frees a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>. Only call this function on
|
3146
3195
|
iterators that were returned by <a class="link" href="glib-GVariant.html#g-variant-iter-new" title="g_variant_iter_new ()"><code class="function">g_variant_iter_new()</code></a> or
|
3147
3196
|
<a class="link" href="glib-GVariant.html#g-variant-iter-copy" title="g_variant_iter_copy ()"><code class="function">g_variant_iter_copy()</code></a>.
|
3148
3197
|
</p>
|
@@ -3150,19 +3199,19 @@ iterators that were returned by <a class="link" href="glib-GVariant.html#g-varia
|
|
3150
3199
|
<col align="left" valign="top">
|
3151
3200
|
<tbody><tr>
|
3152
3201
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3153
|
-
<td>a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3202
|
+
<td>a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3154
3203
|
</td>
|
3155
3204
|
</tr></tbody>
|
3156
3205
|
</table></div>
|
3157
3206
|
<p class="since">Since 2.24</p>
|
3158
3207
|
</div>
|
3159
3208
|
<hr>
|
3160
|
-
<div class="refsect2"
|
3209
|
+
<div class="refsect2">
|
3161
3210
|
<a name="g-variant-iter-init"></a><h3>g_variant_iter_init ()</h3>
|
3162
|
-
<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>,
|
3211
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
3163
3212
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
3164
3213
|
<p>
|
3165
|
-
Initialises (without allocating) a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>. <em class="parameter"><code>iter</code></em> may be
|
3214
|
+
Initialises (without allocating) a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>. <em class="parameter"><code>iter</code></em> may be
|
3166
3215
|
completely uninitialised prior to this call; its old value is
|
3167
3216
|
ignored.
|
3168
3217
|
</p>
|
@@ -3175,7 +3224,7 @@ be freed in any way.
|
|
3175
3224
|
<tbody>
|
3176
3225
|
<tr>
|
3177
3226
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3178
|
-
<td>a pointer to a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3227
|
+
<td>a pointer to a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3179
3228
|
</td>
|
3180
3229
|
</tr>
|
3181
3230
|
<tr>
|
@@ -3193,9 +3242,9 @@ be freed in any way.
|
|
3193
3242
|
<p class="since">Since 2.24</p>
|
3194
3243
|
</div>
|
3195
3244
|
<hr>
|
3196
|
-
<div class="refsect2"
|
3245
|
+
<div class="refsect2">
|
3197
3246
|
<a name="g-variant-iter-n-children"></a><h3>g_variant_iter_n_children ()</h3>
|
3198
|
-
<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>
|
3247
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3199
3248
|
<p>
|
3200
3249
|
Queries the number of child items in the container that we are
|
3201
3250
|
iterating over. This is the total number of items -- not the number
|
@@ -3209,24 +3258,23 @@ This function might be useful for preallocation of arrays.
|
|
3209
3258
|
<tbody>
|
3210
3259
|
<tr>
|
3211
3260
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3212
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3261
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3213
3262
|
</td>
|
3214
3263
|
</tr>
|
3215
3264
|
<tr>
|
3216
3265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3217
|
-
<td>the number of children in the container
|
3218
|
-
</td>
|
3266
|
+
<td>the number of children in the container</td>
|
3219
3267
|
</tr>
|
3220
3268
|
</tbody>
|
3221
3269
|
</table></div>
|
3222
3270
|
<p class="since">Since 2.24</p>
|
3223
3271
|
</div>
|
3224
3272
|
<hr>
|
3225
|
-
<div class="refsect2"
|
3273
|
+
<div class="refsect2">
|
3226
3274
|
<a name="g-variant-iter-new"></a><h3>g_variant_iter_new ()</h3>
|
3227
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
3275
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct 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>
|
3228
3276
|
<p>
|
3229
|
-
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
|
3277
|
+
Creates a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> for iterating over the items
|
3230
3278
|
in <em class="parameter"><code>value</code></em>.
|
3231
3279
|
</p>
|
3232
3280
|
<p>
|
@@ -3247,7 +3295,7 @@ A reference is taken to <em class="parameter"><code>value</code></em> and will b
|
|
3247
3295
|
</tr>
|
3248
3296
|
<tr>
|
3249
3297
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3250
|
-
<td>a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3298
|
+
<td>a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3251
3299
|
</td>
|
3252
3300
|
</tr>
|
3253
3301
|
</tbody>
|
@@ -3255,9 +3303,10 @@ A reference is taken to <em class="parameter"><code>value</code></em> and will b
|
|
3255
3303
|
<p class="since">Since 2.24</p>
|
3256
3304
|
</div>
|
3257
3305
|
<hr>
|
3258
|
-
<div class="refsect2"
|
3306
|
+
<div class="refsect2">
|
3259
3307
|
<a name="g-variant-iter-next-value"></a><h3>g_variant_iter_next_value ()</h3>
|
3260
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3308
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_iter_next_value
|
3309
|
+
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3261
3310
|
<p>
|
3262
3311
|
Gets the next item in the container. If no more items remain then
|
3263
3312
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
|
@@ -3269,7 +3318,7 @@ you no longer need it.
|
|
3269
3318
|
<p>
|
3270
3319
|
</p>
|
3271
3320
|
<div class="example">
|
3272
|
-
<a name="
|
3321
|
+
<a name="id855142"></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>
|
3273
3322
|
<div class="example-contents">
|
3274
3323
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3275
3324
|
<tbody>
|
@@ -3323,12 +3372,12 @@ you no longer need it.
|
|
3323
3372
|
<tbody>
|
3324
3373
|
<tr>
|
3325
3374
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3326
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3375
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3327
3376
|
</td>
|
3328
3377
|
</tr>
|
3329
3378
|
<tr>
|
3330
3379
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3331
|
-
<td>
|
3380
|
+
<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>
|
3332
3381
|
</td>
|
3333
3382
|
</tr>
|
3334
3383
|
</tbody>
|
@@ -3336,9 +3385,9 @@ you no longer need it.
|
|
3336
3385
|
<p class="since">Since 2.24</p>
|
3337
3386
|
</div>
|
3338
3387
|
<hr>
|
3339
|
-
<div class="refsect2"
|
3388
|
+
<div class="refsect2">
|
3340
3389
|
<a name="g-variant-iter-next"></a><h3>g_variant_iter_next ()</h3>
|
3341
|
-
<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>,
|
3390
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
3342
3391
|
<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>,
|
3343
3392
|
<em class="parameter"><code>...</code></em>);</pre>
|
3344
3393
|
<p>
|
@@ -3361,7 +3410,7 @@ Format Strings</GTKDOCLINK>.
|
|
3361
3410
|
<p>
|
3362
3411
|
</p>
|
3363
3412
|
<div class="example">
|
3364
|
-
<a name="
|
3413
|
+
<a name="id855375"></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>
|
3365
3414
|
<div class="example-contents">
|
3366
3415
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3367
3416
|
<tbody>
|
@@ -3421,34 +3470,31 @@ when dealing with loops, see <a class="link" href="glib-GVariant.html#g-variant-
|
|
3421
3470
|
<tbody>
|
3422
3471
|
<tr>
|
3423
3472
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3424
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3473
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3425
3474
|
</td>
|
3426
3475
|
</tr>
|
3427
3476
|
<tr>
|
3428
3477
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
3429
|
-
<td>a GVariant format string
|
3430
|
-
</td>
|
3478
|
+
<td>a GVariant format string</td>
|
3431
3479
|
</tr>
|
3432
3480
|
<tr>
|
3433
3481
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
3434
|
-
<td>the arguments to unpack the value into
|
3435
|
-
</td>
|
3482
|
+
<td>the arguments to unpack the value into</td>
|
3436
3483
|
</tr>
|
3437
3484
|
<tr>
|
3438
3485
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3439
3486
|
<td>
|
3440
3487
|
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there as no
|
3441
|
-
|
3442
|
-
</td>
|
3488
|
+
value</td>
|
3443
3489
|
</tr>
|
3444
3490
|
</tbody>
|
3445
3491
|
</table></div>
|
3446
3492
|
<p class="since">Since 2.24</p>
|
3447
3493
|
</div>
|
3448
3494
|
<hr>
|
3449
|
-
<div class="refsect2"
|
3495
|
+
<div class="refsect2">
|
3450
3496
|
<a name="g-variant-iter-loop"></a><h3>g_variant_iter_loop ()</h3>
|
3451
|
-
<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>,
|
3497
|
+
<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="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
3452
3498
|
<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>,
|
3453
3499
|
<em class="parameter"><code>...</code></em>);</pre>
|
3454
3500
|
<p>
|
@@ -3482,7 +3528,7 @@ Format Strings</GTKDOCLINK>.
|
|
3482
3528
|
<p>
|
3483
3529
|
</p>
|
3484
3530
|
<div class="example">
|
3485
|
-
<a name="
|
3531
|
+
<a name="id855682"></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>
|
3486
3532
|
<div class="example-contents">
|
3487
3533
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3488
3534
|
<tbody>
|
@@ -3538,35 +3584,32 @@ typing, see <a class="link" href="glib-GVariant.html#g-variant-iter-next" title=
|
|
3538
3584
|
<tbody>
|
3539
3585
|
<tr>
|
3540
3586
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3541
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="GVariantIter"><span class="type">GVariantIter</span></a>
|
3587
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>
|
3542
3588
|
</td>
|
3543
3589
|
</tr>
|
3544
3590
|
<tr>
|
3545
3591
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
3546
|
-
<td>a GVariant format string
|
3547
|
-
</td>
|
3592
|
+
<td>a GVariant format string</td>
|
3548
3593
|
</tr>
|
3549
3594
|
<tr>
|
3550
3595
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
3551
|
-
<td>the arguments to unpack the value into
|
3552
|
-
</td>
|
3596
|
+
<td>the arguments to unpack the value into</td>
|
3553
3597
|
</tr>
|
3554
3598
|
<tr>
|
3555
3599
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3556
3600
|
<td>
|
3557
3601
|
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there as no
|
3558
|
-
|
3559
|
-
</td>
|
3602
|
+
value</td>
|
3560
3603
|
</tr>
|
3561
3604
|
</tbody>
|
3562
3605
|
</table></div>
|
3563
3606
|
<p class="since">Since 2.24</p>
|
3564
3607
|
</div>
|
3565
3608
|
<hr>
|
3566
|
-
<div class="refsect2"
|
3567
|
-
<a name="GVariantBuilder"></a><h3>GVariantBuilder</h3>
|
3568
|
-
<pre class="programlisting">
|
3569
|
-
}
|
3609
|
+
<div class="refsect2">
|
3610
|
+
<a name="GVariantBuilder"></a><h3>struct GVariantBuilder</h3>
|
3611
|
+
<pre class="programlisting">struct GVariantBuilder {
|
3612
|
+
};
|
3570
3613
|
</pre>
|
3571
3614
|
<p>
|
3572
3615
|
A utility type for constructing container-type <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances.
|
@@ -3576,44 +3619,44 @@ This is an opaque structure and may only be accessed using the
|
|
3576
3619
|
following functions.
|
3577
3620
|
</p>
|
3578
3621
|
<p>
|
3579
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> is not threadsafe in any way. Do not attempt to
|
3622
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> is not threadsafe in any way. Do not attempt to
|
3580
3623
|
access it from more than one thread.
|
3581
3624
|
</p>
|
3582
3625
|
</div>
|
3583
3626
|
<hr>
|
3584
|
-
<div class="refsect2"
|
3627
|
+
<div class="refsect2">
|
3585
3628
|
<a name="g-variant-builder-unref"></a><h3>g_variant_builder_unref ()</h3>
|
3586
|
-
<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>
|
3629
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3587
3630
|
<p>
|
3588
3631
|
Decreases the reference count on <em class="parameter"><code>builder</code></em>.
|
3589
3632
|
</p>
|
3590
3633
|
<p>
|
3591
3634
|
In the event that there are no more references, releases all memory
|
3592
|
-
associated with the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3635
|
+
associated with the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3593
3636
|
</p>
|
3594
3637
|
<p>
|
3595
|
-
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3638
|
+
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3596
3639
|
things will happen.
|
3597
3640
|
</p>
|
3598
3641
|
<div class="variablelist"><table border="0">
|
3599
3642
|
<col align="left" valign="top">
|
3600
3643
|
<tbody><tr>
|
3601
3644
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3602
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> allocated by <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a>
|
3645
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> allocated by <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a>
|
3603
3646
|
</td>
|
3604
3647
|
</tr></tbody>
|
3605
3648
|
</table></div>
|
3606
3649
|
<p class="since">Since 2.24</p>
|
3607
3650
|
</div>
|
3608
3651
|
<hr>
|
3609
|
-
<div class="refsect2"
|
3652
|
+
<div class="refsect2">
|
3610
3653
|
<a name="g-variant-builder-ref"></a><h3>g_variant_builder_ref ()</h3>
|
3611
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
3654
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * g_variant_builder_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3612
3655
|
<p>
|
3613
3656
|
Increases the reference count on <em class="parameter"><code>builder</code></em>.
|
3614
3657
|
</p>
|
3615
3658
|
<p>
|
3616
|
-
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3659
|
+
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3617
3660
|
things will happen.
|
3618
3661
|
</p>
|
3619
3662
|
<div class="variablelist"><table border="0">
|
@@ -3621,7 +3664,7 @@ things will happen.
|
|
3621
3664
|
<tbody>
|
3622
3665
|
<tr>
|
3623
3666
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3624
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> allocated by <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a>
|
3667
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> allocated by <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a>
|
3625
3668
|
</td>
|
3626
3669
|
</tr>
|
3627
3670
|
<tr>
|
@@ -3634,11 +3677,11 @@ things will happen.
|
|
3634
3677
|
<p class="since">Since 2.24</p>
|
3635
3678
|
</div>
|
3636
3679
|
<hr>
|
3637
|
-
<div class="refsect2"
|
3680
|
+
<div class="refsect2">
|
3638
3681
|
<a name="g-variant-builder-new"></a><h3>g_variant_builder_new ()</h3>
|
3639
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
3682
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct 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>
|
3640
3683
|
<p>
|
3641
|
-
Allocates and initialises a new <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3684
|
+
Allocates and initialises a new <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3642
3685
|
</p>
|
3643
3686
|
<p>
|
3644
3687
|
You should call <a class="link" href="glib-GVariant.html#g-variant-builder-unref" title="g_variant_builder_unref ()"><code class="function">g_variant_builder_unref()</code></a> on the return value when it
|
@@ -3646,7 +3689,7 @@ is no longer needed. The memory will not be automatically freed by
|
|
3646
3689
|
any other call.
|
3647
3690
|
</p>
|
3648
3691
|
<p>
|
3649
|
-
In most cases it is easier to place a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> directly on
|
3692
|
+
In most cases it is easier to place a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> directly on
|
3650
3693
|
the stack of the calling function and initialise it with
|
3651
3694
|
<a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()"><code class="function">g_variant_builder_init()</code></a>.
|
3652
3695
|
</p>
|
@@ -3655,12 +3698,11 @@ the stack of the calling function and initialise it with
|
|
3655
3698
|
<tbody>
|
3656
3699
|
<tr>
|
3657
3700
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
3658
|
-
<td>a container type
|
3659
|
-
</td>
|
3701
|
+
<td>a container type</td>
|
3660
3702
|
</tr>
|
3661
3703
|
<tr>
|
3662
3704
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3663
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3705
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3664
3706
|
</td>
|
3665
3707
|
</tr>
|
3666
3708
|
</tbody>
|
@@ -3668,12 +3710,12 @@ the stack of the calling function and initialise it with
|
|
3668
3710
|
<p class="since">Since 2.24</p>
|
3669
3711
|
</div>
|
3670
3712
|
<hr>
|
3671
|
-
<div class="refsect2"
|
3713
|
+
<div class="refsect2">
|
3672
3714
|
<a name="g-variant-builder-init"></a><h3>g_variant_builder_init ()</h3>
|
3673
|
-
<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>,
|
3715
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3674
3716
|
<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>
|
3675
3717
|
<p>
|
3676
|
-
Initialises a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure.
|
3718
|
+
Initialises a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure.
|
3677
3719
|
</p>
|
3678
3720
|
<p>
|
3679
3721
|
<em class="parameter"><code>type</code></em> must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. It specifies the type of container to
|
@@ -3695,15 +3737,15 @@ was created.
|
|
3695
3737
|
This function completely ignores the previous contents of <em class="parameter"><code>builder</code></em>.
|
3696
3738
|
On one hand this means that it is valid to pass in completely
|
3697
3739
|
uninitialised memory. On the other hand, this means that if you are
|
3698
|
-
initialising over top of an existing <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> you need to
|
3740
|
+
initialising over top of an existing <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> you need to
|
3699
3741
|
first call <a class="link" href="glib-GVariant.html#g-variant-builder-clear" title="g_variant_builder_clear ()"><code class="function">g_variant_builder_clear()</code></a> in order to avoid leaking
|
3700
3742
|
memory.
|
3701
3743
|
</p>
|
3702
3744
|
<p>
|
3703
3745
|
You must not call <a class="link" href="glib-GVariant.html#g-variant-builder-ref" title="g_variant_builder_ref ()"><code class="function">g_variant_builder_ref()</code></a> or
|
3704
|
-
<a class="link" href="glib-GVariant.html#g-variant-builder-unref" title="g_variant_builder_unref ()"><code class="function">g_variant_builder_unref()</code></a> on a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> that was initialised
|
3746
|
+
<a class="link" href="glib-GVariant.html#g-variant-builder-unref" title="g_variant_builder_unref ()"><code class="function">g_variant_builder_unref()</code></a> on a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> that was initialised
|
3705
3747
|
with this function. If you ever pass a reference to a
|
3706
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> outside of the control of your own code then you
|
3748
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> outside of the control of your own code then you
|
3707
3749
|
should assume that the person receiving that reference may try to use
|
3708
3750
|
reference counting; you should use <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a> instead of
|
3709
3751
|
this function.
|
@@ -3713,54 +3755,53 @@ this function.
|
|
3713
3755
|
<tbody>
|
3714
3756
|
<tr>
|
3715
3757
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3716
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3758
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3717
3759
|
</td>
|
3718
3760
|
</tr>
|
3719
3761
|
<tr>
|
3720
3762
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
3721
|
-
<td>a container type
|
3722
|
-
</td>
|
3763
|
+
<td>a container type</td>
|
3723
3764
|
</tr>
|
3724
3765
|
</tbody>
|
3725
3766
|
</table></div>
|
3726
3767
|
<p class="since">Since 2.24</p>
|
3727
3768
|
</div>
|
3728
3769
|
<hr>
|
3729
|
-
<div class="refsect2"
|
3770
|
+
<div class="refsect2">
|
3730
3771
|
<a name="g-variant-builder-clear"></a><h3>g_variant_builder_clear ()</h3>
|
3731
|
-
<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>
|
3772
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3732
3773
|
<p>
|
3733
|
-
Releases all memory associated with a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> without
|
3734
|
-
freeing the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure itself.
|
3774
|
+
Releases all memory associated with a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> without
|
3775
|
+
freeing the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure itself.
|
3735
3776
|
</p>
|
3736
3777
|
<p>
|
3737
3778
|
It typically only makes sense to do this on a stack-allocated
|
3738
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> if you want to abort building the value part-way
|
3779
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> if you want to abort building the value part-way
|
3739
3780
|
through. This function need not be called if you call
|
3740
3781
|
<a class="link" href="glib-GVariant.html#g-variant-builder-end" title="g_variant_builder_end ()"><code class="function">g_variant_builder_end()</code></a> and it also doesn't need to be called on
|
3741
3782
|
builders allocated with g_variant_builder_new (see
|
3742
3783
|
<code class="function">g_variant_builder_free()</code> for that).
|
3743
3784
|
</p>
|
3744
3785
|
<p>
|
3745
|
-
This function leaves the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure set to all-zeros.
|
3786
|
+
This function leaves the <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> structure set to all-zeros.
|
3746
3787
|
It is valid to call this function on either an initialised
|
3747
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a> or one that is set to all-zeros but it is not valid
|
3788
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> or one that is set to all-zeros but it is not valid
|
3748
3789
|
to call this function on uninitialised memory.
|
3749
3790
|
</p>
|
3750
3791
|
<div class="variablelist"><table border="0">
|
3751
3792
|
<col align="left" valign="top">
|
3752
3793
|
<tbody><tr>
|
3753
3794
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3754
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3795
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3755
3796
|
</td>
|
3756
3797
|
</tr></tbody>
|
3757
3798
|
</table></div>
|
3758
3799
|
<p class="since">Since 2.24</p>
|
3759
3800
|
</div>
|
3760
3801
|
<hr>
|
3761
|
-
<div class="refsect2"
|
3802
|
+
<div class="refsect2">
|
3762
3803
|
<a name="g-variant-builder-add-value"></a><h3>g_variant_builder_add_value ()</h3>
|
3763
|
-
<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>,
|
3804
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3764
3805
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
3765
3806
|
<p>
|
3766
3807
|
Adds <em class="parameter"><code>value</code></em> to <em class="parameter"><code>builder</code></em>.
|
@@ -3772,12 +3813,16 @@ putting different types of items into an array, putting the wrong
|
|
3772
3813
|
types or number of items in a tuple, putting more than one value into
|
3773
3814
|
a variant, etc.
|
3774
3815
|
</p>
|
3816
|
+
<p>
|
3817
|
+
If <em class="parameter"><code>value</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>),
|
3818
|
+
the <em class="parameter"><code>builder</code></em> instance takes ownership of <em class="parameter"><code>value</code></em>.
|
3819
|
+
</p>
|
3775
3820
|
<div class="variablelist"><table border="0">
|
3776
3821
|
<col align="left" valign="top">
|
3777
3822
|
<tbody>
|
3778
3823
|
<tr>
|
3779
3824
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3780
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3825
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3781
3826
|
</td>
|
3782
3827
|
</tr>
|
3783
3828
|
<tr>
|
@@ -3790,13 +3835,13 @@ a variant, etc.
|
|
3790
3835
|
<p class="since">Since 2.24</p>
|
3791
3836
|
</div>
|
3792
3837
|
<hr>
|
3793
|
-
<div class="refsect2"
|
3838
|
+
<div class="refsect2">
|
3794
3839
|
<a name="g-variant-builder-add"></a><h3>g_variant_builder_add ()</h3>
|
3795
|
-
<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>,
|
3840
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3796
3841
|
<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>,
|
3797
3842
|
<em class="parameter"><code>...</code></em>);</pre>
|
3798
3843
|
<p>
|
3799
|
-
Adds to a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3844
|
+
Adds to a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3800
3845
|
</p>
|
3801
3846
|
<p>
|
3802
3847
|
This call is a convenience wrapper that is exactly equivalent to
|
@@ -3833,13 +3878,12 @@ make_pointless_dictionary (void)
|
|
3833
3878
|
<tbody>
|
3834
3879
|
<tr>
|
3835
3880
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3836
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3881
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3837
3882
|
</td>
|
3838
3883
|
</tr>
|
3839
3884
|
<tr>
|
3840
3885
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
3841
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> varargs format string
|
3842
|
-
</td>
|
3886
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> varargs format string</td>
|
3843
3887
|
</tr>
|
3844
3888
|
<tr>
|
3845
3889
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
@@ -3851,13 +3895,13 @@ make_pointless_dictionary (void)
|
|
3851
3895
|
<p class="since">Since 2.24</p>
|
3852
3896
|
</div>
|
3853
3897
|
<hr>
|
3854
|
-
<div class="refsect2"
|
3898
|
+
<div class="refsect2">
|
3855
3899
|
<a name="g-variant-builder-add-parsed"></a><h3>g_variant_builder_add_parsed ()</h3>
|
3856
|
-
<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>,
|
3900
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3857
3901
|
<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>,
|
3858
3902
|
<em class="parameter"><code>...</code></em>);</pre>
|
3859
3903
|
<p>
|
3860
|
-
Adds to a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3904
|
+
Adds to a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3861
3905
|
</p>
|
3862
3906
|
<p>
|
3863
3907
|
This call is a convenience wrapper that is exactly equivalent to
|
@@ -3890,7 +3934,7 @@ make_pointless_dictionary (void)
|
|
3890
3934
|
<tbody>
|
3891
3935
|
<tr>
|
3892
3936
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3893
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3937
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3894
3938
|
</td>
|
3895
3939
|
</tr>
|
3896
3940
|
<tr>
|
@@ -3908,16 +3952,16 @@ make_pointless_dictionary (void)
|
|
3908
3952
|
<p class="since">Since 2.26</p>
|
3909
3953
|
</div>
|
3910
3954
|
<hr>
|
3911
|
-
<div class="refsect2"
|
3955
|
+
<div class="refsect2">
|
3912
3956
|
<a name="g-variant-builder-end"></a><h3>g_variant_builder_end ()</h3>
|
3913
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3957
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3914
3958
|
<p>
|
3915
3959
|
Ends the builder process and returns the constructed value.
|
3916
3960
|
</p>
|
3917
3961
|
<p>
|
3918
3962
|
It is not permissible to use <em class="parameter"><code>builder</code></em> in any way after this call
|
3919
3963
|
except for reference counting operations (in the case of a
|
3920
|
-
heap-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>) or by reinitialising it with
|
3964
|
+
heap-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>) or by reinitialising it with
|
3921
3965
|
<a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()"><code class="function">g_variant_builder_init()</code></a> (in the case of stack-allocated).
|
3922
3966
|
</p>
|
3923
3967
|
<p>
|
@@ -3934,12 +3978,12 @@ the empty array.
|
|
3934
3978
|
<tbody>
|
3935
3979
|
<tr>
|
3936
3980
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3937
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3981
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3938
3982
|
</td>
|
3939
3983
|
</tr>
|
3940
3984
|
<tr>
|
3941
3985
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3942
|
-
<td>
|
3986
|
+
<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>
|
3943
3987
|
</td>
|
3944
3988
|
</tr>
|
3945
3989
|
</tbody>
|
@@ -3947,9 +3991,9 @@ the empty array.
|
|
3947
3991
|
<p class="since">Since 2.24</p>
|
3948
3992
|
</div>
|
3949
3993
|
<hr>
|
3950
|
-
<div class="refsect2"
|
3994
|
+
<div class="refsect2">
|
3951
3995
|
<a name="g-variant-builder-open"></a><h3>g_variant_builder_open ()</h3>
|
3952
|
-
<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>,
|
3996
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
3953
3997
|
<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>
|
3954
3998
|
<p>
|
3955
3999
|
Opens a subcontainer inside the given <em class="parameter"><code>builder</code></em>. When done adding
|
@@ -3965,7 +4009,7 @@ a value of an incorrect type).
|
|
3965
4009
|
<tbody>
|
3966
4010
|
<tr>
|
3967
4011
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3968
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
4012
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3969
4013
|
</td>
|
3970
4014
|
</tr>
|
3971
4015
|
<tr>
|
@@ -3978,9 +4022,9 @@ a value of an incorrect type).
|
|
3978
4022
|
<p class="since">Since 2.24</p>
|
3979
4023
|
</div>
|
3980
4024
|
<hr>
|
3981
|
-
<div class="refsect2"
|
4025
|
+
<div class="refsect2">
|
3982
4026
|
<a name="g-variant-builder-close"></a><h3>g_variant_builder_close ()</h3>
|
3983
|
-
<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>
|
4027
|
+
<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="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3984
4028
|
<p>
|
3985
4029
|
Closes the subcontainer inside the given <em class="parameter"><code>builder</code></em> that was opened by
|
3986
4030
|
the most recent call to <a class="link" href="glib-GVariant.html#g-variant-builder-open" title="g_variant_builder_open ()"><code class="function">g_variant_builder_open()</code></a>.
|
@@ -3994,52 +4038,155 @@ subcontainer).
|
|
3994
4038
|
<col align="left" valign="top">
|
3995
4039
|
<tbody><tr>
|
3996
4040
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3997
|
-
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
4041
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
3998
4042
|
</td>
|
3999
4043
|
</tr></tbody>
|
4000
4044
|
</table></div>
|
4001
4045
|
<p class="since">Since 2.24</p>
|
4002
4046
|
</div>
|
4003
4047
|
<hr>
|
4004
|
-
<div class="refsect2"
|
4048
|
+
<div class="refsect2">
|
4005
4049
|
<a name="GVariantParseError"></a><h3>enum GVariantParseError</h3>
|
4006
4050
|
<pre class="programlisting">typedef enum
|
4007
4051
|
{
|
4008
|
-
G_VARIANT_PARSE_ERROR_FAILED
|
4052
|
+
G_VARIANT_PARSE_ERROR_FAILED,
|
4053
|
+
G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
|
4054
|
+
G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
|
4055
|
+
G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED,
|
4056
|
+
G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END,
|
4057
|
+
G_VARIANT_PARSE_ERROR_INVALID_CHARACTER,
|
4058
|
+
G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING,
|
4059
|
+
G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH,
|
4060
|
+
G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE,
|
4061
|
+
G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING,
|
4062
|
+
G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE,
|
4063
|
+
G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE,
|
4064
|
+
G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG,
|
4065
|
+
G_VARIANT_PARSE_ERROR_TYPE_ERROR,
|
4066
|
+
G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN,
|
4067
|
+
G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD,
|
4068
|
+
G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT,
|
4069
|
+
G_VARIANT_PARSE_ERROR_VALUE_EXPECTED
|
4009
4070
|
} GVariantParseError;
|
4010
4071
|
</pre>
|
4011
4072
|
<p>
|
4012
|
-
Error codes returned by parsing text-format GVariants.
|
4013
|
-
parser makes no distinction between different types of error.
|
4073
|
+
Error codes returned by parsing text-format GVariants.
|
4014
4074
|
</p>
|
4015
4075
|
<div class="variablelist"><table border="0">
|
4016
4076
|
<col align="left" valign="top">
|
4017
|
-
<tbody
|
4077
|
+
<tbody>
|
4078
|
+
<tr>
|
4018
4079
|
<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>
|
4019
|
-
<td>generic error
|
4080
|
+
<td>generic error (unused)
|
4020
4081
|
</td>
|
4021
|
-
</tr
|
4082
|
+
</tr>
|
4083
|
+
<tr>
|
4084
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-BASIC-TYPE-EXPECTED:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED</code></span></p></td>
|
4085
|
+
<td>a non-basic <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> was given where a basic type was expected
|
4086
|
+
</td>
|
4087
|
+
</tr>
|
4088
|
+
<tr>
|
4089
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-CANNOT-INFER-TYPE:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE</code></span></p></td>
|
4090
|
+
<td>cannot infer the <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
4091
|
+
</td>
|
4092
|
+
</tr>
|
4093
|
+
<tr>
|
4094
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-DEFINITE-TYPE-EXPECTED:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED</code></span></p></td>
|
4095
|
+
<td>an indefinite <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> was given where a definite type was expected
|
4096
|
+
</td>
|
4097
|
+
</tr>
|
4098
|
+
<tr>
|
4099
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INPUT-NOT-AT-END:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END</code></span></p></td>
|
4100
|
+
<td>extra data after parsing finished
|
4101
|
+
</td>
|
4102
|
+
</tr>
|
4103
|
+
<tr>
|
4104
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INVALID-CHARACTER:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INVALID_CHARACTER</code></span></p></td>
|
4105
|
+
<td>invalid character in number or unicode escape
|
4106
|
+
</td>
|
4107
|
+
</tr>
|
4108
|
+
<tr>
|
4109
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INVALID-FORMAT-STRING:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING</code></span></p></td>
|
4110
|
+
<td>not a valid <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string
|
4111
|
+
</td>
|
4112
|
+
</tr>
|
4113
|
+
<tr>
|
4114
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INVALID-OBJECT-PATH:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH</code></span></p></td>
|
4115
|
+
<td>not a valid object path
|
4116
|
+
</td>
|
4117
|
+
</tr>
|
4118
|
+
<tr>
|
4119
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INVALID-SIGNATURE:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE</code></span></p></td>
|
4120
|
+
<td>not a valid type signature
|
4121
|
+
</td>
|
4122
|
+
</tr>
|
4123
|
+
<tr>
|
4124
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-INVALID-TYPE-STRING:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING</code></span></p></td>
|
4125
|
+
<td>not a valid <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> type string
|
4126
|
+
</td>
|
4127
|
+
</tr>
|
4128
|
+
<tr>
|
4129
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-NO-COMMON-TYPE:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE</code></span></p></td>
|
4130
|
+
<td>could not find a common type for array entries
|
4131
|
+
</td>
|
4132
|
+
</tr>
|
4133
|
+
<tr>
|
4134
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-NUMBER-OUT-OF-RANGE:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE</code></span></p></td>
|
4135
|
+
<td>the numerical value is out of range of the given type
|
4136
|
+
</td>
|
4137
|
+
</tr>
|
4138
|
+
<tr>
|
4139
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-NUMBER-TOO-BIG:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG</code></span></p></td>
|
4140
|
+
<td>the numerical value is out of range for any type
|
4141
|
+
</td>
|
4142
|
+
</tr>
|
4143
|
+
<tr>
|
4144
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-TYPE-ERROR:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_TYPE_ERROR</code></span></p></td>
|
4145
|
+
<td>cannot parse as variant of the specified type
|
4146
|
+
</td>
|
4147
|
+
</tr>
|
4148
|
+
<tr>
|
4149
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-UNEXPECTED-TOKEN:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN</code></span></p></td>
|
4150
|
+
<td>an unexpected token was encountered
|
4151
|
+
</td>
|
4152
|
+
</tr>
|
4153
|
+
<tr>
|
4154
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-UNKNOWN-KEYWORD:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD</code></span></p></td>
|
4155
|
+
<td>an unknown keyword was encountered
|
4156
|
+
</td>
|
4157
|
+
</tr>
|
4158
|
+
<tr>
|
4159
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-UNTERMINATED-STRING-CONSTANT:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT</code></span></p></td>
|
4160
|
+
<td>unterminated string constant
|
4161
|
+
</td>
|
4162
|
+
</tr>
|
4163
|
+
<tr>
|
4164
|
+
<td><p><a name="G-VARIANT-PARSE-ERROR-VALUE-EXPECTED:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_VALUE_EXPECTED</code></span></p></td>
|
4165
|
+
<td>no value given
|
4166
|
+
</td>
|
4167
|
+
</tr>
|
4168
|
+
</tbody>
|
4022
4169
|
</table></div>
|
4023
4170
|
</div>
|
4024
4171
|
<hr>
|
4025
|
-
<div class="refsect2"
|
4172
|
+
<div class="refsect2">
|
4026
4173
|
<a name="G-VARIANT-PARSE-ERROR:CAPS"></a><h3>G_VARIANT_PARSE_ERROR</h3>
|
4027
4174
|
<pre class="programlisting">#define G_VARIANT_PARSE_ERROR (g_variant_parser_get_error_quark ())
|
4028
4175
|
</pre>
|
4029
4176
|
<p>
|
4030
4177
|
Error domain for GVariant text format parsing. Specific error codes
|
4031
|
-
are not currently defined for this domain. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for
|
4178
|
+
are not currently defined for this domain. See <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> for
|
4032
4179
|
information on error domains.
|
4033
4180
|
</p>
|
4034
4181
|
</div>
|
4035
4182
|
<hr>
|
4036
|
-
<div class="refsect2"
|
4183
|
+
<div class="refsect2">
|
4037
4184
|
<a name="g-variant-parse"></a><h3>g_variant_parse ()</h3>
|
4038
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4185
|
+
<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>,
|
4039
4186
|
<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>,
|
4040
4187
|
<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>,
|
4041
4188
|
<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>,
|
4042
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
4189
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
4043
4190
|
<p>
|
4044
4191
|
Parses a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from a text representation.
|
4045
4192
|
</p>
|
@@ -4047,6 +4194,9 @@ Parses a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><sp
|
|
4047
4194
|
A single <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is parsed from the content of <em class="parameter"><code>text</code></em>.
|
4048
4195
|
</p>
|
4049
4196
|
<p>
|
4197
|
+
The format is described <a href="gvariant-text.html">here</a>.
|
4198
|
+
</p>
|
4199
|
+
<p>
|
4050
4200
|
The memory at <em class="parameter"><code>limit</code></em> will never be accessed and the parser behaves as
|
4051
4201
|
if the character at <em class="parameter"><code>limit</code></em> is the nul terminator. This has the
|
4052
4202
|
effect of bounding <em class="parameter"><code>text</code></em>.
|
@@ -4087,8 +4237,7 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
4087
4237
|
</tr>
|
4088
4238
|
<tr>
|
4089
4239
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
4090
|
-
<td>a string containing a GVariant in text form
|
4091
|
-
</td>
|
4240
|
+
<td>a string containing a GVariant in text form</td>
|
4092
4241
|
</tr>
|
4093
4242
|
<tr>
|
4094
4243
|
<td><p><span class="term"><em class="parameter"><code>limit</code></em> :</span></p></td>
|
@@ -4102,7 +4251,7 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
4102
4251
|
</tr>
|
4103
4252
|
<tr>
|
4104
4253
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
4105
|
-
<td>a pointer to a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
4254
|
+
<td>a pointer to a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
4106
4255
|
</td>
|
4107
4256
|
</tr>
|
4108
4257
|
<tr>
|
@@ -4114,9 +4263,10 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
4114
4263
|
</table></div>
|
4115
4264
|
</div>
|
4116
4265
|
<hr>
|
4117
|
-
<div class="refsect2"
|
4266
|
+
<div class="refsect2">
|
4118
4267
|
<a name="g-variant-new-parsed-va"></a><h3>g_variant_new_parsed_va ()</h3>
|
4119
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4268
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_parsed_va
|
4269
|
+
(<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>,
|
4120
4270
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
4121
4271
|
<p>
|
4122
4272
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
@@ -4162,9 +4312,9 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
4162
4312
|
</table></div>
|
4163
4313
|
</div>
|
4164
4314
|
<hr>
|
4165
|
-
<div class="refsect2"
|
4315
|
+
<div class="refsect2">
|
4166
4316
|
<a name="g-variant-new-parsed"></a><h3>g_variant_new_parsed ()</h3>
|
4167
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4317
|
+
<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>,
|
4168
4318
|
<em class="parameter"><code>...</code></em>);</pre>
|
4169
4319
|
<p>
|
4170
4320
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
@@ -4225,20 +4375,19 @@ with "%@".
|
|
4225
4375
|
</tr>
|
4226
4376
|
<tr>
|
4227
4377
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
4228
|
-
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
4229
|
-
</td>
|
4378
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</td>
|
4230
4379
|
</tr>
|
4231
4380
|
</tbody>
|
4232
4381
|
</table></div>
|
4233
4382
|
</div>
|
4234
4383
|
</div>
|
4235
|
-
<div class="refsect1"
|
4384
|
+
<div class="refsect1">
|
4236
4385
|
<a name="glib-GVariant.see-also"></a><h2>See Also</h2>
|
4237
4386
|
GVariantType
|
4238
4387
|
</div>
|
4239
4388
|
</div>
|
4240
4389
|
<div class="footer">
|
4241
4390
|
<hr>
|
4242
|
-
Generated by GTK-Doc V1.
|
4391
|
+
Generated by GTK-Doc V1.16.1</div>
|
4243
4392
|
</body>
|
4244
4393
|
</html>
|