glib2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -1
- data/ext/glib2/rbglib-variant-type.c +5 -1
- data/ext/glib2/rbglib-variant.c +21 -7
- data/ext/glib2/rbglib.c +0 -38
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_convert.c +3 -9
- data/ext/glib2/rbglib_matchinfo.c +4 -0
- data/ext/glib2/rbglib_regex.c +12 -1
- data/ext/glib2/rbgobj_object.c +112 -10
- data/ext/glib2/rbgobj_signal.c +12 -1
- data/ext/glib2/rbgobj_type.c +7 -1
- data/ext/glib2/rbgobject.c +0 -6
- data/ext/glib2/rbgprivate.h +0 -4
- data/ext/glib2/rbgutil.c +0 -2
- data/ext/glib2/rbgutil.h +1 -3
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +7 -0
- data/lib/gnome2/rake/external-package.rb +119 -2
- data/lib/gnome2/rake/package-task.rb +63 -3
- data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
- data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
- data/lib/mkmf-gnome2.rb +11 -30
- data/test/test-binding.rb +157 -66
- data/test/test_glib2.rb +21 -6
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.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/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- 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-export-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/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- 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 +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.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/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +6 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="failable_initialization.html" title="Failable Initialization">
|
9
9
|
<link rel="prev" href="failable_initialization.html" title="Failable Initialization">
|
10
10
|
<link rel="next" href="GAsyncInitable.html" title="GAsyncInitable">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<tbody>
|
46
46
|
<tr>
|
47
47
|
<td class="function_type">
|
48
|
-
<a href="../glib
|
48
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
49
49
|
</td>
|
50
50
|
<td class="function_name">
|
51
51
|
<a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()">g_initable_init</a> <span class="c_punctuation">()</span>
|
@@ -53,7 +53,7 @@
|
|
53
53
|
</tr>
|
54
54
|
<tr>
|
55
55
|
<td class="function_type">
|
56
|
-
<a href="../glib
|
56
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
57
57
|
</td>
|
58
58
|
<td class="function_name">
|
59
59
|
<a class="link" href="GInitable.html#g-initable-new" title="g_initable_new ()">g_initable_new</a> <span class="c_punctuation">()</span>
|
@@ -61,7 +61,7 @@
|
|
61
61
|
</tr>
|
62
62
|
<tr>
|
63
63
|
<td class="function_type">
|
64
|
-
<a href="../gobject
|
64
|
+
<a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
65
65
|
</td>
|
66
66
|
<td class="function_name">
|
67
67
|
<a class="link" href="GInitable.html#g-initable-new-valist" title="g_initable_new_valist ()">g_initable_new_valist</a> <span class="c_punctuation">()</span>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
</tr>
|
70
70
|
<tr>
|
71
71
|
<td class="function_type">
|
72
|
-
<a href="../glib
|
72
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
73
73
|
</td>
|
74
74
|
<td class="function_name">
|
75
75
|
<a class="link" href="GInitable.html#g-initable-newv" title="g_initable_newv ()">g_initable_newv</a> <span class="c_punctuation">()</span>
|
@@ -99,7 +99,7 @@
|
|
99
99
|
</div>
|
100
100
|
<div class="refsect1">
|
101
101
|
<a name="GInitable.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
102
|
-
<pre class="screen"> <a href="
|
102
|
+
<pre class="screen"> <a href="/home/desrt/Install/jhbuild/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
103
103
|
<span class="lineart">╰──</span> GInitable
|
104
104
|
</pre>
|
105
105
|
</div>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
<a name="GInitable.prerequisites"></a><h2>Prerequisites</h2>
|
108
108
|
<p>
|
109
109
|
GInitable requires
|
110
|
-
<a href="../gobject
|
110
|
+
<a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>.</p>
|
111
111
|
</div>
|
112
112
|
<div class="refsect1">
|
113
113
|
<a name="GInitable.derived-interfaces"></a><h2>Known Derived Interfaces</h2>
|
@@ -134,16 +134,16 @@ it must be initialized as the first thing after construction,
|
|
134
134
|
either via <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> or <a class="link" href="GAsyncInitable.html#g-async-initable-init-async" title="g_async_initable_init_async ()"><code class="function">g_async_initable_init_async()</code></a>
|
135
135
|
(the latter is only available if it also implements <a class="link" href="GAsyncInitable.html" title="GAsyncInitable"><span class="type">GAsyncInitable</span></a>).</p>
|
136
136
|
<p>If the object is not initialized, or initialization returns with an
|
137
|
-
error, then all operations on the object except <a href="../gobject
|
138
|
-
<a href="../gobject
|
139
|
-
behaviour. They will often fail with <a href="../glib
|
137
|
+
error, then all operations on the object except <a href="../gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and
|
138
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> are considered to be invalid, and have undefined
|
139
|
+
behaviour. They will often fail with <a href="../glib-Message-Logging.html#g-critical"><code class="function">g_critical()</code></a> or <a href="../glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a>, but
|
140
140
|
this must not be relied on.</p>
|
141
141
|
<p>Users of objects implementing this are not intended to use
|
142
142
|
the interface method directly, instead it will be used automatically
|
143
143
|
in various ways. For C applications you generally just call
|
144
144
|
<a class="link" href="GInitable.html#g-initable-new" title="g_initable_new ()"><code class="function">g_initable_new()</code></a> directly, or indirectly via a <code class="function">foo_thing_new()</code> wrapper.
|
145
|
-
This will call <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> under the cover, returning <a href="../glib
|
146
|
-
setting a <a href="../glib
|
145
|
+
This will call <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> under the cover, returning <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and
|
146
|
+
setting a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> on failure (at which point the instance is
|
147
147
|
unreferenced).</p>
|
148
148
|
<p>For bindings in languages where the native constructor supports
|
149
149
|
exceptions the binding could check for objects implemention <a class="link" href="GInitable.html" title="GInitable"><code class="literal">GInitable</code></a>
|
@@ -154,24 +154,24 @@ an exception on failure.</p>
|
|
154
154
|
<a name="GInitable.functions_details"></a><h2>Functions</h2>
|
155
155
|
<div class="refsect2">
|
156
156
|
<a name="g-initable-init"></a><h3>g_initable_init ()</h3>
|
157
|
-
<pre class="programlisting"><a href="../glib
|
157
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
158
|
g_initable_init (<em class="parameter"><code><a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> *initable</code></em>,
|
159
159
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
160
|
-
<em class="parameter"><code><a href="../glib
|
160
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
161
161
|
<p>Initializes the object implementing the interface.</p>
|
162
162
|
<p>The object must be initialized before any real use after initial
|
163
163
|
construction, either with this function or <a class="link" href="GAsyncInitable.html#g-async-initable-init-async" title="g_async_initable_init_async ()"><code class="function">g_async_initable_init_async()</code></a>.</p>
|
164
164
|
<p>Implementations may also support cancellation. If <em class="parameter"><code>cancellable</code></em>
|
165
|
-
is not <a href="../glib
|
165
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
166
166
|
then initialization can be cancelled by triggering the cancellable object
|
167
167
|
from another thread. If the operation was cancelled, the error
|
168
168
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. If <em class="parameter"><code>cancellable</code></em>
|
169
|
-
is not <a href="../glib
|
169
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and
|
170
170
|
the object doesn't support cancellable initialization the error
|
171
171
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> will be returned.</p>
|
172
172
|
<p>If the object is not initialized, or initialization returns with an
|
173
|
-
error, then all operations on the object except <a href="../gobject
|
174
|
-
<a href="../gobject
|
173
|
+
error, then all operations on the object except <a href="../gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and
|
174
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> are considered to be invalid, and have undefined
|
175
175
|
behaviour. See the introduction for more details.</p>
|
176
176
|
<p>Implementations of this method must be idempotent, i.e. multiple calls
|
177
177
|
to this function with the same argument should return the same results.
|
@@ -179,7 +179,7 @@ Only the first call initializes the object, further calls return the result
|
|
179
179
|
of the first call. This is so that it's safe to implement the singleton
|
180
180
|
pattern in the GObject constructor function.</p>
|
181
181
|
<div class="refsect3">
|
182
|
-
<a name="
|
182
|
+
<a name="g-initable-init.parameters"></a><h4>Parameters</h4>
|
183
183
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
184
184
|
<colgroup>
|
185
185
|
<col width="150px" class="parameters_name">
|
@@ -194,12 +194,12 @@ pattern in the GObject constructor function.</p>
|
|
194
194
|
</tr>
|
195
195
|
<tr>
|
196
196
|
<td class="parameter_name"><p>cancellable</p></td>
|
197
|
-
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
197
|
+
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
198
198
|
<td class="parameter_annotations"> </td>
|
199
199
|
</tr>
|
200
200
|
<tr>
|
201
201
|
<td class="parameter_name"><p>error</p></td>
|
202
|
-
<td class="parameter_description"><p>a <a href="../glib
|
202
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
203
203
|
ignore.</p></td>
|
204
204
|
<td class="parameter_annotations"> </td>
|
205
205
|
</tr>
|
@@ -207,9 +207,9 @@ ignore.</p></td>
|
|
207
207
|
</table></div>
|
208
208
|
</div>
|
209
209
|
<div class="refsect3">
|
210
|
-
<a name="
|
211
|
-
<p> <a href="../glib
|
212
|
-
return <a href="../glib
|
210
|
+
<a name="g-initable-init.returns"></a><h4>Returns</h4>
|
211
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if successful. If an error has occurred, this function will
|
212
|
+
return <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and set <em class="parameter"><code>error</code></em>
|
213
213
|
appropriately if present.</p>
|
214
214
|
</div>
|
215
215
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -217,17 +217,17 @@ appropriately if present.</p>
|
|
217
217
|
<hr>
|
218
218
|
<div class="refsect2">
|
219
219
|
<a name="g-initable-new"></a><h3>g_initable_new ()</h3>
|
220
|
-
<pre class="programlisting"><a href="../glib
|
221
|
-
g_initable_new (<em class="parameter"><code><a href="../gobject
|
220
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
221
|
+
g_initable_new (<em class="parameter"><code><a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> object_type</code></em>,
|
222
222
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
223
|
-
<em class="parameter"><code><a href="../glib
|
224
|
-
<em class="parameter"><code>const <a href="../glib
|
223
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
224
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
225
225
|
<em class="parameter"><code>...</code></em>);</pre>
|
226
226
|
<p>Helper function for constructing <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> object. This is
|
227
|
-
similar to <a href="../gobject
|
228
|
-
and returns <a href="../glib
|
227
|
+
similar to <a href="../gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> but also initializes the object
|
228
|
+
and returns <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, setting an error on failure.</p>
|
229
229
|
<div class="refsect3">
|
230
|
-
<a name="
|
230
|
+
<a name="g-initable-new.parameters"></a><h4>Parameters</h4>
|
231
231
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
232
232
|
<colgroup>
|
233
233
|
<col width="150px" class="parameters_name">
|
@@ -237,39 +237,39 @@ and returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
237
237
|
<tbody>
|
238
238
|
<tr>
|
239
239
|
<td class="parameter_name"><p>object_type</p></td>
|
240
|
-
<td class="parameter_description"><p>a <a href="../gobject
|
240
|
+
<td class="parameter_description"><p>a <a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> supporting <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>.</p></td>
|
241
241
|
<td class="parameter_annotations"> </td>
|
242
242
|
</tr>
|
243
243
|
<tr>
|
244
244
|
<td class="parameter_name"><p>cancellable</p></td>
|
245
|
-
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
245
|
+
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
246
246
|
<td class="parameter_annotations"> </td>
|
247
247
|
</tr>
|
248
248
|
<tr>
|
249
249
|
<td class="parameter_name"><p>error</p></td>
|
250
|
-
<td class="parameter_description"><p>a <a href="../glib
|
250
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
251
251
|
ignore.</p></td>
|
252
252
|
<td class="parameter_annotations"> </td>
|
253
253
|
</tr>
|
254
254
|
<tr>
|
255
255
|
<td class="parameter_name"><p>first_property_name</p></td>
|
256
|
-
<td class="parameter_description"><p> the name of the first property, or <a href="../glib
|
256
|
+
<td class="parameter_description"><p> the name of the first property, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
257
257
|
properties. </p></td>
|
258
258
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
259
259
|
</tr>
|
260
260
|
<tr>
|
261
261
|
<td class="parameter_name"><p>...</p></td>
|
262
262
|
<td class="parameter_description"><p>the value if the first property, followed by and other property
|
263
|
-
value pairs, and ended by <a href="../glib
|
263
|
+
value pairs, and ended by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
264
264
|
<td class="parameter_annotations"> </td>
|
265
265
|
</tr>
|
266
266
|
</tbody>
|
267
267
|
</table></div>
|
268
268
|
</div>
|
269
269
|
<div class="refsect3">
|
270
|
-
<a name="
|
270
|
+
<a name="g-initable-new.returns"></a><h4>Returns</h4>
|
271
271
|
<p> a newly allocated
|
272
|
-
<a href="../gobject
|
272
|
+
<a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
273
273
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
274
274
|
</div>
|
275
275
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -277,17 +277,17 @@ value pairs, and ended by <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">
|
|
277
277
|
<hr>
|
278
278
|
<div class="refsect2">
|
279
279
|
<a name="g-initable-new-valist"></a><h3>g_initable_new_valist ()</h3>
|
280
|
-
<pre class="programlisting"><a href="../gobject
|
281
|
-
g_initable_new_valist (<em class="parameter"><code><a href="../gobject
|
282
|
-
<em class="parameter"><code>const <a href="../glib
|
280
|
+
<pre class="programlisting"><a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
281
|
+
g_initable_new_valist (<em class="parameter"><code><a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> object_type</code></em>,
|
282
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
283
283
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>,
|
284
284
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
285
|
-
<em class="parameter"><code><a href="../glib
|
285
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
286
286
|
<p>Helper function for constructing <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> object. This is
|
287
|
-
similar to <a href="../gobject
|
288
|
-
and returns <a href="../glib
|
287
|
+
similar to <a href="../gobject-The-Base-Object-Type.html#g-object-new-valist"><code class="function">g_object_new_valist()</code></a> but also initializes the object
|
288
|
+
and returns <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, setting an error on failure.</p>
|
289
289
|
<div class="refsect3">
|
290
|
-
<a name="
|
290
|
+
<a name="g-initable-new-valist.parameters"></a><h4>Parameters</h4>
|
291
291
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
292
292
|
<colgroup>
|
293
293
|
<col width="150px" class="parameters_name">
|
@@ -297,13 +297,13 @@ and returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
297
297
|
<tbody>
|
298
298
|
<tr>
|
299
299
|
<td class="parameter_name"><p>object_type</p></td>
|
300
|
-
<td class="parameter_description"><p>a <a href="../gobject
|
300
|
+
<td class="parameter_description"><p>a <a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> supporting <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>.</p></td>
|
301
301
|
<td class="parameter_annotations"> </td>
|
302
302
|
</tr>
|
303
303
|
<tr>
|
304
304
|
<td class="parameter_name"><p>first_property_name</p></td>
|
305
305
|
<td class="parameter_description"><p>the name of the first property, followed by
|
306
|
-
the value, and other property value pairs, and ended by <a href="../glib
|
306
|
+
the value, and other property value pairs, and ended by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
307
307
|
<td class="parameter_annotations"> </td>
|
308
308
|
</tr>
|
309
309
|
<tr>
|
@@ -314,12 +314,12 @@ the value, and other property value pairs, and ended by <a href="../glib/glib-St
|
|
314
314
|
</tr>
|
315
315
|
<tr>
|
316
316
|
<td class="parameter_name"><p>cancellable</p></td>
|
317
|
-
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
317
|
+
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
318
318
|
<td class="parameter_annotations"> </td>
|
319
319
|
</tr>
|
320
320
|
<tr>
|
321
321
|
<td class="parameter_name"><p>error</p></td>
|
322
|
-
<td class="parameter_description"><p>a <a href="../glib
|
322
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
323
323
|
ignore.</p></td>
|
324
324
|
<td class="parameter_annotations"> </td>
|
325
325
|
</tr>
|
@@ -327,9 +327,9 @@ ignore.</p></td>
|
|
327
327
|
</table></div>
|
328
328
|
</div>
|
329
329
|
<div class="refsect3">
|
330
|
-
<a name="
|
330
|
+
<a name="g-initable-new-valist.returns"></a><h4>Returns</h4>
|
331
331
|
<p> a newly allocated
|
332
|
-
<a href="../gobject
|
332
|
+
<a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
333
333
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
334
334
|
</div>
|
335
335
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -337,17 +337,17 @@ ignore.</p></td>
|
|
337
337
|
<hr>
|
338
338
|
<div class="refsect2">
|
339
339
|
<a name="g-initable-newv"></a><h3>g_initable_newv ()</h3>
|
340
|
-
<pre class="programlisting"><a href="../glib
|
341
|
-
g_initable_newv (<em class="parameter"><code><a href="../gobject
|
342
|
-
<em class="parameter"><code><a href="../glib
|
343
|
-
<em class="parameter"><code><a href="../gobject
|
340
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
341
|
+
g_initable_newv (<em class="parameter"><code><a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> object_type</code></em>,
|
342
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
|
343
|
+
<em class="parameter"><code><a href="../gobject-The-Base-Object-Type.html#GParameter"><span class="type">GParameter</span></a> *parameters</code></em>,
|
344
344
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
345
|
-
<em class="parameter"><code><a href="../glib
|
345
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
346
346
|
<p>Helper function for constructing <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> object. This is
|
347
|
-
similar to <a href="../gobject
|
348
|
-
and returns <a href="../glib
|
347
|
+
similar to <a href="../gobject-The-Base-Object-Type.html#g-object-newv"><code class="function">g_object_newv()</code></a> but also initializes the object
|
348
|
+
and returns <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, setting an error on failure.</p>
|
349
349
|
<div class="refsect3">
|
350
|
-
<a name="
|
350
|
+
<a name="g-initable-newv.parameters"></a><h4>Parameters</h4>
|
351
351
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
352
352
|
<colgroup>
|
353
353
|
<col width="150px" class="parameters_name">
|
@@ -357,7 +357,7 @@ and returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
357
357
|
<tbody>
|
358
358
|
<tr>
|
359
359
|
<td class="parameter_name"><p>object_type</p></td>
|
360
|
-
<td class="parameter_description"><p>a <a href="../gobject
|
360
|
+
<td class="parameter_description"><p>a <a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a> supporting <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>.</p></td>
|
361
361
|
<td class="parameter_annotations"> </td>
|
362
362
|
</tr>
|
363
363
|
<tr>
|
@@ -373,12 +373,12 @@ and returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
373
373
|
</tr>
|
374
374
|
<tr>
|
375
375
|
<td class="parameter_name"><p>cancellable</p></td>
|
376
|
-
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
376
|
+
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
377
377
|
<td class="parameter_annotations"> </td>
|
378
378
|
</tr>
|
379
379
|
<tr>
|
380
380
|
<td class="parameter_name"><p>error</p></td>
|
381
|
-
<td class="parameter_description"><p>a <a href="../glib
|
381
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
382
382
|
ignore.</p></td>
|
383
383
|
<td class="parameter_annotations"> </td>
|
384
384
|
</tr>
|
@@ -386,9 +386,9 @@ ignore.</p></td>
|
|
386
386
|
</table></div>
|
387
387
|
</div>
|
388
388
|
<div class="refsect3">
|
389
|
-
<a name="
|
389
|
+
<a name="g-initable-newv.returns"></a><h4>Returns</h4>
|
390
390
|
<p> a newly allocated
|
391
|
-
<a href="../gobject
|
391
|
+
<a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
392
392
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
393
393
|
</div>
|
394
394
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -418,25 +418,18 @@ ignore.</p></td>
|
|
418
418
|
<p>Provides an interface for initializing object such that initialization
|
419
419
|
may fail.</p>
|
420
420
|
<div class="refsect3">
|
421
|
-
<a name="
|
421
|
+
<a name="GInitableIface.members"></a><h4>Members</h4>
|
422
422
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
423
423
|
<colgroup>
|
424
424
|
<col width="300px" class="struct_members_name">
|
425
425
|
<col class="struct_members_description">
|
426
426
|
<col width="200px" class="struct_members_annotations">
|
427
427
|
</colgroup>
|
428
|
-
<tbody>
|
429
|
-
<tr>
|
430
|
-
<td class="struct_member_name"><p><a href="../gobject/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GInitableIface.g-iface"></a>g_iface</code></em>;</p></td>
|
431
|
-
<td class="struct_member_description"><p>The parent interface.</p></td>
|
432
|
-
<td class="struct_member_annotations"> </td>
|
433
|
-
</tr>
|
434
|
-
<tr>
|
428
|
+
<tbody><tr>
|
435
429
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GInitableIface.init"></a>init</code></em> ()</p></td>
|
436
430
|
<td class="struct_member_description"><p>Initializes the object.</p></td>
|
437
431
|
<td class="struct_member_annotations"> </td>
|
438
|
-
</tr>
|
439
|
-
</tbody>
|
432
|
+
</tr></tbody>
|
440
433
|
</table></div>
|
441
434
|
</div>
|
442
435
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -448,6 +441,6 @@ may fail.</p>
|
|
448
441
|
</div>
|
449
442
|
</div>
|
450
443
|
<div class="footer">
|
451
|
-
<hr>Generated by GTK-Doc V1.
|
444
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
452
445
|
</body>
|
453
446
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="streaming.html" title="Streaming I/O">
|
9
9
|
<link rel="prev" href="GSeekable.html" title="GSeekable">
|
10
10
|
<link rel="next" href="GOutputStream.html" title="GOutputStream">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<tbody>
|
44
44
|
<tr>
|
45
45
|
<td class="function_type">
|
46
|
-
<a href="../glib
|
46
|
+
<a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
47
47
|
</td>
|
48
48
|
<td class="function_name">
|
49
49
|
<a class="link" href="GInputStream.html#g-input-stream-read" title="g_input_stream_read ()">g_input_stream_read</a> <span class="c_punctuation">()</span>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<a href="../glib
|
54
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="GInputStream.html#g-input-stream-read-all" title="g_input_stream_read_all ()">g_input_stream_read_all</a> <span class="c_punctuation">()</span>
|
@@ -67,7 +67,7 @@
|
|
67
67
|
</tr>
|
68
68
|
<tr>
|
69
69
|
<td class="function_type">
|
70
|
-
<a href="../glib
|
70
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
71
71
|
</td>
|
72
72
|
<td class="function_name">
|
73
73
|
<a class="link" href="GInputStream.html#g-input-stream-read-all-finish" title="g_input_stream_read_all_finish ()">g_input_stream_read_all_finish</a> <span class="c_punctuation">()</span>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</tr>
|
76
76
|
<tr>
|
77
77
|
<td class="function_type">
|
78
|
-
<a href="../glib
|
78
|
+
<a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
79
79
|
</td>
|
80
80
|
<td class="function_name">
|
81
81
|
<a class="link" href="GInputStream.html#g-input-stream-skip" title="g_input_stream_skip ()">g_input_stream_skip</a> <span class="c_punctuation">()</span>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<a href="../glib
|
86
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="GInputStream.html#g-input-stream-close" title="g_input_stream_close ()">g_input_stream_close</a> <span class="c_punctuation">()</span>
|
@@ -99,7 +99,7 @@
|
|
99
99
|
</tr>
|
100
100
|
<tr>
|
101
101
|
<td class="function_type">
|
102
|
-
<a href="../glib
|
102
|
+
<a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
103
103
|
</td>
|
104
104
|
<td class="function_name">
|
105
105
|
<a class="link" href="GInputStream.html#g-input-stream-read-finish" title="g_input_stream_read_finish ()">g_input_stream_read_finish</a> <span class="c_punctuation">()</span>
|
@@ -115,7 +115,7 @@
|
|
115
115
|
</tr>
|
116
116
|
<tr>
|
117
117
|
<td class="function_type">
|
118
|
-
<a href="../glib
|
118
|
+
<a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
119
119
|
</td>
|
120
120
|
<td class="function_name">
|
121
121
|
<a class="link" href="GInputStream.html#g-input-stream-skip-finish" title="g_input_stream_skip_finish ()">g_input_stream_skip_finish</a> <span class="c_punctuation">()</span>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
133
|
<td class="function_type">
|
134
|
-
<a href="../glib
|
134
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="GInputStream.html#g-input-stream-close-finish" title="g_input_stream_close_finish ()">g_input_stream_close_finish</a> <span class="c_punctuation">()</span>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td class="function_type">
|
142
|
-
<a href="../glib
|
142
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
143
|
</td>
|
144
144
|
<td class="function_name">
|
145
145
|
<a class="link" href="GInputStream.html#g-input-stream-is-closed" title="g_input_stream_is_closed ()">g_input_stream_is_closed</a> <span class="c_punctuation">()</span>
|
@@ -147,7 +147,7 @@
|
|
147
147
|
</tr>
|
148
148
|
<tr>
|
149
149
|
<td class="function_type">
|
150
|
-
<a href="../glib
|
150
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
151
151
|
</td>
|
152
152
|
<td class="function_name">
|
153
153
|
<a class="link" href="GInputStream.html#g-input-stream-has-pending" title="g_input_stream_has_pending ()">g_input_stream_has_pending</a> <span class="c_punctuation">()</span>
|
@@ -155,7 +155,7 @@
|
|
155
155
|
</tr>
|
156
156
|
<tr>
|
157
157
|
<td class="function_type">
|
158
|
-
<a href="../glib
|
158
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
159
159
|
</td>
|
160
160
|
<td class="function_name">
|
161
161
|
<a class="link" href="GInputStream.html#g-input-stream-set-pending" title="g_input_stream_set_pending ()">g_input_stream_set_pending</a> <span class="c_punctuation">()</span>
|
@@ -171,7 +171,7 @@
|
|
171
171
|
</tr>
|
172
172
|
<tr>
|
173
173
|
<td class="function_type">
|
174
|
-
<a href="../glib
|
174
|
+
<a href="../glib-Byte-Arrays.html#GBytes"><span class="returnvalue">GBytes</span></a> *
|
175
175
|
</td>
|
176
176
|
<td class="function_name">
|
177
177
|
<a class="link" href="GInputStream.html#g-input-stream-read-bytes" title="g_input_stream_read_bytes ()">g_input_stream_read_bytes</a> <span class="c_punctuation">()</span>
|
@@ -187,7 +187,7 @@
|
|
187
187
|
</tr>
|
188
188
|
<tr>
|
189
189
|
<td class="function_type">
|
190
|
-
<a href="../glib
|
190
|
+
<a href="../glib-Byte-Arrays.html#GBytes"><span class="returnvalue">GBytes</span></a> *
|
191
191
|
</td>
|
192
192
|
<td class="function_name">
|
193
193
|
<a class="link" href="GInputStream.html#g-input-stream-read-bytes-finish" title="g_input_stream_read_bytes_finish ()">g_input_stream_read_bytes_finish</a> <span class="c_punctuation">()</span>
|
@@ -211,7 +211,7 @@
|
|
211
211
|
</div>
|
212
212
|
<div class="refsect1">
|
213
213
|
<a name="GInputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
214
|
-
<pre class="screen"> <a href="../gobject
|
214
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
215
215
|
<span class="lineart">╰──</span> GInputStream
|
216
216
|
<span class="lineart">├──</span> <a class="link" href="GFilterInputStream.html" title="GFilterInputStream">GFilterInputStream</a>
|
217
217
|
<span class="lineart">├──</span> <a class="link" href="GFileInputStream.html" title="GFileInputStream">GFileInputStream</a>
|
@@ -245,19 +245,19 @@ streaming APIs.</p>
|
|
245
245
|
<a name="GInputStream.functions_details"></a><h2>Functions</h2>
|
246
246
|
<div class="refsect2">
|
247
247
|
<a name="g-input-stream-read"></a><h3>g_input_stream_read ()</h3>
|
248
|
-
<pre class="programlisting"><a href="../glib
|
248
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
249
249
|
g_input_stream_read (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
250
250
|
<em class="parameter"><code><span class="type">void</span> *buffer</code></em>,
|
251
|
-
<em class="parameter"><code><a href="../glib
|
251
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
252
252
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
253
|
-
<em class="parameter"><code><a href="../glib
|
253
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
254
254
|
<p>Tries to read <em class="parameter"><code>count</code></em>
|
255
255
|
bytes from the stream into the buffer starting at
|
256
256
|
<em class="parameter"><code>buffer</code></em>
|
257
257
|
. Will block during this read.</p>
|
258
258
|
<p>If count is zero returns zero and does nothing. A value of <em class="parameter"><code>count</code></em>
|
259
259
|
|
260
|
-
larger than <a href="../glib
|
260
|
+
larger than <a href="../glib-Basic-Types.html#G-MAXSSIZE:CAPS"><code class="literal">G_MAXSSIZE</code></a> will cause a <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a> error.</p>
|
261
261
|
<p>On success, the number of bytes read into the buffer is returned.
|
262
262
|
It is not an error if this is not the same as the requested size, as it
|
263
263
|
can happen e.g. near the end of a file. Zero is returned on end of file
|
@@ -268,7 +268,7 @@ can happen e.g. near the end of a file. Zero is returned on end of file
|
|
268
268
|
at any position, and this function doesn't nul-terminate the <em class="parameter"><code>buffer</code></em>
|
269
269
|
.</p>
|
270
270
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
271
|
-
is not <a href="../glib
|
271
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
272
272
|
triggering the cancellable object from another thread. If the operation
|
273
273
|
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. If an
|
274
274
|
operation was partially finished when the operation was cancelled the
|
@@ -276,7 +276,7 @@ partial result will be returned, without an error.</p>
|
|
276
276
|
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
277
277
|
is set accordingly.</p>
|
278
278
|
<div class="refsect3">
|
279
|
-
<a name="
|
279
|
+
<a name="g-input-stream-read.parameters"></a><h4>Parameters</h4>
|
280
280
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
281
281
|
<colgroup>
|
282
282
|
<col width="150px" class="parameters_name">
|
@@ -302,32 +302,32 @@ read data into (which should be at least count bytes long). </p></td>
|
|
302
302
|
</tr>
|
303
303
|
<tr>
|
304
304
|
<td class="parameter_name"><p>cancellable</p></td>
|
305
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
305
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
306
306
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
307
307
|
</tr>
|
308
308
|
<tr>
|
309
309
|
<td class="parameter_name"><p>error</p></td>
|
310
|
-
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib
|
310
|
+
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
311
311
|
<td class="parameter_annotations"> </td>
|
312
312
|
</tr>
|
313
313
|
</tbody>
|
314
314
|
</table></div>
|
315
315
|
</div>
|
316
316
|
<div class="refsect3">
|
317
|
-
<a name="
|
317
|
+
<a name="g-input-stream-read.returns"></a><h4>Returns</h4>
|
318
318
|
<p> Number of bytes read, or -1 on error, or 0 on end of file.</p>
|
319
319
|
</div>
|
320
320
|
</div>
|
321
321
|
<hr>
|
322
322
|
<div class="refsect2">
|
323
323
|
<a name="g-input-stream-read-all"></a><h3>g_input_stream_read_all ()</h3>
|
324
|
-
<pre class="programlisting"><a href="../glib
|
324
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
325
325
|
g_input_stream_read_all (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
326
326
|
<em class="parameter"><code><span class="type">void</span> *buffer</code></em>,
|
327
|
-
<em class="parameter"><code><a href="../glib
|
328
|
-
<em class="parameter"><code><a href="../glib
|
327
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
328
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
329
329
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
330
|
-
<em class="parameter"><code><a href="../glib
|
330
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
331
331
|
<p>Tries to read <em class="parameter"><code>count</code></em>
|
332
332
|
bytes from the stream into the buffer starting at
|
333
333
|
<em class="parameter"><code>buffer</code></em>
|
@@ -336,15 +336,15 @@ g_input_stream_read_all (<em class="parameter"><code><a class="link" href="GInpu
|
|
336
336
|
read as many bytes as requested, only stopping on an error or end of stream.</p>
|
337
337
|
<p>On a successful read of <em class="parameter"><code>count</code></em>
|
338
338
|
bytes, or if we reached the end of the
|
339
|
-
stream, <a href="../glib
|
339
|
+
stream, <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, and <em class="parameter"><code>bytes_read</code></em>
|
340
340
|
is set to the number of bytes
|
341
341
|
read into <em class="parameter"><code>buffer</code></em>
|
342
342
|
.</p>
|
343
|
-
<p>If there is an error during the operation <a href="../glib
|
343
|
+
<p>If there is an error during the operation <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
|
344
344
|
|
345
345
|
is set to indicate the error status.</p>
|
346
346
|
<p>As a special exception to the normal conventions for functions that
|
347
|
-
use <a href="../glib
|
347
|
+
use <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, if this function returns <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> (and sets <em class="parameter"><code>error</code></em>
|
348
348
|
) then
|
349
349
|
<em class="parameter"><code>bytes_read</code></em>
|
350
350
|
will be set to the number of bytes that were successfully
|
@@ -352,7 +352,7 @@ read before the error was encountered. This functionality is only
|
|
352
352
|
available from C. If you need it from another language then you must
|
353
353
|
write your own loop around <a class="link" href="GInputStream.html#g-input-stream-read" title="g_input_stream_read ()"><code class="function">g_input_stream_read()</code></a>.</p>
|
354
354
|
<div class="refsect3">
|
355
|
-
<a name="
|
355
|
+
<a name="g-input-stream-read-all.parameters"></a><h4>Parameters</h4>
|
356
356
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
357
357
|
<colgroup>
|
358
358
|
<col width="150px" class="parameters_name">
|
@@ -383,20 +383,20 @@ read data into (which should be at least count bytes long). </p></td>
|
|
383
383
|
</tr>
|
384
384
|
<tr>
|
385
385
|
<td class="parameter_name"><p>cancellable</p></td>
|
386
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
386
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
387
387
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
388
388
|
</tr>
|
389
389
|
<tr>
|
390
390
|
<td class="parameter_name"><p>error</p></td>
|
391
|
-
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib
|
391
|
+
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
392
392
|
<td class="parameter_annotations"> </td>
|
393
393
|
</tr>
|
394
394
|
</tbody>
|
395
395
|
</table></div>
|
396
396
|
</div>
|
397
397
|
<div class="refsect3">
|
398
|
-
<a name="
|
399
|
-
<p> <a href="../glib
|
398
|
+
<a name="g-input-stream-read-all.returns"></a><h4>Returns</h4>
|
399
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there was an error</p>
|
400
400
|
</div>
|
401
401
|
</div>
|
402
402
|
<hr>
|
@@ -405,11 +405,11 @@ read data into (which should be at least count bytes long). </p></td>
|
|
405
405
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
406
406
|
g_input_stream_read_all_async (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
407
407
|
<em class="parameter"><code><span class="type">void</span> *buffer</code></em>,
|
408
|
-
<em class="parameter"><code><a href="../glib
|
408
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
409
409
|
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
410
410
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
411
411
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
412
|
-
<em class="parameter"><code><a href="../glib
|
412
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
413
413
|
<p>Request an asynchronous read of <em class="parameter"><code>count</code></em>
|
414
414
|
bytes from the stream into the
|
415
415
|
buffer starting at <em class="parameter"><code>buffer</code></em>
|
@@ -418,9 +418,9 @@ buffer starting at <em class="parameter"><code>buffer</code></em>
|
|
418
418
|
<p>Call <a class="link" href="GInputStream.html#g-input-stream-read-all-finish" title="g_input_stream_read_all_finish ()"><code class="function">g_input_stream_read_all_finish()</code></a> to collect the result.</p>
|
419
419
|
<p>Any outstanding I/O request with higher priority (lower numerical
|
420
420
|
value) will be executed before an outstanding request with lower
|
421
|
-
priority. Default priority is <a href="../glib
|
421
|
+
priority. Default priority is <a href="../glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
|
422
422
|
<div class="refsect3">
|
423
|
-
<a name="
|
423
|
+
<a name="g-input-stream-read-all-async.parameters"></a><h4>Parameters</h4>
|
424
424
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
425
425
|
<colgroup>
|
426
426
|
<col width="150px" class="parameters_name">
|
@@ -451,7 +451,7 @@ read data into (which should be at least count bytes long). </p></td>
|
|
451
451
|
</tr>
|
452
452
|
<tr>
|
453
453
|
<td class="parameter_name"><p>cancellable</p></td>
|
454
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
454
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
455
455
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
456
456
|
</tr>
|
457
457
|
<tr>
|
@@ -472,15 +472,15 @@ read data into (which should be at least count bytes long). </p></td>
|
|
472
472
|
<hr>
|
473
473
|
<div class="refsect2">
|
474
474
|
<a name="g-input-stream-read-all-finish"></a><h3>g_input_stream_read_all_finish ()</h3>
|
475
|
-
<pre class="programlisting"><a href="../glib
|
475
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
476
476
|
g_input_stream_read_all_finish (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
477
477
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
478
|
-
<em class="parameter"><code><a href="../glib
|
479
|
-
<em class="parameter"><code><a href="../glib
|
478
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
479
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
480
480
|
<p>Finishes an asynchronous stream read operation started with
|
481
481
|
<a class="link" href="GInputStream.html#g-input-stream-read-all-async" title="g_input_stream_read_all_async ()"><code class="function">g_input_stream_read_all_async()</code></a>.</p>
|
482
482
|
<p>As a special exception to the normal conventions for functions that
|
483
|
-
use <a href="../glib
|
483
|
+
use <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, if this function returns <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> (and sets <em class="parameter"><code>error</code></em>
|
484
484
|
) then
|
485
485
|
<em class="parameter"><code>bytes_read</code></em>
|
486
486
|
will be set to the number of bytes that were successfully
|
@@ -488,7 +488,7 @@ read before the error was encountered. This functionality is only
|
|
488
488
|
available from C. If you need it from another language then you must
|
489
489
|
write your own loop around <a class="link" href="GInputStream.html#g-input-stream-read-async" title="g_input_stream_read_async ()"><code class="function">g_input_stream_read_async()</code></a>.</p>
|
490
490
|
<div class="refsect3">
|
491
|
-
<a name="
|
491
|
+
<a name="g-input-stream-read-all-finish.parameters"></a><h4>Parameters</h4>
|
492
492
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
493
493
|
<colgroup>
|
494
494
|
<col width="150px" class="parameters_name">
|
@@ -513,26 +513,26 @@ write your own loop around <a class="link" href="GInputStream.html#g-input-strea
|
|
513
513
|
</tr>
|
514
514
|
<tr>
|
515
515
|
<td class="parameter_name"><p>error</p></td>
|
516
|
-
<td class="parameter_description"><p>a <a href="../glib
|
516
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
517
517
|
<td class="parameter_annotations"> </td>
|
518
518
|
</tr>
|
519
519
|
</tbody>
|
520
520
|
</table></div>
|
521
521
|
</div>
|
522
522
|
<div class="refsect3">
|
523
|
-
<a name="
|
524
|
-
<p> <a href="../glib
|
523
|
+
<a name="g-input-stream-read-all-finish.returns"></a><h4>Returns</h4>
|
524
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there was an error</p>
|
525
525
|
</div>
|
526
526
|
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
527
527
|
</div>
|
528
528
|
<hr>
|
529
529
|
<div class="refsect2">
|
530
530
|
<a name="g-input-stream-skip"></a><h3>g_input_stream_skip ()</h3>
|
531
|
-
<pre class="programlisting"><a href="../glib
|
531
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
532
532
|
g_input_stream_skip (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
533
|
-
<em class="parameter"><code><a href="../glib
|
533
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
534
534
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
535
|
-
<em class="parameter"><code><a href="../glib
|
535
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
536
536
|
<p>Tries to skip <em class="parameter"><code>count</code></em>
|
537
537
|
bytes from the stream. Will block during the operation.</p>
|
538
538
|
<p>This is identical to <a class="link" href="GInputStream.html#g-input-stream-read" title="g_input_stream_read ()"><code class="function">g_input_stream_read()</code></a>, from a behaviour standpoint,
|
@@ -541,13 +541,13 @@ streams have an implementation that is more efficient than reading the data.</p>
|
|
541
541
|
<p>This function is optional for inherited classes, as the default implementation
|
542
542
|
emulates it using read.</p>
|
543
543
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
544
|
-
is not <a href="../glib
|
544
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
545
545
|
triggering the cancellable object from another thread. If the operation
|
546
546
|
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. If an
|
547
547
|
operation was partially finished when the operation was cancelled the
|
548
548
|
partial result will be returned, without an error.</p>
|
549
549
|
<div class="refsect3">
|
550
|
-
<a name="
|
550
|
+
<a name="g-input-stream-skip.parameters"></a><h4>Parameters</h4>
|
551
551
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
552
552
|
<colgroup>
|
553
553
|
<col width="150px" class="parameters_name">
|
@@ -567,29 +567,29 @@ partial result will be returned, without an error.</p>
|
|
567
567
|
</tr>
|
568
568
|
<tr>
|
569
569
|
<td class="parameter_name"><p>cancellable</p></td>
|
570
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
570
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
571
571
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
572
572
|
</tr>
|
573
573
|
<tr>
|
574
574
|
<td class="parameter_name"><p>error</p></td>
|
575
|
-
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib
|
575
|
+
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
576
576
|
<td class="parameter_annotations"> </td>
|
577
577
|
</tr>
|
578
578
|
</tbody>
|
579
579
|
</table></div>
|
580
580
|
</div>
|
581
581
|
<div class="refsect3">
|
582
|
-
<a name="
|
582
|
+
<a name="g-input-stream-skip.returns"></a><h4>Returns</h4>
|
583
583
|
<p> Number of bytes skipped, or -1 on error</p>
|
584
584
|
</div>
|
585
585
|
</div>
|
586
586
|
<hr>
|
587
587
|
<div class="refsect2">
|
588
588
|
<a name="g-input-stream-close"></a><h3>g_input_stream_close ()</h3>
|
589
|
-
<pre class="programlisting"><a href="../glib
|
589
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
590
590
|
g_input_stream_close (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
591
591
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
592
|
-
<em class="parameter"><code><a href="../glib
|
592
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
593
593
|
<p>Closes the stream, releasing resources related to it.</p>
|
594
594
|
<p>Once the stream is closed, all other operations will return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>.
|
595
595
|
Closing a stream multiple times will not return an error.</p>
|
@@ -604,13 +604,13 @@ operation will finish as much as possible. A stream that failed to
|
|
604
604
|
close will still return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a> for all operations. Still, it
|
605
605
|
is important to check and report the error to the user.</p>
|
606
606
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
607
|
-
is not <a href="../glib
|
607
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
608
608
|
triggering the cancellable object from another thread. If the operation
|
609
609
|
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned.
|
610
610
|
Cancelling a close will still leave the stream closed, but some streams
|
611
611
|
can use a faster close that doesn't block to e.g. check errors.</p>
|
612
612
|
<div class="refsect3">
|
613
|
-
<a name="
|
613
|
+
<a name="g-input-stream-close.parameters"></a><h4>Parameters</h4>
|
614
614
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
615
615
|
<colgroup>
|
616
616
|
<col width="150px" class="parameters_name">
|
@@ -625,20 +625,20 @@ can use a faster close that doesn't block to e.g. check errors.</p>
|
|
625
625
|
</tr>
|
626
626
|
<tr>
|
627
627
|
<td class="parameter_name"><p>cancellable</p></td>
|
628
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
628
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
629
629
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
630
630
|
</tr>
|
631
631
|
<tr>
|
632
632
|
<td class="parameter_name"><p>error</p></td>
|
633
|
-
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib
|
633
|
+
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
634
634
|
<td class="parameter_annotations"> </td>
|
635
635
|
</tr>
|
636
636
|
</tbody>
|
637
637
|
</table></div>
|
638
638
|
</div>
|
639
639
|
<div class="refsect3">
|
640
|
-
<a name="
|
641
|
-
<p> <a href="../glib
|
640
|
+
<a name="g-input-stream-close.returns"></a><h4>Returns</h4>
|
641
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure</p>
|
642
642
|
</div>
|
643
643
|
</div>
|
644
644
|
<hr>
|
@@ -647,11 +647,11 @@ can use a faster close that doesn't block to e.g. check errors.</p>
|
|
647
647
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
648
648
|
g_input_stream_read_async (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
649
649
|
<em class="parameter"><code><span class="type">void</span> *buffer</code></em>,
|
650
|
-
<em class="parameter"><code><a href="../glib
|
650
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
651
651
|
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
652
652
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
653
653
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
654
|
-
<em class="parameter"><code><a href="../glib
|
654
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
655
655
|
<p>Request an asynchronous read of <em class="parameter"><code>count</code></em>
|
656
656
|
bytes from the stream into the buffer
|
657
657
|
starting at <em class="parameter"><code>buffer</code></em>
|
@@ -663,7 +663,7 @@ operation.</p>
|
|
663
663
|
, and will
|
664
664
|
result in <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> errors. </p>
|
665
665
|
<p>A value of <em class="parameter"><code>count</code></em>
|
666
|
-
larger than <a href="../glib
|
666
|
+
larger than <a href="../glib-Basic-Types.html#G-MAXSSIZE:CAPS"><code class="literal">G_MAXSSIZE</code></a> will cause a <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a> error.</p>
|
667
667
|
<p>On success, the number of bytes read into the buffer will be passed to the
|
668
668
|
callback. It is not an error if this is not the same as the requested size, as it
|
669
669
|
can happen e.g. near the end of a file, but generally we try to read
|
@@ -672,12 +672,12 @@ as many bytes as requested. Zero is returned on end of file
|
|
672
672
|
is zero), but never otherwise.</p>
|
673
673
|
<p>Any outstanding i/o request with higher priority (lower numerical value) will
|
674
674
|
be executed before an outstanding request with lower priority. Default
|
675
|
-
priority is <a href="../glib
|
675
|
+
priority is <a href="../glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
|
676
676
|
<p>The asyncronous methods have a default fallback that uses threads to implement
|
677
677
|
asynchronicity, so they are optional for inheriting classes. However, if you
|
678
678
|
override one you must override all.</p>
|
679
679
|
<div class="refsect3">
|
680
|
-
<a name="
|
680
|
+
<a name="g-input-stream-read-async.parameters"></a><h4>Parameters</h4>
|
681
681
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
682
682
|
<colgroup>
|
683
683
|
<col width="150px" class="parameters_name">
|
@@ -709,7 +709,7 @@ of the request. </p></td>
|
|
709
709
|
</tr>
|
710
710
|
<tr>
|
711
711
|
<td class="parameter_name"><p>cancellable</p></td>
|
712
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
712
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
713
713
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
714
714
|
</tr>
|
715
715
|
<tr>
|
@@ -729,13 +729,13 @@ of the request. </p></td>
|
|
729
729
|
<hr>
|
730
730
|
<div class="refsect2">
|
731
731
|
<a name="g-input-stream-read-finish"></a><h3>g_input_stream_read_finish ()</h3>
|
732
|
-
<pre class="programlisting"><a href="../glib
|
732
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
733
733
|
g_input_stream_read_finish (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
734
734
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
735
|
-
<em class="parameter"><code><a href="../glib
|
735
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
736
736
|
<p>Finishes an asynchronous stream read operation.</p>
|
737
737
|
<div class="refsect3">
|
738
|
-
<a name="
|
738
|
+
<a name="g-input-stream-read-finish.parameters"></a><h4>Parameters</h4>
|
739
739
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
740
740
|
<colgroup>
|
741
741
|
<col width="150px" class="parameters_name">
|
@@ -755,7 +755,7 @@ g_input_stream_read_finish (<em class="parameter"><code><a class="link" href="GI
|
|
755
755
|
</tr>
|
756
756
|
<tr>
|
757
757
|
<td class="parameter_name"><p>error</p></td>
|
758
|
-
<td class="parameter_description"><p>a <a href="../glib
|
758
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
759
759
|
ignore.</p></td>
|
760
760
|
<td class="parameter_annotations"> </td>
|
761
761
|
</tr>
|
@@ -763,7 +763,7 @@ ignore.</p></td>
|
|
763
763
|
</table></div>
|
764
764
|
</div>
|
765
765
|
<div class="refsect3">
|
766
|
-
<a name="
|
766
|
+
<a name="g-input-stream-read-finish.returns"></a><h4>Returns</h4>
|
767
767
|
<p> number of bytes read in, or -1 on error, or 0 on end of file.</p>
|
768
768
|
</div>
|
769
769
|
</div>
|
@@ -772,11 +772,11 @@ ignore.</p></td>
|
|
772
772
|
<a name="g-input-stream-skip-async"></a><h3>g_input_stream_skip_async ()</h3>
|
773
773
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
774
774
|
g_input_stream_skip_async (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
775
|
-
<em class="parameter"><code><a href="../glib
|
775
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
776
776
|
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
777
777
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
778
778
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
779
|
-
<em class="parameter"><code><a href="../glib
|
779
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
780
780
|
<p>Request an asynchronous skip of <em class="parameter"><code>count</code></em>
|
781
781
|
bytes from the stream.
|
782
782
|
When the operation is finished <em class="parameter"><code>callback</code></em>
|
@@ -786,7 +786,7 @@ of the operation.</p>
|
|
786
786
|
<p>During an async request no other sync and async calls are allowed,
|
787
787
|
and will result in <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> errors.</p>
|
788
788
|
<p>A value of <em class="parameter"><code>count</code></em>
|
789
|
-
larger than <a href="../glib
|
789
|
+
larger than <a href="../glib-Basic-Types.html#G-MAXSSIZE:CAPS"><code class="literal">G_MAXSSIZE</code></a> will cause a <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a> error.</p>
|
790
790
|
<p>On success, the number of bytes skipped will be passed to the callback.
|
791
791
|
It is not an error if this is not the same as the requested size, as it
|
792
792
|
can happen e.g. near the end of a file, but generally we try to skip
|
@@ -795,12 +795,12 @@ as many bytes as requested. Zero is returned on end of file
|
|
795
795
|
is zero), but never otherwise.</p>
|
796
796
|
<p>Any outstanding i/o request with higher priority (lower numerical value)
|
797
797
|
will be executed before an outstanding request with lower priority.
|
798
|
-
Default priority is <a href="../glib
|
798
|
+
Default priority is <a href="../glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
|
799
799
|
<p>The asynchronous methods have a default fallback that uses threads to
|
800
800
|
implement asynchronicity, so they are optional for inheriting classes.
|
801
801
|
However, if you override one, you must override all.</p>
|
802
802
|
<div class="refsect3">
|
803
|
-
<a name="
|
803
|
+
<a name="g-input-stream-skip-async.parameters"></a><h4>Parameters</h4>
|
804
804
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
805
805
|
<colgroup>
|
806
806
|
<col width="150px" class="parameters_name">
|
@@ -825,7 +825,7 @@ However, if you override one, you must override all.</p>
|
|
825
825
|
</tr>
|
826
826
|
<tr>
|
827
827
|
<td class="parameter_name"><p>cancellable</p></td>
|
828
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
828
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
829
829
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
830
830
|
</tr>
|
831
831
|
<tr>
|
@@ -845,13 +845,13 @@ However, if you override one, you must override all.</p>
|
|
845
845
|
<hr>
|
846
846
|
<div class="refsect2">
|
847
847
|
<a name="g-input-stream-skip-finish"></a><h3>g_input_stream_skip_finish ()</h3>
|
848
|
-
<pre class="programlisting"><a href="../glib
|
848
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
849
849
|
g_input_stream_skip_finish (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
850
850
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
851
|
-
<em class="parameter"><code><a href="../glib
|
851
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
852
852
|
<p>Finishes a stream skip operation.</p>
|
853
853
|
<div class="refsect3">
|
854
|
-
<a name="
|
854
|
+
<a name="g-input-stream-skip-finish.parameters"></a><h4>Parameters</h4>
|
855
855
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
856
856
|
<colgroup>
|
857
857
|
<col width="150px" class="parameters_name">
|
@@ -871,7 +871,7 @@ g_input_stream_skip_finish (<em class="parameter"><code><a class="link" href="GI
|
|
871
871
|
</tr>
|
872
872
|
<tr>
|
873
873
|
<td class="parameter_name"><p>error</p></td>
|
874
|
-
<td class="parameter_description"><p>a <a href="../glib
|
874
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
875
875
|
ignore.</p></td>
|
876
876
|
<td class="parameter_annotations"> </td>
|
877
877
|
</tr>
|
@@ -879,7 +879,7 @@ ignore.</p></td>
|
|
879
879
|
</table></div>
|
880
880
|
</div>
|
881
881
|
<div class="refsect3">
|
882
|
-
<a name="
|
882
|
+
<a name="g-input-stream-skip-finish.returns"></a><h4>Returns</h4>
|
883
883
|
<p> the size of the bytes skipped, or <code class="literal">-1</code> on error.</p>
|
884
884
|
</div>
|
885
885
|
</div>
|
@@ -891,7 +891,7 @@ g_input_stream_close_async (<em class="parameter"><code><a class="link" href="GI
|
|
891
891
|
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
892
892
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
893
893
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
894
|
-
<em class="parameter"><code><a href="../glib
|
894
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
895
895
|
<p>Requests an asynchronous closes of the stream, releasing resources related to it.
|
896
896
|
When the operation is finished <em class="parameter"><code>callback</code></em>
|
897
897
|
will be called.
|
@@ -902,7 +902,7 @@ operation.</p>
|
|
902
902
|
asynchronicity, so they are optional for inheriting classes. However, if you
|
903
903
|
override one you must override all.</p>
|
904
904
|
<div class="refsect3">
|
905
|
-
<a name="
|
905
|
+
<a name="g-input-stream-close-async.parameters"></a><h4>Parameters</h4>
|
906
906
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
907
907
|
<colgroup>
|
908
908
|
<col width="150px" class="parameters_name">
|
@@ -942,13 +942,13 @@ override one you must override all.</p>
|
|
942
942
|
<hr>
|
943
943
|
<div class="refsect2">
|
944
944
|
<a name="g-input-stream-close-finish"></a><h3>g_input_stream_close_finish ()</h3>
|
945
|
-
<pre class="programlisting"><a href="../glib
|
945
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
946
946
|
g_input_stream_close_finish (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
947
947
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
948
|
-
<em class="parameter"><code><a href="../glib
|
948
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
949
949
|
<p>Finishes closing a stream asynchronously, started from <a class="link" href="GInputStream.html#g-input-stream-close-async" title="g_input_stream_close_async ()"><code class="function">g_input_stream_close_async()</code></a>.</p>
|
950
950
|
<div class="refsect3">
|
951
|
-
<a name="
|
951
|
+
<a name="g-input-stream-close-finish.parameters"></a><h4>Parameters</h4>
|
952
952
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
953
953
|
<colgroup>
|
954
954
|
<col width="150px" class="parameters_name">
|
@@ -968,7 +968,7 @@ g_input_stream_close_finish (<em class="parameter"><code><a class="link" href="G
|
|
968
968
|
</tr>
|
969
969
|
<tr>
|
970
970
|
<td class="parameter_name"><p>error</p></td>
|
971
|
-
<td class="parameter_description"><p>a <a href="../glib
|
971
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
972
972
|
ignore.</p></td>
|
973
973
|
<td class="parameter_annotations"> </td>
|
974
974
|
</tr>
|
@@ -976,18 +976,18 @@ ignore.</p></td>
|
|
976
976
|
</table></div>
|
977
977
|
</div>
|
978
978
|
<div class="refsect3">
|
979
|
-
<a name="
|
980
|
-
<p> <a href="../glib
|
979
|
+
<a name="g-input-stream-close-finish.returns"></a><h4>Returns</h4>
|
980
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the stream was closed successfully.</p>
|
981
981
|
</div>
|
982
982
|
</div>
|
983
983
|
<hr>
|
984
984
|
<div class="refsect2">
|
985
985
|
<a name="g-input-stream-is-closed"></a><h3>g_input_stream_is_closed ()</h3>
|
986
|
-
<pre class="programlisting"><a href="../glib
|
986
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
987
987
|
g_input_stream_is_closed (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>);</pre>
|
988
988
|
<p>Checks if an input stream is closed.</p>
|
989
989
|
<div class="refsect3">
|
990
|
-
<a name="
|
990
|
+
<a name="g-input-stream-is-closed.parameters"></a><h4>Parameters</h4>
|
991
991
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
992
992
|
<colgroup>
|
993
993
|
<col width="150px" class="parameters_name">
|
@@ -1002,18 +1002,18 @@ g_input_stream_is_closed (<em class="parameter"><code><a class="link" href="GInp
|
|
1002
1002
|
</table></div>
|
1003
1003
|
</div>
|
1004
1004
|
<div class="refsect3">
|
1005
|
-
<a name="
|
1006
|
-
<p> <a href="../glib
|
1005
|
+
<a name="g-input-stream-is-closed.returns"></a><h4>Returns</h4>
|
1006
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the stream is closed.</p>
|
1007
1007
|
</div>
|
1008
1008
|
</div>
|
1009
1009
|
<hr>
|
1010
1010
|
<div class="refsect2">
|
1011
1011
|
<a name="g-input-stream-has-pending"></a><h3>g_input_stream_has_pending ()</h3>
|
1012
|
-
<pre class="programlisting"><a href="../glib
|
1012
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1013
1013
|
g_input_stream_has_pending (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>);</pre>
|
1014
1014
|
<p>Checks if an input stream has pending actions.</p>
|
1015
1015
|
<div class="refsect3">
|
1016
|
-
<a name="
|
1016
|
+
<a name="g-input-stream-has-pending.parameters"></a><h4>Parameters</h4>
|
1017
1017
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1018
1018
|
<colgroup>
|
1019
1019
|
<col width="150px" class="parameters_name">
|
@@ -1028,25 +1028,25 @@ g_input_stream_has_pending (<em class="parameter"><code><a class="link" href="GI
|
|
1028
1028
|
</table></div>
|
1029
1029
|
</div>
|
1030
1030
|
<div class="refsect3">
|
1031
|
-
<a name="
|
1032
|
-
<p> <a href="../glib
|
1031
|
+
<a name="g-input-stream-has-pending.returns"></a><h4>Returns</h4>
|
1032
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>stream</code></em>
|
1033
1033
|
has pending actions.</p>
|
1034
1034
|
</div>
|
1035
1035
|
</div>
|
1036
1036
|
<hr>
|
1037
1037
|
<div class="refsect2">
|
1038
1038
|
<a name="g-input-stream-set-pending"></a><h3>g_input_stream_set_pending ()</h3>
|
1039
|
-
<pre class="programlisting"><a href="../glib
|
1039
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1040
1040
|
g_input_stream_set_pending (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
1041
|
-
<em class="parameter"><code><a href="../glib
|
1041
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1042
1042
|
<p>Sets <em class="parameter"><code>stream</code></em>
|
1043
1043
|
to have actions pending. If the pending flag is
|
1044
1044
|
already set or <em class="parameter"><code>stream</code></em>
|
1045
|
-
is closed, it will return <a href="../glib
|
1045
|
+
is closed, it will return <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and set
|
1046
1046
|
<em class="parameter"><code>error</code></em>
|
1047
1047
|
.</p>
|
1048
1048
|
<div class="refsect3">
|
1049
|
-
<a name="
|
1049
|
+
<a name="g-input-stream-set-pending.parameters"></a><h4>Parameters</h4>
|
1050
1050
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1051
1051
|
<colgroup>
|
1052
1052
|
<col width="150px" class="parameters_name">
|
@@ -1061,7 +1061,7 @@ already set or <em class="parameter"><code>stream</code></em>
|
|
1061
1061
|
</tr>
|
1062
1062
|
<tr>
|
1063
1063
|
<td class="parameter_name"><p>error</p></td>
|
1064
|
-
<td class="parameter_description"><p>a <a href="../glib
|
1064
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1065
1065
|
ignore.</p></td>
|
1066
1066
|
<td class="parameter_annotations"> </td>
|
1067
1067
|
</tr>
|
@@ -1069,8 +1069,8 @@ ignore.</p></td>
|
|
1069
1069
|
</table></div>
|
1070
1070
|
</div>
|
1071
1071
|
<div class="refsect3">
|
1072
|
-
<a name="
|
1073
|
-
<p> <a href="../glib
|
1072
|
+
<a name="g-input-stream-set-pending.returns"></a><h4>Returns</h4>
|
1073
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pending was previously unset and is now set.</p>
|
1074
1074
|
</div>
|
1075
1075
|
</div>
|
1076
1076
|
<hr>
|
@@ -1081,7 +1081,7 @@ g_input_stream_clear_pending (<em class="parameter"><code><a class="link" href="
|
|
1081
1081
|
<p>Clears the pending flag on <em class="parameter"><code>stream</code></em>
|
1082
1082
|
.</p>
|
1083
1083
|
<div class="refsect3">
|
1084
|
-
<a name="
|
1084
|
+
<a name="g-input-stream-clear-pending.parameters"></a><h4>Parameters</h4>
|
1085
1085
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1086
1086
|
<colgroup>
|
1087
1087
|
<col width="150px" class="parameters_name">
|
@@ -1099,37 +1099,37 @@ g_input_stream_clear_pending (<em class="parameter"><code><a class="link" href="
|
|
1099
1099
|
<hr>
|
1100
1100
|
<div class="refsect2">
|
1101
1101
|
<a name="g-input-stream-read-bytes"></a><h3>g_input_stream_read_bytes ()</h3>
|
1102
|
-
<pre class="programlisting"><a href="../glib
|
1102
|
+
<pre class="programlisting"><a href="../glib-Byte-Arrays.html#GBytes"><span class="returnvalue">GBytes</span></a> *
|
1103
1103
|
g_input_stream_read_bytes (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
1104
|
-
<em class="parameter"><code><a href="../glib
|
1104
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
1105
1105
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1106
|
-
<em class="parameter"><code><a href="../glib
|
1106
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1107
1107
|
<p>Like <a class="link" href="GInputStream.html#g-input-stream-read" title="g_input_stream_read ()"><code class="function">g_input_stream_read()</code></a>, this tries to read <em class="parameter"><code>count</code></em>
|
1108
1108
|
bytes from
|
1109
1109
|
the stream in a blocking fashion. However, rather than reading into
|
1110
|
-
a user-supplied buffer, this will create a new <a href="../glib
|
1110
|
+
a user-supplied buffer, this will create a new <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> containing
|
1111
1111
|
the data that was read. This may be easier to use from language
|
1112
1112
|
bindings.</p>
|
1113
|
-
<p>If count is zero, returns a zero-length <a href="../glib
|
1113
|
+
<p>If count is zero, returns a zero-length <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> and does nothing. A
|
1114
1114
|
value of <em class="parameter"><code>count</code></em>
|
1115
|
-
larger than <a href="../glib
|
1115
|
+
larger than <a href="../glib-Basic-Types.html#G-MAXSSIZE:CAPS"><code class="literal">G_MAXSSIZE</code></a> will cause a
|
1116
1116
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a> error.</p>
|
1117
|
-
<p>On success, a new <a href="../glib
|
1117
|
+
<p>On success, a new <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> is returned. It is not an error if the
|
1118
1118
|
size of this object is not the same as the requested size, as it
|
1119
|
-
can happen e.g. near the end of a file. A zero-length <a href="../glib
|
1119
|
+
can happen e.g. near the end of a file. A zero-length <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> is
|
1120
1120
|
returned on end of file (or if <em class="parameter"><code>count</code></em>
|
1121
1121
|
is zero), but never
|
1122
1122
|
otherwise.</p>
|
1123
1123
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
1124
|
-
is not <a href="../glib
|
1124
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
1125
1125
|
triggering the cancellable object from another thread. If the operation
|
1126
1126
|
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. If an
|
1127
1127
|
operation was partially finished when the operation was cancelled the
|
1128
1128
|
partial result will be returned, without an error.</p>
|
1129
|
-
<p>On error <a href="../glib
|
1129
|
+
<p>On error <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em>
|
1130
1130
|
is set accordingly.</p>
|
1131
1131
|
<div class="refsect3">
|
1132
|
-
<a name="
|
1132
|
+
<a name="g-input-stream-read-bytes.parameters"></a><h4>Parameters</h4>
|
1133
1133
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1134
1134
|
<colgroup>
|
1135
1135
|
<col width="150px" class="parameters_name">
|
@@ -1150,20 +1150,20 @@ values include 4096 and 8192.</p></td>
|
|
1150
1150
|
</tr>
|
1151
1151
|
<tr>
|
1152
1152
|
<td class="parameter_name"><p>cancellable</p></td>
|
1153
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
1153
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
1154
1154
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1155
1155
|
</tr>
|
1156
1156
|
<tr>
|
1157
1157
|
<td class="parameter_name"><p>error</p></td>
|
1158
|
-
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib
|
1158
|
+
<td class="parameter_description"><p>location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
1159
1159
|
<td class="parameter_annotations"> </td>
|
1160
1160
|
</tr>
|
1161
1161
|
</tbody>
|
1162
1162
|
</table></div>
|
1163
1163
|
</div>
|
1164
1164
|
<div class="refsect3">
|
1165
|
-
<a name="
|
1166
|
-
<p> a new <a href="../glib
|
1165
|
+
<a name="g-input-stream-read-bytes.returns"></a><h4>Returns</h4>
|
1166
|
+
<p> a new <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error</p>
|
1167
1167
|
</div>
|
1168
1168
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
1169
1169
|
</div>
|
@@ -1172,14 +1172,14 @@ values include 4096 and 8192.</p></td>
|
|
1172
1172
|
<a name="g-input-stream-read-bytes-async"></a><h3>g_input_stream_read_bytes_async ()</h3>
|
1173
1173
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1174
1174
|
g_input_stream_read_bytes_async (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
1175
|
-
<em class="parameter"><code><a href="../glib
|
1175
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
1176
1176
|
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
1177
1177
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1178
1178
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1179
|
-
<em class="parameter"><code><a href="../glib
|
1179
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1180
1180
|
<p>Request an asynchronous read of <em class="parameter"><code>count</code></em>
|
1181
1181
|
bytes from the stream into a
|
1182
|
-
new <a href="../glib
|
1182
|
+
new <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>. When the operation is finished <em class="parameter"><code>callback</code></em>
|
1183
1183
|
will be
|
1184
1184
|
called. You can then call <a class="link" href="GInputStream.html#g-input-stream-read-bytes-finish" title="g_input_stream_read_bytes_finish ()"><code class="function">g_input_stream_read_bytes_finish()</code></a> to get the
|
1185
1185
|
result of the operation.</p>
|
@@ -1187,9 +1187,9 @@ result of the operation.</p>
|
|
1187
1187
|
on <em class="parameter"><code>stream</code></em>
|
1188
1188
|
, and will result in <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> errors.</p>
|
1189
1189
|
<p>A value of <em class="parameter"><code>count</code></em>
|
1190
|
-
larger than <a href="../glib
|
1190
|
+
larger than <a href="../glib-Basic-Types.html#G-MAXSSIZE:CAPS"><code class="literal">G_MAXSSIZE</code></a> will cause a
|
1191
1191
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a> error.</p>
|
1192
|
-
<p>On success, the new <a href="../glib
|
1192
|
+
<p>On success, the new <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> will be passed to the callback. It is
|
1193
1193
|
not an error if this is smaller than the requested size, as it can
|
1194
1194
|
happen e.g. near the end of a file, but generally we try to read as
|
1195
1195
|
many bytes as requested. Zero is returned on end of file (or if
|
@@ -1197,9 +1197,9 @@ many bytes as requested. Zero is returned on end of file (or if
|
|
1197
1197
|
is zero), but never otherwise.</p>
|
1198
1198
|
<p>Any outstanding I/O request with higher priority (lower numerical
|
1199
1199
|
value) will be executed before an outstanding request with lower
|
1200
|
-
priority. Default priority is <a href="../glib
|
1200
|
+
priority. Default priority is <a href="../glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
|
1201
1201
|
<div class="refsect3">
|
1202
|
-
<a name="
|
1202
|
+
<a name="g-input-stream-read-bytes-async.parameters"></a><h4>Parameters</h4>
|
1203
1203
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1204
1204
|
<colgroup>
|
1205
1205
|
<col width="150px" class="parameters_name">
|
@@ -1224,7 +1224,7 @@ priority. Default priority is <a href="../glib/glib-The-Main-Event-Loop.html#G-P
|
|
1224
1224
|
</tr>
|
1225
1225
|
<tr>
|
1226
1226
|
<td class="parameter_name"><p>cancellable</p></td>
|
1227
|
-
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib
|
1227
|
+
<td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
1228
1228
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1229
1229
|
</tr>
|
1230
1230
|
<tr>
|
@@ -1245,13 +1245,13 @@ priority. Default priority is <a href="../glib/glib-The-Main-Event-Loop.html#G-P
|
|
1245
1245
|
<hr>
|
1246
1246
|
<div class="refsect2">
|
1247
1247
|
<a name="g-input-stream-read-bytes-finish"></a><h3>g_input_stream_read_bytes_finish ()</h3>
|
1248
|
-
<pre class="programlisting"><a href="../glib
|
1248
|
+
<pre class="programlisting"><a href="../glib-Byte-Arrays.html#GBytes"><span class="returnvalue">GBytes</span></a> *
|
1249
1249
|
g_input_stream_read_bytes_finish (<em class="parameter"><code><a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> *stream</code></em>,
|
1250
1250
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1251
|
-
<em class="parameter"><code><a href="../glib
|
1252
|
-
<p>Finishes an asynchronous stream read-into-<a href="../glib
|
1251
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1252
|
+
<p>Finishes an asynchronous stream read-into-<a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> operation.</p>
|
1253
1253
|
<div class="refsect3">
|
1254
|
-
<a name="
|
1254
|
+
<a name="g-input-stream-read-bytes-finish.parameters"></a><h4>Parameters</h4>
|
1255
1255
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1256
1256
|
<colgroup>
|
1257
1257
|
<col width="150px" class="parameters_name">
|
@@ -1271,7 +1271,7 @@ g_input_stream_read_bytes_finish (<em class="parameter"><code><a class="link" hr
|
|
1271
1271
|
</tr>
|
1272
1272
|
<tr>
|
1273
1273
|
<td class="parameter_name"><p>error</p></td>
|
1274
|
-
<td class="parameter_description"><p>a <a href="../glib
|
1274
|
+
<td class="parameter_description"><p>a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occurring, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1275
1275
|
ignore.</p></td>
|
1276
1276
|
<td class="parameter_annotations"> </td>
|
1277
1277
|
</tr>
|
@@ -1279,8 +1279,8 @@ ignore.</p></td>
|
|
1279
1279
|
</table></div>
|
1280
1280
|
</div>
|
1281
1281
|
<div class="refsect3">
|
1282
|
-
<a name="
|
1283
|
-
<p> the newly-allocated <a href="../glib
|
1282
|
+
<a name="g-input-stream-read-bytes-finish.returns"></a><h4>Returns</h4>
|
1283
|
+
<p> the newly-allocated <a href="../glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error</p>
|
1284
1284
|
</div>
|
1285
1285
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
1286
1286
|
</div>
|
@@ -1295,6 +1295,6 @@ ignore.</p></td>
|
|
1295
1295
|
</div>
|
1296
1296
|
</div>
|
1297
1297
|
<div class="footer">
|
1298
|
-
<hr>Generated by GTK-Doc V1.
|
1298
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
1299
1299
|
</body>
|
1300
1300
|
</html>
|