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>Memory Allocators</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-Caches.html" title="Caches">
|
10
10
|
<link rel="next" href="glib-GVariantType.html" title="GVariantType">
|
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-Memory-Allocators.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Memory Allocators">
|
30
30
|
<a name="glib-Memory-Allocators"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,18 +36,18 @@
|
|
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-Memory-Allocators.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
43
43
|
|
44
44
|
<a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator">GAllocator</a>;
|
45
|
-
<a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="returnvalue">GAllocator</span></a
|
45
|
+
<a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="returnvalue">GAllocator</span></a>* <a class="link" href="glib-Memory-Allocators.html#g-allocator-new" title="g_allocator_new ()">g_allocator_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_preallocs</code></em>);
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="glib-Memory-Allocators.html#g-allocator-free" title="g_allocator_free ()">g_allocator_free</a> (<em class="parameter"><code><a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a> *allocator</code></em>);
|
48
48
|
</pre>
|
49
49
|
</div>
|
50
|
-
<div class="refsect1">
|
50
|
+
<div class="refsect1" title="Description">
|
51
51
|
<a name="glib-Memory-Allocators.description"></a><h2>Description</h2>
|
52
52
|
<p>
|
53
53
|
Prior to 2.10, <a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a> was used as an efficient way to allocate
|
@@ -57,12 +57,12 @@ data structures. Since 2.10, it has been completely replaced by the
|
|
57
57
|
deprecated.
|
58
58
|
</p>
|
59
59
|
</div>
|
60
|
-
<div class="refsect1">
|
60
|
+
<div class="refsect1" title="Details">
|
61
61
|
<a name="glib-Memory-Allocators.details"></a><h2>Details</h2>
|
62
|
-
<div class="refsect2">
|
62
|
+
<div class="refsect2" title="GAllocator">
|
63
63
|
<a name="GAllocator"></a><h3>GAllocator</h3>
|
64
64
|
<pre class="programlisting">typedef struct _GAllocator GAllocator;</pre>
|
65
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
65
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
66
66
|
<h3 class="title">Warning</h3>
|
67
67
|
<p><code class="literal">GAllocator</code> is deprecated and should not be used in newly-written code.</p>
|
68
68
|
</div>
|
@@ -72,11 +72,11 @@ accessed using the following functions.
|
|
72
72
|
</p>
|
73
73
|
</div>
|
74
74
|
<hr>
|
75
|
-
<div class="refsect2">
|
75
|
+
<div class="refsect2" title="g_allocator_new ()">
|
76
76
|
<a name="g-allocator-new"></a><h3>g_allocator_new ()</h3>
|
77
|
-
<pre class="programlisting"><a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="returnvalue">GAllocator</span></a
|
77
|
+
<pre class="programlisting"><a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="returnvalue">GAllocator</span></a>* g_allocator_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
78
78
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_preallocs</code></em>);</pre>
|
79
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
79
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
80
80
|
<h3 class="title">Warning</h3>
|
81
81
|
<p><code class="literal">g_allocator_new</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
82
82
|
allocator</a> instead</p>
|
@@ -112,10 +112,10 @@ Creates a new <a class="link" href="glib-Memory-Allocators.html#GAllocator" titl
|
|
112
112
|
</table></div>
|
113
113
|
</div>
|
114
114
|
<hr>
|
115
|
-
<div class="refsect2">
|
115
|
+
<div class="refsect2" title="g_allocator_free ()">
|
116
116
|
<a name="g-allocator-free"></a><h3>g_allocator_free ()</h3>
|
117
117
|
<pre class="programlisting"><span class="returnvalue">void</span> g_allocator_free (<em class="parameter"><code><a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a> *allocator</code></em>);</pre>
|
118
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
118
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
119
119
|
<h3 class="title">Warning</h3>
|
120
120
|
<p><code class="literal">g_allocator_free</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
121
121
|
allocator</a> instead</p>
|
@@ -136,6 +136,6 @@ Frees all of the memory allocated by the <a class="link" href="glib-Memory-Alloc
|
|
136
136
|
</div>
|
137
137
|
<div class="footer">
|
138
138
|
<hr>
|
139
|
-
Generated by GTK-Doc V1.15
|
139
|
+
Generated by GTK-Doc V1.15</div>
|
140
140
|
</body>
|
141
141
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Memory Chunks</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-Memory-Slices.html" title="Memory Slices">
|
10
10
|
<link rel="next" href="glib-Doubly-Linked-Lists.html" title="Doubly-Linked Lists">
|
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-Memory-Chunks.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Memory Chunks">
|
30
30
|
<a name="glib-Memory-Chunks"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,7 +36,7 @@
|
|
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-Memory-Chunks.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
@@ -45,7 +45,7 @@
|
|
45
45
|
#define <a class="link" href="glib-Memory-Chunks.html#G-ALLOC-AND-FREE:CAPS" title="G_ALLOC_AND_FREE">G_ALLOC_AND_FREE</a>
|
46
46
|
#define <a class="link" href="glib-Memory-Chunks.html#G-ALLOC-ONLY:CAPS" title="G_ALLOC_ONLY">G_ALLOC_ONLY</a>
|
47
47
|
|
48
|
-
<a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="returnvalue">GMemChunk</span></a
|
48
|
+
<a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="returnvalue">GMemChunk</span></a>* <a class="link" href="glib-Memory-Chunks.html#g-mem-chunk-new" title="g_mem_chunk_new ()">g_mem_chunk_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</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> atom_size</code></em>,
|
50
50
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> area_size</code></em>,
|
51
51
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> type</code></em>);
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<span class="returnvalue">void</span> <a class="link" href="glib-Memory-Chunks.html#g-mem-chunk-print" title="g_mem_chunk_print ()">g_mem_chunk_print</a> (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);
|
74
74
|
</pre>
|
75
75
|
</div>
|
76
|
-
<div class="refsect1">
|
76
|
+
<div class="refsect1" title="Description">
|
77
77
|
<a name="glib-Memory-Chunks.description"></a><h2>Description</h2>
|
78
78
|
<p>
|
79
79
|
Memory chunks provide an space-efficient way to allocate equal-sized
|
@@ -134,7 +134,7 @@ To help debug memory chunks, use <a class="link" href="glib-Memory-Chunks.html#g
|
|
134
134
|
<p>
|
135
135
|
</p>
|
136
136
|
<div class="example">
|
137
|
-
<a name="
|
137
|
+
<a name="id845951"></a><p class="title"><b>Example 17. Using a <a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a></b></p>
|
138
138
|
<div class="example-contents">
|
139
139
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
140
140
|
<tbody>
|
@@ -198,7 +198,7 @@ To help debug memory chunks, use <a class="link" href="glib-Memory-Chunks.html#g
|
|
198
198
|
<p>
|
199
199
|
</p>
|
200
200
|
<div class="example">
|
201
|
-
<a name="
|
201
|
+
<a name="id893667"></a><p class="title"><b>Example 18. Using a <a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> with data structures</b></p>
|
202
202
|
<div class="example-contents">
|
203
203
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
204
204
|
<tbody>
|
@@ -250,12 +250,12 @@ To help debug memory chunks, use <a class="link" href="glib-Memory-Chunks.html#g
|
|
250
250
|
<p><br class="example-break">
|
251
251
|
</p>
|
252
252
|
</div>
|
253
|
-
<div class="refsect1">
|
253
|
+
<div class="refsect1" title="Details">
|
254
254
|
<a name="glib-Memory-Chunks.details"></a><h2>Details</h2>
|
255
|
-
<div class="refsect2">
|
255
|
+
<div class="refsect2" title="GMemChunk">
|
256
256
|
<a name="GMemChunk"></a><h3>GMemChunk</h3>
|
257
257
|
<pre class="programlisting">typedef struct _GMemChunk GMemChunk;</pre>
|
258
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
258
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
259
259
|
<h3 class="title">Warning</h3>
|
260
260
|
<p><code class="literal">GMemChunk</code> is deprecated and should not be used in newly-written code.</p>
|
261
261
|
</div>
|
@@ -266,11 +266,11 @@ following functions.
|
|
266
266
|
</p>
|
267
267
|
</div>
|
268
268
|
<hr>
|
269
|
-
<div class="refsect2">
|
269
|
+
<div class="refsect2" title="G_ALLOC_AND_FREE">
|
270
270
|
<a name="G-ALLOC-AND-FREE:CAPS"></a><h3>G_ALLOC_AND_FREE</h3>
|
271
271
|
<pre class="programlisting">#define G_ALLOC_AND_FREE 2
|
272
272
|
</pre>
|
273
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
273
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
274
274
|
<h3 class="title">Warning</h3>
|
275
275
|
<p><code class="literal">G_ALLOC_AND_FREE</code> is deprecated and should not be used in newly-written code.</p>
|
276
276
|
</div>
|
@@ -281,11 +281,11 @@ individually.
|
|
281
281
|
</p>
|
282
282
|
</div>
|
283
283
|
<hr>
|
284
|
-
<div class="refsect2">
|
284
|
+
<div class="refsect2" title="G_ALLOC_ONLY">
|
285
285
|
<a name="G-ALLOC-ONLY:CAPS"></a><h3>G_ALLOC_ONLY</h3>
|
286
286
|
<pre class="programlisting">#define G_ALLOC_ONLY 1
|
287
287
|
</pre>
|
288
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
288
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
289
289
|
<h3 class="title">Warning</h3>
|
290
290
|
<p><code class="literal">G_ALLOC_ONLY</code> is deprecated and should not be used in newly-written code.</p>
|
291
291
|
</div>
|
@@ -296,13 +296,13 @@ individually.
|
|
296
296
|
</p>
|
297
297
|
</div>
|
298
298
|
<hr>
|
299
|
-
<div class="refsect2">
|
299
|
+
<div class="refsect2" title="g_mem_chunk_new ()">
|
300
300
|
<a name="g-mem-chunk-new"></a><h3>g_mem_chunk_new ()</h3>
|
301
|
-
<pre class="programlisting"><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="returnvalue">GMemChunk</span></a
|
301
|
+
<pre class="programlisting"><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="returnvalue">GMemChunk</span></a>* g_mem_chunk_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
302
302
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> atom_size</code></em>,
|
303
303
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> area_size</code></em>,
|
304
304
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> type</code></em>);</pre>
|
305
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
305
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
306
306
|
<h3 class="title">Warning</h3>
|
307
307
|
<p><code class="literal">g_mem_chunk_new</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
308
308
|
allocator</a> instead</p>
|
@@ -350,10 +350,10 @@ Creates a new <a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GM
|
|
350
350
|
</table></div>
|
351
351
|
</div>
|
352
352
|
<hr>
|
353
|
-
<div class="refsect2">
|
353
|
+
<div class="refsect2" title="g_mem_chunk_alloc ()">
|
354
354
|
<a name="g-mem-chunk-alloc"></a><h3>g_mem_chunk_alloc ()</h3>
|
355
355
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_mem_chunk_alloc (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
356
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
356
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
357
357
|
<h3 class="title">Warning</h3>
|
358
358
|
<p><code class="literal">g_mem_chunk_alloc</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-alloc" title="g_slice_alloc ()"><code class="function">g_slice_alloc()</code></a> instead</p>
|
359
359
|
</div>
|
@@ -377,10 +377,10 @@ Allocates an atom of memory from a <a class="link" href="glib-Memory-Chunks.html
|
|
377
377
|
</table></div>
|
378
378
|
</div>
|
379
379
|
<hr>
|
380
|
-
<div class="refsect2">
|
380
|
+
<div class="refsect2" title="g_mem_chunk_alloc0 ()">
|
381
381
|
<a name="g-mem-chunk-alloc0"></a><h3>g_mem_chunk_alloc0 ()</h3>
|
382
382
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_mem_chunk_alloc0 (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
383
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
383
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
384
384
|
<h3 class="title">Warning</h3>
|
385
385
|
<p><code class="literal">g_mem_chunk_alloc0</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-alloc0" title="g_slice_alloc0 ()"><code class="function">g_slice_alloc0()</code></a> instead</p>
|
386
386
|
</div>
|
@@ -405,11 +405,11 @@ Allocates an atom of memory from a <a class="link" href="glib-Memory-Chunks.html
|
|
405
405
|
</table></div>
|
406
406
|
</div>
|
407
407
|
<hr>
|
408
|
-
<div class="refsect2">
|
408
|
+
<div class="refsect2" title="g_mem_chunk_free ()">
|
409
409
|
<a name="g-mem-chunk-free"></a><h3>g_mem_chunk_free ()</h3>
|
410
410
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_free (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>,
|
411
411
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem</code></em>);</pre>
|
412
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
412
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
413
413
|
<h3 class="title">Warning</h3>
|
414
414
|
<p><code class="literal">g_mem_chunk_free</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-free1" title="g_slice_free1 ()"><code class="function">g_slice_free1()</code></a> instead</p>
|
415
415
|
</div>
|
@@ -435,10 +435,10 @@ simply return.
|
|
435
435
|
</table></div>
|
436
436
|
</div>
|
437
437
|
<hr>
|
438
|
-
<div class="refsect2">
|
438
|
+
<div class="refsect2" title="g_mem_chunk_destroy ()">
|
439
439
|
<a name="g-mem-chunk-destroy"></a><h3>g_mem_chunk_destroy ()</h3>
|
440
440
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_destroy (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
441
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
441
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
442
442
|
<h3 class="title">Warning</h3>
|
443
443
|
<p><code class="literal">g_mem_chunk_destroy</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
444
444
|
allocator</a> instead</p>
|
@@ -456,10 +456,10 @@ Frees all of the memory allocated for a <a class="link" href="glib-Memory-Chunks
|
|
456
456
|
</table></div>
|
457
457
|
</div>
|
458
458
|
<hr>
|
459
|
-
<div class="refsect2">
|
459
|
+
<div class="refsect2" title="g_mem_chunk_create()">
|
460
460
|
<a name="g-mem-chunk-create"></a><h3>g_mem_chunk_create()</h3>
|
461
461
|
<pre class="programlisting">#define g_mem_chunk_create(type, pre_alloc, alloc_type)</pre>
|
462
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
462
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
463
463
|
<h3 class="title">Warning</h3>
|
464
464
|
<p><code class="literal">g_mem_chunk_create</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
465
465
|
allocator</a> instead</p>
|
@@ -503,10 +503,10 @@ multiplying the <em class="parameter"><code>pre_alloc</code></em> parameter with
|
|
503
503
|
</table></div>
|
504
504
|
</div>
|
505
505
|
<hr>
|
506
|
-
<div class="refsect2">
|
506
|
+
<div class="refsect2" title="g_chunk_new()">
|
507
507
|
<a name="g-chunk-new"></a><h3>g_chunk_new()</h3>
|
508
508
|
<pre class="programlisting">#define g_chunk_new(type, chunk)</pre>
|
509
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
509
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
510
510
|
<h3 class="title">Warning</h3>
|
511
511
|
<p><code class="literal">g_chunk_new</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-new" title="g_slice_new()"><code class="function">g_slice_new()</code></a> instead</p>
|
512
512
|
</div>
|
@@ -538,10 +538,10 @@ pointer to the given type, avoiding a type cast in the source code.
|
|
538
538
|
</table></div>
|
539
539
|
</div>
|
540
540
|
<hr>
|
541
|
-
<div class="refsect2">
|
541
|
+
<div class="refsect2" title="g_chunk_new0()">
|
542
542
|
<a name="g-chunk-new0"></a><h3>g_chunk_new0()</h3>
|
543
543
|
<pre class="programlisting">#define g_chunk_new0(type, chunk)</pre>
|
544
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
544
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
545
545
|
<h3 class="title">Warning</h3>
|
546
546
|
<p><code class="literal">g_chunk_new0</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-new0" title="g_slice_new0()"><code class="function">g_slice_new0()</code></a> instead</p>
|
547
547
|
</div>
|
@@ -573,10 +573,10 @@ pointer to the given type, avoiding a type cast in the source code.
|
|
573
573
|
</table></div>
|
574
574
|
</div>
|
575
575
|
<hr>
|
576
|
-
<div class="refsect2">
|
576
|
+
<div class="refsect2" title="g_chunk_free()">
|
577
577
|
<a name="g-chunk-free"></a><h3>g_chunk_free()</h3>
|
578
578
|
<pre class="programlisting">#define g_chunk_free(mem, mem_chunk)</pre>
|
579
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
579
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
580
580
|
<h3 class="title">Warning</h3>
|
581
581
|
<p><code class="literal">g_chunk_free</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Memory-Slices.html#g-slice-free" title="g_slice_free()"><code class="function">g_slice_free()</code></a> instead</p>
|
582
582
|
</div>
|
@@ -603,10 +603,10 @@ included simply to complement the other convenience macros,
|
|
603
603
|
</table></div>
|
604
604
|
</div>
|
605
605
|
<hr>
|
606
|
-
<div class="refsect2">
|
606
|
+
<div class="refsect2" title="g_mem_chunk_reset ()">
|
607
607
|
<a name="g-mem-chunk-reset"></a><h3>g_mem_chunk_reset ()</h3>
|
608
608
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_reset (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
609
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
609
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
610
610
|
<h3 class="title">Warning</h3>
|
611
611
|
<p><code class="literal">g_mem_chunk_reset</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
612
612
|
allocator</a> instead</p>
|
@@ -625,10 +625,10 @@ currently allocated blocks of memory.
|
|
625
625
|
</table></div>
|
626
626
|
</div>
|
627
627
|
<hr>
|
628
|
-
<div class="refsect2">
|
628
|
+
<div class="refsect2" title="g_mem_chunk_clean ()">
|
629
629
|
<a name="g-mem-chunk-clean"></a><h3>g_mem_chunk_clean ()</h3>
|
630
630
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_clean (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
631
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
631
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
632
632
|
<h3 class="title">Warning</h3>
|
633
633
|
<p><code class="literal">g_mem_chunk_clean</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
634
634
|
allocator</a> instead</p>
|
@@ -646,10 +646,10 @@ Frees any blocks in a <a class="link" href="glib-Memory-Chunks.html#GMemChunk" t
|
|
646
646
|
</table></div>
|
647
647
|
</div>
|
648
648
|
<hr>
|
649
|
-
<div class="refsect2">
|
649
|
+
<div class="refsect2" title="g_blow_chunks ()">
|
650
650
|
<a name="g-blow-chunks"></a><h3>g_blow_chunks ()</h3>
|
651
651
|
<pre class="programlisting"><span class="returnvalue">void</span> g_blow_chunks (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
652
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
652
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
653
653
|
<h3 class="title">Warning</h3>
|
654
654
|
<p><code class="literal">g_blow_chunks</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
655
655
|
allocator</a> instead</p>
|
@@ -659,10 +659,10 @@ Calls <a class="link" href="glib-Memory-Chunks.html#g-mem-chunk-clean" title="g_
|
|
659
659
|
</p>
|
660
660
|
</div>
|
661
661
|
<hr>
|
662
|
-
<div class="refsect2">
|
662
|
+
<div class="refsect2" title="g_mem_chunk_info ()">
|
663
663
|
<a name="g-mem-chunk-info"></a><h3>g_mem_chunk_info ()</h3>
|
664
664
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
665
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
665
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
666
666
|
<h3 class="title">Warning</h3>
|
667
667
|
<p><code class="literal">g_mem_chunk_info</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
668
668
|
allocator</a> instead</p>
|
@@ -675,10 +675,10 @@ each one.
|
|
675
675
|
</p>
|
676
676
|
</div>
|
677
677
|
<hr>
|
678
|
-
<div class="refsect2">
|
678
|
+
<div class="refsect2" title="g_mem_chunk_print ()">
|
679
679
|
<a name="g-mem-chunk-print"></a><h3>g_mem_chunk_print ()</h3>
|
680
680
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_chunk_print (<em class="parameter"><code><a class="link" href="glib-Memory-Chunks.html#GMemChunk" title="GMemChunk"><span class="type">GMemChunk</span></a> *mem_chunk</code></em>);</pre>
|
681
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
681
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
682
682
|
<h3 class="title">Warning</h3>
|
683
683
|
<p><code class="literal">g_mem_chunk_print</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
684
684
|
allocator</a> instead</p>
|
@@ -701,6 +701,6 @@ used, and the number of blocks of memory allocated.
|
|
701
701
|
</div>
|
702
702
|
<div class="footer">
|
703
703
|
<hr>
|
704
|
-
Generated by GTK-Doc V1.15
|
704
|
+
Generated by GTK-Doc V1.15</div>
|
705
705
|
</body>
|
706
706
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Memory Slices</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-data-types.html" title="GLib Data Types">
|
10
10
|
<link rel="next" href="glib-Memory-Chunks.html" title="Memory Chunks">
|
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-Memory-Slices.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Memory Slices">
|
30
30
|
<a name="glib-Memory-Slices"></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-Memory-Slices.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -61,7 +61,7 @@
|
|
61
61
|
next)
|
62
62
|
</pre>
|
63
63
|
</div>
|
64
|
-
<div class="refsect1">
|
64
|
+
<div class="refsect1" title="Description">
|
65
65
|
<a name="glib-Memory-Slices.description"></a><h2>Description</h2>
|
66
66
|
<p>
|
67
67
|
Memory slices provide a space-efficient and multi-processing scalable
|
@@ -72,7 +72,7 @@ memory-waste, scalability and performance problems.
|
|
72
72
|
<p>
|
73
73
|
To achieve these goals, the slice allocator uses a sophisticated,
|
74
74
|
layered design that has been inspired by Bonwick's slab allocator
|
75
|
-
<sup>[<a name="
|
75
|
+
<sup>[<a name="id818004" href="#ftn.id818004" class="footnote">6</a>]</sup>.
|
76
76
|
It uses <code class="function">posix_memalign()</code> to optimize allocations of many equally-sized
|
77
77
|
chunks, and has per-thread free lists (the so-called magazine layer)
|
78
78
|
to quickly satisfy allocation requests of already known structure sizes.
|
@@ -93,7 +93,7 @@ friends, as long as objects are not resized during their lifetime and the
|
|
93
93
|
object size used at allocation time is still available when freeing.
|
94
94
|
</p>
|
95
95
|
<div class="example">
|
96
|
-
<a name="
|
96
|
+
<a name="id746826"></a><p class="title"><b>Example 15. Using the slice allocator</b></p>
|
97
97
|
<div class="example-contents">
|
98
98
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
99
99
|
<tbody>
|
@@ -135,7 +135,7 @@ object size used at allocation time is still available when freeing.
|
|
135
135
|
|
136
136
|
</div>
|
137
137
|
<br class="example-break"><div class="example">
|
138
|
-
<a name="
|
138
|
+
<a name="id725850"></a><p class="title"><b>Example 16. Using the slice allocator with data structures</b></p>
|
139
139
|
<div class="example-contents">
|
140
140
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
141
141
|
<tbody>
|
@@ -172,9 +172,9 @@ object size used at allocation time is still available when freeing.
|
|
172
172
|
</div>
|
173
173
|
<br class="example-break">
|
174
174
|
</div>
|
175
|
-
<div class="refsect1">
|
175
|
+
<div class="refsect1" title="Details">
|
176
176
|
<a name="glib-Memory-Slices.details"></a><h2>Details</h2>
|
177
|
-
<div class="refsect2">
|
177
|
+
<div class="refsect2" title="g_slice_alloc ()">
|
178
178
|
<a name="g-slice-alloc"></a><h3>g_slice_alloc ()</h3>
|
179
179
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_slice_alloc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> block_size</code></em>);</pre>
|
180
180
|
<p>
|
@@ -206,7 +206,7 @@ environment variable.
|
|
206
206
|
<p class="since">Since 2.10</p>
|
207
207
|
</div>
|
208
208
|
<hr>
|
209
|
-
<div class="refsect2">
|
209
|
+
<div class="refsect2" title="g_slice_alloc0 ()">
|
210
210
|
<a name="g-slice-alloc0"></a><h3>g_slice_alloc0 ()</h3>
|
211
211
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_slice_alloc0 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> block_size</code></em>);</pre>
|
212
212
|
<p>
|
@@ -234,7 +234,7 @@ environment variable.
|
|
234
234
|
<p class="since">Since 2.10</p>
|
235
235
|
</div>
|
236
236
|
<hr>
|
237
|
-
<div class="refsect2">
|
237
|
+
<div class="refsect2" title="g_slice_copy ()">
|
238
238
|
<a name="g-slice-copy"></a><h3>g_slice_copy ()</h3>
|
239
239
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_slice_copy (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> block_size</code></em>,
|
240
240
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> mem_block</code></em>);</pre>
|
@@ -265,7 +265,7 @@ Allocates a block of memory from the slice allocator and copies
|
|
265
265
|
<p class="since">Since 2.14</p>
|
266
266
|
</div>
|
267
267
|
<hr>
|
268
|
-
<div class="refsect2">
|
268
|
+
<div class="refsect2" title="g_slice_free1 ()">
|
269
269
|
<a name="g-slice-free1"></a><h3>g_slice_free1 ()</h3>
|
270
270
|
<pre class="programlisting"><span class="returnvalue">void</span> g_slice_free1 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> block_size</code></em>,
|
271
271
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem_block</code></em>);</pre>
|
@@ -295,7 +295,7 @@ also see <a class="link" href="glib-running.html#G_SLICE" title="G_SLICE">G_SLIC
|
|
295
295
|
<p class="since">Since 2.10</p>
|
296
296
|
</div>
|
297
297
|
<hr>
|
298
|
-
<div class="refsect2">
|
298
|
+
<div class="refsect2" title="g_slice_free_chain_with_offset ()">
|
299
299
|
<a name="g-slice-free-chain-with-offset"></a><h3>g_slice_free_chain_with_offset ()</h3>
|
300
300
|
<pre class="programlisting"><span class="returnvalue">void</span> g_slice_free_chain_with_offset (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> block_size</code></em>,
|
301
301
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem_chain</code></em>,
|
@@ -333,7 +333,7 @@ also see <a class="link" href="glib-running.html#G_SLICE" title="G_SLICE">G_SLIC
|
|
333
333
|
<p class="since">Since 2.10</p>
|
334
334
|
</div>
|
335
335
|
<hr>
|
336
|
-
<div class="refsect2">
|
336
|
+
<div class="refsect2" title="g_slice_new()">
|
337
337
|
<a name="g-slice-new"></a><h3>g_slice_new()</h3>
|
338
338
|
<pre class="programlisting">#define g_slice_new(type)</pre>
|
339
339
|
<p>
|
@@ -363,7 +363,7 @@ environment variable.
|
|
363
363
|
<p class="since">Since 2.10</p>
|
364
364
|
</div>
|
365
365
|
<hr>
|
366
|
-
<div class="refsect2">
|
366
|
+
<div class="refsect2" title="g_slice_new0()">
|
367
367
|
<a name="g-slice-new0"></a><h3>g_slice_new0()</h3>
|
368
368
|
<pre class="programlisting">#define g_slice_new0(type)</pre>
|
369
369
|
<p>
|
@@ -393,7 +393,7 @@ environment variable.
|
|
393
393
|
<p class="since">Since 2.10</p>
|
394
394
|
</div>
|
395
395
|
<hr>
|
396
|
-
<div class="refsect2">
|
396
|
+
<div class="refsect2" title="g_slice_dup()">
|
397
397
|
<a name="g-slice-dup"></a><h3>g_slice_dup()</h3>
|
398
398
|
<pre class="programlisting">#define g_slice_dup(type, mem)</pre>
|
399
399
|
<p>
|
@@ -428,7 +428,7 @@ environment variable.
|
|
428
428
|
<p class="since">Since 2.14</p>
|
429
429
|
</div>
|
430
430
|
<hr>
|
431
|
-
<div class="refsect2">
|
431
|
+
<div class="refsect2" title="g_slice_free()">
|
432
432
|
<a name="g-slice-free"></a><h3>g_slice_free()</h3>
|
433
433
|
<pre class="programlisting">#define g_slice_free(type, mem)</pre>
|
434
434
|
<p>
|
@@ -457,7 +457,7 @@ also see <a class="link" href="glib-running.html#G_SLICE" title="G_SLICE">G_SLIC
|
|
457
457
|
<p class="since">Since 2.10</p>
|
458
458
|
</div>
|
459
459
|
<hr>
|
460
|
-
<div class="refsect2">
|
460
|
+
<div class="refsect2" title="g_slice_free_chain()">
|
461
461
|
<a name="g-slice-free-chain"></a><h3>g_slice_free_chain()</h3>
|
462
462
|
<pre class="programlisting">#define g_slice_free_chain(type, mem_chain, next)</pre>
|
463
463
|
<p>
|
@@ -495,7 +495,7 @@ also see <a class="link" href="glib-running.html#G_SLICE" title="G_SLICE">G_SLIC
|
|
495
495
|
</div>
|
496
496
|
<div class="footnotes">
|
497
497
|
<br><hr width="100" align="left">
|
498
|
-
<div class="footnote"><p><sup>[<a
|
498
|
+
<div class="footnote"><p><sup>[<a id="ftn.id818004" href="#id818004" class="para">6</a>] </sup>
|
499
499
|
<a class="ulink" href="http://citeseer.ist.psu.edu/bonwick94slab.html" target="_top">[Bonwick94]</a> Jeff Bonwick, The slab allocator: An object-caching kernel
|
500
500
|
memory allocator. USENIX 1994, and
|
501
501
|
<a class="ulink" href="http://citeseer.ist.psu.edu/bonwick01magazines.html" target="_top">[Bonwick01]</a> Bonwick and Jonathan Adams, Magazines and vmem: Extending the
|
@@ -505,6 +505,6 @@ slab allocator to many cpu's and arbitrary resources. USENIX 2001
|
|
505
505
|
</div>
|
506
506
|
<div class="footer">
|
507
507
|
<hr>
|
508
|
-
Generated by GTK-Doc V1.15
|
508
|
+
Generated by GTK-Doc V1.15</div>
|
509
509
|
</body>
|
510
510
|
</html>
|