glib2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +79 -0
- data/Rakefile +8 -65
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbgobj_type.c +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib2.rb +2 -2
- data/lib/gnome2-raketask.rb +185 -0
- data/lib/gnome2-win32-binary-downloader.rb +49 -9
- data/lib/mkmf-gnome2.rb +55 -43
- data/test-unit/History.txt +5 -0
- data/test-unit/html/index.html +2 -2
- data/test-unit/html/index.html.ja +2 -2
- data/test-unit/lib/test/unit/assertions.rb +9 -4
- data/test-unit/lib/test/unit/autorunner.rb +13 -1
- data/test-unit/lib/test/unit/testsuite.rb +4 -2
- data/test-unit/lib/test/unit/version.rb +1 -1
- data/test-unit/test/test-testcase.rb +11 -3
- data/test-unit/test/test_assertions.rb +24 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{glib-dev_2.26.0-2_win32.mft → glib-dev_2.26.1-1_win32.mft} +4 -4
- data/vendor/local/manifest/{glib_2.26.0-2_win32.mft → glib_2.26.1-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{glib-2.26.0 → glib-2.26.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.0 → glib-dev-2.26.1}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +47 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +65 -65
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +221 -231
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +157 -157
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +53 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +83 -108
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +79 -79
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +60 -64
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +36 -40
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +40 -40
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4 -8
- data/vendor/local/share/gtk-doc/html/gio/async.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +70 -5
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/extending.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +44 -44
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +27 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +9 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -1
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/networking.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +53 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +49 -49
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +70 -70
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +42 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +23 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +112 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +227 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +91 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +60 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +66 -66
- 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 +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +78 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +64 -109
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +41 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +87 -87
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +154 -154
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +73 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +122 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +16 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/index.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +31 -31
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +20 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +23 -23
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +17 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +26 -26
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +74 -74
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +44 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +36 -36
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +262 -262
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +97 -97
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +158 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +37 -37
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +4 -4
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +4 -4
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +15 -6
- data/vendor/local/share/man/man1/glib-mkenums.1 +12 -3
- data/vendor/local/share/man/man1/gobject-query.1 +13 -4
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.log → glib_2.26.1-1_win32.log} +549 -558
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.sh → glib_2.26.1-1_win32.sh} +2 -2
- metadata +860 -857
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Dynamic Loading of Modules</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-Asynchronous-Queues.html" title="Asynchronous Queues">
|
10
10
|
<link rel="next" href="glib-Memory-Allocation.html" title="Memory Allocation">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Dynamic-Loading-of-Modules.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Dynamic Loading of Modules">
|
30
30
|
<a name="glib-Dynamic-Loading-of-Modules"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,25 +35,25 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
39
|
<a name="glib-Dynamic-Loading-of-Modules.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gmodule.h>
|
42
42
|
|
43
43
|
<a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule">GModule</a>;
|
44
44
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-supported" title="g_module_supported ()">g_module_supported</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
45
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
45
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-build-path" title="g_module_build_path ()">g_module_build_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *directory</code></em>,
|
46
46
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *module_name</code></em>);
|
47
|
-
<a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="returnvalue">GModule</span></a
|
47
|
+
<a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="returnvalue">GModule</span></a>* <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-open" title="g_module_open ()">g_module_open</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModuleFlags" title="enum GModuleFlags"><span class="type">GModuleFlags</span></a> flags</code></em>);
|
49
49
|
enum <a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModuleFlags" title="enum GModuleFlags">GModuleFlags</a>;
|
50
50
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-symbol" title="g_module_symbol ()">g_module_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>,
|
51
51
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_name</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *symbol</code></em>);
|
53
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
53
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-name" title="g_module_name ()">g_module_name</a> (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);
|
54
54
|
<span class="returnvalue">void</span> <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-make-resident" title="g_module_make_resident ()">g_module_make_resident</a> (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);
|
55
55
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-close" title="g_module_close ()">g_module_close</a> (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);
|
56
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
56
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-error" title="g_module_error ()">g_module_error</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
57
57
|
|
58
58
|
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * (<a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModuleCheckInit" title="GModuleCheckInit ()">*GModuleCheckInit</a>) (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);
|
59
59
|
<span class="returnvalue">void</span> (<a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModuleUnload" title="GModuleUnload ()">*GModuleUnload</a>) (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);
|
@@ -62,7 +62,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
62
62
|
#define <a class="link" href="glib-Dynamic-Loading-of-Modules.html#G-MODULE-IMPORT:CAPS" title="G_MODULE_IMPORT">G_MODULE_IMPORT</a>
|
63
63
|
</pre>
|
64
64
|
</div>
|
65
|
-
<div class="refsect1">
|
65
|
+
<div class="refsect1" title="Description">
|
66
66
|
<a name="glib-Dynamic-Loading-of-Modules.description"></a><h2>Description</h2>
|
67
67
|
<p>
|
68
68
|
These functions provide a portable way to dynamically load object files
|
@@ -100,7 +100,7 @@ it must ensure that it is never unloaded, by calling <a class="link" href="glib-
|
|
100
100
|
<p>
|
101
101
|
</p>
|
102
102
|
<div class="example">
|
103
|
-
<a name="
|
103
|
+
<a name="id637956"></a><p class="title"><b>Example 11. Calling a function defined in a <span class="structname">GModule</span></b></p>
|
104
104
|
<div class="example-contents">
|
105
105
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
106
106
|
<tbody>
|
@@ -184,9 +184,9 @@ it must ensure that it is never unloaded, by calling <a class="link" href="glib-
|
|
184
184
|
<p><br class="example-break">
|
185
185
|
</p>
|
186
186
|
</div>
|
187
|
-
<div class="refsect1">
|
187
|
+
<div class="refsect1" title="Details">
|
188
188
|
<a name="glib-Dynamic-Loading-of-Modules.details"></a><h2>Details</h2>
|
189
|
-
<div class="refsect2">
|
189
|
+
<div class="refsect2" title="GModule">
|
190
190
|
<a name="GModule"></a><h3>GModule</h3>
|
191
191
|
<pre class="programlisting">typedef struct _GModule GModule;</pre>
|
192
192
|
<p>
|
@@ -196,7 +196,7 @@ It should only be accessed via the following functions.
|
|
196
196
|
</p>
|
197
197
|
</div>
|
198
198
|
<hr>
|
199
|
-
<div class="refsect2">
|
199
|
+
<div class="refsect2" title="g_module_supported ()">
|
200
200
|
<a name="g-module-supported"></a><h3>g_module_supported ()</h3>
|
201
201
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_module_supported (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
202
202
|
<p>
|
@@ -213,9 +213,9 @@ Checks if modules are supported on the current platform.
|
|
213
213
|
</table></div>
|
214
214
|
</div>
|
215
215
|
<hr>
|
216
|
-
<div class="refsect2">
|
216
|
+
<div class="refsect2" title="g_module_build_path ()">
|
217
217
|
<a name="g-module-build-path"></a><h3>g_module_build_path ()</h3>
|
218
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
218
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_module_build_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *directory</code></em>,
|
219
219
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *module_name</code></em>);</pre>
|
220
220
|
<p>
|
221
221
|
A portable way to build the filename of a module. The platform-specific
|
@@ -260,9 +260,9 @@ prefix and suffix. This should be freed when no longer needed.
|
|
260
260
|
</table></div>
|
261
261
|
</div>
|
262
262
|
<hr>
|
263
|
-
<div class="refsect2">
|
263
|
+
<div class="refsect2" title="g_module_open ()">
|
264
264
|
<a name="g-module-open"></a><h3>g_module_open ()</h3>
|
265
|
-
<pre class="programlisting"><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="returnvalue">GModule</span></a
|
265
|
+
<pre class="programlisting"><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="returnvalue">GModule</span></a>* g_module_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
266
266
|
<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModuleFlags" title="enum GModuleFlags"><span class="type">GModuleFlags</span></a> flags</code></em>);</pre>
|
267
267
|
<p>
|
268
268
|
Opens a module. If the module has already been opened, its reference
|
@@ -302,7 +302,7 @@ OR of any of the <a class="link" href="glib-Dynamic-Loading-of-Modules.html#GMod
|
|
302
302
|
</table></div>
|
303
303
|
</div>
|
304
304
|
<hr>
|
305
|
-
<div class="refsect2">
|
305
|
+
<div class="refsect2" title="enum GModuleFlags">
|
306
306
|
<a name="GModuleFlags"></a><h3>enum GModuleFlags</h3>
|
307
307
|
<pre class="programlisting">typedef enum
|
308
308
|
{
|
@@ -341,7 +341,7 @@ not supported on all platforms.
|
|
341
341
|
</table></div>
|
342
342
|
</div>
|
343
343
|
<hr>
|
344
|
-
<div class="refsect2">
|
344
|
+
<div class="refsect2" title="g_module_symbol ()">
|
345
345
|
<a name="g-module-symbol"></a><h3>g_module_symbol ()</h3>
|
346
346
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_module_symbol (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>,
|
347
347
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_name</code></em>,
|
@@ -380,9 +380,9 @@ Note that a valid symbol can be <a class="link" href="glib-Standard-Macros.html#
|
|
380
380
|
</table></div>
|
381
381
|
</div>
|
382
382
|
<hr>
|
383
|
-
<div class="refsect2">
|
383
|
+
<div class="refsect2" title="g_module_name ()">
|
384
384
|
<a name="g-module-name"></a><h3>g_module_name ()</h3>
|
385
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
385
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_module_name (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);</pre>
|
386
386
|
<p>
|
387
387
|
Gets the filename from a <a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a>.
|
388
388
|
</p>
|
@@ -404,7 +404,7 @@ program itself.
|
|
404
404
|
</table></div>
|
405
405
|
</div>
|
406
406
|
<hr>
|
407
|
-
<div class="refsect2">
|
407
|
+
<div class="refsect2" title="g_module_make_resident ()">
|
408
408
|
<a name="g-module-make-resident"></a><h3>g_module_make_resident ()</h3>
|
409
409
|
<pre class="programlisting"><span class="returnvalue">void</span> g_module_make_resident (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);</pre>
|
410
410
|
<p>
|
@@ -421,7 +421,7 @@ Any future <a class="link" href="glib-Dynamic-Loading-of-Modules.html#g-module-c
|
|
421
421
|
</table></div>
|
422
422
|
</div>
|
423
423
|
<hr>
|
424
|
-
<div class="refsect2">
|
424
|
+
<div class="refsect2" title="g_module_close ()">
|
425
425
|
<a name="g-module-close"></a><h3>g_module_close ()</h3>
|
426
426
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_module_close (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);</pre>
|
427
427
|
<p>
|
@@ -445,9 +445,9 @@ Closes a module.
|
|
445
445
|
</table></div>
|
446
446
|
</div>
|
447
447
|
<hr>
|
448
|
-
<div class="refsect2">
|
448
|
+
<div class="refsect2" title="g_module_error ()">
|
449
449
|
<a name="g-module-error"></a><h3>g_module_error ()</h3>
|
450
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
450
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_module_error (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
451
451
|
<p>
|
452
452
|
Gets a string describing the last module error.
|
453
453
|
</p>
|
@@ -461,7 +461,7 @@ Gets a string describing the last module error.
|
|
461
461
|
</table></div>
|
462
462
|
</div>
|
463
463
|
<hr>
|
464
|
-
<div class="refsect2">
|
464
|
+
<div class="refsect2" title="GModuleCheckInit ()">
|
465
465
|
<a name="GModuleCheckInit"></a><h3>GModuleCheckInit ()</h3>
|
466
466
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * (*GModuleCheckInit) (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);</pre>
|
467
467
|
<p>
|
@@ -490,7 +490,7 @@ error.
|
|
490
490
|
</table></div>
|
491
491
|
</div>
|
492
492
|
<hr>
|
493
|
-
<div class="refsect2">
|
493
|
+
<div class="refsect2" title="GModuleUnload ()">
|
494
494
|
<a name="GModuleUnload"></a><h3>GModuleUnload ()</h3>
|
495
495
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GModuleUnload) (<em class="parameter"><code><a class="link" href="glib-Dynamic-Loading-of-Modules.html#GModule" title="GModule"><span class="type">GModule</span></a> *module</code></em>);</pre>
|
496
496
|
<p>
|
@@ -510,7 +510,7 @@ It is passed the <a class="link" href="glib-Dynamic-Loading-of-Modules.html#GMod
|
|
510
510
|
</table></div>
|
511
511
|
</div>
|
512
512
|
<hr>
|
513
|
-
<div class="refsect2">
|
513
|
+
<div class="refsect2" title="G_MODULE_SUFFIX">
|
514
514
|
<a name="G-MODULE-SUFFIX:CAPS"></a><h3>G_MODULE_SUFFIX</h3>
|
515
515
|
<pre class="programlisting">#define G_MODULE_SUFFIX "so"
|
516
516
|
</pre>
|
@@ -521,7 +521,7 @@ for some HP-UX versions this is "sl" and for Windows this is "dll".
|
|
521
521
|
</p>
|
522
522
|
</div>
|
523
523
|
<hr>
|
524
|
-
<div class="refsect2">
|
524
|
+
<div class="refsect2" title="G_MODULE_EXPORT">
|
525
525
|
<a name="G-MODULE-EXPORT:CAPS"></a><h3>G_MODULE_EXPORT</h3>
|
526
526
|
<pre class="programlisting">#define G_MODULE_EXPORT</pre>
|
527
527
|
<p>
|
@@ -531,7 +531,7 @@ the library or executable being built.
|
|
531
531
|
</p>
|
532
532
|
</div>
|
533
533
|
<hr>
|
534
|
-
<div class="refsect2">
|
534
|
+
<div class="refsect2" title="G_MODULE_IMPORT">
|
535
535
|
<a name="G-MODULE-IMPORT:CAPS"></a><h3>G_MODULE_IMPORT</h3>
|
536
536
|
<pre class="programlisting">#define G_MODULE_IMPORT extern
|
537
537
|
</pre>
|
@@ -543,6 +543,6 @@ Used to declare functions imported from modules.
|
|
543
543
|
</div>
|
544
544
|
<div class="footer">
|
545
545
|
<hr>
|
546
|
-
Generated by GTK-Doc V1.15
|
546
|
+
Generated by GTK-Doc V1.15</div>
|
547
547
|
</body>
|
548
548
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Error Reporting</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-IO-Channels.html" title="IO Channels">
|
10
10
|
<link rel="next" href="glib-Warnings-and-Assertions.html" title="Message Output and Debugging Functions">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Error-Reporting.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Error Reporting">
|
30
30
|
<a name="glib-Error-Reporting"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,25 +35,25 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
39
|
<a name="glib-Error-Reporting.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
43
|
<a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a>;
|
44
|
-
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
44
|
+
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* <a class="link" href="glib-Error-Reporting.html#g-error-new" title="g_error_new ()">g_error_new</a> (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
45
45
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
46
46
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
47
47
|
<em class="parameter"><code>...</code></em>);
|
48
|
-
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
48
|
+
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* <a class="link" href="glib-Error-Reporting.html#g-error-new-literal" title="g_error_new_literal ()">g_error_new_literal</a> (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
50
50
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>);
|
51
|
-
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
51
|
+
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* <a class="link" href="glib-Error-Reporting.html#g-error-new-valist" title="g_error_new_valist ()">g_error_new_valist</a> (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
53
53
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
54
54
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);
|
55
55
|
<span class="returnvalue">void</span> <a class="link" href="glib-Error-Reporting.html#g-error-free" title="g_error_free ()">g_error_free</a> (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);
|
56
|
-
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
56
|
+
<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* <a class="link" href="glib-Error-Reporting.html#g-error-copy" title="g_error_copy ()">g_error_copy</a> (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);
|
57
57
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Error-Reporting.html#g-error-matches" title="g_error_matches ()">g_error_matches</a> (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>,
|
58
58
|
<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
59
59
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>);
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<em class="parameter"><code>...</code></em>);
|
79
79
|
</pre>
|
80
80
|
</div>
|
81
|
-
<div class="refsect1">
|
81
|
+
<div class="refsect1" title="Description">
|
82
82
|
<a name="glib-Error-Reporting.description"></a><h2>Description</h2>
|
83
83
|
<p>
|
84
84
|
GLib provides a standard method of reporting errors from a called function to
|
@@ -92,9 +92,9 @@ will probably get confused.
|
|
92
92
|
<p>
|
93
93
|
First and foremost: <span class="emphasis"><em><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> should only be used to report
|
94
94
|
recoverable runtime errors, never to report programming errors.</em></span> If
|
95
|
-
the programmer has screwed up, then you should use <a class="link" href="glib-Message-Logging.html#g-warning" title="g_warning
|
96
|
-
<a class="link" href="glib-Warnings-and-Assertions.html#g-return-if-fail" title="g_return_if_fail()"><code class="function">g_return_if_fail()</code></a>, <a class="link" href="glib-Testing.html#g-assert" title="g_assert()"><code class="function">g_assert()</code></a>, <a class="link" href="glib-Message-Logging.html#g-error" title="g_error
|
97
|
-
(Incidentally, remember that the <a class="link" href="glib-Message-Logging.html#g-error" title="g_error
|
95
|
+
the programmer has screwed up, then you should use <a class="link" href="glib-Message-Logging.html#g-warning" title="g_warning()"><code class="function">g_warning()</code></a>,
|
96
|
+
<a class="link" href="glib-Warnings-and-Assertions.html#g-return-if-fail" title="g_return_if_fail()"><code class="function">g_return_if_fail()</code></a>, <a class="link" href="glib-Testing.html#g-assert" title="g_assert()"><code class="function">g_assert()</code></a>, <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a>, or some similar facility.
|
97
|
+
(Incidentally, remember that the <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a> function should
|
98
98
|
<span class="emphasis"><em>only</em></span> be used for programming errors, it should not be used
|
99
99
|
to print any error reportable via <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>.)
|
100
100
|
</p>
|
@@ -574,9 +574,9 @@ Summary of rules for use of <a class="link" href="glib-Error-Reporting.html#GErr
|
|
574
574
|
<p>
|
575
575
|
</p>
|
576
576
|
</div>
|
577
|
-
<div class="refsect1">
|
577
|
+
<div class="refsect1" title="Details">
|
578
578
|
<a name="glib-Error-Reporting.details"></a><h2>Details</h2>
|
579
|
-
<div class="refsect2">
|
579
|
+
<div class="refsect2" title="GError">
|
580
580
|
<a name="GError"></a><h3>GError</h3>
|
581
581
|
<pre class="programlisting">typedef struct {
|
582
582
|
GQuark domain;
|
@@ -610,9 +610,9 @@ information about an error that has occurred.
|
|
610
610
|
</table></div>
|
611
611
|
</div>
|
612
612
|
<hr>
|
613
|
-
<div class="refsect2">
|
613
|
+
<div class="refsect2" title="g_error_new ()">
|
614
614
|
<a name="g-error-new"></a><h3>g_error_new ()</h3>
|
615
|
-
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
615
|
+
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* g_error_new (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
616
616
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
617
617
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
618
618
|
<em class="parameter"><code>...</code></em>);</pre>
|
@@ -652,9 +652,9 @@ and a message formatted with <em class="parameter"><code>format</code></em>.
|
|
652
652
|
</table></div>
|
653
653
|
</div>
|
654
654
|
<hr>
|
655
|
-
<div class="refsect2">
|
655
|
+
<div class="refsect2" title="g_error_new_literal ()">
|
656
656
|
<a name="g-error-new-literal"></a><h3>g_error_new_literal ()</h3>
|
657
|
-
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
657
|
+
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* g_error_new_literal (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
658
658
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
659
659
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>);</pre>
|
660
660
|
<p>
|
@@ -690,9 +690,9 @@ that could include <code class="function">printf()</code> escape sequences.
|
|
690
690
|
</table></div>
|
691
691
|
</div>
|
692
692
|
<hr>
|
693
|
-
<div class="refsect2">
|
693
|
+
<div class="refsect2" title="g_error_new_valist ()">
|
694
694
|
<a name="g-error-new-valist"></a><h3>g_error_new_valist ()</h3>
|
695
|
-
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
695
|
+
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* g_error_new_valist (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
696
696
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> code</code></em>,
|
697
697
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
698
698
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
@@ -735,7 +735,7 @@ and a message formatted with <em class="parameter"><code>format</code></em>.
|
|
735
735
|
<p class="since">Since 2.22</p>
|
736
736
|
</div>
|
737
737
|
<hr>
|
738
|
-
<div class="refsect2">
|
738
|
+
<div class="refsect2" title="g_error_free ()">
|
739
739
|
<a name="g-error-free"></a><h3>g_error_free ()</h3>
|
740
740
|
<pre class="programlisting"><span class="returnvalue">void</span> g_error_free (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);</pre>
|
741
741
|
<p>
|
@@ -751,9 +751,9 @@ Frees a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><
|
|
751
751
|
</table></div>
|
752
752
|
</div>
|
753
753
|
<hr>
|
754
|
-
<div class="refsect2">
|
754
|
+
<div class="refsect2" title="g_error_copy ()">
|
755
755
|
<a name="g-error-copy"></a><h3>g_error_copy ()</h3>
|
756
|
-
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a
|
756
|
+
<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a>* g_error_copy (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);</pre>
|
757
757
|
<p>
|
758
758
|
Makes a copy of <em class="parameter"><code>error</code></em>.
|
759
759
|
</p>
|
@@ -774,7 +774,7 @@ Makes a copy of <em class="parameter"><code>error</code></em>.
|
|
774
774
|
</table></div>
|
775
775
|
</div>
|
776
776
|
<hr>
|
777
|
-
<div class="refsect2">
|
777
|
+
<div class="refsect2" title="g_error_matches ()">
|
778
778
|
<a name="g-error-matches"></a><h3>g_error_matches ()</h3>
|
779
779
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_error_matches (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>,
|
780
780
|
<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
@@ -811,7 +811,7 @@ be returned.
|
|
811
811
|
</table></div>
|
812
812
|
</div>
|
813
813
|
<hr>
|
814
|
-
<div class="refsect2">
|
814
|
+
<div class="refsect2" title="g_set_error ()">
|
815
815
|
<a name="g-set-error"></a><h3>g_set_error ()</h3>
|
816
816
|
<pre class="programlisting"><span class="returnvalue">void</span> g_set_error (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **err</code></em>,
|
817
817
|
<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
@@ -854,7 +854,7 @@ must be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL">
|
|
854
854
|
</table></div>
|
855
855
|
</div>
|
856
856
|
<hr>
|
857
|
-
<div class="refsect2">
|
857
|
+
<div class="refsect2" title="g_set_error_literal ()">
|
858
858
|
<a name="g-set-error-literal"></a><h3>g_set_error_literal ()</h3>
|
859
859
|
<pre class="programlisting"><span class="returnvalue">void</span> g_set_error_literal (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **err</code></em>,
|
860
860
|
<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
@@ -895,7 +895,7 @@ that could include <code class="function">printf()</code> escape sequences.
|
|
895
895
|
<p class="since">Since 2.18</p>
|
896
896
|
</div>
|
897
897
|
<hr>
|
898
|
-
<div class="refsect2">
|
898
|
+
<div class="refsect2" title="g_propagate_error ()">
|
899
899
|
<a name="g-propagate-error"></a><h3>g_propagate_error ()</h3>
|
900
900
|
<pre class="programlisting"><span class="returnvalue">void</span> g_propagate_error (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **dest</code></em>,
|
901
901
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *src</code></em>);</pre>
|
@@ -920,7 +920,7 @@ The error variable <em class="parameter"><code>dest</code></em> points to must b
|
|
920
920
|
</table></div>
|
921
921
|
</div>
|
922
922
|
<hr>
|
923
|
-
<div class="refsect2">
|
923
|
+
<div class="refsect2" title="g_clear_error ()">
|
924
924
|
<a name="g-clear-error"></a><h3>g_clear_error ()</h3>
|
925
925
|
<pre class="programlisting"><span class="returnvalue">void</span> g_clear_error (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **err</code></em>);</pre>
|
926
926
|
<p>
|
@@ -937,7 +937,7 @@ calls <a class="link" href="glib-Error-Reporting.html#g-error-free" title="g_err
|
|
937
937
|
</table></div>
|
938
938
|
</div>
|
939
939
|
<hr>
|
940
|
-
<div class="refsect2">
|
940
|
+
<div class="refsect2" title="g_prefix_error ()">
|
941
941
|
<a name="g-prefix-error"></a><h3>g_prefix_error ()</h3>
|
942
942
|
<pre class="programlisting"><span class="returnvalue">void</span> g_prefix_error (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **err</code></em>,
|
943
943
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
@@ -978,7 +978,7 @@ to you.
|
|
978
978
|
<p class="since">Since 2.16</p>
|
979
979
|
</div>
|
980
980
|
<hr>
|
981
|
-
<div class="refsect2">
|
981
|
+
<div class="refsect2" title="g_propagate_prefixed_error ()">
|
982
982
|
<a name="g-propagate-prefixed-error"></a><h3>g_propagate_prefixed_error ()</h3>
|
983
983
|
<pre class="programlisting"><span class="returnvalue">void</span> g_propagate_prefixed_error (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **dest</code></em>,
|
984
984
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *src</code></em>,
|
@@ -1021,6 +1021,6 @@ After the move, add a prefix as with
|
|
1021
1021
|
</div>
|
1022
1022
|
<div class="footer">
|
1023
1023
|
<hr>
|
1024
|
-
Generated by GTK-Doc V1.15
|
1024
|
+
Generated by GTK-Doc V1.15</div>
|
1025
1025
|
</body>
|
1026
1026
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>File Utilities</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Spawning-Processes.html" title="Spawning Processes">
|
10
10
|
<link rel="next" href="glib-URI-Functions.html" title="URI Functions">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-File-Utilities.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="File Utilities">
|
30
30
|
<a name="glib-File-Utilities"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
39
|
<a name="glib-File-Utilities.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -68,7 +68,7 @@ enum <a class="link" href="glib-File-Utilities.html#GFileTest" ti
|
|
68
68
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);
|
69
69
|
|
70
70
|
<a class="link" href="glib-File-Utilities.html#GDir" title="GDir">GDir</a>;
|
71
|
-
<a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> *
|
71
|
+
<a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> * <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()">g_dir_open</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> flags</code></em>,
|
73
73
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
74
74
|
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()">g_dir_read_name</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);
|
@@ -116,7 +116,7 @@ typedef <a class="link" href="glib-File-Utilities.html#GStatBuf" tit
|
|
116
116
|
<em class="parameter"><code><span class="type">struct utimbuf</span> *utb</code></em>);
|
117
117
|
</pre>
|
118
118
|
</div>
|
119
|
-
<div class="refsect1">
|
119
|
+
<div class="refsect1" title="Description">
|
120
120
|
<a name="glib-File-Utilities.description"></a><h2>Description</h2>
|
121
121
|
<p>
|
122
122
|
There is a group of functions which wrap the common POSIX functions
|
@@ -145,9 +145,9 @@ in the GLib file name encoding. These are <a class="link" href="glib-File-Utilit
|
|
145
145
|
<a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()"><code class="function">g_dir_read_name()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-rewind" title="g_dir_rewind ()"><code class="function">g_dir_rewind()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-close" title="g_dir_close ()"><code class="function">g_dir_close()</code></a>.
|
146
146
|
</p>
|
147
147
|
</div>
|
148
|
-
<div class="refsect1">
|
148
|
+
<div class="refsect1" title="Details">
|
149
149
|
<a name="glib-File-Utilities.details"></a><h2>Details</h2>
|
150
|
-
<div class="refsect2">
|
150
|
+
<div class="refsect2" title="enum GFileError">
|
151
151
|
<a name="GFileError"></a><h3>enum GFileError</h3>
|
152
152
|
<pre class="programlisting">typedef enum
|
153
153
|
{
|
@@ -367,7 +367,7 @@ differences in when a system will report a given error, etc.
|
|
367
367
|
</table></div>
|
368
368
|
</div>
|
369
369
|
<hr>
|
370
|
-
<div class="refsect2">
|
370
|
+
<div class="refsect2" title="G_FILE_ERROR">
|
371
371
|
<a name="G-FILE-ERROR:CAPS"></a><h3>G_FILE_ERROR</h3>
|
372
372
|
<pre class="programlisting">#define G_FILE_ERROR g_file_error_quark ()
|
373
373
|
</pre>
|
@@ -378,7 +378,7 @@ error domains.
|
|
378
378
|
</p>
|
379
379
|
</div>
|
380
380
|
<hr>
|
381
|
-
<div class="refsect2">
|
381
|
+
<div class="refsect2" title="enum GFileTest">
|
382
382
|
<a name="GFileTest"></a><h3>enum GFileTest</h3>
|
383
383
|
<pre class="programlisting">typedef enum
|
384
384
|
{
|
@@ -432,7 +432,7 @@ A test to perform on a file using <a class="link" href="glib-File-Utilities.html
|
|
432
432
|
</table></div>
|
433
433
|
</div>
|
434
434
|
<hr>
|
435
|
-
<div class="refsect2">
|
435
|
+
<div class="refsect2" title="g_file_error_from_errno ()">
|
436
436
|
<a name="g-file-error-from-errno"></a><h3>g_file_error_from_errno ()</h3>
|
437
437
|
<pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="returnvalue">GFileError</span></a> g_file_error_from_errno (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> err_no</code></em>);</pre>
|
438
438
|
<p>
|
@@ -463,7 +463,7 @@ from a function that manipulates files. So you would use
|
|
463
463
|
</table></div>
|
464
464
|
</div>
|
465
465
|
<hr>
|
466
|
-
<div class="refsect2">
|
466
|
+
<div class="refsect2" title="g_file_get_contents ()">
|
467
467
|
<a name="g-file-get-contents"></a><h3>g_file_get_contents ()</h3>
|
468
468
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_get_contents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
469
469
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **contents</code></em>,
|
@@ -515,7 +515,7 @@ codes are those in the <a class="link" href="glib-File-Utilities.html#GFileError
|
|
515
515
|
</table></div>
|
516
516
|
</div>
|
517
517
|
<hr>
|
518
|
-
<div class="refsect2">
|
518
|
+
<div class="refsect2" title="g_file_set_contents ()">
|
519
519
|
<a name="g-file-set-contents"></a><h3>g_file_set_contents ()</h3>
|
520
520
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_set_contents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
521
521
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *contents</code></em>,
|
@@ -593,7 +593,7 @@ to 7 characters to <em class="parameter"><code>filename</code></em>.
|
|
593
593
|
<p class="since">Since 2.8</p>
|
594
594
|
</div>
|
595
595
|
<hr>
|
596
|
-
<div class="refsect2">
|
596
|
+
<div class="refsect2" title="g_file_test ()">
|
597
597
|
<a name="g-file-test"></a><h3>g_file_test ()</h3>
|
598
598
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_test (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
599
599
|
<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GFileTest" title="enum GFileTest"><span class="type">GFileTest</span></a> test</code></em>);</pre>
|
@@ -682,7 +682,7 @@ extensions and those listed in the <code class="literal">PATHEXT</code> environm
|
|
682
682
|
</table></div>
|
683
683
|
</div>
|
684
684
|
<hr>
|
685
|
-
<div class="refsect2">
|
685
|
+
<div class="refsect2" title="g_mkstemp ()">
|
686
686
|
<a name="g-mkstemp"></a><h3>g_mkstemp ()</h3>
|
687
687
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_mkstemp (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>);</pre>
|
688
688
|
<p>
|
@@ -719,7 +719,7 @@ closed with <code class="function">close()</code>. In case of errors, -1 is retu
|
|
719
719
|
</table></div>
|
720
720
|
</div>
|
721
721
|
<hr>
|
722
|
-
<div class="refsect2">
|
722
|
+
<div class="refsect2" title="g_mkstemp_full ()">
|
723
723
|
<a name="g-mkstemp-full"></a><h3>g_mkstemp_full ()</h3>
|
724
724
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_mkstemp_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
|
725
725
|
<em class="parameter"><code><span class="type">int</span> flags</code></em>,
|
@@ -770,7 +770,7 @@ on Windows it should be in UTF-8.
|
|
770
770
|
<p class="since">Since 2.22</p>
|
771
771
|
</div>
|
772
772
|
<hr>
|
773
|
-
<div class="refsect2">
|
773
|
+
<div class="refsect2" title="g_file_open_tmp ()">
|
774
774
|
<a name="g-file-open-tmp"></a><h3>g_file_open_tmp ()</h3>
|
775
775
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_file_open_tmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
|
776
776
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **name_used</code></em>,
|
@@ -827,7 +827,7 @@ and <em class="parameter"><code>error</code></em> will be set.
|
|
827
827
|
</table></div>
|
828
828
|
</div>
|
829
829
|
<hr>
|
830
|
-
<div class="refsect2">
|
830
|
+
<div class="refsect2" title="g_file_read_link ()">
|
831
831
|
<a name="g-file-read-link"></a><h3>g_file_read_link ()</h3>
|
832
832
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_file_read_link (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
833
833
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -861,7 +861,7 @@ for filenames. Use <a class="link" href="glib-Character-Set-Conversion.html#g-fi
|
|
861
861
|
<p class="since">Since 2.4</p>
|
862
862
|
</div>
|
863
863
|
<hr>
|
864
|
-
<div class="refsect2">
|
864
|
+
<div class="refsect2" title="g_mkdir_with_parents ()">
|
865
865
|
<a name="g-mkdir-with-parents"></a><h3>g_mkdir_with_parents ()</h3>
|
866
866
|
<pre class="programlisting"><span class="returnvalue">int</span> g_mkdir_with_parents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pathname</code></em>,
|
867
867
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
|
@@ -894,7 +894,7 @@ created. Returns -1 if an error occurred, with errno set.
|
|
894
894
|
<p class="since">Since 2.8</p>
|
895
895
|
</div>
|
896
896
|
<hr>
|
897
|
-
<div class="refsect2">
|
897
|
+
<div class="refsect2" title="GDir">
|
898
898
|
<a name="GDir"></a><h3>GDir</h3>
|
899
899
|
<pre class="programlisting">typedef struct _GDir GDir;</pre>
|
900
900
|
<p>
|
@@ -902,9 +902,9 @@ An opaque structure representing an opened directory.
|
|
902
902
|
</p>
|
903
903
|
</div>
|
904
904
|
<hr>
|
905
|
-
<div class="refsect2">
|
905
|
+
<div class="refsect2" title="g_dir_open ()">
|
906
906
|
<a name="g-dir-open"></a><h3>g_dir_open ()</h3>
|
907
|
-
<pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> *
|
907
|
+
<pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> * g_dir_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>,
|
908
908
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> flags</code></em>,
|
909
909
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
910
910
|
<p>
|
@@ -944,7 +944,7 @@ that the ordering is not defined.
|
|
944
944
|
</table></div>
|
945
945
|
</div>
|
946
946
|
<hr>
|
947
|
-
<div class="refsect2">
|
947
|
+
<div class="refsect2" title="g_dir_read_name ()">
|
948
948
|
<a name="g-dir-read-name"></a><h3>g_dir_read_name ()</h3>
|
949
949
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_dir_read_name (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
|
950
950
|
<p>
|
@@ -980,7 +980,7 @@ filenames, the returned name is in UTF-8.
|
|
980
980
|
</table></div>
|
981
981
|
</div>
|
982
982
|
<hr>
|
983
|
-
<div class="refsect2">
|
983
|
+
<div class="refsect2" title="g_dir_rewind ()">
|
984
984
|
<a name="g-dir-rewind"></a><h3>g_dir_rewind ()</h3>
|
985
985
|
<pre class="programlisting"><span class="returnvalue">void</span> g_dir_rewind (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
|
986
986
|
<p>
|
@@ -997,7 +997,7 @@ will return the first entry again.
|
|
997
997
|
</table></div>
|
998
998
|
</div>
|
999
999
|
<hr>
|
1000
|
-
<div class="refsect2">
|
1000
|
+
<div class="refsect2" title="g_dir_close ()">
|
1001
1001
|
<a name="g-dir-close"></a><h3>g_dir_close ()</h3>
|
1002
1002
|
<pre class="programlisting"><span class="returnvalue">void</span> g_dir_close (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
|
1003
1003
|
<p>
|
@@ -1013,7 +1013,7 @@ Closes the directory and deallocates all related resources.
|
|
1013
1013
|
</table></div>
|
1014
1014
|
</div>
|
1015
1015
|
<hr>
|
1016
|
-
<div class="refsect2">
|
1016
|
+
<div class="refsect2" title="GMappedFile">
|
1017
1017
|
<a name="GMappedFile"></a><h3>GMappedFile</h3>
|
1018
1018
|
<pre class="programlisting">typedef struct _GMappedFile GMappedFile;</pre>
|
1019
1019
|
<p>
|
@@ -1023,7 +1023,7 @@ not be accessed directly.
|
|
1023
1023
|
</p>
|
1024
1024
|
</div>
|
1025
1025
|
<hr>
|
1026
|
-
<div class="refsect2">
|
1026
|
+
<div class="refsect2" title="g_mapped_file_new ()">
|
1027
1027
|
<a name="g-mapped-file-new"></a><h3>g_mapped_file_new ()</h3>
|
1028
1028
|
<pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * g_mapped_file_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1029
1029
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> writable</code></em>,
|
@@ -1073,7 +1073,7 @@ atomically (e.g. using <a class="link" href="glib-File-Utilities.html#g-file-set
|
|
1073
1073
|
<p class="since">Since 2.8</p>
|
1074
1074
|
</div>
|
1075
1075
|
<hr>
|
1076
|
-
<div class="refsect2">
|
1076
|
+
<div class="refsect2" title="g_mapped_file_ref ()">
|
1077
1077
|
<a name="g-mapped-file-ref"></a><h3>g_mapped_file_ref ()</h3>
|
1078
1078
|
<pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * g_mapped_file_ref (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
|
1079
1079
|
<p>
|
@@ -1099,7 +1099,7 @@ this function from any thread.
|
|
1099
1099
|
<p class="since">Since 2.22</p>
|
1100
1100
|
</div>
|
1101
1101
|
<hr>
|
1102
|
-
<div class="refsect2">
|
1102
|
+
<div class="refsect2" title="g_mapped_file_unref ()">
|
1103
1103
|
<a name="g-mapped-file-unref"></a><h3>g_mapped_file_unref ()</h3>
|
1104
1104
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mapped_file_unref (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
|
1105
1105
|
<p>
|
@@ -1122,10 +1122,10 @@ Since 2.22
|
|
1122
1122
|
</table></div>
|
1123
1123
|
</div>
|
1124
1124
|
<hr>
|
1125
|
-
<div class="refsect2">
|
1125
|
+
<div class="refsect2" title="g_mapped_file_free ()">
|
1126
1126
|
<a name="g-mapped-file-free"></a><h3>g_mapped_file_free ()</h3>
|
1127
1127
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mapped_file_free (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
|
1128
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1128
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1129
1129
|
<h3 class="title">Warning</h3>
|
1130
1130
|
<p><code class="literal">g_mapped_file_free</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="glib-File-Utilities.html#g-mapped-file-unref" title="g_mapped_file_unref ()"><code class="function">g_mapped_file_unref()</code></a> instead.</p>
|
1131
1131
|
</div>
|
@@ -1144,7 +1144,7 @@ exactly the same as <a class="link" href="glib-File-Utilities.html#g-mapped-file
|
|
1144
1144
|
<p class="since">Since 2.8</p>
|
1145
1145
|
</div>
|
1146
1146
|
<hr>
|
1147
|
-
<div class="refsect2">
|
1147
|
+
<div class="refsect2" title="g_mapped_file_get_length ()">
|
1148
1148
|
<a name="g-mapped-file-get-length"></a><h3>g_mapped_file_get_length ()</h3>
|
1149
1149
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_mapped_file_get_length (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
|
1150
1150
|
<p>
|
@@ -1169,7 +1169,7 @@ Returns the length of the contents of a <a class="link" href="glib-File-Utilitie
|
|
1169
1169
|
<p class="since">Since 2.8</p>
|
1170
1170
|
</div>
|
1171
1171
|
<hr>
|
1172
|
-
<div class="refsect2">
|
1172
|
+
<div class="refsect2" title="g_mapped_file_get_contents ()">
|
1173
1173
|
<a name="g-mapped-file-get-contents"></a><h3>g_mapped_file_get_contents ()</h3>
|
1174
1174
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_mapped_file_get_contents (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
|
1175
1175
|
<p>
|
@@ -1201,7 +1201,7 @@ If the file is empty then <a class="link" href="glib-Standard-Macros.html#NULL:C
|
|
1201
1201
|
<p class="since">Since 2.8</p>
|
1202
1202
|
</div>
|
1203
1203
|
<hr>
|
1204
|
-
<div class="refsect2">
|
1204
|
+
<div class="refsect2" title="g_open ()">
|
1205
1205
|
<a name="g-open"></a><h3>g_open ()</h3>
|
1206
1206
|
<pre class="programlisting"><span class="returnvalue">int</span> g_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1207
1207
|
<em class="parameter"><code><span class="type">int</span> flags</code></em>,
|
@@ -1259,7 +1259,7 @@ return value can be used exactly like the return value from <code class="functio
|
|
1259
1259
|
<p class="since">Since 2.6</p>
|
1260
1260
|
</div>
|
1261
1261
|
<hr>
|
1262
|
-
<div class="refsect2">
|
1262
|
+
<div class="refsect2" title="g_rename ()">
|
1263
1263
|
<a name="g-rename"></a><h3>g_rename ()</h3>
|
1264
1264
|
<pre class="programlisting"><span class="returnvalue">int</span> g_rename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *oldfilename</code></em>,
|
1265
1265
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *newfilename</code></em>);</pre>
|
@@ -1296,7 +1296,7 @@ a file that is open to some process.
|
|
1296
1296
|
<p class="since">Since 2.6</p>
|
1297
1297
|
</div>
|
1298
1298
|
<hr>
|
1299
|
-
<div class="refsect2">
|
1299
|
+
<div class="refsect2" title="g_mkdir ()">
|
1300
1300
|
<a name="g-mkdir"></a><h3>g_mkdir ()</h3>
|
1301
1301
|
<pre class="programlisting"><span class="returnvalue">int</span> g_mkdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1302
1302
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
|
@@ -1333,7 +1333,7 @@ See your C library manual for more details about <code class="function">mkdir()<
|
|
1333
1333
|
<p class="since">Since 2.6</p>
|
1334
1334
|
</div>
|
1335
1335
|
<hr>
|
1336
|
-
<div class="refsect2">
|
1336
|
+
<div class="refsect2" title="GStatBuf">
|
1337
1337
|
<a name="GStatBuf"></a><h3>GStatBuf</h3>
|
1338
1338
|
<p>
|
1339
1339
|
A type corresponding to the appropriate struct type for the stat
|
@@ -1344,7 +1344,7 @@ See <a class="link" href="glib-File-Utilities.html#g-stat" title="g_stat ()"><co
|
|
1344
1344
|
</p>
|
1345
1345
|
</div>
|
1346
1346
|
<hr>
|
1347
|
-
<div class="refsect2">
|
1347
|
+
<div class="refsect2" title="g_stat ()">
|
1348
1348
|
<a name="g-stat"></a><h3>g_stat ()</h3>
|
1349
1349
|
<pre class="programlisting"><span class="returnvalue">int</span> g_stat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1350
1350
|
<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GStatBuf" title="GStatBuf"><span class="type">GStatBuf</span></a> *buf</code></em>);</pre>
|
@@ -1400,7 +1400,7 @@ See your C library manual for more details about <code class="function">stat()</
|
|
1400
1400
|
<p class="since">Since 2.6</p>
|
1401
1401
|
</div>
|
1402
1402
|
<hr>
|
1403
|
-
<div class="refsect2">
|
1403
|
+
<div class="refsect2" title="g_lstat ()">
|
1404
1404
|
<a name="g-lstat"></a><h3>g_lstat ()</h3>
|
1405
1405
|
<pre class="programlisting"><span class="returnvalue">int</span> g_lstat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1406
1406
|
<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GStatBuf" title="GStatBuf"><span class="type">GStatBuf</span></a> *buf</code></em>);</pre>
|
@@ -1440,7 +1440,7 @@ See your C library manual for more details about <code class="function">lstat()<
|
|
1440
1440
|
<p class="since">Since 2.6</p>
|
1441
1441
|
</div>
|
1442
1442
|
<hr>
|
1443
|
-
<div class="refsect2">
|
1443
|
+
<div class="refsect2" title="g_unlink ()">
|
1444
1444
|
<a name="g-unlink"></a><h3>g_unlink ()</h3>
|
1445
1445
|
<pre class="programlisting"><span class="returnvalue">int</span> g_unlink (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
1446
1446
|
<p>
|
@@ -1474,7 +1474,7 @@ are open to some process, or mapped into memory.
|
|
1474
1474
|
<p class="since">Since 2.6</p>
|
1475
1475
|
</div>
|
1476
1476
|
<hr>
|
1477
|
-
<div class="refsect2">
|
1477
|
+
<div class="refsect2" title="g_remove ()">
|
1478
1478
|
<a name="g-remove"></a><h3>g_remove ()</h3>
|
1479
1479
|
<pre class="programlisting"><span class="returnvalue">int</span> g_remove (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
1480
1480
|
<p>
|
@@ -1517,7 +1517,7 @@ set by <code class="function">rmdir()</code>.
|
|
1517
1517
|
<p class="since">Since 2.6</p>
|
1518
1518
|
</div>
|
1519
1519
|
<hr>
|
1520
|
-
<div class="refsect2">
|
1520
|
+
<div class="refsect2" title="g_rmdir ()">
|
1521
1521
|
<a name="g-rmdir"></a><h3>g_rmdir ()</h3>
|
1522
1522
|
<pre class="programlisting"><span class="returnvalue">int</span> g_rmdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
1523
1523
|
<p>
|
@@ -1548,7 +1548,7 @@ on your system.
|
|
1548
1548
|
<p class="since">Since 2.6</p>
|
1549
1549
|
</div>
|
1550
1550
|
<hr>
|
1551
|
-
<div class="refsect2">
|
1551
|
+
<div class="refsect2" title="g_fopen ()">
|
1552
1552
|
<a name="g-fopen"></a><h3>g_fopen ()</h3>
|
1553
1553
|
<pre class="programlisting"><span class="returnvalue">FILE</span> * g_fopen (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1554
1554
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>);</pre>
|
@@ -1594,7 +1594,7 @@ See your C library manual for more details about <code class="function">fopen()<
|
|
1594
1594
|
<p class="since">Since 2.6</p>
|
1595
1595
|
</div>
|
1596
1596
|
<hr>
|
1597
|
-
<div class="refsect2">
|
1597
|
+
<div class="refsect2" title="g_freopen ()">
|
1598
1598
|
<a name="g-freopen"></a><h3>g_freopen ()</h3>
|
1599
1599
|
<pre class="programlisting"><span class="returnvalue">FILE</span> * g_freopen (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1600
1600
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>,
|
@@ -1637,7 +1637,7 @@ See your C library manual for more details about <code class="function">freopen(
|
|
1637
1637
|
<p class="since">Since 2.6</p>
|
1638
1638
|
</div>
|
1639
1639
|
<hr>
|
1640
|
-
<div class="refsect2">
|
1640
|
+
<div class="refsect2" title="g_chmod ()">
|
1641
1641
|
<a name="g-chmod"></a><h3>g_chmod ()</h3>
|
1642
1642
|
<pre class="programlisting"><span class="returnvalue">int</span> g_chmod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1643
1643
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
|
@@ -1679,7 +1679,7 @@ See your C library manual for more details about <code class="function">chmod()<
|
|
1679
1679
|
<p class="since">Since 2.8</p>
|
1680
1680
|
</div>
|
1681
1681
|
<hr>
|
1682
|
-
<div class="refsect2">
|
1682
|
+
<div class="refsect2" title="g_access ()">
|
1683
1683
|
<a name="g-access"></a><h3>g_access ()</h3>
|
1684
1684
|
<pre class="programlisting"><span class="returnvalue">int</span> g_access (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1685
1685
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
|
@@ -1725,7 +1725,7 @@ error.
|
|
1725
1725
|
<p class="since">Since 2.8</p>
|
1726
1726
|
</div>
|
1727
1727
|
<hr>
|
1728
|
-
<div class="refsect2">
|
1728
|
+
<div class="refsect2" title="g_creat ()">
|
1729
1729
|
<a name="g-creat"></a><h3>g_creat ()</h3>
|
1730
1730
|
<pre class="programlisting"><span class="returnvalue">int</span> g_creat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1731
1731
|
<em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
|
@@ -1778,7 +1778,7 @@ return value can be used exactly like the return value from <code class="functio
|
|
1778
1778
|
<p class="since">Since 2.8</p>
|
1779
1779
|
</div>
|
1780
1780
|
<hr>
|
1781
|
-
<div class="refsect2">
|
1781
|
+
<div class="refsect2" title="g_chdir ()">
|
1782
1782
|
<a name="g-chdir"></a><h3>g_chdir ()</h3>
|
1783
1783
|
<pre class="programlisting"><span class="returnvalue">int</span> g_chdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
|
1784
1784
|
<p>
|
@@ -1807,7 +1807,7 @@ See your C library manual for more details about <code class="function">chdir()<
|
|
1807
1807
|
<p class="since">Since 2.8</p>
|
1808
1808
|
</div>
|
1809
1809
|
<hr>
|
1810
|
-
<div class="refsect2">
|
1810
|
+
<div class="refsect2" title="g_utime ()">
|
1811
1811
|
<a name="g-utime"></a><h3>g_utime ()</h3>
|
1812
1812
|
<pre class="programlisting"><span class="returnvalue">int</span> g_utime (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
1813
1813
|
<em class="parameter"><code><span class="type">struct utimbuf</span> *utb</code></em>);</pre>
|
@@ -1847,6 +1847,6 @@ on your system.
|
|
1847
1847
|
</div>
|
1848
1848
|
<div class="footer">
|
1849
1849
|
<hr>
|
1850
|
-
Generated by GTK-Doc V1.15
|
1850
|
+
Generated by GTK-Doc V1.15</div>
|
1851
1851
|
</body>
|
1852
1852
|
</html>
|