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-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Commandline-option-parser.html" title="Commandline option parser">
|
10
10
|
<link rel="next" href="glib-Perl-compatible-regular-expressions.html" title="Perl-compatible regular expressions">
|
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-Glob-style-pattern-matching.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-Glob-style-pattern-matching"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,13 +36,13 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv"
|
39
|
+
<div class="refsynopsisdiv">
|
40
40
|
<a name="glib-Glob-style-pattern-matching.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
43
43
|
|
44
44
|
<a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec">GPatternSpec</a>;
|
45
|
-
<a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="returnvalue">GPatternSpec</span></a
|
45
|
+
<a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="returnvalue">GPatternSpec</span></a> * <a class="link" href="glib-Glob-style-pattern-matching.html#g-pattern-spec-new" title="g_pattern_spec_new ()">g_pattern_spec_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>);
|
46
46
|
<span class="returnvalue">void</span> <a class="link" href="glib-Glob-style-pattern-matching.html#g-pattern-spec-free" title="g_pattern_spec_free ()">g_pattern_spec_free</a> (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec</code></em>);
|
47
47
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Glob-style-pattern-matching.html#g-pattern-spec-equal" title="g_pattern_spec_equal ()">g_pattern_spec_equal</a> (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec1</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec2</code></em>);
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
57
57
|
</pre>
|
58
58
|
</div>
|
59
|
-
<div class="refsect1"
|
59
|
+
<div class="refsect1">
|
60
60
|
<a name="glib-Glob-style-pattern-matching.description"></a><h2>Description</h2>
|
61
61
|
<p>
|
62
62
|
The <code class="function">g_pattern_match*</code> functions match a string
|
@@ -79,9 +79,9 @@ is better to compile the pattern to a <a class="link" href="glib-Glob-style-patt
|
|
79
79
|
pattern compilation.
|
80
80
|
</p>
|
81
81
|
</div>
|
82
|
-
<div class="refsect1"
|
82
|
+
<div class="refsect1">
|
83
83
|
<a name="glib-Glob-style-pattern-matching.details"></a><h2>Details</h2>
|
84
|
-
<div class="refsect2"
|
84
|
+
<div class="refsect2">
|
85
85
|
<a name="GPatternSpec"></a><h3>GPatternSpec</h3>
|
86
86
|
<pre class="programlisting">typedef struct _GPatternSpec GPatternSpec;</pre>
|
87
87
|
<p>
|
@@ -91,9 +91,9 @@ directly.
|
|
91
91
|
</p>
|
92
92
|
</div>
|
93
93
|
<hr>
|
94
|
-
<div class="refsect2"
|
94
|
+
<div class="refsect2">
|
95
95
|
<a name="g-pattern-spec-new"></a><h3>g_pattern_spec_new ()</h3>
|
96
|
-
<pre class="programlisting"><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="returnvalue">GPatternSpec</span></a
|
96
|
+
<pre class="programlisting"><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="returnvalue">GPatternSpec</span></a> * g_pattern_spec_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>);</pre>
|
97
97
|
<p>
|
98
98
|
Compiles a pattern to a <a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a>.
|
99
99
|
</p>
|
@@ -102,8 +102,7 @@ Compiles a pattern to a <a class="link" href="glib-Glob-style-pattern-matching.h
|
|
102
102
|
<tbody>
|
103
103
|
<tr>
|
104
104
|
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
105
|
-
<td>a zero-terminated UTF-8 encoded string
|
106
|
-
</td>
|
105
|
+
<td>a zero-terminated UTF-8 encoded string</td>
|
107
106
|
</tr>
|
108
107
|
<tr>
|
109
108
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -114,7 +113,7 @@ Compiles a pattern to a <a class="link" href="glib-Glob-style-pattern-matching.h
|
|
114
113
|
</table></div>
|
115
114
|
</div>
|
116
115
|
<hr>
|
117
|
-
<div class="refsect2"
|
116
|
+
<div class="refsect2">
|
118
117
|
<a name="g-pattern-spec-free"></a><h3>g_pattern_spec_free ()</h3>
|
119
118
|
<pre class="programlisting"><span class="returnvalue">void</span> g_pattern_spec_free (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec</code></em>);</pre>
|
120
119
|
<p>
|
@@ -130,7 +129,7 @@ Frees the memory allocated for the <a class="link" href="glib-Glob-style-pattern
|
|
130
129
|
</table></div>
|
131
130
|
</div>
|
132
131
|
<hr>
|
133
|
-
<div class="refsect2"
|
132
|
+
<div class="refsect2">
|
134
133
|
<a name="g-pattern-spec-equal"></a><h3>g_pattern_spec_equal ()</h3>
|
135
134
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_pattern_spec_equal (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec1</code></em>,
|
136
135
|
<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec2</code></em>);</pre>
|
@@ -153,14 +152,13 @@ match the same set of strings.
|
|
153
152
|
</tr>
|
154
153
|
<tr>
|
155
154
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
156
|
-
<td>Whether the compiled patterns are equal
|
157
|
-
</td>
|
155
|
+
<td>Whether the compiled patterns are equal</td>
|
158
156
|
</tr>
|
159
157
|
</tbody>
|
160
158
|
</table></div>
|
161
159
|
</div>
|
162
160
|
<hr>
|
163
|
-
<div class="refsect2"
|
161
|
+
<div class="refsect2">
|
164
162
|
<a name="g-pattern-match"></a><h3>g_pattern_match ()</h3>
|
165
163
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_pattern_match (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec</code></em>,
|
166
164
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> string_length</code></em>,
|
@@ -199,13 +197,11 @@ strings.
|
|
199
197
|
<tr>
|
200
198
|
<td><p><span class="term"><em class="parameter"><code>string_length</code></em> :</span></p></td>
|
201
199
|
<td>the length of <em class="parameter"><code>string</code></em> (in bytes, i.e. <code class="function">strlen()</code>,
|
202
|
-
|
203
|
-
</td>
|
200
|
+
<span class="emphasis"><em>not</em></span> <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strlen" title="g_utf8_strlen ()"><code class="function">g_utf8_strlen()</code></a>)</td>
|
204
201
|
</tr>
|
205
202
|
<tr>
|
206
203
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
207
|
-
<td>the UTF-8 encoded string to match
|
208
|
-
</td>
|
204
|
+
<td>the UTF-8 encoded string to match</td>
|
209
205
|
</tr>
|
210
206
|
<tr>
|
211
207
|
<td><p><span class="term"><em class="parameter"><code>string_reversed</code></em> :</span></p></td>
|
@@ -222,7 +218,7 @@ strings.
|
|
222
218
|
</table></div>
|
223
219
|
</div>
|
224
220
|
<hr>
|
225
|
-
<div class="refsect2"
|
221
|
+
<div class="refsect2">
|
226
222
|
<a name="g-pattern-match-string"></a><h3>g_pattern_match_string ()</h3>
|
227
223
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_pattern_match_string (<em class="parameter"><code><a class="link" href="glib-Glob-style-pattern-matching.html#GPatternSpec" title="GPatternSpec"><span class="type">GPatternSpec</span></a> *pspec</code></em>,
|
228
224
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
@@ -241,8 +237,7 @@ matched against more than one pattern, consider using
|
|
241
237
|
</tr>
|
242
238
|
<tr>
|
243
239
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
244
|
-
<td>the UTF-8 encoded string to match
|
245
|
-
</td>
|
240
|
+
<td>the UTF-8 encoded string to match</td>
|
246
241
|
</tr>
|
247
242
|
<tr>
|
248
243
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -254,7 +249,7 @@ matched against more than one pattern, consider using
|
|
254
249
|
</table></div>
|
255
250
|
</div>
|
256
251
|
<hr>
|
257
|
-
<div class="refsect2"
|
252
|
+
<div class="refsect2">
|
258
253
|
<a name="g-pattern-match-simple"></a><h3>g_pattern_match_simple ()</h3>
|
259
254
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_pattern_match_simple (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
260
255
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
@@ -269,13 +264,11 @@ the pattern once with <a class="link" href="glib-Glob-style-pattern-matching.htm
|
|
269
264
|
<tbody>
|
270
265
|
<tr>
|
271
266
|
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
272
|
-
<td>the UTF-8 encoded pattern
|
273
|
-
</td>
|
267
|
+
<td>the UTF-8 encoded pattern</td>
|
274
268
|
</tr>
|
275
269
|
<tr>
|
276
270
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
277
|
-
<td>the UTF-8 encoded string to match
|
278
|
-
</td>
|
271
|
+
<td>the UTF-8 encoded string to match</td>
|
279
272
|
</tr>
|
280
273
|
<tr>
|
281
274
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -290,6 +283,6 @@ the pattern once with <a class="link" href="glib-Glob-style-pattern-matching.htm
|
|
290
283
|
</div>
|
291
284
|
<div class="footer">
|
292
285
|
<hr>
|
293
|
-
Generated by GTK-Doc V1.
|
286
|
+
Generated by GTK-Doc V1.16.1</div>
|
294
287
|
</body>
|
295
288
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-Trash-Stacks.html" title="Trash Stacks">
|
10
10
|
<link rel="next" href="glib-Strings.html" title="Strings">
|
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-Hash-Tables.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-Hash-Tables"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,15 +36,15 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv"
|
39
|
+
<div class="refsynopsisdiv">
|
40
40
|
<a name="glib-Hash-Tables.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
43
43
|
|
44
44
|
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable">GHashTable</a>;
|
45
|
-
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
45
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-new" title="g_hash_table_new ()">g_hash_table_new</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashFunc" title="GHashFunc ()"><span class="type">GHashFunc</span></a> hash_func</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GEqualFunc" title="GEqualFunc ()"><span class="type">GEqualFunc</span></a> key_equal_func</code></em>);
|
47
|
-
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
47
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-new-full" title="g_hash_table_new_full ()">g_hash_table_new_full</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashFunc" title="GHashFunc ()"><span class="type">GHashFunc</span></a> hash_func</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GEqualFunc" title="GEqualFunc ()"><span class="type">GEqualFunc</span></a> key_equal_func</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> key_destroy_func</code></em>,
|
50
50
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> value_destroy_func</code></em>);
|
@@ -85,25 +85,25 @@
|
|
85
85
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
86
86
|
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-remove-all" title="g_hash_table_remove_all ()">g_hash_table_remove_all</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
87
87
|
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-steal-all" title="g_hash_table_steal_all ()">g_hash_table_steal_all</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
88
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-get-keys" title="g_hash_table_get_keys ()">g_hash_table_get_keys</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
89
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-get-values" title="g_hash_table_get_values ()">g_hash_table_get_values</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
88
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-get-keys" title="g_hash_table_get_keys ()">g_hash_table_get_keys</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
89
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-get-values" title="g_hash_table_get_values ()">g_hash_table_get_values</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
90
90
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="glib-Hash-Tables.html#GHRFunc" title="GHRFunc ()">*GHRFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>,
|
91
91
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>,
|
92
92
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
93
93
|
#define <a class="link" href="glib-Hash-Tables.html#g-hash-table-freeze" title="g_hash_table_freeze()">g_hash_table_freeze</a> (hash_table)
|
94
94
|
#define <a class="link" href="glib-Hash-Tables.html#g-hash-table-thaw" title="g_hash_table_thaw()">g_hash_table_thaw</a> (hash_table)
|
95
95
|
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-destroy" title="g_hash_table_destroy ()">g_hash_table_destroy</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
96
|
-
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
96
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-ref" title="g_hash_table_ref ()">g_hash_table_ref</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
97
97
|
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-unref" title="g_hash_table_unref ()">g_hash_table_unref</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
98
|
-
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-init" title="g_hash_table_iter_init ()">g_hash_table_iter_init</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
98
|
+
struct <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter">GHashTableIter</a>;
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-init" title="g_hash_table_iter_init ()">g_hash_table_iter_init</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
100
100
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);
|
101
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-next" title="g_hash_table_iter_next ()">g_hash_table_iter_next</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
101
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-next" title="g_hash_table_iter_next ()">g_hash_table_iter_next</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
102
102
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *key</code></em>,
|
103
103
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *value</code></em>);
|
104
|
-
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-remove" title="g_hash_table_iter_remove ()">g_hash_table_iter_remove</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);
|
106
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-steal" title="g_hash_table_iter_steal ()">g_hash_table_iter_steal</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);
|
104
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-get-hash-table" title="g_hash_table_iter_get_hash_table ()">g_hash_table_iter_get_hash_table</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-remove" title="g_hash_table_iter_remove ()">g_hash_table_iter_remove</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-steal" title="g_hash_table_iter_steal ()">g_hash_table_iter_steal</a> (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);
|
107
107
|
|
108
108
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Hash-Tables.html#g-direct-equal" title="g_direct_equal ()">g_direct_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
109
109
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);
|
@@ -122,7 +122,7 @@
|
|
122
122
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Hash-Tables.html#g-str-hash" title="g_str_hash ()">g_str_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);
|
123
123
|
</pre>
|
124
124
|
</div>
|
125
|
-
<div class="refsect1"
|
125
|
+
<div class="refsect1">
|
126
126
|
<a name="glib-Hash-Tables.description"></a><h2>Description</h2>
|
127
127
|
<p>
|
128
128
|
A <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> provides associations between keys and values which is
|
@@ -161,15 +161,15 @@ To remove a key and value, use <a class="link" href="glib-Hash-Tables.html#g-has
|
|
161
161
|
<p>
|
162
162
|
To call a function for each key and value pair use
|
163
163
|
<a class="link" href="glib-Hash-Tables.html#g-hash-table-foreach" title="g_hash_table_foreach ()"><code class="function">g_hash_table_foreach()</code></a> or use a iterator to iterate over the
|
164
|
-
key/value pairs in the hash table, see <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a>.
|
164
|
+
key/value pairs in the hash table, see <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.
|
165
165
|
</p>
|
166
166
|
<p>
|
167
167
|
To destroy a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> use <a class="link" href="glib-Hash-Tables.html#g-hash-table-destroy" title="g_hash_table_destroy ()"><code class="function">g_hash_table_destroy()</code></a>.
|
168
168
|
</p>
|
169
169
|
</div>
|
170
|
-
<div class="refsect1"
|
170
|
+
<div class="refsect1">
|
171
171
|
<a name="glib-Hash-Tables.details"></a><h2>Details</h2>
|
172
|
-
<div class="refsect2"
|
172
|
+
<div class="refsect2">
|
173
173
|
<a name="GHashTable"></a><h3>GHashTable</h3>
|
174
174
|
<pre class="programlisting">typedef struct _GHashTable GHashTable;</pre>
|
175
175
|
<p>
|
@@ -179,9 +179,9 @@ accessed via the following functions.
|
|
179
179
|
</p>
|
180
180
|
</div>
|
181
181
|
<hr>
|
182
|
-
<div class="refsect2"
|
182
|
+
<div class="refsect2">
|
183
183
|
<a name="g-hash-table-new"></a><h3>g_hash_table_new ()</h3>
|
184
|
-
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
184
|
+
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * g_hash_table_new (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashFunc" title="GHashFunc ()"><span class="type">GHashFunc</span></a> hash_func</code></em>,
|
185
185
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GEqualFunc" title="GEqualFunc ()"><span class="type">GEqualFunc</span></a> key_equal_func</code></em>);</pre>
|
186
186
|
<p>
|
187
187
|
Creates a new <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> with a reference count of 1.
|
@@ -192,35 +192,32 @@ Creates a new <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
192
192
|
<tr>
|
193
193
|
<td><p><span class="term"><em class="parameter"><code>hash_func</code></em> :</span></p></td>
|
194
194
|
<td>a function to create a hash value from a key.
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
</td>
|
195
|
+
Hash values are used to determine where keys are stored within the
|
196
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> data structure. The <a class="link" href="glib-Hash-Tables.html#g-direct-hash" title="g_direct_hash ()"><code class="function">g_direct_hash()</code></a>, <a class="link" href="glib-Hash-Tables.html#g-int-hash" title="g_int_hash ()"><code class="function">g_int_hash()</code></a>,
|
197
|
+
<a class="link" href="glib-Hash-Tables.html#g-int64-hash" title="g_int64_hash ()"><code class="function">g_int64_hash()</code></a>, <a class="link" href="glib-Hash-Tables.html#g-double-hash" title="g_double_hash ()"><code class="function">g_double_hash()</code></a> and <a class="link" href="glib-Hash-Tables.html#g-str-hash" title="g_str_hash ()"><code class="function">g_str_hash()</code></a> functions are provided
|
198
|
+
for some common types of keys.
|
199
|
+
If hash_func is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-Hash-Tables.html#g-direct-hash" title="g_direct_hash ()"><code class="function">g_direct_hash()</code></a> is used.</td>
|
201
200
|
</tr>
|
202
201
|
<tr>
|
203
202
|
<td><p><span class="term"><em class="parameter"><code>key_equal_func</code></em> :</span></p></td>
|
204
203
|
<td>a function to check two keys for equality. This is
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
</td>
|
204
|
+
used when looking up keys in the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. The <a class="link" href="glib-Hash-Tables.html#g-direct-equal" title="g_direct_equal ()"><code class="function">g_direct_equal()</code></a>,
|
205
|
+
<a class="link" href="glib-Hash-Tables.html#g-int-equal" title="g_int_equal ()"><code class="function">g_int_equal()</code></a>, <a class="link" href="glib-Hash-Tables.html#g-int64-equal" title="g_int64_equal ()"><code class="function">g_int64_equal()</code></a>, <a class="link" href="glib-Hash-Tables.html#g-double-equal" title="g_double_equal ()"><code class="function">g_double_equal()</code></a> and <a class="link" href="glib-Hash-Tables.html#g-str-equal" title="g_str_equal ()"><code class="function">g_str_equal()</code></a>
|
206
|
+
functions are provided for the most common types of keys.
|
207
|
+
If <em class="parameter"><code>key_equal_func</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, keys are compared directly in a similar
|
208
|
+
fashion to <a class="link" href="glib-Hash-Tables.html#g-direct-equal" title="g_direct_equal ()"><code class="function">g_direct_equal()</code></a>, but without the overhead of a function call.</td>
|
211
209
|
</tr>
|
212
210
|
<tr>
|
213
211
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
214
|
-
<td>
|
215
|
-
</td>
|
212
|
+
<td>a new <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
216
213
|
</tr>
|
217
214
|
</tbody>
|
218
215
|
</table></div>
|
219
216
|
</div>
|
220
217
|
<hr>
|
221
|
-
<div class="refsect2"
|
218
|
+
<div class="refsect2">
|
222
219
|
<a name="g-hash-table-new-full"></a><h3>g_hash_table_new_full ()</h3>
|
223
|
-
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
220
|
+
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * g_hash_table_new_full (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashFunc" title="GHashFunc ()"><span class="type">GHashFunc</span></a> hash_func</code></em>,
|
224
221
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GEqualFunc" title="GEqualFunc ()"><span class="type">GEqualFunc</span></a> key_equal_func</code></em>,
|
225
222
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> key_destroy_func</code></em>,
|
226
223
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> value_destroy_func</code></em>);</pre>
|
@@ -234,38 +231,33 @@ key and value that get called when removing the entry from the <a class="link" h
|
|
234
231
|
<tbody>
|
235
232
|
<tr>
|
236
233
|
<td><p><span class="term"><em class="parameter"><code>hash_func</code></em> :</span></p></td>
|
237
|
-
<td>a function to create a hash value from a key
|
238
|
-
</td>
|
234
|
+
<td>a function to create a hash value from a key.</td>
|
239
235
|
</tr>
|
240
236
|
<tr>
|
241
237
|
<td><p><span class="term"><em class="parameter"><code>key_equal_func</code></em> :</span></p></td>
|
242
|
-
<td>a function to check two keys for equality
|
243
|
-
</td>
|
238
|
+
<td>a function to check two keys for equality.</td>
|
244
239
|
</tr>
|
245
240
|
<tr>
|
246
241
|
<td><p><span class="term"><em class="parameter"><code>key_destroy_func</code></em> :</span></p></td>
|
247
242
|
<td>a function to free the memory allocated for the key
|
248
|
-
|
249
|
-
|
250
|
-
</td>
|
243
|
+
used when removing the entry from the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you
|
244
|
+
don't want to supply such a function.</td>
|
251
245
|
</tr>
|
252
246
|
<tr>
|
253
247
|
<td><p><span class="term"><em class="parameter"><code>value_destroy_func</code></em> :</span></p></td>
|
254
248
|
<td>a function to free the memory allocated for the
|
255
|
-
|
256
|
-
|
257
|
-
</td>
|
249
|
+
value used when removing the entry from the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if
|
250
|
+
you don't want to supply such a function.</td>
|
258
251
|
</tr>
|
259
252
|
<tr>
|
260
253
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
261
|
-
<td>
|
262
|
-
</td>
|
254
|
+
<td>a new <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
263
255
|
</tr>
|
264
256
|
</tbody>
|
265
257
|
</table></div>
|
266
258
|
</div>
|
267
259
|
<hr>
|
268
|
-
<div class="refsect2"
|
260
|
+
<div class="refsect2">
|
269
261
|
<a name="GHashFunc"></a><h3>GHashFunc ()</h3>
|
270
262
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> (*GHashFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> key</code></em>);</pre>
|
271
263
|
<p>
|
@@ -290,19 +282,17 @@ for each key lookup.
|
|
290
282
|
<tbody>
|
291
283
|
<tr>
|
292
284
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
293
|
-
<td>a key
|
294
|
-
</td>
|
285
|
+
<td>a key.</td>
|
295
286
|
</tr>
|
296
287
|
<tr>
|
297
288
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
298
|
-
<td>the hash value corresponding to the key
|
299
|
-
</td>
|
289
|
+
<td>the hash value corresponding to the key.</td>
|
300
290
|
</tr>
|
301
291
|
</tbody>
|
302
292
|
</table></div>
|
303
293
|
</div>
|
304
294
|
<hr>
|
305
|
-
<div class="refsect2"
|
295
|
+
<div class="refsect2">
|
306
296
|
<a name="GEqualFunc"></a><h3>GEqualFunc ()</h3>
|
307
297
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GEqualFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
308
298
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>);</pre>
|
@@ -316,25 +306,22 @@ and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><c
|
|
316
306
|
<tbody>
|
317
307
|
<tr>
|
318
308
|
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
319
|
-
<td>a value
|
320
|
-
</td>
|
309
|
+
<td>a value.</td>
|
321
310
|
</tr>
|
322
311
|
<tr>
|
323
312
|
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
|
324
|
-
<td>a value to compare with
|
325
|
-
</td>
|
313
|
+
<td>a value to compare with.</td>
|
326
314
|
</tr>
|
327
315
|
<tr>
|
328
316
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
329
317
|
<td>
|
330
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>a</code></em> = <em class="parameter"><code>b</code></em>; <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
331
|
-
</td>
|
318
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>a</code></em> = <em class="parameter"><code>b</code></em>; <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.</td>
|
332
319
|
</tr>
|
333
320
|
</tbody>
|
334
321
|
</table></div>
|
335
322
|
</div>
|
336
323
|
<hr>
|
337
|
-
<div class="refsect2"
|
324
|
+
<div class="refsect2">
|
338
325
|
<a name="g-hash-table-insert"></a><h3>g_hash_table_insert ()</h3>
|
339
326
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_insert (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
340
327
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>,
|
@@ -354,24 +341,21 @@ using that function.
|
|
354
341
|
<tbody>
|
355
342
|
<tr>
|
356
343
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
357
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
358
|
-
</td>
|
344
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
359
345
|
</tr>
|
360
346
|
<tr>
|
361
347
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
362
|
-
<td>a key to insert
|
363
|
-
</td>
|
348
|
+
<td>a key to insert.</td>
|
364
349
|
</tr>
|
365
350
|
<tr>
|
366
351
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
367
|
-
<td>the value to associate with the key
|
368
|
-
</td>
|
352
|
+
<td>the value to associate with the key.</td>
|
369
353
|
</tr>
|
370
354
|
</tbody>
|
371
355
|
</table></div>
|
372
356
|
</div>
|
373
357
|
<hr>
|
374
|
-
<div class="refsect2"
|
358
|
+
<div class="refsect2">
|
375
359
|
<a name="g-hash-table-replace"></a><h3>g_hash_table_replace ()</h3>
|
376
360
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_replace (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
377
361
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>,
|
@@ -389,24 +373,21 @@ using that function. If you supplied a <em class="parameter"><code>key_destroy_f
|
|
389
373
|
<tbody>
|
390
374
|
<tr>
|
391
375
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
392
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
393
|
-
</td>
|
376
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
394
377
|
</tr>
|
395
378
|
<tr>
|
396
379
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
397
|
-
<td>a key to insert
|
398
|
-
</td>
|
380
|
+
<td>a key to insert.</td>
|
399
381
|
</tr>
|
400
382
|
<tr>
|
401
383
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
402
|
-
<td>the value to associate with the key
|
403
|
-
</td>
|
384
|
+
<td>the value to associate with the key.</td>
|
404
385
|
</tr>
|
405
386
|
</tbody>
|
406
387
|
</table></div>
|
407
388
|
</div>
|
408
389
|
<hr>
|
409
|
-
<div class="refsect2"
|
390
|
+
<div class="refsect2">
|
410
391
|
<a name="g-hash-table-size"></a><h3>g_hash_table_size ()</h3>
|
411
392
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_hash_table_size (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
412
393
|
<p>
|
@@ -417,19 +398,17 @@ Returns the number of elements contained in the <a class="link" href="glib-Hash-
|
|
417
398
|
<tbody>
|
418
399
|
<tr>
|
419
400
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
420
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
421
|
-
</td>
|
401
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
422
402
|
</tr>
|
423
403
|
<tr>
|
424
404
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
425
|
-
<td>
|
426
|
-
</td>
|
405
|
+
<td>the number of key/value pairs in the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
427
406
|
</tr>
|
428
407
|
</tbody>
|
429
408
|
</table></div>
|
430
409
|
</div>
|
431
410
|
<hr>
|
432
|
-
<div class="refsect2"
|
411
|
+
<div class="refsect2">
|
433
412
|
<a name="g-hash-table-lookup"></a><h3>g_hash_table_lookup ()</h3>
|
434
413
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_hash_table_lookup (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
435
414
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> key</code></em>);</pre>
|
@@ -444,24 +423,21 @@ and has the value <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" tit
|
|
444
423
|
<tbody>
|
445
424
|
<tr>
|
446
425
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
447
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
448
|
-
</td>
|
426
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
449
427
|
</tr>
|
450
428
|
<tr>
|
451
429
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
452
|
-
<td>the key to look up
|
453
|
-
</td>
|
430
|
+
<td>the key to look up.</td>
|
454
431
|
</tr>
|
455
432
|
<tr>
|
456
433
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
457
|
-
<td>
|
458
|
-
</td>
|
434
|
+
<td>the associated value, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the key is not found.</td>
|
459
435
|
</tr>
|
460
436
|
</tbody>
|
461
437
|
</table></div>
|
462
438
|
</div>
|
463
439
|
<hr>
|
464
|
-
<div class="refsect2"
|
440
|
+
<div class="refsect2">
|
465
441
|
<a name="g-hash-table-lookup-extended"></a><h3>g_hash_table_lookup_extended ()</h3>
|
466
442
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_hash_table_lookup_extended (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
467
443
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> lookup_key</code></em>,
|
@@ -487,8 +463,7 @@ whether the <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NU
|
|
487
463
|
</tr>
|
488
464
|
<tr>
|
489
465
|
<td><p><span class="term"><em class="parameter"><code>lookup_key</code></em> :</span></p></td>
|
490
|
-
<td>the key to look up
|
491
|
-
</td>
|
466
|
+
<td>the key to look up</td>
|
492
467
|
</tr>
|
493
468
|
<tr>
|
494
469
|
<td><p><span class="term"><em class="parameter"><code>orig_key</code></em> :</span></p></td>
|
@@ -502,14 +477,14 @@ whether the <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NU
|
|
502
477
|
</tr>
|
503
478
|
<tr>
|
504
479
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
505
|
-
<td>
|
506
|
-
</td>
|
480
|
+
<td>
|
481
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key was found in the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
507
482
|
</tr>
|
508
483
|
</tbody>
|
509
484
|
</table></div>
|
510
485
|
</div>
|
511
486
|
<hr>
|
512
|
-
<div class="refsect2"
|
487
|
+
<div class="refsect2">
|
513
488
|
<a name="g-hash-table-foreach"></a><h3>g_hash_table_foreach ()</h3>
|
514
489
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_foreach (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
515
490
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHFunc" title="GHFunc ()"><span class="type">GHFunc</span></a> func</code></em>,
|
@@ -531,24 +506,21 @@ order searches in contrast to <a class="link" href="glib-Hash-Tables.html#g-hash
|
|
531
506
|
<tbody>
|
532
507
|
<tr>
|
533
508
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
534
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
535
|
-
</td>
|
509
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
536
510
|
</tr>
|
537
511
|
<tr>
|
538
512
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
539
|
-
<td>the function to call for each key/value pair
|
540
|
-
</td>
|
513
|
+
<td>the function to call for each key/value pair.</td>
|
541
514
|
</tr>
|
542
515
|
<tr>
|
543
516
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
544
|
-
<td>user data to pass to the function
|
545
|
-
</td>
|
517
|
+
<td>user data to pass to the function.</td>
|
546
518
|
</tr>
|
547
519
|
</tbody>
|
548
520
|
</table></div>
|
549
521
|
</div>
|
550
522
|
<hr>
|
551
|
-
<div class="refsect2"
|
523
|
+
<div class="refsect2">
|
552
524
|
<a name="g-hash-table-find"></a><h3>g_hash_table_find ()</h3>
|
553
525
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_hash_table_find (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
554
526
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHRFunc" title="GHRFunc ()"><span class="type">GHRFunc</span></a> predicate</code></em>,
|
@@ -574,33 +546,28 @@ operations).
|
|
574
546
|
<tbody>
|
575
547
|
<tr>
|
576
548
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
577
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
578
|
-
</td>
|
549
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
579
550
|
</tr>
|
580
551
|
<tr>
|
581
552
|
<td><p><span class="term"><em class="parameter"><code>predicate</code></em> :</span></p></td>
|
582
|
-
<td>function to test the key/value pairs for a certain property
|
583
|
-
</td>
|
553
|
+
<td>function to test the key/value pairs for a certain property.</td>
|
584
554
|
</tr>
|
585
555
|
<tr>
|
586
556
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
587
|
-
<td>user data to pass to the function
|
588
|
-
</td>
|
557
|
+
<td>user data to pass to the function.</td>
|
589
558
|
</tr>
|
590
559
|
<tr>
|
591
560
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
592
|
-
<td>
|
561
|
+
<td>The value of the first key/value pair is returned, for which
|
593
562
|
func evaluates to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. If no pair with the requested property is found,
|
594
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
595
|
-
|
596
|
-
</td>
|
563
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.</td>
|
597
564
|
</tr>
|
598
565
|
</tbody>
|
599
566
|
</table></div>
|
600
567
|
<p class="since">Since 2.4</p>
|
601
568
|
</div>
|
602
569
|
<hr>
|
603
|
-
<div class="refsect2"
|
570
|
+
<div class="refsect2">
|
604
571
|
<a name="GHFunc"></a><h3>GHFunc ()</h3>
|
605
572
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GHFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>,
|
606
573
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>,
|
@@ -615,24 +582,21 @@ parameter which is passed to <a class="link" href="glib-Hash-Tables.html#g-hash-
|
|
615
582
|
<tbody>
|
616
583
|
<tr>
|
617
584
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
618
|
-
<td>a key
|
619
|
-
</td>
|
585
|
+
<td>a key.</td>
|
620
586
|
</tr>
|
621
587
|
<tr>
|
622
588
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
623
|
-
<td>the value corresponding to the key
|
624
|
-
</td>
|
589
|
+
<td>the value corresponding to the key.</td>
|
625
590
|
</tr>
|
626
591
|
<tr>
|
627
592
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
628
|
-
<td>user data passed to <a class="link" href="glib-Hash-Tables.html#g-hash-table-foreach" title="g_hash_table_foreach ()"><code class="function">g_hash_table_foreach()</code></a
|
629
|
-
</td>
|
593
|
+
<td>user data passed to <a class="link" href="glib-Hash-Tables.html#g-hash-table-foreach" title="g_hash_table_foreach ()"><code class="function">g_hash_table_foreach()</code></a>.</td>
|
630
594
|
</tr>
|
631
595
|
</tbody>
|
632
596
|
</table></div>
|
633
597
|
</div>
|
634
598
|
<hr>
|
635
|
-
<div class="refsect2"
|
599
|
+
<div class="refsect2">
|
636
600
|
<a name="g-hash-table-remove"></a><h3>g_hash_table_remove ()</h3>
|
637
601
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_hash_table_remove (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
638
602
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> key</code></em>);</pre>
|
@@ -650,24 +614,22 @@ yourself.
|
|
650
614
|
<tbody>
|
651
615
|
<tr>
|
652
616
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
653
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
654
|
-
</td>
|
617
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
655
618
|
</tr>
|
656
619
|
<tr>
|
657
620
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
658
|
-
<td>the key to remove
|
659
|
-
</td>
|
621
|
+
<td>the key to remove.</td>
|
660
622
|
</tr>
|
661
623
|
<tr>
|
662
624
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
663
|
-
<td>
|
664
|
-
</td>
|
625
|
+
<td>
|
626
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key was found and removed from the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
665
627
|
</tr>
|
666
628
|
</tbody>
|
667
629
|
</table></div>
|
668
630
|
</div>
|
669
631
|
<hr>
|
670
|
-
<div class="refsect2"
|
632
|
+
<div class="refsect2">
|
671
633
|
<a name="g-hash-table-steal"></a><h3>g_hash_table_steal ()</h3>
|
672
634
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_hash_table_steal (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
673
635
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> key</code></em>);</pre>
|
@@ -680,24 +642,22 @@ calling the key and value destroy functions.
|
|
680
642
|
<tbody>
|
681
643
|
<tr>
|
682
644
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
683
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
684
|
-
</td>
|
645
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
685
646
|
</tr>
|
686
647
|
<tr>
|
687
648
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
688
|
-
<td>the key to remove
|
689
|
-
</td>
|
649
|
+
<td>the key to remove.</td>
|
690
650
|
</tr>
|
691
651
|
<tr>
|
692
652
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
693
|
-
<td>
|
694
|
-
</td>
|
653
|
+
<td>
|
654
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key was found and removed from the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
695
655
|
</tr>
|
696
656
|
</tbody>
|
697
657
|
</table></div>
|
698
658
|
</div>
|
699
659
|
<hr>
|
700
|
-
<div class="refsect2"
|
660
|
+
<div class="refsect2">
|
701
661
|
<a name="g-hash-table-foreach-remove"></a><h3>g_hash_table_foreach_remove ()</h3>
|
702
662
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_hash_table_foreach_remove (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
703
663
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHRFunc" title="GHRFunc ()"><span class="type">GHRFunc</span></a> func</code></em>,
|
@@ -710,7 +670,7 @@ the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><
|
|
710
670
|
keys and values.
|
711
671
|
</p>
|
712
672
|
<p>
|
713
|
-
See <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> for an alternative way to loop over the
|
673
|
+
See <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> for an alternative way to loop over the
|
714
674
|
key/value pairs in the hash table.
|
715
675
|
</p>
|
716
676
|
<div class="variablelist"><table border="0">
|
@@ -718,29 +678,25 @@ key/value pairs in the hash table.
|
|
718
678
|
<tbody>
|
719
679
|
<tr>
|
720
680
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
721
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
722
|
-
</td>
|
681
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
723
682
|
</tr>
|
724
683
|
<tr>
|
725
684
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
726
|
-
<td>the function to call for each key/value pair
|
727
|
-
</td>
|
685
|
+
<td>the function to call for each key/value pair.</td>
|
728
686
|
</tr>
|
729
687
|
<tr>
|
730
688
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
731
|
-
<td>user data to pass to the function
|
732
|
-
</td>
|
689
|
+
<td>user data to pass to the function.</td>
|
733
690
|
</tr>
|
734
691
|
<tr>
|
735
692
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
736
|
-
<td>
|
737
|
-
</td>
|
693
|
+
<td>the number of key/value pairs removed.</td>
|
738
694
|
</tr>
|
739
695
|
</tbody>
|
740
696
|
</table></div>
|
741
697
|
</div>
|
742
698
|
<hr>
|
743
|
-
<div class="refsect2"
|
699
|
+
<div class="refsect2">
|
744
700
|
<a name="g-hash-table-foreach-steal"></a><h3>g_hash_table_foreach_steal ()</h3>
|
745
701
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_hash_table_foreach_steal (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>,
|
746
702
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHRFunc" title="GHRFunc ()"><span class="type">GHRFunc</span></a> func</code></em>,
|
@@ -751,7 +707,7 @@ If the function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAP
|
|
751
707
|
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>, but no key or value destroy functions are called.
|
752
708
|
</p>
|
753
709
|
<p>
|
754
|
-
See <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> for an alternative way to loop over the
|
710
|
+
See <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> for an alternative way to loop over the
|
755
711
|
key/value pairs in the hash table.
|
756
712
|
</p>
|
757
713
|
<div class="variablelist"><table border="0">
|
@@ -759,29 +715,25 @@ key/value pairs in the hash table.
|
|
759
715
|
<tbody>
|
760
716
|
<tr>
|
761
717
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
762
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
763
|
-
</td>
|
718
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
764
719
|
</tr>
|
765
720
|
<tr>
|
766
721
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
767
|
-
<td>the function to call for each key/value pair
|
768
|
-
</td>
|
722
|
+
<td>the function to call for each key/value pair.</td>
|
769
723
|
</tr>
|
770
724
|
<tr>
|
771
725
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
772
|
-
<td>user data to pass to the function
|
773
|
-
</td>
|
726
|
+
<td>user data to pass to the function.</td>
|
774
727
|
</tr>
|
775
728
|
<tr>
|
776
729
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
777
|
-
<td>
|
778
|
-
</td>
|
730
|
+
<td>the number of key/value pairs removed.</td>
|
779
731
|
</tr>
|
780
732
|
</tbody>
|
781
733
|
</table></div>
|
782
734
|
</div>
|
783
735
|
<hr>
|
784
|
-
<div class="refsect2"
|
736
|
+
<div class="refsect2">
|
785
737
|
<a name="g-hash-table-remove-all"></a><h3>g_hash_table_remove_all ()</h3>
|
786
738
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_remove_all (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
787
739
|
<p>
|
@@ -804,7 +756,7 @@ yourself.
|
|
804
756
|
<p class="since">Since 2.12</p>
|
805
757
|
</div>
|
806
758
|
<hr>
|
807
|
-
<div class="refsect2"
|
759
|
+
<div class="refsect2">
|
808
760
|
<a name="g-hash-table-steal-all"></a><h3>g_hash_table_steal_all ()</h3>
|
809
761
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_steal_all (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
810
762
|
<p>
|
@@ -815,16 +767,15 @@ without calling the key and value destroy functions.
|
|
815
767
|
<col align="left" valign="top">
|
816
768
|
<tbody><tr>
|
817
769
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
818
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
819
|
-
</td>
|
770
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
820
771
|
</tr></tbody>
|
821
772
|
</table></div>
|
822
773
|
<p class="since">Since 2.12</p>
|
823
774
|
</div>
|
824
775
|
<hr>
|
825
|
-
<div class="refsect2"
|
776
|
+
<div class="refsect2">
|
826
777
|
<a name="g-hash-table-get-keys"></a><h3>g_hash_table_get_keys ()</h3>
|
827
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a> * g_hash_table_get_keys (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
778
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_hash_table_get_keys (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
828
779
|
<p>
|
829
780
|
Retrieves every key inside <em class="parameter"><code>hash_table</code></em>. The returned data is valid
|
830
781
|
until <em class="parameter"><code>hash_table</code></em> is modified.
|
@@ -839,21 +790,19 @@ until <em class="parameter"><code>hash_table</code></em> is modified.
|
|
839
790
|
</tr>
|
840
791
|
<tr>
|
841
792
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
842
|
-
<td>
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
</td>
|
793
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> containing all the keys inside the hash
|
794
|
+
table. The content of the list is owned by the hash table and
|
795
|
+
should not be modified or freed. Use <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free" title="g_list_free ()"><code class="function">g_list_free()</code></a> when done
|
796
|
+
using the list.</td>
|
848
797
|
</tr>
|
849
798
|
</tbody>
|
850
799
|
</table></div>
|
851
800
|
<p class="since">Since 2.14</p>
|
852
801
|
</div>
|
853
802
|
<hr>
|
854
|
-
<div class="refsect2"
|
803
|
+
<div class="refsect2">
|
855
804
|
<a name="g-hash-table-get-values"></a><h3>g_hash_table_get_values ()</h3>
|
856
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a> * g_hash_table_get_values (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
805
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_hash_table_get_values (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
857
806
|
<p>
|
858
807
|
Retrieves every value inside <em class="parameter"><code>hash_table</code></em>. The returned data is
|
859
808
|
valid until <em class="parameter"><code>hash_table</code></em> is modified.
|
@@ -868,19 +817,17 @@ valid until <em class="parameter"><code>hash_table</code></em> is modified.
|
|
868
817
|
</tr>
|
869
818
|
<tr>
|
870
819
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
871
|
-
<td>
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
</td>
|
820
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> containing all the values inside the hash
|
821
|
+
table. The content of the list is owned by the hash table and
|
822
|
+
should not be modified or freed. Use <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free" title="g_list_free ()"><code class="function">g_list_free()</code></a> when done
|
823
|
+
using the list.</td>
|
877
824
|
</tr>
|
878
825
|
</tbody>
|
879
826
|
</table></div>
|
880
827
|
<p class="since">Since 2.14</p>
|
881
828
|
</div>
|
882
829
|
<hr>
|
883
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
884
831
|
<a name="GHRFunc"></a><h3>GHRFunc ()</h3>
|
885
832
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GHRFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</code></em>,
|
886
833
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>,
|
@@ -897,34 +844,30 @@ key/value pair should be removed from the <a class="link" href="glib-Hash-Tables
|
|
897
844
|
<tbody>
|
898
845
|
<tr>
|
899
846
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
900
|
-
<td>a key
|
901
|
-
</td>
|
847
|
+
<td>a key.</td>
|
902
848
|
</tr>
|
903
849
|
<tr>
|
904
850
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
905
|
-
<td>the value associated with the key
|
906
|
-
</td>
|
851
|
+
<td>the value associated with the key.</td>
|
907
852
|
</tr>
|
908
853
|
<tr>
|
909
854
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
910
|
-
<td>user data passed to <a class="link" href="glib-Hash-Tables.html#g-hash-table-remove" title="g_hash_table_remove ()"><code class="function">g_hash_table_remove()</code></a
|
911
|
-
</td>
|
855
|
+
<td>user data passed to <a class="link" href="glib-Hash-Tables.html#g-hash-table-remove" title="g_hash_table_remove ()"><code class="function">g_hash_table_remove()</code></a>.</td>
|
912
856
|
</tr>
|
913
857
|
<tr>
|
914
858
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
915
859
|
<td>
|
916
860
|
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key/value pair should be removed from the
|
917
|
-
|
918
|
-
</td>
|
861
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
919
862
|
</tr>
|
920
863
|
</tbody>
|
921
864
|
</table></div>
|
922
865
|
</div>
|
923
866
|
<hr>
|
924
|
-
<div class="refsect2"
|
867
|
+
<div class="refsect2">
|
925
868
|
<a name="g-hash-table-freeze"></a><h3>g_hash_table_freeze()</h3>
|
926
869
|
<pre class="programlisting">#define g_hash_table_freeze(hash_table)</pre>
|
927
|
-
<div class="warning"
|
870
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
928
871
|
<h3 class="title">Warning</h3>
|
929
872
|
<p><code class="literal">g_hash_table_freeze</code> is deprecated and should not be used in newly-written code.</p>
|
930
873
|
</div>
|
@@ -942,10 +885,10 @@ release of GLib. It does nothing.
|
|
942
885
|
</table></div>
|
943
886
|
</div>
|
944
887
|
<hr>
|
945
|
-
<div class="refsect2"
|
888
|
+
<div class="refsect2">
|
946
889
|
<a name="g-hash-table-thaw"></a><h3>g_hash_table_thaw()</h3>
|
947
890
|
<pre class="programlisting">#define g_hash_table_thaw(hash_table)</pre>
|
948
|
-
<div class="warning"
|
891
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
949
892
|
<h3 class="title">Warning</h3>
|
950
893
|
<p><code class="literal">g_hash_table_thaw</code> is deprecated and should not be used in newly-written code.</p>
|
951
894
|
</div>
|
@@ -963,7 +906,7 @@ release of GLib. It does nothing.
|
|
963
906
|
</table></div>
|
964
907
|
</div>
|
965
908
|
<hr>
|
966
|
-
<div class="refsect2"
|
909
|
+
<div class="refsect2">
|
967
910
|
<a name="g-hash-table-destroy"></a><h3>g_hash_table_destroy ()</h3>
|
968
911
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_destroy (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
969
912
|
<p>
|
@@ -978,15 +921,14 @@ destruction phase.
|
|
978
921
|
<col align="left" valign="top">
|
979
922
|
<tbody><tr>
|
980
923
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
981
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
982
|
-
</td>
|
924
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
983
925
|
</tr></tbody>
|
984
926
|
</table></div>
|
985
927
|
</div>
|
986
928
|
<hr>
|
987
|
-
<div class="refsect2"
|
929
|
+
<div class="refsect2">
|
988
930
|
<a name="g-hash-table-ref"></a><h3>g_hash_table_ref ()</h3>
|
989
|
-
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
931
|
+
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * g_hash_table_ref (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
990
932
|
<p>
|
991
933
|
Atomically increments the reference count of <em class="parameter"><code>hash_table</code></em> by one.
|
992
934
|
This function is MT-safe and may be called from any thread.
|
@@ -996,21 +938,18 @@ This function is MT-safe and may be called from any thread.
|
|
996
938
|
<tbody>
|
997
939
|
<tr>
|
998
940
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
999
|
-
<td>a valid <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
1000
|
-
</td>
|
941
|
+
<td>a valid <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
1001
942
|
</tr>
|
1002
943
|
<tr>
|
1003
944
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1004
|
-
<td>
|
1005
|
-
|
1006
|
-
</td>
|
945
|
+
<td>the passed in <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
1007
946
|
</tr>
|
1008
947
|
</tbody>
|
1009
948
|
</table></div>
|
1010
949
|
<p class="since">Since 2.10</p>
|
1011
950
|
</div>
|
1012
951
|
<hr>
|
1013
|
-
<div class="refsect2"
|
952
|
+
<div class="refsect2">
|
1014
953
|
<a name="g-hash-table-unref"></a><h3>g_hash_table_unref ()</h3>
|
1015
954
|
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_unref (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
1016
955
|
<p>
|
@@ -1023,17 +962,16 @@ This function is MT-safe and may be called from any thread.
|
|
1023
962
|
<col align="left" valign="top">
|
1024
963
|
<tbody><tr>
|
1025
964
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
1026
|
-
<td>a valid <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
1027
|
-
</td>
|
965
|
+
<td>a valid <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
1028
966
|
</tr></tbody>
|
1029
967
|
</table></div>
|
1030
968
|
<p class="since">Since 2.10</p>
|
1031
969
|
</div>
|
1032
970
|
<hr>
|
1033
|
-
<div class="refsect2"
|
1034
|
-
<a name="GHashTableIter"></a><h3>GHashTableIter</h3>
|
1035
|
-
<pre class="programlisting">
|
1036
|
-
}
|
971
|
+
<div class="refsect2">
|
972
|
+
<a name="GHashTableIter"></a><h3>struct GHashTableIter</h3>
|
973
|
+
<pre class="programlisting">struct GHashTableIter {
|
974
|
+
};
|
1037
975
|
</pre>
|
1038
976
|
<p>
|
1039
977
|
A GHashTableIter structure represents an iterator that can be used
|
@@ -1043,9 +981,9 @@ with <a class="link" href="glib-Hash-Tables.html#g-hash-table-iter-init" title="
|
|
1043
981
|
</p>
|
1044
982
|
</div>
|
1045
983
|
<hr>
|
1046
|
-
<div class="refsect2"
|
984
|
+
<div class="refsect2">
|
1047
985
|
<a name="g-hash-table-iter-init"></a><h3>g_hash_table_iter_init ()</h3>
|
1048
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_init (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
986
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_init (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
1049
987
|
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *hash_table</code></em>);</pre>
|
1050
988
|
<p>
|
1051
989
|
Initializes a key/value pair iterator and associates it with
|
@@ -1084,22 +1022,20 @@ invalidates the returned iterator.
|
|
1084
1022
|
<tbody>
|
1085
1023
|
<tr>
|
1086
1024
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1087
|
-
<td>an uninitialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a
|
1088
|
-
</td>
|
1025
|
+
<td>an uninitialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.</td>
|
1089
1026
|
</tr>
|
1090
1027
|
<tr>
|
1091
1028
|
<td><p><span class="term"><em class="parameter"><code>hash_table</code></em> :</span></p></td>
|
1092
|
-
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a
|
1093
|
-
</td>
|
1029
|
+
<td>a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.</td>
|
1094
1030
|
</tr>
|
1095
1031
|
</tbody>
|
1096
1032
|
</table></div>
|
1097
1033
|
<p class="since">Since 2.16</p>
|
1098
1034
|
</div>
|
1099
1035
|
<hr>
|
1100
|
-
<div class="refsect2"
|
1036
|
+
<div class="refsect2">
|
1101
1037
|
<a name="g-hash-table-iter-next"></a><h3>g_hash_table_iter_next ()</h3>
|
1102
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_hash_table_iter_next (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
1038
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_hash_table_iter_next (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>,
|
1103
1039
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *key</code></em>,
|
1104
1040
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *value</code></em>);</pre>
|
1105
1041
|
<p>
|
@@ -1112,33 +1048,29 @@ pointed to as a result of this advancement. If <a class="link" href="glib-Standa
|
|
1112
1048
|
<tbody>
|
1113
1049
|
<tr>
|
1114
1050
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1115
|
-
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a
|
1116
|
-
</td>
|
1051
|
+
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.</td>
|
1117
1052
|
</tr>
|
1118
1053
|
<tr>
|
1119
1054
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1120
|
-
<td>a location to store the key, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a
|
1121
|
-
</td>
|
1055
|
+
<td>a location to store the key, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
1122
1056
|
</tr>
|
1123
1057
|
<tr>
|
1124
1058
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1125
|
-
<td>a location to store the value, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a
|
1126
|
-
</td>
|
1059
|
+
<td>a location to store the value, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
1127
1060
|
</tr>
|
1128
1061
|
<tr>
|
1129
1062
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1130
|
-
<td>
|
1131
|
-
|
1132
|
-
</td>
|
1063
|
+
<td>
|
1064
|
+
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the end of the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> has been reached.</td>
|
1133
1065
|
</tr>
|
1134
1066
|
</tbody>
|
1135
1067
|
</table></div>
|
1136
1068
|
<p class="since">Since 2.16</p>
|
1137
1069
|
</div>
|
1138
1070
|
<hr>
|
1139
|
-
<div class="refsect2"
|
1071
|
+
<div class="refsect2">
|
1140
1072
|
<a name="g-hash-table-iter-get-hash-table"></a><h3>g_hash_table_iter_get_hash_table ()</h3>
|
1141
|
-
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a
|
1073
|
+
<pre class="programlisting"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="returnvalue">GHashTable</span></a> * g_hash_table_iter_get_hash_table (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
|
1142
1074
|
<p>
|
1143
1075
|
Returns the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> associated with <em class="parameter"><code>iter</code></em>.
|
1144
1076
|
</p>
|
@@ -1147,23 +1079,20 @@ Returns the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHash
|
|
1147
1079
|
<tbody>
|
1148
1080
|
<tr>
|
1149
1081
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1150
|
-
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a
|
1151
|
-
</td>
|
1082
|
+
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.</td>
|
1152
1083
|
</tr>
|
1153
1084
|
<tr>
|
1154
1085
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1155
|
-
<td>
|
1156
|
-
|
1157
|
-
</td>
|
1086
|
+
<td>the <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> associated with <em class="parameter"><code>iter</code></em>.</td>
|
1158
1087
|
</tr>
|
1159
1088
|
</tbody>
|
1160
1089
|
</table></div>
|
1161
1090
|
<p class="since">Since 2.16</p>
|
1162
1091
|
</div>
|
1163
1092
|
<hr>
|
1164
|
-
<div class="refsect2"
|
1093
|
+
<div class="refsect2">
|
1165
1094
|
<a name="g-hash-table-iter-remove"></a><h3>g_hash_table_iter_remove ()</h3>
|
1166
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_remove (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
|
1095
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_remove (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
|
1167
1096
|
<p>
|
1168
1097
|
Removes the key/value pair currently pointed to by the iterator
|
1169
1098
|
from its associated <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. Can only be called after
|
@@ -1180,16 +1109,15 @@ yourself.
|
|
1180
1109
|
<col align="left" valign="top">
|
1181
1110
|
<tbody><tr>
|
1182
1111
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1183
|
-
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a
|
1184
|
-
</td>
|
1112
|
+
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.</td>
|
1185
1113
|
</tr></tbody>
|
1186
1114
|
</table></div>
|
1187
1115
|
<p class="since">Since 2.16</p>
|
1188
1116
|
</div>
|
1189
1117
|
<hr>
|
1190
|
-
<div class="refsect2"
|
1118
|
+
<div class="refsect2">
|
1191
1119
|
<a name="g-hash-table-iter-steal"></a><h3>g_hash_table_iter_steal ()</h3>
|
1192
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_steal (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
|
1120
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_hash_table_iter_steal (<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
|
1193
1121
|
<p>
|
1194
1122
|
Removes the key/value pair currently pointed to by the iterator
|
1195
1123
|
from its associated <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>, without calling the key and value
|
@@ -1201,14 +1129,13 @@ than once for the same key/value pair.
|
|
1201
1129
|
<col align="left" valign="top">
|
1202
1130
|
<tbody><tr>
|
1203
1131
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1204
|
-
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="GHashTableIter"><span class="type">GHashTableIter</span></a
|
1205
|
-
</td>
|
1132
|
+
<td>an initialized <a class="link" href="glib-Hash-Tables.html#GHashTableIter" title="struct GHashTableIter"><span class="type">GHashTableIter</span></a>.</td>
|
1206
1133
|
</tr></tbody>
|
1207
1134
|
</table></div>
|
1208
1135
|
<p class="since">Since 2.16</p>
|
1209
1136
|
</div>
|
1210
1137
|
<hr>
|
1211
|
-
<div class="refsect2"
|
1138
|
+
<div class="refsect2">
|
1212
1139
|
<a name="g-direct-equal"></a><h3>g_direct_equal ()</h3>
|
1213
1140
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_direct_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
1214
1141
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);</pre>
|
@@ -1222,24 +1149,22 @@ parameter, when using pointers as keys in a <a class="link" href="glib-Hash-Tabl
|
|
1222
1149
|
<tbody>
|
1223
1150
|
<tr>
|
1224
1151
|
<td><p><span class="term"><em class="parameter"><code>v1</code></em> :</span></p></td>
|
1225
|
-
<td>a key
|
1226
|
-
</td>
|
1152
|
+
<td>a key.</td>
|
1227
1153
|
</tr>
|
1228
1154
|
<tr>
|
1229
1155
|
<td><p><span class="term"><em class="parameter"><code>v2</code></em> :</span></p></td>
|
1230
|
-
<td>a key to compare with <em class="parameter"><code>v1</code></em
|
1231
|
-
</td>
|
1156
|
+
<td>a key to compare with <em class="parameter"><code>v1</code></em>.</td>
|
1232
1157
|
</tr>
|
1233
1158
|
<tr>
|
1234
1159
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1235
|
-
<td>
|
1236
|
-
</td>
|
1160
|
+
<td>
|
1161
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the two keys match.</td>
|
1237
1162
|
</tr>
|
1238
1163
|
</tbody>
|
1239
1164
|
</table></div>
|
1240
1165
|
</div>
|
1241
1166
|
<hr>
|
1242
|
-
<div class="refsect2"
|
1167
|
+
<div class="refsect2">
|
1243
1168
|
<a name="g-direct-hash"></a><h3>g_direct_hash ()</h3>
|
1244
1169
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_direct_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);</pre>
|
1245
1170
|
<p>
|
@@ -1252,19 +1177,17 @@ when using pointers as keys in a <a class="link" href="glib-Hash-Tables.html#GHa
|
|
1252
1177
|
<tbody>
|
1253
1178
|
<tr>
|
1254
1179
|
<td><p><span class="term"><em class="parameter"><code>v</code></em> :</span></p></td>
|
1255
|
-
<td>a <a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key
|
1256
|
-
</td>
|
1180
|
+
<td>a <a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> key</td>
|
1257
1181
|
</tr>
|
1258
1182
|
<tr>
|
1259
1183
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1260
|
-
<td>
|
1261
|
-
</td>
|
1184
|
+
<td>a hash value corresponding to the key.</td>
|
1262
1185
|
</tr>
|
1263
1186
|
</tbody>
|
1264
1187
|
</table></div>
|
1265
1188
|
</div>
|
1266
1189
|
<hr>
|
1267
|
-
<div class="refsect2"
|
1190
|
+
<div class="refsect2">
|
1268
1191
|
<a name="g-int-equal"></a><h3>g_int_equal ()</h3>
|
1269
1192
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_int_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
1270
1193
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);</pre>
|
@@ -1279,24 +1202,22 @@ parameter, when using pointers to integers as keys in a <a class="link" href="gl
|
|
1279
1202
|
<tbody>
|
1280
1203
|
<tr>
|
1281
1204
|
<td><p><span class="term"><em class="parameter"><code>v1</code></em> :</span></p></td>
|
1282
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key
|
1283
|
-
</td>
|
1205
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key.</td>
|
1284
1206
|
</tr>
|
1285
1207
|
<tr>
|
1286
1208
|
<td><p><span class="term"><em class="parameter"><code>v2</code></em> :</span></p></td>
|
1287
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key to compare with <em class="parameter"><code>v1</code></em
|
1288
|
-
</td>
|
1209
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key to compare with <em class="parameter"><code>v1</code></em>.</td>
|
1289
1210
|
</tr>
|
1290
1211
|
<tr>
|
1291
1212
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1292
|
-
<td>
|
1293
|
-
</td>
|
1213
|
+
<td>
|
1214
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the two keys match.</td>
|
1294
1215
|
</tr>
|
1295
1216
|
</tbody>
|
1296
1217
|
</table></div>
|
1297
1218
|
</div>
|
1298
1219
|
<hr>
|
1299
|
-
<div class="refsect2"
|
1220
|
+
<div class="refsect2">
|
1300
1221
|
<a name="g-int-hash"></a><h3>g_int_hash ()</h3>
|
1301
1222
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_int_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);</pre>
|
1302
1223
|
<p>
|
@@ -1309,19 +1230,17 @@ when using pointers to integers values as keys in a <a class="link" href="glib-H
|
|
1309
1230
|
<tbody>
|
1310
1231
|
<tr>
|
1311
1232
|
<td><p><span class="term"><em class="parameter"><code>v</code></em> :</span></p></td>
|
1312
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key
|
1313
|
-
</td>
|
1233
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> key</td>
|
1314
1234
|
</tr>
|
1315
1235
|
<tr>
|
1316
1236
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1317
|
-
<td>
|
1318
|
-
</td>
|
1237
|
+
<td>a hash value corresponding to the key.</td>
|
1319
1238
|
</tr>
|
1320
1239
|
</tbody>
|
1321
1240
|
</table></div>
|
1322
1241
|
</div>
|
1323
1242
|
<hr>
|
1324
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1325
1244
|
<a name="g-int64-equal"></a><h3>g_int64_equal ()</h3>
|
1326
1245
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_int64_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
1327
1246
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);</pre>
|
@@ -1336,26 +1255,23 @@ parameter, when using pointers to 64-bit integers as keys in a <a class="link" h
|
|
1336
1255
|
<tbody>
|
1337
1256
|
<tr>
|
1338
1257
|
<td><p><span class="term"><em class="parameter"><code>v1</code></em> :</span></p></td>
|
1339
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key
|
1340
|
-
</td>
|
1258
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key.</td>
|
1341
1259
|
</tr>
|
1342
1260
|
<tr>
|
1343
1261
|
<td><p><span class="term"><em class="parameter"><code>v2</code></em> :</span></p></td>
|
1344
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key to compare with <em class="parameter"><code>v1</code></em
|
1345
|
-
</td>
|
1262
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key to compare with <em class="parameter"><code>v1</code></em>.</td>
|
1346
1263
|
</tr>
|
1347
1264
|
<tr>
|
1348
1265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1349
|
-
<td>
|
1350
|
-
|
1351
|
-
</td>
|
1266
|
+
<td>
|
1267
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the two keys match.</td>
|
1352
1268
|
</tr>
|
1353
1269
|
</tbody>
|
1354
1270
|
</table></div>
|
1355
1271
|
<p class="since">Since 2.22</p>
|
1356
1272
|
</div>
|
1357
1273
|
<hr>
|
1358
|
-
<div class="refsect2"
|
1274
|
+
<div class="refsect2">
|
1359
1275
|
<a name="g-int64-hash"></a><h3>g_int64_hash ()</h3>
|
1360
1276
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_int64_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);</pre>
|
1361
1277
|
<p>
|
@@ -1368,21 +1284,18 @@ when using pointers to 64-bit integers values as keys in a <a class="link" href=
|
|
1368
1284
|
<tbody>
|
1369
1285
|
<tr>
|
1370
1286
|
<td><p><span class="term"><em class="parameter"><code>v</code></em> :</span></p></td>
|
1371
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key
|
1372
|
-
</td>
|
1287
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> key</td>
|
1373
1288
|
</tr>
|
1374
1289
|
<tr>
|
1375
1290
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1376
|
-
<td>
|
1377
|
-
|
1378
|
-
</td>
|
1291
|
+
<td>a hash value corresponding to the key.</td>
|
1379
1292
|
</tr>
|
1380
1293
|
</tbody>
|
1381
1294
|
</table></div>
|
1382
1295
|
<p class="since">Since 2.22</p>
|
1383
1296
|
</div>
|
1384
1297
|
<hr>
|
1385
|
-
<div class="refsect2"
|
1298
|
+
<div class="refsect2">
|
1386
1299
|
<a name="g-double-equal"></a><h3>g_double_equal ()</h3>
|
1387
1300
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_double_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
1388
1301
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);</pre>
|
@@ -1397,26 +1310,23 @@ parameter, when using pointers to doubles as keys in a <a class="link" href="gli
|
|
1397
1310
|
<tbody>
|
1398
1311
|
<tr>
|
1399
1312
|
<td><p><span class="term"><em class="parameter"><code>v1</code></em> :</span></p></td>
|
1400
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key
|
1401
|
-
</td>
|
1313
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key.</td>
|
1402
1314
|
</tr>
|
1403
1315
|
<tr>
|
1404
1316
|
<td><p><span class="term"><em class="parameter"><code>v2</code></em> :</span></p></td>
|
1405
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key to compare with <em class="parameter"><code>v1</code></em
|
1406
|
-
</td>
|
1317
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key to compare with <em class="parameter"><code>v1</code></em>.</td>
|
1407
1318
|
</tr>
|
1408
1319
|
<tr>
|
1409
1320
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1410
|
-
<td>
|
1411
|
-
|
1412
|
-
</td>
|
1321
|
+
<td>
|
1322
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the two keys match.</td>
|
1413
1323
|
</tr>
|
1414
1324
|
</tbody>
|
1415
1325
|
</table></div>
|
1416
1326
|
<p class="since">Since 2.22</p>
|
1417
1327
|
</div>
|
1418
1328
|
<hr>
|
1419
|
-
<div class="refsect2"
|
1329
|
+
<div class="refsect2">
|
1420
1330
|
<a name="g-double-hash"></a><h3>g_double_hash ()</h3>
|
1421
1331
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_double_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);</pre>
|
1422
1332
|
<p>
|
@@ -1429,21 +1339,18 @@ when using pointers to doubles as keys in a <a class="link" href="glib-Hash-Tabl
|
|
1429
1339
|
<tbody>
|
1430
1340
|
<tr>
|
1431
1341
|
<td><p><span class="term"><em class="parameter"><code>v</code></em> :</span></p></td>
|
1432
|
-
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key
|
1433
|
-
</td>
|
1342
|
+
<td>a pointer to a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> key</td>
|
1434
1343
|
</tr>
|
1435
1344
|
<tr>
|
1436
1345
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1437
|
-
<td>
|
1438
|
-
|
1439
|
-
</td>
|
1346
|
+
<td>a hash value corresponding to the key.</td>
|
1440
1347
|
</tr>
|
1441
1348
|
</tbody>
|
1442
1349
|
</table></div>
|
1443
1350
|
<p class="since">Since 2.22</p>
|
1444
1351
|
</div>
|
1445
1352
|
<hr>
|
1446
|
-
<div class="refsect2"
|
1353
|
+
<div class="refsect2">
|
1447
1354
|
<a name="g-str-equal"></a><h3>g_str_equal ()</h3>
|
1448
1355
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_str_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v1</code></em>,
|
1449
1356
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v2</code></em>);</pre>
|
@@ -1462,8 +1369,7 @@ see <a class="link" href="glib-String-Utility-Functions.html#g-strcmp0" title="g
|
|
1462
1369
|
<tbody>
|
1463
1370
|
<tr>
|
1464
1371
|
<td><p><span class="term"><em class="parameter"><code>v1</code></em> :</span></p></td>
|
1465
|
-
<td>a key
|
1466
|
-
</td>
|
1372
|
+
<td>a key</td>
|
1467
1373
|
</tr>
|
1468
1374
|
<tr>
|
1469
1375
|
<td><p><span class="term"><em class="parameter"><code>v2</code></em> :</span></p></td>
|
@@ -1472,33 +1378,40 @@ see <a class="link" href="glib-String-Utility-Functions.html#g-strcmp0" title="g
|
|
1472
1378
|
</tr>
|
1473
1379
|
<tr>
|
1474
1380
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1475
|
-
<td>
|
1476
|
-
</td>
|
1381
|
+
<td>
|
1382
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the two keys match</td>
|
1477
1383
|
</tr>
|
1478
1384
|
</tbody>
|
1479
1385
|
</table></div>
|
1480
1386
|
</div>
|
1481
1387
|
<hr>
|
1482
|
-
<div class="refsect2"
|
1388
|
+
<div class="refsect2">
|
1483
1389
|
<a name="g-str-hash"></a><h3>g_str_hash ()</h3>
|
1484
1390
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_str_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> v</code></em>);</pre>
|
1485
1391
|
<p>
|
1486
1392
|
Converts a string to a hash value.
|
1487
|
-
|
1488
|
-
|
1393
|
+
</p>
|
1394
|
+
<p>
|
1395
|
+
This function implements the widely used "djb" hash apparently posted
|
1396
|
+
by Daniel Bernstein to comp.lang.c some time ago. The 32 bit
|
1397
|
+
unsigned hash value starts at 5381 and for each byte 'c' in the
|
1398
|
+
string, is updated: <code class="literal">hash = hash * 33 + c</code>. This
|
1399
|
+
function uses the signed value of each byte.
|
1400
|
+
</p>
|
1401
|
+
<p>
|
1402
|
+
It can be passed to <a class="link" href="glib-Hash-Tables.html#g-hash-table-new" title="g_hash_table_new ()"><code class="function">g_hash_table_new()</code></a> as the <em class="parameter"><code>hash_func</code></em> parameter,
|
1403
|
+
when using strings as keys in a <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.
|
1489
1404
|
</p>
|
1490
1405
|
<div class="variablelist"><table border="0">
|
1491
1406
|
<col align="left" valign="top">
|
1492
1407
|
<tbody>
|
1493
1408
|
<tr>
|
1494
1409
|
<td><p><span class="term"><em class="parameter"><code>v</code></em> :</span></p></td>
|
1495
|
-
<td>a string key
|
1496
|
-
</td>
|
1410
|
+
<td>a string key</td>
|
1497
1411
|
</tr>
|
1498
1412
|
<tr>
|
1499
1413
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1500
|
-
<td>
|
1501
|
-
</td>
|
1414
|
+
<td>a hash value corresponding to the key</td>
|
1502
1415
|
</tr>
|
1503
1416
|
</tbody>
|
1504
1417
|
</table></div>
|
@@ -1507,6 +1420,6 @@ parameter, when using strings as keys in a <a class="link" href="glib-Hash-Table
|
|
1507
1420
|
</div>
|
1508
1421
|
<div class="footer">
|
1509
1422
|
<hr>
|
1510
|
-
Generated by GTK-Doc V1.
|
1423
|
+
Generated by GTK-Doc V1.16.1</div>
|
1511
1424
|
</body>
|
1512
1425
|
</html>
|