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>Caches</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-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-Relations-and-Tuples.html" title="Relations and Tuples">
|
10
10
|
<link rel="next" href="glib-Memory-Allocators.html" title="Memory Allocators">
|
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-Caches.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Caches">
|
30
30
|
<a name="glib-Caches"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,13 +36,13 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
39
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
40
40
|
<a name="glib-Caches.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
43
43
|
|
44
44
|
<a class="link" href="glib-Caches.html#GCache" title="GCache">GCache</a>;
|
45
|
-
<a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="returnvalue">GCache</span></a
|
45
|
+
<a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="returnvalue">GCache</span></a>* <a class="link" href="glib-Caches.html#g-cache-new" title="g_cache_new ()">g_cache_new</a> (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheNewFunc" title="GCacheNewFunc ()"><span class="type">GCacheNewFunc</span></a> value_new_func</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDestroyFunc" title="GCacheDestroyFunc ()"><span class="type">GCacheDestroyFunc</span></a> value_destroy_func</code></em>,
|
47
47
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDupFunc" title="GCacheDupFunc ()"><span class="type">GCacheDupFunc</span></a> key_dup_func</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDestroyFunc" title="GCacheDestroyFunc ()"><span class="type">GCacheDestroyFunc</span></a> key_destroy_func</code></em>,
|
@@ -67,15 +67,15 @@
|
|
67
67
|
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="glib-Caches.html#GCacheNewFunc" title="GCacheNewFunc ()">*GCacheNewFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>);
|
68
68
|
</pre>
|
69
69
|
</div>
|
70
|
-
<div class="refsect1">
|
70
|
+
<div class="refsect1" title="Description">
|
71
71
|
<a name="glib-Caches.description"></a><h2>Description</h2>
|
72
72
|
<p>
|
73
73
|
A <a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> allows sharing of complex data structures, in order to
|
74
74
|
save system resources.
|
75
75
|
</p>
|
76
76
|
<p>
|
77
|
-
GTK+ uses caches for <a href="http://library.gnome.org/devel/gtk/unstable/GtkStyle.html"><span class="type">GtkStyles</span></a> and <a href="http://library.gnome.org/devel/gdk/unstable/
|
78
|
-
resources, so a <a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> is used to see if a <a href="http://library.gnome.org/devel/gtk/unstable/GtkStyle.html"><span class="type">GtkStyle</span></a> or <a href="http://library.gnome.org/devel/gdk/unstable/
|
77
|
+
GTK+ uses caches for <a href="http://library.gnome.org/devel/gtk/unstable/GtkStyle.html"><span class="type">GtkStyles</span></a> and <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGCs</span></a>. These consume a lot of
|
78
|
+
resources, so a <a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> is used to see if a <a href="http://library.gnome.org/devel/gtk/unstable/GtkStyle.html"><span class="type">GtkStyle</span></a> or <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> with
|
79
79
|
the required properties already exists. If it does, then the
|
80
80
|
existing object is used instead of creating a new one.
|
81
81
|
</p>
|
@@ -84,9 +84,9 @@ existing object is used instead of creating a new one.
|
|
84
84
|
of a particular resource. A <a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> value is the actual resource.
|
85
85
|
</p>
|
86
86
|
</div>
|
87
|
-
<div class="refsect1">
|
87
|
+
<div class="refsect1" title="Details">
|
88
88
|
<a name="glib-Caches.details"></a><h2>Details</h2>
|
89
|
-
<div class="refsect2">
|
89
|
+
<div class="refsect2" title="GCache">
|
90
90
|
<a name="GCache"></a><h3>GCache</h3>
|
91
91
|
<pre class="programlisting">typedef struct _GCache GCache;</pre>
|
92
92
|
<p>
|
@@ -96,9 +96,9 @@ following functions.
|
|
96
96
|
</p>
|
97
97
|
</div>
|
98
98
|
<hr>
|
99
|
-
<div class="refsect2">
|
99
|
+
<div class="refsect2" title="g_cache_new ()">
|
100
100
|
<a name="g-cache-new"></a><h3>g_cache_new ()</h3>
|
101
|
-
<pre class="programlisting"><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="returnvalue">GCache</span></a
|
101
|
+
<pre class="programlisting"><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="returnvalue">GCache</span></a>* g_cache_new (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheNewFunc" title="GCacheNewFunc ()"><span class="type">GCacheNewFunc</span></a> value_new_func</code></em>,
|
102
102
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDestroyFunc" title="GCacheDestroyFunc ()"><span class="type">GCacheDestroyFunc</span></a> value_destroy_func</code></em>,
|
103
103
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDupFunc" title="GCacheDupFunc ()"><span class="type">GCacheDupFunc</span></a> key_dup_func</code></em>,
|
104
104
|
<em class="parameter"><code><a class="link" href="glib-Caches.html#GCacheDestroyFunc" title="GCacheDestroyFunc ()"><span class="type">GCacheDestroyFunc</span></a> key_destroy_func</code></em>,
|
@@ -165,7 +165,7 @@ Creates a new <a class="link" href="glib-Caches.html#GCache" title="GCache"><spa
|
|
165
165
|
</table></div>
|
166
166
|
</div>
|
167
167
|
<hr>
|
168
|
-
<div class="refsect2">
|
168
|
+
<div class="refsect2" title="g_cache_insert ()">
|
169
169
|
<a name="g-cache-insert"></a><h3>g_cache_insert ()</h3>
|
170
170
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_cache_insert (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> *cache</code></em>,
|
171
171
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>);</pre>
|
@@ -201,7 +201,7 @@ are inserted into the <a class="link" href="glib-Caches.html#GCache" title="GCac
|
|
201
201
|
</table></div>
|
202
202
|
</div>
|
203
203
|
<hr>
|
204
|
-
<div class="refsect2">
|
204
|
+
<div class="refsect2" title="g_cache_remove ()">
|
205
205
|
<a name="g-cache-remove"></a><h3>g_cache_remove ()</h3>
|
206
206
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cache_remove (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> *cache</code></em>,
|
207
207
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> value</code></em>);</pre>
|
@@ -227,7 +227,7 @@ then the value and its corresponding key are destroyed, using the
|
|
227
227
|
</table></div>
|
228
228
|
</div>
|
229
229
|
<hr>
|
230
|
-
<div class="refsect2">
|
230
|
+
<div class="refsect2" title="g_cache_destroy ()">
|
231
231
|
<a name="g-cache-destroy"></a><h3>g_cache_destroy ()</h3>
|
232
232
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cache_destroy (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> *cache</code></em>);</pre>
|
233
233
|
<p>
|
@@ -247,7 +247,7 @@ contained in the <a class="link" href="glib-Caches.html#GCache" title="GCache"><
|
|
247
247
|
</table></div>
|
248
248
|
</div>
|
249
249
|
<hr>
|
250
|
-
<div class="refsect2">
|
250
|
+
<div class="refsect2" title="g_cache_key_foreach ()">
|
251
251
|
<a name="g-cache-key-foreach"></a><h3>g_cache_key_foreach ()</h3>
|
252
252
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cache_key_foreach (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> *cache</code></em>,
|
253
253
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHFunc" title="GHFunc ()"><span class="type">GHFunc</span></a> func</code></em>,
|
@@ -283,12 +283,12 @@ pairs to its callback function !
|
|
283
283
|
</table></div>
|
284
284
|
</div>
|
285
285
|
<hr>
|
286
|
-
<div class="refsect2">
|
286
|
+
<div class="refsect2" title="g_cache_value_foreach ()">
|
287
287
|
<a name="g-cache-value-foreach"></a><h3>g_cache_value_foreach ()</h3>
|
288
288
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cache_value_foreach (<em class="parameter"><code><a class="link" href="glib-Caches.html#GCache" title="GCache"><span class="type">GCache</span></a> *cache</code></em>,
|
289
289
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHFunc" title="GHFunc ()"><span class="type">GHFunc</span></a> func</code></em>,
|
290
290
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
291
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
291
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
292
292
|
<h3 class="title">Warning</h3>
|
293
293
|
<p><code class="literal">g_cache_value_foreach</code> has been deprecated since version 2.10 and should not be used in newly-written code. The reason is that it passes pointers to internal
|
294
294
|
data structures to <em class="parameter"><code>func</code></em>; use <a class="link" href="glib-Caches.html#g-cache-key-foreach" title="g_cache_key_foreach ()"><code class="function">g_cache_key_foreach()</code></a>
|
@@ -319,7 +319,7 @@ Calls the given function for each of the values in the <a class="link" href="gli
|
|
319
319
|
</table></div>
|
320
320
|
</div>
|
321
321
|
<hr>
|
322
|
-
<div class="refsect2">
|
322
|
+
<div class="refsect2" title="GCacheDestroyFunc ()">
|
323
323
|
<a name="GCacheDestroyFunc"></a><h3>GCacheDestroyFunc ()</h3>
|
324
324
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GCacheDestroyFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>);</pre>
|
325
325
|
<p>
|
@@ -338,7 +338,7 @@ memory and other resources associated with it.
|
|
338
338
|
</table></div>
|
339
339
|
</div>
|
340
340
|
<hr>
|
341
|
-
<div class="refsect2">
|
341
|
+
<div class="refsect2" title="GCacheDupFunc ()">
|
342
342
|
<a name="GCacheDupFunc"></a><h3>GCacheDupFunc ()</h3>
|
343
343
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> (*GCacheDupFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>);</pre>
|
344
344
|
<p>
|
@@ -365,7 +365,7 @@ should return a duplicate of the key.
|
|
365
365
|
</table></div>
|
366
366
|
</div>
|
367
367
|
<hr>
|
368
|
-
<div class="refsect2">
|
368
|
+
<div class="refsect2" title="GCacheNewFunc ()">
|
369
369
|
<a name="GCacheNewFunc"></a><h3>GCacheNewFunc ()</h3>
|
370
370
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> (*GCacheNewFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>);</pre>
|
371
371
|
<p>
|
@@ -393,6 +393,6 @@ value corresponding to the key.
|
|
393
393
|
</div>
|
394
394
|
<div class="footer">
|
395
395
|
<hr>
|
396
|
-
Generated by GTK-Doc V1.15
|
396
|
+
Generated by GTK-Doc V1.15</div>
|
397
397
|
</body>
|
398
398
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Character Set Conversion</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-String-Utility-Functions.html" title="String Utility Functions">
|
10
10
|
<link rel="next" href="glib-Unicode-Manipulation.html" title="Unicode Manipulation">
|
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-Character-Set-Conversion.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Character Set Conversion">
|
30
30
|
<a name="glib-Character-Set-Conversion"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,19 +35,19 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
39
|
<a name="glib-Character-Set-Conversion.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
43
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()">g_convert</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
44
44
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
45
45
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</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> *from_codeset</code></em>,
|
47
47
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
50
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
50
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-fallback" title="g_convert_with_fallback ()">g_convert_with_fallback</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
51
51
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
52
52
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</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> *from_codeset</code></em>,
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
57
57
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
58
58
|
<a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv">GIConv</a>;
|
59
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
59
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-iconv" title="g_convert_with_iconv ()">g_convert_with_iconv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
60
60
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
61
61
|
<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
@@ -71,17 +71,17 @@
|
|
71
71
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **outbuf</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *outbytes_left</code></em>);
|
73
73
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-close" title="g_iconv_close ()">g_iconv_close</a> (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>);
|
74
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
74
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()">g_locale_to_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
75
75
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
76
76
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
77
77
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
78
78
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
79
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
79
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()">g_filename_to_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
80
80
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
81
81
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
82
82
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
83
83
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
84
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
84
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-filename-from-utf8" title="g_filename_from_utf8 ()">g_filename_from_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
85
85
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
86
86
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
87
87
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-get-filename-charsets" title="g_get_filename_charsets ()">g_get_filename_charsets</a> (<em class="parameter"><code>G_CONST_RETURN <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> ***charsets</code></em>);
|
90
90
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-name" title="g_filename_display_name ()">g_filename_display_name</a> (<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>);
|
91
91
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-basename" title="g_filename_display_basename ()">g_filename_display_basename</a> (<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>);
|
92
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
92
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-locale-from-utf8" title="g_locale_from_utf8 ()">g_locale_from_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
93
93
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
94
94
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
95
95
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -99,16 +99,14 @@ enum <a class="link" href="glib-Character-Set-Conversion.html#GCo
|
|
99
99
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-get-charset" title="g_get_charset ()">g_get_charset</a> (<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **charset</code></em>);
|
100
100
|
</pre>
|
101
101
|
</div>
|
102
|
-
<div class="refsect1">
|
102
|
+
<div class="refsect1" title="Description">
|
103
103
|
<a name="glib-Character-Set-Conversion.description"></a><h2>Description</h2>
|
104
104
|
<p>
|
105
105
|
The <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a> family of function wraps the functionality of <code class="function">iconv()</code>. In
|
106
106
|
addition to pure character set conversions, GLib has functions to deal
|
107
107
|
with the extra complications of encodings for file names.
|
108
108
|
</p>
|
109
|
-
<
|
110
|
-
</p>
|
111
|
-
<div class="refsect2">
|
109
|
+
<div class="refsect2" title="File Name Encodings">
|
112
110
|
<a name="file-name-encodings"></a><h3>File Name Encodings</h3>
|
113
111
|
<p>
|
114
112
|
Historically, Unix has not had a defined encoding for file
|
@@ -175,7 +173,7 @@ encoding for file names in the file system.
|
|
175
173
|
<a name="file-name-encodings-diagram"></a><p class="title"><b>Figure 2. Conversion between File Name Encodings</b></p>
|
176
174
|
<div class="figure-contents"><div><img src="file-name-encodings.png" alt="Conversion between File Name Encodings"></div></div>
|
177
175
|
</div>
|
178
|
-
<br class="figure-break"><div class="refsect3">
|
176
|
+
<br class="figure-break"><div class="refsect3" title="Checklist for Application Writers">
|
179
177
|
<a name="file-name-encodings-checklist"></a><h4>Checklist for Application Writers</h4>
|
180
178
|
<p>
|
181
179
|
This section is a practical summary of the detailed
|
@@ -217,14 +215,12 @@ characters when <code class="envar">G_FILENAME_ENCODING</code> is set to
|
|
217
215
|
</ol></div>
|
218
216
|
</div>
|
219
217
|
</div>
|
220
|
-
<p>
|
221
|
-
</p>
|
222
218
|
</div>
|
223
|
-
<div class="refsect1">
|
219
|
+
<div class="refsect1" title="Details">
|
224
220
|
<a name="glib-Character-Set-Conversion.details"></a><h2>Details</h2>
|
225
|
-
<div class="refsect2">
|
221
|
+
<div class="refsect2" title="g_convert ()">
|
226
222
|
<a name="g-convert"></a><h3>g_convert ()</h3>
|
227
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
223
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
228
224
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
229
225
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
230
226
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
@@ -297,9 +293,9 @@ conversions<sup>[<a href="glib-Character-Set-Conversion.html#ftn.streaming-state
|
|
297
293
|
</table></div>
|
298
294
|
</div>
|
299
295
|
<hr>
|
300
|
-
<div class="refsect2">
|
296
|
+
<div class="refsect2" title="g_convert_with_fallback ()">
|
301
297
|
<a name="g-convert-with-fallback"></a><h3>g_convert_with_fallback ()</h3>
|
302
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
298
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert_with_fallback (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
303
299
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
304
300
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
305
301
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
@@ -385,16 +381,16 @@ conversions<sup>[<a href="glib-Character-Set-Conversion.html#ftn.streaming-state
|
|
385
381
|
</table></div>
|
386
382
|
</div>
|
387
383
|
<hr>
|
388
|
-
<div class="refsect2">
|
384
|
+
<div class="refsect2" title="GIConv">
|
389
385
|
<a name="GIConv"></a><h3>GIConv</h3>
|
390
386
|
<pre class="programlisting">typedef struct _GIConv GIConv;</pre>
|
391
387
|
<p>
|
392
388
|
</p>
|
393
389
|
</div>
|
394
390
|
<hr>
|
395
|
-
<div class="refsect2">
|
391
|
+
<div class="refsect2" title="g_convert_with_iconv ()">
|
396
392
|
<a name="g-convert-with-iconv"></a><h3>g_convert_with_iconv ()</h3>
|
397
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
393
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert_with_iconv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
398
394
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
399
395
|
<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
400
396
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
@@ -461,7 +457,7 @@ conversions<sup>[<a name="streaming-state" href="#ftn.streaming-state" class="fo
|
|
461
457
|
</table></div>
|
462
458
|
</div>
|
463
459
|
<hr>
|
464
|
-
<div class="refsect2">
|
460
|
+
<div class="refsect2" title="G_CONVERT_ERROR">
|
465
461
|
<a name="G-CONVERT-ERROR:CAPS"></a><h3>G_CONVERT_ERROR</h3>
|
466
462
|
<pre class="programlisting">#define G_CONVERT_ERROR g_convert_error_quark()
|
467
463
|
</pre>
|
@@ -472,7 +468,7 @@ error domains.
|
|
472
468
|
</p>
|
473
469
|
</div>
|
474
470
|
<hr>
|
475
|
-
<div class="refsect2">
|
471
|
+
<div class="refsect2" title="g_iconv_open ()">
|
476
472
|
<a name="g-iconv-open"></a><h3>g_iconv_open ()</h3>
|
477
473
|
<pre class="programlisting"><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="returnvalue">GIConv</span></a> g_iconv_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
478
474
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>);</pre>
|
@@ -508,7 +504,7 @@ more convenient than the raw iconv wrappers.
|
|
508
504
|
</table></div>
|
509
505
|
</div>
|
510
506
|
<hr>
|
511
|
-
<div class="refsect2">
|
507
|
+
<div class="refsect2" title="g_iconv ()">
|
512
508
|
<a name="g-iconv"></a><h3>g_iconv ()</h3>
|
513
509
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_iconv (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
514
510
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **inbuf</code></em>,
|
@@ -561,7 +557,7 @@ more convenient than the raw iconv wrappers.
|
|
561
557
|
</table></div>
|
562
558
|
</div>
|
563
559
|
<hr>
|
564
|
-
<div class="refsect2">
|
560
|
+
<div class="refsect2" title="g_iconv_close ()">
|
565
561
|
<a name="g-iconv-close"></a><h3>g_iconv_close ()</h3>
|
566
562
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_iconv_close (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>);</pre>
|
567
563
|
<p>
|
@@ -592,9 +588,9 @@ more convenient than the raw iconv wrappers.
|
|
592
588
|
</table></div>
|
593
589
|
</div>
|
594
590
|
<hr>
|
595
|
-
<div class="refsect2">
|
591
|
+
<div class="refsect2" title="g_locale_to_utf8 ()">
|
596
592
|
<a name="g-locale-to-utf8"></a><h3>g_locale_to_utf8 ()</h3>
|
597
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
593
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_locale_to_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
598
594
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
599
595
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
600
596
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -653,9 +649,9 @@ UTF-8 string.
|
|
653
649
|
</table></div>
|
654
650
|
</div>
|
655
651
|
<hr>
|
656
|
-
<div class="refsect2">
|
652
|
+
<div class="refsect2" title="g_filename_to_utf8 ()">
|
657
653
|
<a name="g-filename-to-utf8"></a><h3>g_filename_to_utf8 ()</h3>
|
658
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
654
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_filename_to_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
659
655
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
660
656
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
661
657
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -713,9 +709,9 @@ the <a class="link" href="glib-running.html#setlocale" title="Locale">current lo
|
|
713
709
|
</table></div>
|
714
710
|
</div>
|
715
711
|
<hr>
|
716
|
-
<div class="refsect2">
|
712
|
+
<div class="refsect2" title="g_filename_from_utf8 ()">
|
717
713
|
<a name="g-filename-from-utf8"></a><h3>g_filename_from_utf8 ()</h3>
|
718
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
714
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_filename_from_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
719
715
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
720
716
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
721
717
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -773,7 +769,7 @@ on other platforms, this function indirectly depends on the
|
|
773
769
|
</table></div>
|
774
770
|
</div>
|
775
771
|
<hr>
|
776
|
-
<div class="refsect2">
|
772
|
+
<div class="refsect2" title="g_get_filename_charsets ()">
|
777
773
|
<a name="g-get-filename-charsets"></a><h3>g_get_filename_charsets ()</h3>
|
778
774
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_get_filename_charsets (<em class="parameter"><code>G_CONST_RETURN <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> ***charsets</code></em>);</pre>
|
779
775
|
<p>
|
@@ -826,7 +822,7 @@ on a system might be in any random encoding or just gibberish.
|
|
826
822
|
<p class="since">Since 2.6</p>
|
827
823
|
</div>
|
828
824
|
<hr>
|
829
|
-
<div class="refsect2">
|
825
|
+
<div class="refsect2" title="g_filename_display_name ()">
|
830
826
|
<a name="g-filename-display-name"></a><h3>g_filename_display_name ()</h3>
|
831
827
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_display_name (<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>
|
832
828
|
<p>
|
@@ -868,7 +864,7 @@ translation of filenames.
|
|
868
864
|
<p class="since">Since 2.6</p>
|
869
865
|
</div>
|
870
866
|
<hr>
|
871
|
-
<div class="refsect2">
|
867
|
+
<div class="refsect2" title="g_filename_display_basename ()">
|
872
868
|
<a name="g-filename-display-basename"></a><h3>g_filename_display_basename ()</h3>
|
873
869
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_display_basename (<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>
|
874
870
|
<p>
|
@@ -912,9 +908,9 @@ whole path, as it allows translation.
|
|
912
908
|
<p class="since">Since 2.6</p>
|
913
909
|
</div>
|
914
910
|
<hr>
|
915
|
-
<div class="refsect2">
|
911
|
+
<div class="refsect2" title="g_locale_from_utf8 ()">
|
916
912
|
<a name="g-locale-from-utf8"></a><h3>g_locale_from_utf8 ()</h3>
|
917
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
913
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_locale_from_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
918
914
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
919
915
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
920
916
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
@@ -972,7 +968,7 @@ Windows this means the system codepage.
|
|
972
968
|
</table></div>
|
973
969
|
</div>
|
974
970
|
<hr>
|
975
|
-
<div class="refsect2">
|
971
|
+
<div class="refsect2" title="enum GConvertError">
|
976
972
|
<a name="GConvertError"></a><h3>enum GConvertError</h3>
|
977
973
|
<pre class="programlisting">typedef enum
|
978
974
|
{
|
@@ -1025,7 +1021,7 @@ Error codes returned by character set conversion routines.
|
|
1025
1021
|
</table></div>
|
1026
1022
|
</div>
|
1027
1023
|
<hr>
|
1028
|
-
<div class="refsect2">
|
1024
|
+
<div class="refsect2" title="g_get_charset ()">
|
1029
1025
|
<a name="g-get-charset"></a><h3>g_get_charset ()</h3>
|
1030
1026
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_get_charset (<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **charset</code></em>);</pre>
|
1031
1027
|
<p>
|
@@ -1069,12 +1065,12 @@ freed.
|
|
1069
1065
|
</div>
|
1070
1066
|
<div class="footnotes">
|
1071
1067
|
<br><hr width="100" align="left">
|
1072
|
-
<div class="footnote"><p><sup>[<a
|
1068
|
+
<div class="footnote"><p><sup>[<a id="ftn.nul-unsafe" href="#nul-unsafe" class="para">1</a>] </sup>
|
1073
1069
|
Note that some encodings may allow nul bytes to
|
1074
1070
|
occur inside strings. In that case, using -1 for
|
1075
1071
|
the <em class="parameter"><code>len</code></em> parameter is unsafe.
|
1076
1072
|
</p></div>
|
1077
|
-
<div class="footnote"><p><sup>[<a
|
1073
|
+
<div class="footnote"><p><sup>[<a id="ftn.streaming-state" href="#streaming-state" class="para">2</a>] </sup>
|
1078
1074
|
Despite the fact that <em class="parameter"><code>byes_read</code></em> can return information about partial
|
1079
1075
|
characters, the <code class="literal">g_convert_...</code> functions
|
1080
1076
|
are not generally suitable for streaming. If the underlying converter
|
@@ -1089,6 +1085,6 @@ character.)
|
|
1089
1085
|
</div>
|
1090
1086
|
<div class="footer">
|
1091
1087
|
<hr>
|
1092
|
-
Generated by GTK-Doc V1.15
|
1088
|
+
Generated by GTK-Doc V1.15</div>
|
1093
1089
|
</body>
|
1094
1090
|
</html>
|