glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
|
9
9
|
<link rel="prev" href="glib-Basic-Types.html" title="Basic Types">
|
10
10
|
<link rel="next" href="glib-Standard-Macros.html" title="Standard Macros">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Limits-of-Basic-Types.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Limits-of-Basic-Types"></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">
|
39
39
|
<a name="glib-Limits-of-Basic-Types.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -82,16 +82,16 @@
|
|
82
82
|
#define <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXDOUBLE:CAPS" title="G_MAXDOUBLE">G_MAXDOUBLE</a>
|
83
83
|
</pre>
|
84
84
|
</div>
|
85
|
-
<div class="refsect1"
|
85
|
+
<div class="refsect1">
|
86
86
|
<a name="glib-Limits-of-Basic-Types.description"></a><h2>Description</h2>
|
87
87
|
<p>
|
88
88
|
These macros provide a portable method to determine the limits of some of
|
89
89
|
the standard integer and floating point types.
|
90
90
|
</p>
|
91
91
|
</div>
|
92
|
-
<div class="refsect1"
|
92
|
+
<div class="refsect1">
|
93
93
|
<a name="glib-Limits-of-Basic-Types.details"></a><h2>Details</h2>
|
94
|
-
<div class="refsect2"
|
94
|
+
<div class="refsect2">
|
95
95
|
<a name="G-MININT:CAPS"></a><h3>G_MININT</h3>
|
96
96
|
<pre class="programlisting">#define G_MININT INT_MIN
|
97
97
|
</pre>
|
@@ -100,7 +100,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
100
100
|
</p>
|
101
101
|
</div>
|
102
102
|
<hr>
|
103
|
-
<div class="refsect2"
|
103
|
+
<div class="refsect2">
|
104
104
|
<a name="G-MAXINT:CAPS"></a><h3>G_MAXINT</h3>
|
105
105
|
<pre class="programlisting">#define G_MAXINT INT_MAX
|
106
106
|
</pre>
|
@@ -109,7 +109,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
109
109
|
</p>
|
110
110
|
</div>
|
111
111
|
<hr>
|
112
|
-
<div class="refsect2"
|
112
|
+
<div class="refsect2">
|
113
113
|
<a name="G-MAXUINT:CAPS"></a><h3>G_MAXUINT</h3>
|
114
114
|
<pre class="programlisting">#define G_MAXUINT UINT_MAX
|
115
115
|
</pre>
|
@@ -118,7 +118,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
118
118
|
</p>
|
119
119
|
</div>
|
120
120
|
<hr>
|
121
|
-
<div class="refsect2"
|
121
|
+
<div class="refsect2">
|
122
122
|
<a name="G-MINSHORT:CAPS"></a><h3>G_MINSHORT</h3>
|
123
123
|
<pre class="programlisting">#define G_MINSHORT SHRT_MIN
|
124
124
|
</pre>
|
@@ -127,7 +127,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
127
127
|
</p>
|
128
128
|
</div>
|
129
129
|
<hr>
|
130
|
-
<div class="refsect2"
|
130
|
+
<div class="refsect2">
|
131
131
|
<a name="G-MAXSHORT:CAPS"></a><h3>G_MAXSHORT</h3>
|
132
132
|
<pre class="programlisting">#define G_MAXSHORT SHRT_MAX
|
133
133
|
</pre>
|
@@ -136,7 +136,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
136
136
|
</p>
|
137
137
|
</div>
|
138
138
|
<hr>
|
139
|
-
<div class="refsect2"
|
139
|
+
<div class="refsect2">
|
140
140
|
<a name="G-MAXUSHORT:CAPS"></a><h3>G_MAXUSHORT</h3>
|
141
141
|
<pre class="programlisting">#define G_MAXUSHORT USHRT_MAX
|
142
142
|
</pre>
|
@@ -145,7 +145,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
145
145
|
</p>
|
146
146
|
</div>
|
147
147
|
<hr>
|
148
|
-
<div class="refsect2"
|
148
|
+
<div class="refsect2">
|
149
149
|
<a name="G-MINLONG:CAPS"></a><h3>G_MINLONG</h3>
|
150
150
|
<pre class="programlisting">#define G_MINLONG LONG_MIN
|
151
151
|
</pre>
|
@@ -154,7 +154,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
154
154
|
</p>
|
155
155
|
</div>
|
156
156
|
<hr>
|
157
|
-
<div class="refsect2"
|
157
|
+
<div class="refsect2">
|
158
158
|
<a name="G-MAXLONG:CAPS"></a><h3>G_MAXLONG</h3>
|
159
159
|
<pre class="programlisting">#define G_MAXLONG LONG_MAX
|
160
160
|
</pre>
|
@@ -163,7 +163,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
163
163
|
</p>
|
164
164
|
</div>
|
165
165
|
<hr>
|
166
|
-
<div class="refsect2"
|
166
|
+
<div class="refsect2">
|
167
167
|
<a name="G-MAXULONG:CAPS"></a><h3>G_MAXULONG</h3>
|
168
168
|
<pre class="programlisting">#define G_MAXULONG ULONG_MAX
|
169
169
|
</pre>
|
@@ -172,7 +172,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
172
172
|
</p>
|
173
173
|
</div>
|
174
174
|
<hr>
|
175
|
-
<div class="refsect2"
|
175
|
+
<div class="refsect2">
|
176
176
|
<a name="G-MININT8:CAPS"></a><h3>G_MININT8</h3>
|
177
177
|
<pre class="programlisting">#define G_MININT8 ((gint8) 0x80)
|
178
178
|
</pre>
|
@@ -182,7 +182,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
182
182
|
<p class="since">Since 2.4</p>
|
183
183
|
</div>
|
184
184
|
<hr>
|
185
|
-
<div class="refsect2"
|
185
|
+
<div class="refsect2">
|
186
186
|
<a name="G-MAXINT8:CAPS"></a><h3>G_MAXINT8</h3>
|
187
187
|
<pre class="programlisting">#define G_MAXINT8 ((gint8) 0x7f)
|
188
188
|
</pre>
|
@@ -192,7 +192,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
192
192
|
<p class="since">Since 2.4</p>
|
193
193
|
</div>
|
194
194
|
<hr>
|
195
|
-
<div class="refsect2"
|
195
|
+
<div class="refsect2">
|
196
196
|
<a name="G-MAXUINT8:CAPS"></a><h3>G_MAXUINT8</h3>
|
197
197
|
<pre class="programlisting">#define G_MAXUINT8 ((guint8) 0xff)
|
198
198
|
</pre>
|
@@ -202,7 +202,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
202
202
|
<p class="since">Since 2.4</p>
|
203
203
|
</div>
|
204
204
|
<hr>
|
205
|
-
<div class="refsect2"
|
205
|
+
<div class="refsect2">
|
206
206
|
<a name="G-MININT16:CAPS"></a><h3>G_MININT16</h3>
|
207
207
|
<pre class="programlisting">#define G_MININT16 ((gint16) 0x8000)
|
208
208
|
</pre>
|
@@ -212,7 +212,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
212
212
|
<p class="since">Since 2.4</p>
|
213
213
|
</div>
|
214
214
|
<hr>
|
215
|
-
<div class="refsect2"
|
215
|
+
<div class="refsect2">
|
216
216
|
<a name="G-MAXINT16:CAPS"></a><h3>G_MAXINT16</h3>
|
217
217
|
<pre class="programlisting">#define G_MAXINT16 ((gint16) 0x7fff)
|
218
218
|
</pre>
|
@@ -222,7 +222,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
222
222
|
<p class="since">Since 2.4</p>
|
223
223
|
</div>
|
224
224
|
<hr>
|
225
|
-
<div class="refsect2"
|
225
|
+
<div class="refsect2">
|
226
226
|
<a name="G-MAXUINT16:CAPS"></a><h3>G_MAXUINT16</h3>
|
227
227
|
<pre class="programlisting">#define G_MAXUINT16 ((guint16) 0xffff)
|
228
228
|
</pre>
|
@@ -232,7 +232,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
232
232
|
<p class="since">Since 2.4</p>
|
233
233
|
</div>
|
234
234
|
<hr>
|
235
|
-
<div class="refsect2"
|
235
|
+
<div class="refsect2">
|
236
236
|
<a name="G-MININT32:CAPS"></a><h3>G_MININT32</h3>
|
237
237
|
<pre class="programlisting">#define G_MININT32 ((gint32) 0x80000000)
|
238
238
|
</pre>
|
@@ -242,7 +242,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
242
242
|
<p class="since">Since 2.4</p>
|
243
243
|
</div>
|
244
244
|
<hr>
|
245
|
-
<div class="refsect2"
|
245
|
+
<div class="refsect2">
|
246
246
|
<a name="G-MAXINT32:CAPS"></a><h3>G_MAXINT32</h3>
|
247
247
|
<pre class="programlisting">#define G_MAXINT32 ((gint32) 0x7fffffff)
|
248
248
|
</pre>
|
@@ -252,7 +252,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
252
252
|
<p class="since">Since 2.4</p>
|
253
253
|
</div>
|
254
254
|
<hr>
|
255
|
-
<div class="refsect2"
|
255
|
+
<div class="refsect2">
|
256
256
|
<a name="G-MAXUINT32:CAPS"></a><h3>G_MAXUINT32</h3>
|
257
257
|
<pre class="programlisting">#define G_MAXUINT32 ((guint32) 0xffffffff)
|
258
258
|
</pre>
|
@@ -262,7 +262,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
262
262
|
<p class="since">Since 2.4</p>
|
263
263
|
</div>
|
264
264
|
<hr>
|
265
|
-
<div class="refsect2"
|
265
|
+
<div class="refsect2">
|
266
266
|
<a name="G-MININT64:CAPS"></a><h3>G_MININT64</h3>
|
267
267
|
<pre class="programlisting">#define G_MININT64 ((gint64) G_GINT64_CONSTANT(0x8000000000000000))
|
268
268
|
</pre>
|
@@ -271,7 +271,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
271
271
|
</p>
|
272
272
|
</div>
|
273
273
|
<hr>
|
274
|
-
<div class="refsect2"
|
274
|
+
<div class="refsect2">
|
275
275
|
<a name="G-MAXINT64:CAPS"></a><h3>G_MAXINT64</h3>
|
276
276
|
<pre class="programlisting">#define G_MAXINT64 G_GINT64_CONSTANT(0x7fffffffffffffff)
|
277
277
|
</pre>
|
@@ -280,7 +280,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
280
280
|
</p>
|
281
281
|
</div>
|
282
282
|
<hr>
|
283
|
-
<div class="refsect2"
|
283
|
+
<div class="refsect2">
|
284
284
|
<a name="G-MAXUINT64:CAPS"></a><h3>G_MAXUINT64</h3>
|
285
285
|
<pre class="programlisting">#define G_MAXUINT64 G_GINT64_CONSTANT(0xffffffffffffffffU)
|
286
286
|
</pre>
|
@@ -289,7 +289,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
289
289
|
</p>
|
290
290
|
</div>
|
291
291
|
<hr>
|
292
|
-
<div class="refsect2"
|
292
|
+
<div class="refsect2">
|
293
293
|
<a name="G-MAXSIZE:CAPS"></a><h3>G_MAXSIZE</h3>
|
294
294
|
<pre class="programlisting">#define G_MAXSIZE G_MAXULONG
|
295
295
|
</pre>
|
@@ -299,7 +299,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
299
299
|
<p class="since">Since 2.4</p>
|
300
300
|
</div>
|
301
301
|
<hr>
|
302
|
-
<div class="refsect2"
|
302
|
+
<div class="refsect2">
|
303
303
|
<a name="G-MINSSIZE:CAPS"></a><h3>G_MINSSIZE</h3>
|
304
304
|
<pre class="programlisting">#define G_MINSSIZE G_MINLONG
|
305
305
|
</pre>
|
@@ -309,7 +309,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
309
309
|
<p class="since">Since 2.14</p>
|
310
310
|
</div>
|
311
311
|
<hr>
|
312
|
-
<div class="refsect2"
|
312
|
+
<div class="refsect2">
|
313
313
|
<a name="G-MAXSSIZE:CAPS"></a><h3>G_MAXSSIZE</h3>
|
314
314
|
<pre class="programlisting">#define G_MAXSSIZE G_MAXLONG
|
315
315
|
</pre>
|
@@ -319,7 +319,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
319
319
|
<p class="since">Since 2.14</p>
|
320
320
|
</div>
|
321
321
|
<hr>
|
322
|
-
<div class="refsect2"
|
322
|
+
<div class="refsect2">
|
323
323
|
<a name="G-MINOFFSET:CAPS"></a><h3>G_MINOFFSET</h3>
|
324
324
|
<pre class="programlisting">#define G_MINOFFSET G_MININT64
|
325
325
|
</pre>
|
@@ -328,7 +328,7 @@ The minimum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
328
328
|
</p>
|
329
329
|
</div>
|
330
330
|
<hr>
|
331
|
-
<div class="refsect2"
|
331
|
+
<div class="refsect2">
|
332
332
|
<a name="G-MAXOFFSET:CAPS"></a><h3>G_MAXOFFSET</h3>
|
333
333
|
<pre class="programlisting">#define G_MAXOFFSET G_MAXINT64
|
334
334
|
</pre>
|
@@ -337,7 +337,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
337
337
|
</p>
|
338
338
|
</div>
|
339
339
|
<hr>
|
340
|
-
<div class="refsect2"
|
340
|
+
<div class="refsect2">
|
341
341
|
<a name="G-MINFLOAT:CAPS"></a><h3>G_MINFLOAT</h3>
|
342
342
|
<pre class="programlisting">#define G_MINFLOAT FLT_MIN
|
343
343
|
</pre>
|
@@ -350,7 +350,7 @@ use -G_MAXFLOAT.
|
|
350
350
|
</p>
|
351
351
|
</div>
|
352
352
|
<hr>
|
353
|
-
<div class="refsect2"
|
353
|
+
<div class="refsect2">
|
354
354
|
<a name="G-MAXFLOAT:CAPS"></a><h3>G_MAXFLOAT</h3>
|
355
355
|
<pre class="programlisting">#define G_MAXFLOAT FLT_MAX
|
356
356
|
</pre>
|
@@ -359,7 +359,7 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
359
359
|
</p>
|
360
360
|
</div>
|
361
361
|
<hr>
|
362
|
-
<div class="refsect2"
|
362
|
+
<div class="refsect2">
|
363
363
|
<a name="G-MINDOUBLE:CAPS"></a><h3>G_MINDOUBLE</h3>
|
364
364
|
<pre class="programlisting">#define G_MINDOUBLE DBL_MIN
|
365
365
|
</pre>
|
@@ -372,7 +372,7 @@ use -G_MAXDOUBLE.
|
|
372
372
|
</p>
|
373
373
|
</div>
|
374
374
|
<hr>
|
375
|
-
<div class="refsect2"
|
375
|
+
<div class="refsect2">
|
376
376
|
<a name="G-MAXDOUBLE:CAPS"></a><h3>G_MAXDOUBLE</h3>
|
377
377
|
<pre class="programlisting">#define G_MAXDOUBLE DBL_MAX
|
378
378
|
</pre>
|
@@ -384,6 +384,6 @@ The maximum value which can be held in a <a class="link" href="glib-Basic-Types.
|
|
384
384
|
</div>
|
385
385
|
<div class="footer">
|
386
386
|
<hr>
|
387
|
-
Generated by GTK-Doc V1.
|
387
|
+
Generated by GTK-Doc V1.16.1</div>
|
388
388
|
</body>
|
389
389
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-Dynamic-Loading-of-Modules.html" title="Dynamic Loading of Modules">
|
10
10
|
<link rel="next" href="glib-IO-Channels.html" title="IO Channels">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Memory-Allocation.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Memory-Allocation"></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">
|
39
39
|
<a name="glib-Memory-Allocation.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -91,22 +91,22 @@ extern gboolean <a class="link" href="glib-Memory-Allocation.html#g
|
|
91
91
|
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Memory-Allocation.html#g-memdup" title="g_memdup ()">g_memdup</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> mem</code></em>,
|
92
92
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> byte_size</code></em>);
|
93
93
|
|
94
|
-
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Memory-Allocation.html#g-mem-set-vtable" title="g_mem_set_vtable ()">g_mem_set_vtable</a> (<em class="parameter"><code><a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="GMemVTable"><span class="type">GMemVTable</span></a> *vtable</code></em>);
|
94
|
+
struct <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable">GMemVTable</a>;
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Memory-Allocation.html#g-mem-set-vtable" title="g_mem_set_vtable ()">g_mem_set_vtable</a> (<em class="parameter"><code><a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable"><span class="type">GMemVTable</span></a> *vtable</code></em>);
|
96
96
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Memory-Allocation.html#g-mem-is-system-malloc" title="g_mem_is_system_malloc ()">g_mem_is_system_malloc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
97
97
|
|
98
98
|
extern GMemVTable *<a class="link" href="glib-Memory-Allocation.html#glib-mem-profiler-table" title="glib_mem_profiler_table">glib_mem_profiler_table</a>;
|
99
99
|
<span class="returnvalue">void</span> <a class="link" href="glib-Memory-Allocation.html#g-mem-profile" title="g_mem_profile ()">g_mem_profile</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
100
100
|
</pre>
|
101
101
|
</div>
|
102
|
-
<div class="refsect1"
|
102
|
+
<div class="refsect1">
|
103
103
|
<a name="glib-Memory-Allocation.description"></a><h2>Description</h2>
|
104
104
|
<p>
|
105
105
|
These functions provide support for allocating and freeing memory.
|
106
106
|
</p>
|
107
107
|
<p>
|
108
108
|
</p>
|
109
|
-
<div class="note"
|
109
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
110
110
|
<h3 class="title">Note</h3>
|
111
111
|
If any call to allocate memory fails, the application is terminated.
|
112
112
|
This also means that there is no need to check if the call succeeded.
|
@@ -115,7 +115,7 @@ This also means that there is no need to check if the call succeeded.
|
|
115
115
|
</p>
|
116
116
|
<p>
|
117
117
|
</p>
|
118
|
-
<div class="note"
|
118
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
119
119
|
<h3 class="title">Note</h3>
|
120
120
|
It's important to match <a class="link" href="glib-Memory-Allocation.html#g-malloc" title="g_malloc ()"><code class="function">g_malloc()</code></a> with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>, plain <code class="function">malloc()</code> with <code class="function">free()</code>,
|
121
121
|
and (if you're using C++) new with delete and new[] with delete[]. Otherwise
|
@@ -126,9 +126,9 @@ pools (and new/delete call constructors and destructors). See also
|
|
126
126
|
<p>
|
127
127
|
</p>
|
128
128
|
</div>
|
129
|
-
<div class="refsect1"
|
129
|
+
<div class="refsect1">
|
130
130
|
<a name="glib-Memory-Allocation.details"></a><h2>Details</h2>
|
131
|
-
<div class="refsect2"
|
131
|
+
<div class="refsect2">
|
132
132
|
<a name="g-new"></a><h3>g_new()</h3>
|
133
133
|
<pre class="programlisting">#define g_new(struct_type, n_structs)</pre>
|
134
134
|
<p>
|
@@ -147,24 +147,22 @@ so might hide memory allocation errors.
|
|
147
147
|
<tbody>
|
148
148
|
<tr>
|
149
149
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
150
|
-
<td>the type of the elements to allocate
|
151
|
-
</td>
|
150
|
+
<td>the type of the elements to allocate</td>
|
152
151
|
</tr>
|
153
152
|
<tr>
|
154
153
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
155
|
-
<td>the number of elements to allocate
|
156
|
-
</td>
|
154
|
+
<td>the number of elements to allocate</td>
|
157
155
|
</tr>
|
158
156
|
<tr>
|
159
157
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
160
|
-
<td>
|
158
|
+
<td>a pointer to the allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>
|
161
159
|
</td>
|
162
160
|
</tr>
|
163
161
|
</tbody>
|
164
162
|
</table></div>
|
165
163
|
</div>
|
166
164
|
<hr>
|
167
|
-
<div class="refsect2"
|
165
|
+
<div class="refsect2">
|
168
166
|
<a name="g-new0"></a><h3>g_new0()</h3>
|
169
167
|
<pre class="programlisting">#define g_new0(struct_type, n_structs)</pre>
|
170
168
|
<p>
|
@@ -183,24 +181,21 @@ so might hide memory allocation errors.
|
|
183
181
|
<tbody>
|
184
182
|
<tr>
|
185
183
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
186
|
-
<td>the type of the elements to allocate
|
187
|
-
</td>
|
184
|
+
<td>the type of the elements to allocate.</td>
|
188
185
|
</tr>
|
189
186
|
<tr>
|
190
187
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
191
|
-
<td>the number of elements to allocate
|
192
|
-
</td>
|
188
|
+
<td>the number of elements to allocate.</td>
|
193
189
|
</tr>
|
194
190
|
<tr>
|
195
191
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
196
|
-
<td>
|
197
|
-
</td>
|
192
|
+
<td>a pointer to the allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>.</td>
|
198
193
|
</tr>
|
199
194
|
</tbody>
|
200
195
|
</table></div>
|
201
196
|
</div>
|
202
197
|
<hr>
|
203
|
-
<div class="refsect2"
|
198
|
+
<div class="refsect2">
|
204
199
|
<a name="g-renew"></a><h3>g_renew()</h3>
|
205
200
|
<pre class="programlisting">#define g_renew(struct_type, mem, n_structs)</pre>
|
206
201
|
<p>
|
@@ -214,29 +209,26 @@ Care is taken to avoid overflow when calculating the size of the allocated block
|
|
214
209
|
<tbody>
|
215
210
|
<tr>
|
216
211
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
217
|
-
<td>the type of the elements to allocate
|
218
|
-
</td>
|
212
|
+
<td>the type of the elements to allocate</td>
|
219
213
|
</tr>
|
220
214
|
<tr>
|
221
215
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
222
|
-
<td>the currently allocated memory
|
223
|
-
</td>
|
216
|
+
<td>the currently allocated memory</td>
|
224
217
|
</tr>
|
225
218
|
<tr>
|
226
219
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
227
|
-
<td>the number of elements to allocate
|
228
|
-
</td>
|
220
|
+
<td>the number of elements to allocate</td>
|
229
221
|
</tr>
|
230
222
|
<tr>
|
231
223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
232
|
-
<td>
|
224
|
+
<td>a pointer to the new allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>
|
233
225
|
</td>
|
234
226
|
</tr>
|
235
227
|
</tbody>
|
236
228
|
</table></div>
|
237
229
|
</div>
|
238
230
|
<hr>
|
239
|
-
<div class="refsect2"
|
231
|
+
<div class="refsect2">
|
240
232
|
<a name="g-try-new"></a><h3>g_try_new()</h3>
|
241
233
|
<pre class="programlisting">#define g_try_new(struct_type, n_structs)</pre>
|
242
234
|
<p>
|
@@ -250,17 +242,15 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
250
242
|
<tbody>
|
251
243
|
<tr>
|
252
244
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
253
|
-
<td>the type of the elements to allocate
|
254
|
-
</td>
|
245
|
+
<td>the type of the elements to allocate</td>
|
255
246
|
</tr>
|
256
247
|
<tr>
|
257
248
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
258
|
-
<td>the number of elements to allocate
|
259
|
-
</td>
|
249
|
+
<td>the number of elements to allocate</td>
|
260
250
|
</tr>
|
261
251
|
<tr>
|
262
252
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
263
|
-
<td>
|
253
|
+
<td>a pointer to the allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>
|
264
254
|
</td>
|
265
255
|
</tr>
|
266
256
|
</tbody>
|
@@ -268,7 +258,7 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
268
258
|
<p class="since">Since 2.8</p>
|
269
259
|
</div>
|
270
260
|
<hr>
|
271
|
-
<div class="refsect2"
|
261
|
+
<div class="refsect2">
|
272
262
|
<a name="g-try-new0"></a><h3>g_try_new0()</h3>
|
273
263
|
<pre class="programlisting">#define g_try_new0(struct_type, n_structs)</pre>
|
274
264
|
<p>
|
@@ -283,17 +273,15 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
283
273
|
<tbody>
|
284
274
|
<tr>
|
285
275
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
286
|
-
<td>the type of the elements to allocate
|
287
|
-
</td>
|
276
|
+
<td>the type of the elements to allocate</td>
|
288
277
|
</tr>
|
289
278
|
<tr>
|
290
279
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
291
|
-
<td>the number of elements to allocate
|
292
|
-
</td>
|
280
|
+
<td>the number of elements to allocate</td>
|
293
281
|
</tr>
|
294
282
|
<tr>
|
295
283
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
296
|
-
<td>
|
284
|
+
<td>a pointer to the allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>
|
297
285
|
</td>
|
298
286
|
</tr>
|
299
287
|
</tbody>
|
@@ -301,7 +289,7 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
301
289
|
<p class="since">Since 2.8</p>
|
302
290
|
</div>
|
303
291
|
<hr>
|
304
|
-
<div class="refsect2"
|
292
|
+
<div class="refsect2">
|
305
293
|
<a name="g-try-renew"></a><h3>g_try_renew()</h3>
|
306
294
|
<pre class="programlisting">#define g_try_renew(struct_type, mem, n_structs)</pre>
|
307
295
|
<p>
|
@@ -316,22 +304,19 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
316
304
|
<tbody>
|
317
305
|
<tr>
|
318
306
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
319
|
-
<td>the type of the elements to allocate
|
320
|
-
</td>
|
307
|
+
<td>the type of the elements to allocate</td>
|
321
308
|
</tr>
|
322
309
|
<tr>
|
323
310
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
324
|
-
<td>the currently allocated memory
|
325
|
-
</td>
|
311
|
+
<td>the currently allocated memory</td>
|
326
312
|
</tr>
|
327
313
|
<tr>
|
328
314
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
329
|
-
<td>the number of elements to allocate
|
330
|
-
</td>
|
315
|
+
<td>the number of elements to allocate</td>
|
331
316
|
</tr>
|
332
317
|
<tr>
|
333
318
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
334
|
-
<td>
|
319
|
+
<td>a pointer to the new allocated memory, cast to a pointer to <em class="parameter"><code>struct_type</code></em>
|
335
320
|
</td>
|
336
321
|
</tr>
|
337
322
|
</tbody>
|
@@ -339,7 +324,7 @@ The function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS"
|
|
339
324
|
<p class="since">Since 2.8</p>
|
340
325
|
</div>
|
341
326
|
<hr>
|
342
|
-
<div class="refsect2"
|
327
|
+
<div class="refsect2">
|
343
328
|
<a name="g-malloc"></a><h3>g_malloc ()</h3>
|
344
329
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_malloc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
345
330
|
<p>
|
@@ -351,19 +336,17 @@ If <em class="parameter"><code>n_bytes</code></em> is 0 it returns <a class="lin
|
|
351
336
|
<tbody>
|
352
337
|
<tr>
|
353
338
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
354
|
-
<td>the number of bytes to allocate
|
355
|
-
</td>
|
339
|
+
<td>the number of bytes to allocate</td>
|
356
340
|
</tr>
|
357
341
|
<tr>
|
358
342
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
359
|
-
<td>
|
360
|
-
</td>
|
343
|
+
<td>a pointer to the allocated memory</td>
|
361
344
|
</tr>
|
362
345
|
</tbody>
|
363
346
|
</table></div>
|
364
347
|
</div>
|
365
348
|
<hr>
|
366
|
-
<div class="refsect2"
|
349
|
+
<div class="refsect2">
|
367
350
|
<a name="g-malloc0"></a><h3>g_malloc0 ()</h3>
|
368
351
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_malloc0 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
369
352
|
<p>
|
@@ -375,19 +358,17 @@ If <em class="parameter"><code>n_bytes</code></em> is 0 it returns <a class="lin
|
|
375
358
|
<tbody>
|
376
359
|
<tr>
|
377
360
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
378
|
-
<td>the number of bytes to allocate
|
379
|
-
</td>
|
361
|
+
<td>the number of bytes to allocate</td>
|
380
362
|
</tr>
|
381
363
|
<tr>
|
382
364
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
383
|
-
<td>
|
384
|
-
</td>
|
365
|
+
<td>a pointer to the allocated memory</td>
|
385
366
|
</tr>
|
386
367
|
</tbody>
|
387
368
|
</table></div>
|
388
369
|
</div>
|
389
370
|
<hr>
|
390
|
-
<div class="refsect2"
|
371
|
+
<div class="refsect2">
|
391
372
|
<a name="g-realloc"></a><h3>g_realloc ()</h3>
|
392
373
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_realloc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem</code></em>,
|
393
374
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
@@ -403,24 +384,21 @@ and <em class="parameter"><code>mem</code></em> will be freed unless it is <a cl
|
|
403
384
|
<tbody>
|
404
385
|
<tr>
|
405
386
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
406
|
-
<td>the memory to reallocate
|
407
|
-
</td>
|
387
|
+
<td>the memory to reallocate</td>
|
408
388
|
</tr>
|
409
389
|
<tr>
|
410
390
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
411
|
-
<td>new size of the memory in bytes
|
412
|
-
</td>
|
391
|
+
<td>new size of the memory in bytes</td>
|
413
392
|
</tr>
|
414
393
|
<tr>
|
415
394
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
416
|
-
<td>
|
417
|
-
</td>
|
395
|
+
<td>the new address of the allocated memory</td>
|
418
396
|
</tr>
|
419
397
|
</tbody>
|
420
398
|
</table></div>
|
421
399
|
</div>
|
422
400
|
<hr>
|
423
|
-
<div class="refsect2"
|
401
|
+
<div class="refsect2">
|
424
402
|
<a name="g-try-malloc"></a><h3>g_try_malloc ()</h3>
|
425
403
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_malloc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
426
404
|
<p>
|
@@ -432,19 +410,17 @@ Contrast with <a class="link" href="glib-Memory-Allocation.html#g-malloc" title=
|
|
432
410
|
<tbody>
|
433
411
|
<tr>
|
434
412
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
435
|
-
<td>number of bytes to allocate
|
436
|
-
</td>
|
413
|
+
<td>number of bytes to allocate.</td>
|
437
414
|
</tr>
|
438
415
|
<tr>
|
439
416
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
440
|
-
<td>
|
441
|
-
</td>
|
417
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
442
418
|
</tr>
|
443
419
|
</tbody>
|
444
420
|
</table></div>
|
445
421
|
</div>
|
446
422
|
<hr>
|
447
|
-
<div class="refsect2"
|
423
|
+
<div class="refsect2">
|
448
424
|
<a name="g-try-malloc0"></a><h3>g_try_malloc0 ()</h3>
|
449
425
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_malloc0 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
450
426
|
<p>
|
@@ -456,12 +432,11 @@ failure. Contrast with <a class="link" href="glib-Memory-Allocation.html#g-mallo
|
|
456
432
|
<tbody>
|
457
433
|
<tr>
|
458
434
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
459
|
-
<td>number of bytes to allocate
|
460
|
-
</td>
|
435
|
+
<td>number of bytes to allocate</td>
|
461
436
|
</tr>
|
462
437
|
<tr>
|
463
438
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
464
|
-
<td>
|
439
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
465
440
|
</td>
|
466
441
|
</tr>
|
467
442
|
</tbody>
|
@@ -469,7 +444,7 @@ failure. Contrast with <a class="link" href="glib-Memory-Allocation.html#g-mallo
|
|
469
444
|
<p class="since">Since 2.8</p>
|
470
445
|
</div>
|
471
446
|
<hr>
|
472
|
-
<div class="refsect2"
|
447
|
+
<div class="refsect2">
|
473
448
|
<a name="g-try-realloc"></a><h3>g_try_realloc ()</h3>
|
474
449
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_realloc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem</code></em>,
|
475
450
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_bytes</code></em>);</pre>
|
@@ -483,24 +458,21 @@ on failure. If <em class="parameter"><code>mem</code></em> is <a class="link" hr
|
|
483
458
|
<tbody>
|
484
459
|
<tr>
|
485
460
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
486
|
-
<td>previously-allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a
|
487
|
-
</td>
|
461
|
+
<td>previously-allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
488
462
|
</tr>
|
489
463
|
<tr>
|
490
464
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
491
|
-
<td>number of bytes to allocate
|
492
|
-
</td>
|
465
|
+
<td>number of bytes to allocate.</td>
|
493
466
|
</tr>
|
494
467
|
<tr>
|
495
468
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
496
|
-
<td>
|
497
|
-
</td>
|
469
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
498
470
|
</tr>
|
499
471
|
</tbody>
|
500
472
|
</table></div>
|
501
473
|
</div>
|
502
474
|
<hr>
|
503
|
-
<div class="refsect2"
|
475
|
+
<div class="refsect2">
|
504
476
|
<a name="g-malloc-n"></a><h3>g_malloc_n ()</h3>
|
505
477
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_malloc_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
506
478
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_block_bytes</code></em>);</pre>
|
@@ -513,25 +485,22 @@ but care is taken to detect possible overflow during multiplication.
|
|
513
485
|
<tbody>
|
514
486
|
<tr>
|
515
487
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
516
|
-
<td>the number of blocks to allocate
|
517
|
-
</td>
|
488
|
+
<td>the number of blocks to allocate</td>
|
518
489
|
</tr>
|
519
490
|
<tr>
|
520
491
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
521
|
-
<td>the size of each block in bytes
|
522
|
-
</td>
|
492
|
+
<td>the size of each block in bytes</td>
|
523
493
|
</tr>
|
524
494
|
<tr>
|
525
495
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
526
|
-
<td>
|
527
|
-
</td>
|
496
|
+
<td>a pointer to the allocated memory</td>
|
528
497
|
</tr>
|
529
498
|
</tbody>
|
530
499
|
</table></div>
|
531
500
|
<p class="since">Since 2.24</p>
|
532
501
|
</div>
|
533
502
|
<hr>
|
534
|
-
<div class="refsect2"
|
503
|
+
<div class="refsect2">
|
535
504
|
<a name="g-malloc0-n"></a><h3>g_malloc0_n ()</h3>
|
536
505
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_malloc0_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
537
506
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_block_bytes</code></em>);</pre>
|
@@ -544,25 +513,22 @@ but care is taken to detect possible overflow during multiplication.
|
|
544
513
|
<tbody>
|
545
514
|
<tr>
|
546
515
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
547
|
-
<td>the number of blocks to allocate
|
548
|
-
</td>
|
516
|
+
<td>the number of blocks to allocate</td>
|
549
517
|
</tr>
|
550
518
|
<tr>
|
551
519
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
552
|
-
<td>the size of each block in bytes
|
553
|
-
</td>
|
520
|
+
<td>the size of each block in bytes</td>
|
554
521
|
</tr>
|
555
522
|
<tr>
|
556
523
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
557
|
-
<td>
|
558
|
-
</td>
|
524
|
+
<td>a pointer to the allocated memory</td>
|
559
525
|
</tr>
|
560
526
|
</tbody>
|
561
527
|
</table></div>
|
562
528
|
<p class="since">Since 2.24</p>
|
563
529
|
</div>
|
564
530
|
<hr>
|
565
|
-
<div class="refsect2"
|
531
|
+
<div class="refsect2">
|
566
532
|
<a name="g-realloc-n"></a><h3>g_realloc_n ()</h3>
|
567
533
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_realloc_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem</code></em>,
|
568
534
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
@@ -576,30 +542,26 @@ but care is taken to detect possible overflow during multiplication.
|
|
576
542
|
<tbody>
|
577
543
|
<tr>
|
578
544
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
579
|
-
<td>the memory to reallocate
|
580
|
-
</td>
|
545
|
+
<td>the memory to reallocate</td>
|
581
546
|
</tr>
|
582
547
|
<tr>
|
583
548
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
584
|
-
<td>the number of blocks to allocate
|
585
|
-
</td>
|
549
|
+
<td>the number of blocks to allocate</td>
|
586
550
|
</tr>
|
587
551
|
<tr>
|
588
552
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
589
|
-
<td>the size of each block in bytes
|
590
|
-
</td>
|
553
|
+
<td>the size of each block in bytes</td>
|
591
554
|
</tr>
|
592
555
|
<tr>
|
593
556
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
594
|
-
<td>
|
595
|
-
</td>
|
557
|
+
<td>the new address of the allocated memory</td>
|
596
558
|
</tr>
|
597
559
|
</tbody>
|
598
560
|
</table></div>
|
599
561
|
<p class="since">Since 2.24</p>
|
600
562
|
</div>
|
601
563
|
<hr>
|
602
|
-
<div class="refsect2"
|
564
|
+
<div class="refsect2">
|
603
565
|
<a name="g-try-malloc-n"></a><h3>g_try_malloc_n ()</h3>
|
604
566
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_malloc_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
605
567
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_block_bytes</code></em>);</pre>
|
@@ -612,25 +574,22 @@ but care is taken to detect possible overflow during multiplication.
|
|
612
574
|
<tbody>
|
613
575
|
<tr>
|
614
576
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
615
|
-
<td>the number of blocks to allocate
|
616
|
-
</td>
|
577
|
+
<td>the number of blocks to allocate</td>
|
617
578
|
</tr>
|
618
579
|
<tr>
|
619
580
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
620
|
-
<td>the size of each block in bytes
|
621
|
-
</td>
|
581
|
+
<td>the size of each block in bytes</td>
|
622
582
|
</tr>
|
623
583
|
<tr>
|
624
584
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
625
|
-
<td>
|
626
|
-
</td>
|
585
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
627
586
|
</tr>
|
628
587
|
</tbody>
|
629
588
|
</table></div>
|
630
589
|
<p class="since">Since 2.24</p>
|
631
590
|
</div>
|
632
591
|
<hr>
|
633
|
-
<div class="refsect2"
|
592
|
+
<div class="refsect2">
|
634
593
|
<a name="g-try-malloc0-n"></a><h3>g_try_malloc0_n ()</h3>
|
635
594
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_malloc0_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
636
595
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_block_bytes</code></em>);</pre>
|
@@ -643,17 +602,15 @@ but care is taken to detect possible overflow during multiplication.
|
|
643
602
|
<tbody>
|
644
603
|
<tr>
|
645
604
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
646
|
-
<td>the number of blocks to allocate
|
647
|
-
</td>
|
605
|
+
<td>the number of blocks to allocate</td>
|
648
606
|
</tr>
|
649
607
|
<tr>
|
650
608
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
651
|
-
<td>the size of each block in bytes
|
652
|
-
</td>
|
609
|
+
<td>the size of each block in bytes</td>
|
653
610
|
</tr>
|
654
611
|
<tr>
|
655
612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
656
|
-
<td>
|
613
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
657
614
|
</td>
|
658
615
|
</tr>
|
659
616
|
</tbody>
|
@@ -661,7 +618,7 @@ but care is taken to detect possible overflow during multiplication.
|
|
661
618
|
<p class="since">Since 2.24</p>
|
662
619
|
</div>
|
663
620
|
<hr>
|
664
|
-
<div class="refsect2"
|
621
|
+
<div class="refsect2">
|
665
622
|
<a name="g-try-realloc-n"></a><h3>g_try_realloc_n ()</h3>
|
666
623
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_try_realloc_n (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> mem</code></em>,
|
667
624
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_blocks</code></em>,
|
@@ -675,30 +632,26 @@ but care is taken to detect possible overflow during multiplication.
|
|
675
632
|
<tbody>
|
676
633
|
<tr>
|
677
634
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
678
|
-
<td>previously-allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a
|
679
|
-
</td>
|
635
|
+
<td>previously-allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
680
636
|
</tr>
|
681
637
|
<tr>
|
682
638
|
<td><p><span class="term"><em class="parameter"><code>n_blocks</code></em> :</span></p></td>
|
683
|
-
<td>the number of blocks to allocate
|
684
|
-
</td>
|
639
|
+
<td>the number of blocks to allocate</td>
|
685
640
|
</tr>
|
686
641
|
<tr>
|
687
642
|
<td><p><span class="term"><em class="parameter"><code>n_block_bytes</code></em> :</span></p></td>
|
688
|
-
<td>the size of each block in bytes
|
689
|
-
</td>
|
643
|
+
<td>the size of each block in bytes</td>
|
690
644
|
</tr>
|
691
645
|
<tr>
|
692
646
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
693
|
-
<td>
|
694
|
-
</td>
|
647
|
+
<td>the allocated memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
695
648
|
</tr>
|
696
649
|
</tbody>
|
697
650
|
</table></div>
|
698
651
|
<p class="since">Since 2.24</p>
|
699
652
|
</div>
|
700
653
|
<hr>
|
701
|
-
<div class="refsect2"
|
654
|
+
<div class="refsect2">
|
702
655
|
<a name="g-free"></a><h3>g_free ()</h3>
|
703
656
|
<pre class="programlisting"><span class="returnvalue">void</span> g_free (<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>
|
704
657
|
<p>
|
@@ -709,13 +662,12 @@ If <em class="parameter"><code>mem</code></em> is <a class="link" href="glib-Sta
|
|
709
662
|
<col align="left" valign="top">
|
710
663
|
<tbody><tr>
|
711
664
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
712
|
-
<td>the memory to free
|
713
|
-
</td>
|
665
|
+
<td>the memory to free</td>
|
714
666
|
</tr></tbody>
|
715
667
|
</table></div>
|
716
668
|
</div>
|
717
669
|
<hr>
|
718
|
-
<div class="refsect2"
|
670
|
+
<div class="refsect2">
|
719
671
|
<a name="g-mem-gc-friendly"></a><h3>g_mem_gc_friendly</h3>
|
720
672
|
<pre class="programlisting">extern gboolean g_mem_gc_friendly;
|
721
673
|
</pre>
|
@@ -725,7 +677,7 @@ includes the key <a class="link" href="glib-running.html#G_DEBUG" title="G_DEBUG
|
|
725
677
|
</p>
|
726
678
|
</div>
|
727
679
|
<hr>
|
728
|
-
<div class="refsect2"
|
680
|
+
<div class="refsect2">
|
729
681
|
<a name="g-alloca"></a><h3>g_alloca()</h3>
|
730
682
|
<pre class="programlisting">#define g_alloca(size)</pre>
|
731
683
|
<p>
|
@@ -786,19 +738,17 @@ Thus it provides the same advantages and pitfalls as <code class="function">allo
|
|
786
738
|
<tbody>
|
787
739
|
<tr>
|
788
740
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
789
|
-
<td>number of bytes to allocate
|
790
|
-
</td>
|
741
|
+
<td>number of bytes to allocate.</td>
|
791
742
|
</tr>
|
792
743
|
<tr>
|
793
744
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
794
|
-
<td>
|
795
|
-
</td>
|
745
|
+
<td>space for <em class="parameter"><code>size</code></em> bytes, allocated on the stack</td>
|
796
746
|
</tr>
|
797
747
|
</tbody>
|
798
748
|
</table></div>
|
799
749
|
</div>
|
800
750
|
<hr>
|
801
|
-
<div class="refsect2"
|
751
|
+
<div class="refsect2">
|
802
752
|
<a name="g-newa"></a><h3>g_newa()</h3>
|
803
753
|
<pre class="programlisting">#define g_newa(struct_type, n_structs)</pre>
|
804
754
|
<p>
|
@@ -809,24 +759,22 @@ Wraps <a class="link" href="glib-Memory-Allocation.html#g-alloca" title="g_alloc
|
|
809
759
|
<tbody>
|
810
760
|
<tr>
|
811
761
|
<td><p><span class="term"><em class="parameter"><code>struct_type</code></em> :</span></p></td>
|
812
|
-
<td>Type of memory chunks to be allocated
|
813
|
-
</td>
|
762
|
+
<td>Type of memory chunks to be allocated</td>
|
814
763
|
</tr>
|
815
764
|
<tr>
|
816
765
|
<td><p><span class="term"><em class="parameter"><code>n_structs</code></em> :</span></p></td>
|
817
|
-
<td>Number of chunks to be allocated
|
818
|
-
</td>
|
766
|
+
<td>Number of chunks to be allocated</td>
|
819
767
|
</tr>
|
820
768
|
<tr>
|
821
769
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
822
|
-
<td>
|
770
|
+
<td>Pointer to stack space for <em class="parameter"><code>n_structs</code></em> chunks of type <em class="parameter"><code>struct_type</code></em>
|
823
771
|
</td>
|
824
772
|
</tr>
|
825
773
|
</tbody>
|
826
774
|
</table></div>
|
827
775
|
</div>
|
828
776
|
<hr>
|
829
|
-
<div class="refsect2"
|
777
|
+
<div class="refsect2">
|
830
778
|
<a name="g-memmove"></a><h3>g_memmove()</h3>
|
831
779
|
<pre class="programlisting">#define g_memmove(dest,src,len)</pre>
|
832
780
|
<p>
|
@@ -844,24 +792,21 @@ typically simply resolve to <code class="function">memmove()</code> and GLib doe
|
|
844
792
|
<tbody>
|
845
793
|
<tr>
|
846
794
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
847
|
-
<td>the destination address to copy the bytes to
|
848
|
-
</td>
|
795
|
+
<td>the destination address to copy the bytes to.</td>
|
849
796
|
</tr>
|
850
797
|
<tr>
|
851
798
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
852
|
-
<td>the source address to copy the bytes from
|
853
|
-
</td>
|
799
|
+
<td>the source address to copy the bytes from.</td>
|
854
800
|
</tr>
|
855
801
|
<tr>
|
856
802
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
857
|
-
<td>the number of bytes to copy
|
858
|
-
</td>
|
803
|
+
<td>the number of bytes to copy.</td>
|
859
804
|
</tr>
|
860
805
|
</tbody>
|
861
806
|
</table></div>
|
862
807
|
</div>
|
863
808
|
<hr>
|
864
|
-
<div class="refsect2"
|
809
|
+
<div class="refsect2">
|
865
810
|
<a name="g-memdup"></a><h3>g_memdup ()</h3>
|
866
811
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_memdup (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> mem</code></em>,
|
867
812
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> byte_size</code></em>);</pre>
|
@@ -874,27 +819,24 @@ from <em class="parameter"><code>mem</code></em>. If <em class="parameter"><code
|
|
874
819
|
<tbody>
|
875
820
|
<tr>
|
876
821
|
<td><p><span class="term"><em class="parameter"><code>mem</code></em> :</span></p></td>
|
877
|
-
<td>the memory to copy
|
878
|
-
</td>
|
822
|
+
<td>the memory to copy.</td>
|
879
823
|
</tr>
|
880
824
|
<tr>
|
881
825
|
<td><p><span class="term"><em class="parameter"><code>byte_size</code></em> :</span></p></td>
|
882
|
-
<td>the number of bytes to copy
|
883
|
-
</td>
|
826
|
+
<td>the number of bytes to copy.</td>
|
884
827
|
</tr>
|
885
828
|
<tr>
|
886
829
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
887
|
-
<td>
|
888
|
-
|
889
|
-
</td>
|
830
|
+
<td>a pointer to the newly-allocated copy of the memory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <em class="parameter"><code>mem</code></em>
|
831
|
+
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
890
832
|
</tr>
|
891
833
|
</tbody>
|
892
834
|
</table></div>
|
893
835
|
</div>
|
894
836
|
<hr>
|
895
|
-
<div class="refsect2"
|
896
|
-
<a name="GMemVTable"></a><h3>GMemVTable</h3>
|
897
|
-
<pre class="programlisting">
|
837
|
+
<div class="refsect2">
|
838
|
+
<a name="GMemVTable"></a><h3>struct GMemVTable</h3>
|
839
|
+
<pre class="programlisting">struct GMemVTable {
|
898
840
|
gpointer (*malloc) (gsize n_bytes);
|
899
841
|
gpointer (*realloc) (gpointer mem,
|
900
842
|
gsize n_bytes);
|
@@ -905,10 +847,10 @@ from <em class="parameter"><code>mem</code></em>. If <em class="parameter"><code
|
|
905
847
|
gpointer (*try_malloc) (gsize n_bytes);
|
906
848
|
gpointer (*try_realloc) (gpointer mem,
|
907
849
|
gsize n_bytes);
|
908
|
-
}
|
850
|
+
};
|
909
851
|
</pre>
|
910
852
|
<p>
|
911
|
-
A set of functions used to perform memory allocation. The same <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="GMemVTable"><span class="type">GMemVTable</span></a> must
|
853
|
+
A set of functions used to perform memory allocation. The same <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable"><span class="type">GMemVTable</span></a> must
|
912
854
|
be used for all allocations in the same program; a call to <a class="link" href="glib-Memory-Allocation.html#g-mem-set-vtable" title="g_mem_set_vtable ()"><code class="function">g_mem_set_vtable()</code></a>,
|
913
855
|
if it exists, should be prior to any use of GLib.
|
914
856
|
</p>
|
@@ -917,43 +859,37 @@ if it exists, should be prior to any use of GLib.
|
|
917
859
|
<tbody>
|
918
860
|
<tr>
|
919
861
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.malloc"></a>malloc</code></em> ()</span></p></td>
|
920
|
-
<td>function to use for allocating memory
|
921
|
-
</td>
|
862
|
+
<td>function to use for allocating memory.</td>
|
922
863
|
</tr>
|
923
864
|
<tr>
|
924
865
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.realloc"></a>realloc</code></em> ()</span></p></td>
|
925
|
-
<td>function to use for reallocating memory
|
926
|
-
</td>
|
866
|
+
<td>function to use for reallocating memory.</td>
|
927
867
|
</tr>
|
928
868
|
<tr>
|
929
869
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.free"></a>free</code></em> ()</span></p></td>
|
930
|
-
<td>function to use to free memory
|
931
|
-
</td>
|
870
|
+
<td>function to use to free memory.</td>
|
932
871
|
</tr>
|
933
872
|
<tr>
|
934
873
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.calloc"></a>calloc</code></em> ()</span></p></td>
|
935
|
-
<td>function to use for allocating zero-filled memory
|
936
|
-
</td>
|
874
|
+
<td>function to use for allocating zero-filled memory.</td>
|
937
875
|
</tr>
|
938
876
|
<tr>
|
939
877
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.try-malloc"></a>try_malloc</code></em> ()</span></p></td>
|
940
|
-
<td>function to use for allocating memory without a default error handler
|
941
|
-
</td>
|
878
|
+
<td>function to use for allocating memory without a default error handler.</td>
|
942
879
|
</tr>
|
943
880
|
<tr>
|
944
881
|
<td><p><span class="term"><em class="structfield"><code><a name="GMemVTable.try-realloc"></a>try_realloc</code></em> ()</span></p></td>
|
945
|
-
<td>function to use for reallocating memory without a default error handler
|
946
|
-
</td>
|
882
|
+
<td>function to use for reallocating memory without a default error handler.</td>
|
947
883
|
</tr>
|
948
884
|
</tbody>
|
949
885
|
</table></div>
|
950
886
|
</div>
|
951
887
|
<hr>
|
952
|
-
<div class="refsect2"
|
888
|
+
<div class="refsect2">
|
953
889
|
<a name="g-mem-set-vtable"></a><h3>g_mem_set_vtable ()</h3>
|
954
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_set_vtable (<em class="parameter"><code><a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="GMemVTable"><span class="type">GMemVTable</span></a> *vtable</code></em>);</pre>
|
890
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_set_vtable (<em class="parameter"><code><a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable"><span class="type">GMemVTable</span></a> *vtable</code></em>);</pre>
|
955
891
|
<p>
|
956
|
-
Sets the <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="GMemVTable"><span class="type">GMemVTable</span></a> to use for memory allocation. You can use this to provide
|
892
|
+
Sets the <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable"><span class="type">GMemVTable</span></a> to use for memory allocation. You can use this to provide
|
957
893
|
custom memory allocation routines. <span class="emphasis"><em>This function must be called
|
958
894
|
before using any other GLib functions.</em></span> The <em class="parameter"><code>vtable</code></em> only needs to
|
959
895
|
provide <code class="function">malloc()</code>, <code class="function">realloc()</code>, and <code class="function">free()</code> functions; GLib can provide default
|
@@ -965,13 +901,12 @@ should return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="
|
|
965
901
|
<col align="left" valign="top">
|
966
902
|
<tbody><tr>
|
967
903
|
<td><p><span class="term"><em class="parameter"><code>vtable</code></em> :</span></p></td>
|
968
|
-
<td>table of memory allocation routines
|
969
|
-
</td>
|
904
|
+
<td>table of memory allocation routines.</td>
|
970
905
|
</tr></tbody>
|
971
906
|
</table></div>
|
972
907
|
</div>
|
973
908
|
<hr>
|
974
|
-
<div class="refsect2"
|
909
|
+
<div class="refsect2">
|
975
910
|
<a name="g-mem-is-system-malloc"></a><h3>g_mem_is_system_malloc ()</h3>
|
976
911
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_mem_is_system_malloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
977
912
|
<p>
|
@@ -988,25 +923,24 @@ A different allocator can be set using <a class="link" href="glib-Memory-Allocat
|
|
988
923
|
<col align="left" valign="top">
|
989
924
|
<tbody><tr>
|
990
925
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
991
|
-
<td>
|
992
|
-
</td>
|
926
|
+
<td>if <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, <code class="function">malloc()</code> and <a class="link" href="glib-Memory-Allocation.html#g-malloc" title="g_malloc ()"><code class="function">g_malloc()</code></a> can be mixed.</td>
|
993
927
|
</tr></tbody>
|
994
928
|
</table></div>
|
995
929
|
</div>
|
996
930
|
<hr>
|
997
|
-
<div class="refsect2"
|
931
|
+
<div class="refsect2">
|
998
932
|
<a name="glib-mem-profiler-table"></a><h3>glib_mem_profiler_table</h3>
|
999
933
|
<pre class="programlisting">extern GMemVTable *glib_mem_profiler_table;
|
1000
934
|
</pre>
|
1001
935
|
<p>
|
1002
|
-
A <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="GMemVTable"><span class="type">GMemVTable</span></a> containing profiling variants of the memory
|
936
|
+
A <a class="link" href="glib-Memory-Allocation.html#GMemVTable" title="struct GMemVTable"><span class="type">GMemVTable</span></a> containing profiling variants of the memory
|
1003
937
|
allocation functions. Use them together with <a class="link" href="glib-Memory-Allocation.html#g-mem-profile" title="g_mem_profile ()"><code class="function">g_mem_profile()</code></a>
|
1004
938
|
in order to get information about the memory allocation pattern
|
1005
939
|
of your program.
|
1006
940
|
</p>
|
1007
941
|
</div>
|
1008
942
|
<hr>
|
1009
|
-
<div class="refsect2"
|
943
|
+
<div class="refsect2">
|
1010
944
|
<a name="g-mem-profile"></a><h3>g_mem_profile ()</h3>
|
1011
945
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mem_profile (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1012
946
|
<p>
|
@@ -1028,6 +962,6 @@ previously installed the <a class="link" href="glib-Memory-Allocation.html#glib-
|
|
1028
962
|
</div>
|
1029
963
|
<div class="footer">
|
1030
964
|
<hr>
|
1031
|
-
Generated by GTK-Doc V1.
|
965
|
+
Generated by GTK-Doc V1.16.1</div>
|
1032
966
|
</body>
|
1033
967
|
</html>
|