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-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-Doubly-Linked-Lists.html" title="Doubly-Linked Lists">
|
10
10
|
<link rel="next" href="glib-Double-ended-Queues.html" title="Double-ended Queues">
|
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-Singly-Linked-Lists.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-Singly-Linked-Lists"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -37,82 +37,84 @@
|
|
37
37
|
</td>
|
38
38
|
<td valign="top" align="right"></td>
|
39
39
|
</tr></table></div>
|
40
|
-
<div class="refsynopsisdiv"
|
40
|
+
<div class="refsynopsisdiv">
|
41
41
|
<a name="glib-Singly-Linked-Lists.synopsis"></a><h2>Synopsis</h2>
|
42
42
|
<pre class="synopsis">
|
43
43
|
#include <glib.h>
|
44
44
|
|
45
|
-
|
45
|
+
struct <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList">GSList</a>;
|
46
46
|
|
47
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
48
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
47
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-alloc" title="g_slist_alloc ()">g_slist_alloc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-append" title="g_slist_append ()">g_slist_append</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
50
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
50
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-prepend" title="g_slist_prepend ()">g_slist_prepend</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
51
51
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
52
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
52
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert" title="g_slist_insert ()">g_slist_insert</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
54
54
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> position</code></em>);
|
55
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
56
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *sibling</code></em>,
|
55
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert-before" title="g_slist_insert_before ()">g_slist_insert_before</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *slist</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *sibling</code></em>,
|
57
57
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
58
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
58
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert-sorted" title="g_slist_insert_sorted ()">g_slist_insert_sorted</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
59
59
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
60
60
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> func</code></em>);
|
61
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
61
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-remove" title="g_slist_remove ()">g_slist_remove</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
63
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
64
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *link_</code></em>);
|
65
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
66
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *link_</code></em>);
|
67
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
63
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-remove-link" title="g_slist_remove_link ()">g_slist_remove_link</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *link_</code></em>);
|
65
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-delete-link" title="g_slist_delete_link ()">g_slist_delete_link</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *link_</code></em>);
|
67
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-remove-all" title="g_slist_remove_all ()">g_slist_remove_all</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free" title="g_slist_free ()">g_slist_free</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>);
|
70
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free-
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free" title="g_slist_free ()">g_slist_free</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
70
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free-full" title="g_slist_free_full ()">g_slist_free_full</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> free_func</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free-1" title="g_slist_free_1 ()">g_slist_free_1</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
71
73
|
#define <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free1" title="g_slist_free1">g_slist_free1</a>
|
72
74
|
|
73
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-length" title="g_slist_length ()">g_slist_length</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>);
|
74
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
75
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
76
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
75
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-length" title="g_slist_length ()">g_slist_length</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
76
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-copy" title="g_slist_copy ()">g_slist_copy</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
77
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-reverse" title="g_slist_reverse ()">g_slist_reverse</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
78
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert-sorted-with-data" title="g_slist_insert_sorted_with_data ()">g_slist_insert_sorted_with_data</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
77
79
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
78
80
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> func</code></em>,
|
79
81
|
<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>);
|
80
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
82
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-sort" title="g_slist_sort ()">g_slist_sort</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
81
83
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> compare_func</code></em>);
|
82
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
84
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-sort-with-data" title="g_slist_sort_with_data ()">g_slist_sort_with_data</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
83
85
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>,
|
84
86
|
<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>);
|
85
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
86
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list2</code></em>);
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-foreach" title="g_slist_foreach ()">g_slist_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
87
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-concat" title="g_slist_concat ()">g_slist_concat</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list1</code></em>,
|
88
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list2</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-foreach" title="g_slist_foreach ()">g_slist_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
88
90
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> func</code></em>,
|
89
91
|
<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>);
|
90
92
|
|
91
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
93
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-last" title="g_slist_last ()">g_slist_last</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);
|
92
94
|
#define <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-next" title="g_slist_next()">g_slist_next</a> (slist)
|
93
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
95
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-nth" title="g_slist_nth ()">g_slist_nth</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
94
96
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
95
|
-
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-nth-data" title="g_slist_nth_data ()">g_slist_nth_data</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
97
|
+
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-nth-data" title="g_slist_nth_data ()">g_slist_nth_data</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
96
98
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
97
99
|
|
98
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
100
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-find" title="g_slist_find ()">g_slist_find</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
99
101
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
100
|
-
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
102
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-find-custom" title="g_slist_find_custom ()">g_slist_find_custom</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
101
103
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
102
104
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> func</code></em>);
|
103
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-position" title="g_slist_position ()">g_slist_position</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
104
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *llink</code></em>);
|
105
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-index" title="g_slist_index ()">g_slist_index</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
105
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-position" title="g_slist_position ()">g_slist_position</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *llink</code></em>);
|
107
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-index" title="g_slist_index ()">g_slist_index</a> (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
106
108
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
107
109
|
|
108
110
|
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-push-allocator" title="g_slist_push_allocator ()">g_slist_push_allocator</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
|
109
111
|
<span class="returnvalue">void</span> <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-pop-allocator" title="g_slist_pop_allocator ()">g_slist_pop_allocator</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
110
112
|
</pre>
|
111
113
|
</div>
|
112
|
-
<div class="refsect1"
|
114
|
+
<div class="refsect1">
|
113
115
|
<a name="glib-Singly-Linked-Lists.description"></a><h2>Description</h2>
|
114
116
|
<p>
|
115
|
-
The <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> structure and its associated functions provide a
|
117
|
+
The <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> structure and its associated functions provide a
|
116
118
|
standard singly-linked list data structure.
|
117
119
|
</p>
|
118
120
|
<p>
|
@@ -132,13 +134,13 @@ List elements are allocated from the <a class="link" href="glib-Memory-Slices.ht
|
|
132
134
|
efficient than allocating elements individually.
|
133
135
|
</p>
|
134
136
|
<p>
|
135
|
-
Note that most of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> functions expect to be passed a
|
137
|
+
Note that most of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> functions expect to be passed a
|
136
138
|
pointer to the first element in the list. The functions which insert
|
137
139
|
elements return the new start of the list, which may have changed.
|
138
140
|
</p>
|
139
141
|
<p>
|
140
|
-
There is no function to create a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is considered to be
|
141
|
-
the empty list so you simply set a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>* to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
142
|
+
There is no function to create a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is considered to be
|
143
|
+
the empty list so you simply set a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>* to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
142
144
|
</p>
|
143
145
|
<p>
|
144
146
|
To add elements, use <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-append" title="g_slist_append ()"><code class="function">g_slist_append()</code></a>, <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-prepend" title="g_slist_prepend ()"><code class="function">g_slist_prepend()</code></a>,
|
@@ -164,17 +166,17 @@ To call a function for each element in the list use
|
|
164
166
|
To free the entire list, use <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free" title="g_slist_free ()"><code class="function">g_slist_free()</code></a>.
|
165
167
|
</p>
|
166
168
|
</div>
|
167
|
-
<div class="refsect1"
|
169
|
+
<div class="refsect1">
|
168
170
|
<a name="glib-Singly-Linked-Lists.details"></a><h2>Details</h2>
|
169
|
-
<div class="refsect2"
|
170
|
-
<a name="GSList"></a><h3>GSList</h3>
|
171
|
-
<pre class="programlisting">
|
171
|
+
<div class="refsect2">
|
172
|
+
<a name="GSList"></a><h3>struct GSList</h3>
|
173
|
+
<pre class="programlisting">struct GSList {
|
172
174
|
gpointer data;
|
173
175
|
GSList *next;
|
174
|
-
}
|
176
|
+
};
|
175
177
|
</pre>
|
176
178
|
<p>
|
177
|
-
The <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> struct is used for each element in the singly-linked
|
179
|
+
The <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> struct is used for each element in the singly-linked
|
178
180
|
list.
|
179
181
|
</p>
|
180
182
|
<div class="variablelist"><table border="0">
|
@@ -183,24 +185,22 @@ list.
|
|
183
185
|
<tr>
|
184
186
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GSList.data"></a>data</code></em>;</span></p></td>
|
185
187
|
<td>holds the element's data, which can be a pointer to any kind
|
186
|
-
|
187
|
-
|
188
|
-
</td>
|
188
|
+
of data, or any integer value using the <a class="link" href="glib-Type-Conversion-Macros.html" title="Type Conversion Macros">Type Conversion
|
189
|
+
Macros</a>.</td>
|
189
190
|
</tr>
|
190
191
|
<tr>
|
191
|
-
<td><p><span class="term"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GSList.next"></a>next</code></em>;</span></p></td>
|
192
|
-
<td>contains the link to the next element in the list
|
193
|
-
</td>
|
192
|
+
<td><p><span class="term"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GSList.next"></a>next</code></em>;</span></p></td>
|
193
|
+
<td>contains the link to the next element in the list.</td>
|
194
194
|
</tr>
|
195
195
|
</tbody>
|
196
196
|
</table></div>
|
197
197
|
</div>
|
198
198
|
<hr>
|
199
|
-
<div class="refsect2"
|
199
|
+
<div class="refsect2">
|
200
200
|
<a name="g-slist-alloc"></a><h3>g_slist_alloc ()</h3>
|
201
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
201
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
202
202
|
<p>
|
203
|
-
Allocates space for one <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> element. It is called by the
|
203
|
+
Allocates space for one <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element. It is called by the
|
204
204
|
<a class="link" href="glib-Singly-Linked-Lists.html#g-slist-append" title="g_slist_append ()"><code class="function">g_slist_append()</code></a>, <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-prepend" title="g_slist_prepend ()"><code class="function">g_slist_prepend()</code></a>, <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert" title="g_slist_insert ()"><code class="function">g_slist_insert()</code></a> and
|
205
205
|
<a class="link" href="glib-Singly-Linked-Lists.html#g-slist-insert-sorted" title="g_slist_insert_sorted ()"><code class="function">g_slist_insert_sorted()</code></a> functions and so is rarely used on its own.
|
206
206
|
</p>
|
@@ -208,22 +208,21 @@ Allocates space for one <a class="link" href="glib-Singly-Linked-Lists.html#GSLi
|
|
208
208
|
<col align="left" valign="top">
|
209
209
|
<tbody><tr>
|
210
210
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
211
|
-
<td>a pointer to the newly-allocated <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> element
|
212
|
-
</td>
|
211
|
+
<td>a pointer to the newly-allocated <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element.</td>
|
213
212
|
</tr></tbody>
|
214
213
|
</table></div>
|
215
214
|
</div>
|
216
215
|
<hr>
|
217
|
-
<div class="refsect2"
|
216
|
+
<div class="refsect2">
|
218
217
|
<a name="g-slist-append"></a><h3>g_slist_append ()</h3>
|
219
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
218
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_append (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
220
219
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
221
220
|
<p>
|
222
221
|
Adds a new element on to the end of the list.
|
223
222
|
</p>
|
224
223
|
<p>
|
225
224
|
</p>
|
226
|
-
<div class="note"
|
225
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
227
226
|
<h3 class="title">Note</h3>
|
228
227
|
<p>
|
229
228
|
The return value is the new start of the list, which may
|
@@ -234,7 +233,7 @@ have changed, so make sure you store the new value.
|
|
234
233
|
</p>
|
235
234
|
<p>
|
236
235
|
</p>
|
237
|
-
<div class="note"
|
236
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
238
237
|
<h3 class="title">Note</h3>
|
239
238
|
<p>
|
240
239
|
Note that <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-append" title="g_slist_append ()"><code class="function">g_slist_append()</code></a> has to traverse the entire list
|
@@ -283,33 +282,32 @@ the elements and reverse the list when all elements have been added.
|
|
283
282
|
<tbody>
|
284
283
|
<tr>
|
285
284
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
286
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
285
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
287
286
|
</td>
|
288
287
|
</tr>
|
289
288
|
<tr>
|
290
289
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
291
|
-
<td>the data for the new element
|
292
|
-
</td>
|
290
|
+
<td>the data for the new element</td>
|
293
291
|
</tr>
|
294
292
|
<tr>
|
295
293
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
296
|
-
<td>
|
294
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
297
295
|
</td>
|
298
296
|
</tr>
|
299
297
|
</tbody>
|
300
298
|
</table></div>
|
301
299
|
</div>
|
302
300
|
<hr>
|
303
|
-
<div class="refsect2"
|
301
|
+
<div class="refsect2">
|
304
302
|
<a name="g-slist-prepend"></a><h3>g_slist_prepend ()</h3>
|
305
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
303
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_prepend (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
306
304
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
307
305
|
<p>
|
308
306
|
Adds a new element on to the start of the list.
|
309
307
|
</p>
|
310
308
|
<p>
|
311
309
|
</p>
|
312
|
-
<div class="note"
|
310
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
313
311
|
<h3 class="title">Note</h3>
|
314
312
|
<p>
|
315
313
|
The return value is the new start of the list, which
|
@@ -344,26 +342,25 @@ may have changed, so make sure you store the new value.
|
|
344
342
|
<tbody>
|
345
343
|
<tr>
|
346
344
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
347
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
345
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
348
346
|
</td>
|
349
347
|
</tr>
|
350
348
|
<tr>
|
351
349
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
352
|
-
<td>the data for the new element
|
353
|
-
</td>
|
350
|
+
<td>the data for the new element</td>
|
354
351
|
</tr>
|
355
352
|
<tr>
|
356
353
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
357
|
-
<td>
|
354
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
358
355
|
</td>
|
359
356
|
</tr>
|
360
357
|
</tbody>
|
361
358
|
</table></div>
|
362
359
|
</div>
|
363
360
|
<hr>
|
364
|
-
<div class="refsect2"
|
361
|
+
<div class="refsect2">
|
365
362
|
<a name="g-slist-insert"></a><h3>g_slist_insert ()</h3>
|
366
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
363
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_insert (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
367
364
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
368
365
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
369
366
|
<p>
|
@@ -374,35 +371,33 @@ Inserts a new element into the list at the given position.
|
|
374
371
|
<tbody>
|
375
372
|
<tr>
|
376
373
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
377
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
374
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
378
375
|
</td>
|
379
376
|
</tr>
|
380
377
|
<tr>
|
381
378
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
382
|
-
<td>the data for the new element
|
383
|
-
</td>
|
379
|
+
<td>the data for the new element</td>
|
384
380
|
</tr>
|
385
381
|
<tr>
|
386
382
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
387
383
|
<td>the position to insert the element.
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
</td>
|
384
|
+
If this is negative, or is larger than the number
|
385
|
+
of elements in the list, the new element is added on
|
386
|
+
to the end of the list.</td>
|
392
387
|
</tr>
|
393
388
|
<tr>
|
394
389
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
395
|
-
<td>
|
390
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
396
391
|
</td>
|
397
392
|
</tr>
|
398
393
|
</tbody>
|
399
394
|
</table></div>
|
400
395
|
</div>
|
401
396
|
<hr>
|
402
|
-
<div class="refsect2"
|
397
|
+
<div class="refsect2">
|
403
398
|
<a name="g-slist-insert-before"></a><h3>g_slist_insert_before ()</h3>
|
404
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
405
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *sibling</code></em>,
|
399
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_insert_before (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *slist</code></em>,
|
400
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *sibling</code></em>,
|
406
401
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
407
402
|
<p>
|
408
403
|
Inserts a node before <em class="parameter"><code>sibling</code></em> containing <em class="parameter"><code>data</code></em>.
|
@@ -412,31 +407,28 @@ Inserts a node before <em class="parameter"><code>sibling</code></em> containing
|
|
412
407
|
<tbody>
|
413
408
|
<tr>
|
414
409
|
<td><p><span class="term"><em class="parameter"><code>slist</code></em> :</span></p></td>
|
415
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
410
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
416
411
|
</td>
|
417
412
|
</tr>
|
418
413
|
<tr>
|
419
414
|
<td><p><span class="term"><em class="parameter"><code>sibling</code></em> :</span></p></td>
|
420
|
-
<td>node to insert <em class="parameter"><code>data</code></em> before
|
421
|
-
</td>
|
415
|
+
<td>node to insert <em class="parameter"><code>data</code></em> before</td>
|
422
416
|
</tr>
|
423
417
|
<tr>
|
424
418
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
425
|
-
<td>data to put in the newly-inserted node
|
426
|
-
</td>
|
419
|
+
<td>data to put in the newly-inserted node</td>
|
427
420
|
</tr>
|
428
421
|
<tr>
|
429
422
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
430
|
-
<td>
|
431
|
-
</td>
|
423
|
+
<td>the new head of the list.</td>
|
432
424
|
</tr>
|
433
425
|
</tbody>
|
434
426
|
</table></div>
|
435
427
|
</div>
|
436
428
|
<hr>
|
437
|
-
<div class="refsect2"
|
429
|
+
<div class="refsect2">
|
438
430
|
<a name="g-slist-insert-sorted"></a><h3>g_slist_insert_sorted ()</h3>
|
439
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
431
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_insert_sorted (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
440
432
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
441
433
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> func</code></em>);</pre>
|
442
434
|
<p>
|
@@ -448,67 +440,64 @@ comparison function to determine its position.
|
|
448
440
|
<tbody>
|
449
441
|
<tr>
|
450
442
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
451
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
443
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
452
444
|
</td>
|
453
445
|
</tr>
|
454
446
|
<tr>
|
455
447
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
456
|
-
<td>the data for the new element
|
457
|
-
</td>
|
448
|
+
<td>the data for the new element</td>
|
458
449
|
</tr>
|
459
450
|
<tr>
|
460
451
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
461
452
|
<td>the function to compare elements in the list.
|
462
|
-
|
463
|
-
|
464
|
-
</td>
|
453
|
+
It should return a number > 0 if the first parameter
|
454
|
+
comes after the second parameter in the sort order.</td>
|
465
455
|
</tr>
|
466
456
|
<tr>
|
467
457
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
468
|
-
<td>
|
458
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
469
459
|
</td>
|
470
460
|
</tr>
|
471
461
|
</tbody>
|
472
462
|
</table></div>
|
473
463
|
</div>
|
474
464
|
<hr>
|
475
|
-
<div class="refsect2"
|
465
|
+
<div class="refsect2">
|
476
466
|
<a name="g-slist-remove"></a><h3>g_slist_remove ()</h3>
|
477
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
467
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_remove (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
478
468
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
|
479
469
|
<p>
|
480
|
-
Removes an element from a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
470
|
+
Removes an element from a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
481
471
|
If two elements contain the same data, only the first is removed.
|
482
|
-
If none of the elements contain the data, the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> is unchanged.
|
472
|
+
If none of the elements contain the data, the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> is unchanged.
|
483
473
|
</p>
|
484
474
|
<div class="variablelist"><table border="0">
|
485
475
|
<col align="left" valign="top">
|
486
476
|
<tbody>
|
487
477
|
<tr>
|
488
478
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
489
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
479
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
490
480
|
</td>
|
491
481
|
</tr>
|
492
482
|
<tr>
|
493
483
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
494
|
-
<td>the data of the element to remove
|
495
|
-
</td>
|
484
|
+
<td>the data of the element to remove</td>
|
496
485
|
</tr>
|
497
486
|
<tr>
|
498
487
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
499
|
-
<td>
|
488
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
500
489
|
</td>
|
501
490
|
</tr>
|
502
491
|
</tbody>
|
503
492
|
</table></div>
|
504
493
|
</div>
|
505
494
|
<hr>
|
506
|
-
<div class="refsect2"
|
495
|
+
<div class="refsect2">
|
507
496
|
<a name="g-slist-remove-link"></a><h3>g_slist_remove_link ()</h3>
|
508
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
509
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *link_</code></em>);</pre>
|
497
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_remove_link (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
498
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *link_</code></em>);</pre>
|
510
499
|
<p>
|
511
|
-
Removes an element from a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>, without
|
500
|
+
Removes an element from a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>, without
|
512
501
|
freeing the element. The removed element's next
|
513
502
|
link is set to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, so that it becomes a
|
514
503
|
self-contained list with one element.
|
@@ -518,27 +507,26 @@ self-contained list with one element.
|
|
518
507
|
<tbody>
|
519
508
|
<tr>
|
520
509
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
521
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
510
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
522
511
|
</td>
|
523
512
|
</tr>
|
524
513
|
<tr>
|
525
514
|
<td><p><span class="term"><em class="parameter"><code>link_</code></em> :</span></p></td>
|
526
|
-
<td>an element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
515
|
+
<td>an element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
527
516
|
</td>
|
528
517
|
</tr>
|
529
518
|
<tr>
|
530
519
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
531
|
-
<td>
|
532
|
-
</td>
|
520
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>, without the element</td>
|
533
521
|
</tr>
|
534
522
|
</tbody>
|
535
523
|
</table></div>
|
536
524
|
</div>
|
537
525
|
<hr>
|
538
|
-
<div class="refsect2"
|
526
|
+
<div class="refsect2">
|
539
527
|
<a name="g-slist-delete-link"></a><h3>g_slist_delete_link ()</h3>
|
540
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
541
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *link_</code></em>);</pre>
|
528
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_delete_link (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
529
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *link_</code></em>);</pre>
|
542
530
|
<p>
|
543
531
|
Removes the node link_ from the list and frees it.
|
544
532
|
Compare this to <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-remove-link" title="g_slist_remove_link ()"><code class="function">g_slist_remove_link()</code></a> which removes the node
|
@@ -549,26 +537,25 @@ without freeing it.
|
|
549
537
|
<tbody>
|
550
538
|
<tr>
|
551
539
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
552
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
540
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
553
541
|
</td>
|
554
542
|
</tr>
|
555
543
|
<tr>
|
556
544
|
<td><p><span class="term"><em class="parameter"><code>link_</code></em> :</span></p></td>
|
557
|
-
<td>node to delete
|
558
|
-
</td>
|
545
|
+
<td>node to delete</td>
|
559
546
|
</tr>
|
560
547
|
<tr>
|
561
548
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
562
|
-
<td>
|
549
|
+
<td>the new head of <em class="parameter"><code>list</code></em>
|
563
550
|
</td>
|
564
551
|
</tr>
|
565
552
|
</tbody>
|
566
553
|
</table></div>
|
567
554
|
</div>
|
568
555
|
<hr>
|
569
|
-
<div class="refsect2"
|
556
|
+
<div class="refsect2">
|
570
557
|
<a name="g-slist-remove-all"></a><h3>g_slist_remove_all ()</h3>
|
571
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
558
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_remove_all (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
572
559
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
|
573
560
|
<p>
|
574
561
|
Removes all list nodes with data equal to <em class="parameter"><code>data</code></em>.
|
@@ -581,58 +568,93 @@ matching the given data.
|
|
581
568
|
<tbody>
|
582
569
|
<tr>
|
583
570
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
584
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
571
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
585
572
|
</td>
|
586
573
|
</tr>
|
587
574
|
<tr>
|
588
575
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
589
|
-
<td>data to remove
|
590
|
-
</td>
|
576
|
+
<td>data to remove</td>
|
591
577
|
</tr>
|
592
578
|
<tr>
|
593
579
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
594
|
-
<td>
|
580
|
+
<td>new head of <em class="parameter"><code>list</code></em>
|
595
581
|
</td>
|
596
582
|
</tr>
|
597
583
|
</tbody>
|
598
584
|
</table></div>
|
599
585
|
</div>
|
600
586
|
<hr>
|
601
|
-
<div class="refsect2"
|
587
|
+
<div class="refsect2">
|
602
588
|
<a name="g-slist-free"></a><h3>g_slist_free ()</h3>
|
603
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_free (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
589
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_free (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
604
590
|
<p>
|
605
|
-
Frees all of the memory used by a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
591
|
+
Frees all of the memory used by a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
606
592
|
The freed elements are returned to the slice allocator.
|
607
593
|
</p>
|
594
|
+
<p>
|
595
|
+
</p>
|
596
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
597
|
+
<h3 class="title">Note</h3>
|
598
|
+
<p>
|
599
|
+
If list elements contain dynamically-allocated memory,
|
600
|
+
you should either use <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-free-full" title="g_slist_free_full ()"><code class="function">g_slist_free_full()</code></a> or free them manually
|
601
|
+
first.
|
602
|
+
</p>
|
603
|
+
</div>
|
604
|
+
<p>
|
605
|
+
</p>
|
608
606
|
<div class="variablelist"><table border="0">
|
609
607
|
<col align="left" valign="top">
|
610
608
|
<tbody><tr>
|
611
609
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
612
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
610
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
613
611
|
</td>
|
614
612
|
</tr></tbody>
|
615
613
|
</table></div>
|
616
614
|
</div>
|
617
615
|
<hr>
|
618
|
-
<div class="refsect2"
|
616
|
+
<div class="refsect2">
|
617
|
+
<a name="g-slist-free-full"></a><h3>g_slist_free_full ()</h3>
|
618
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_free_full (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
619
|
+
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> free_func</code></em>);</pre>
|
620
|
+
<p>
|
621
|
+
Convenience method, which frees all the memory used by a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>, and
|
622
|
+
calls the specified destroy function on every element's data.
|
623
|
+
</p>
|
624
|
+
<div class="variablelist"><table border="0">
|
625
|
+
<col align="left" valign="top">
|
626
|
+
<tbody>
|
627
|
+
<tr>
|
628
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
629
|
+
<td>a pointer to a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
630
|
+
</td>
|
631
|
+
</tr>
|
632
|
+
<tr>
|
633
|
+
<td><p><span class="term"><em class="parameter"><code>free_func</code></em> :</span></p></td>
|
634
|
+
<td>the function to be called to free each element's data</td>
|
635
|
+
</tr>
|
636
|
+
</tbody>
|
637
|
+
</table></div>
|
638
|
+
<p class="since">Since 2.28</p>
|
639
|
+
</div>
|
640
|
+
<hr>
|
641
|
+
<div class="refsect2">
|
619
642
|
<a name="g-slist-free-1"></a><h3>g_slist_free_1 ()</h3>
|
620
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_free_1 (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
643
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_free_1 (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
621
644
|
<p>
|
622
|
-
Frees one <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> element.
|
645
|
+
Frees one <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element.
|
623
646
|
It is usually used after <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-remove-link" title="g_slist_remove_link ()"><code class="function">g_slist_remove_link()</code></a>.
|
624
647
|
</p>
|
625
648
|
<div class="variablelist"><table border="0">
|
626
649
|
<col align="left" valign="top">
|
627
650
|
<tbody><tr>
|
628
651
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
629
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> element
|
630
|
-
</td>
|
652
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element</td>
|
631
653
|
</tr></tbody>
|
632
654
|
</table></div>
|
633
655
|
</div>
|
634
656
|
<hr>
|
635
|
-
<div class="refsect2"
|
657
|
+
<div class="refsect2">
|
636
658
|
<a name="g-slist-free1"></a><h3>g_slist_free1</h3>
|
637
659
|
<pre class="programlisting">#define g_slist_free1</pre>
|
638
660
|
<p>
|
@@ -641,15 +663,15 @@ A macro which does the same as <a class="link" href="glib-Singly-Linked-Lists.ht
|
|
641
663
|
<p class="since">Since 2.10</p>
|
642
664
|
</div>
|
643
665
|
<hr>
|
644
|
-
<div class="refsect2"
|
666
|
+
<div class="refsect2">
|
645
667
|
<a name="g-slist-length"></a><h3>g_slist_length ()</h3>
|
646
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_slist_length (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
668
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_slist_length (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
647
669
|
<p>
|
648
|
-
Gets the number of elements in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
670
|
+
Gets the number of elements in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
649
671
|
</p>
|
650
672
|
<p>
|
651
673
|
</p>
|
652
|
-
<div class="note"
|
674
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
653
675
|
<h3 class="title">Note</h3>
|
654
676
|
<p>
|
655
677
|
This function iterates over the whole list to
|
@@ -663,27 +685,27 @@ count its elements.
|
|
663
685
|
<tbody>
|
664
686
|
<tr>
|
665
687
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
666
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
688
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
667
689
|
</td>
|
668
690
|
</tr>
|
669
691
|
<tr>
|
670
692
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
671
|
-
<td>
|
693
|
+
<td>the number of elements in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
672
694
|
</td>
|
673
695
|
</tr>
|
674
696
|
</tbody>
|
675
697
|
</table></div>
|
676
698
|
</div>
|
677
699
|
<hr>
|
678
|
-
<div class="refsect2"
|
700
|
+
<div class="refsect2">
|
679
701
|
<a name="g-slist-copy"></a><h3>g_slist_copy ()</h3>
|
680
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
702
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_copy (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
681
703
|
<p>
|
682
|
-
Copies a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
704
|
+
Copies a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
683
705
|
</p>
|
684
706
|
<p>
|
685
707
|
</p>
|
686
|
-
<div class="note"
|
708
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
687
709
|
<h3 class="title">Note</h3>
|
688
710
|
<p>
|
689
711
|
Note that this is a "shallow" copy. If the list elements
|
@@ -698,44 +720,44 @@ the actual data isn't.
|
|
698
720
|
<tbody>
|
699
721
|
<tr>
|
700
722
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
701
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
723
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
702
724
|
</td>
|
703
725
|
</tr>
|
704
726
|
<tr>
|
705
727
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
706
|
-
<td>
|
728
|
+
<td>a copy of <em class="parameter"><code>list</code></em>
|
707
729
|
</td>
|
708
730
|
</tr>
|
709
731
|
</tbody>
|
710
732
|
</table></div>
|
711
733
|
</div>
|
712
734
|
<hr>
|
713
|
-
<div class="refsect2"
|
735
|
+
<div class="refsect2">
|
714
736
|
<a name="g-slist-reverse"></a><h3>g_slist_reverse ()</h3>
|
715
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
737
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_reverse (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
716
738
|
<p>
|
717
|
-
Reverses a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
739
|
+
Reverses a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
718
740
|
</p>
|
719
741
|
<div class="variablelist"><table border="0">
|
720
742
|
<col align="left" valign="top">
|
721
743
|
<tbody>
|
722
744
|
<tr>
|
723
745
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
724
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
746
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
725
747
|
</td>
|
726
748
|
</tr>
|
727
749
|
<tr>
|
728
750
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
729
|
-
<td>
|
751
|
+
<td>the start of the reversed <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
730
752
|
</td>
|
731
753
|
</tr>
|
732
754
|
</tbody>
|
733
755
|
</table></div>
|
734
756
|
</div>
|
735
757
|
<hr>
|
736
|
-
<div class="refsect2"
|
758
|
+
<div class="refsect2">
|
737
759
|
<a name="g-slist-insert-sorted-with-data"></a><h3>g_slist_insert_sorted_with_data ()</h3>
|
738
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
760
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_insert_sorted_with_data (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
739
761
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
740
762
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> func</code></em>,
|
741
763
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
@@ -748,30 +770,26 @@ comparison function to determine its position.
|
|
748
770
|
<tbody>
|
749
771
|
<tr>
|
750
772
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
751
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
773
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
752
774
|
</td>
|
753
775
|
</tr>
|
754
776
|
<tr>
|
755
777
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
756
|
-
<td>the data for the new element
|
757
|
-
</td>
|
778
|
+
<td>the data for the new element</td>
|
758
779
|
</tr>
|
759
780
|
<tr>
|
760
781
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
761
782
|
<td>the function to compare elements in the list.
|
762
|
-
|
763
|
-
|
764
|
-
</td>
|
783
|
+
It should return a number > 0 if the first parameter
|
784
|
+
comes after the second parameter in the sort order.</td>
|
765
785
|
</tr>
|
766
786
|
<tr>
|
767
787
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
768
|
-
<td>data to pass to comparison function
|
769
|
-
</td>
|
788
|
+
<td>data to pass to comparison function</td>
|
770
789
|
</tr>
|
771
790
|
<tr>
|
772
791
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
773
|
-
<td>
|
774
|
-
|
792
|
+
<td>the new start of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
775
793
|
</td>
|
776
794
|
</tr>
|
777
795
|
</tbody>
|
@@ -779,42 +797,41 @@ comparison function to determine its position.
|
|
779
797
|
<p class="since">Since 2.10</p>
|
780
798
|
</div>
|
781
799
|
<hr>
|
782
|
-
<div class="refsect2"
|
800
|
+
<div class="refsect2">
|
783
801
|
<a name="g-slist-sort"></a><h3>g_slist_sort ()</h3>
|
784
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
802
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_sort (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
785
803
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> compare_func</code></em>);</pre>
|
786
804
|
<p>
|
787
|
-
Sorts a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> using the given comparison function.
|
805
|
+
Sorts a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> using the given comparison function.
|
788
806
|
</p>
|
789
807
|
<div class="variablelist"><table border="0">
|
790
808
|
<col align="left" valign="top">
|
791
809
|
<tbody>
|
792
810
|
<tr>
|
793
811
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
794
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
812
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
795
813
|
</td>
|
796
814
|
</tr>
|
797
815
|
<tr>
|
798
816
|
<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
|
799
|
-
<td>the comparison function used to sort the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
</td>
|
817
|
+
<td>the comparison function used to sort the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
818
|
+
This function is passed the data from 2 elements of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
819
|
+
and should return 0 if they are equal, a negative value if the
|
820
|
+
first element comes before the second, or a positive value if
|
821
|
+
the first element comes after the second.</td>
|
805
822
|
</tr>
|
806
823
|
<tr>
|
807
824
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
808
|
-
<td>
|
825
|
+
<td>the start of the sorted <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
809
826
|
</td>
|
810
827
|
</tr>
|
811
828
|
</tbody>
|
812
829
|
</table></div>
|
813
830
|
</div>
|
814
831
|
<hr>
|
815
|
-
<div class="refsect2"
|
832
|
+
<div class="refsect2">
|
816
833
|
<a name="g-slist-sort-with-data"></a><h3>g_slist_sort_with_data ()</h3>
|
817
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
834
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_sort_with_data (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
818
835
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>,
|
819
836
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
820
837
|
<p>
|
@@ -825,35 +842,32 @@ Like <a class="link" href="glib-Singly-Linked-Lists.html#g-slist-sort" title="g_
|
|
825
842
|
<tbody>
|
826
843
|
<tr>
|
827
844
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
828
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
845
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
829
846
|
</td>
|
830
847
|
</tr>
|
831
848
|
<tr>
|
832
849
|
<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
|
833
|
-
<td>comparison function
|
834
|
-
</td>
|
850
|
+
<td>comparison function</td>
|
835
851
|
</tr>
|
836
852
|
<tr>
|
837
853
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
838
|
-
<td>data to pass to comparison function
|
839
|
-
</td>
|
854
|
+
<td>data to pass to comparison function</td>
|
840
855
|
</tr>
|
841
856
|
<tr>
|
842
857
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
843
|
-
<td>
|
844
|
-
</td>
|
858
|
+
<td>new head of the list</td>
|
845
859
|
</tr>
|
846
860
|
</tbody>
|
847
861
|
</table></div>
|
848
862
|
</div>
|
849
863
|
<hr>
|
850
|
-
<div class="refsect2"
|
864
|
+
<div class="refsect2">
|
851
865
|
<a name="g-slist-concat"></a><h3>g_slist_concat ()</h3>
|
852
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
853
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list2</code></em>);</pre>
|
866
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_concat (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list1</code></em>,
|
867
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list2</code></em>);</pre>
|
854
868
|
<p>
|
855
|
-
Adds the second <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> onto the end of the first <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
856
|
-
Note that the elements of the second <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> are not copied.
|
869
|
+
Adds the second <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> onto the end of the first <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
870
|
+
Note that the elements of the second <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> are not copied.
|
857
871
|
They are used directly.
|
858
872
|
</p>
|
859
873
|
<div class="variablelist"><table border="0">
|
@@ -861,62 +875,60 @@ They are used directly.
|
|
861
875
|
<tbody>
|
862
876
|
<tr>
|
863
877
|
<td><p><span class="term"><em class="parameter"><code>list1</code></em> :</span></p></td>
|
864
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
878
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
865
879
|
</td>
|
866
880
|
</tr>
|
867
881
|
<tr>
|
868
882
|
<td><p><span class="term"><em class="parameter"><code>list2</code></em> :</span></p></td>
|
869
|
-
<td>the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> to add to the end of the first <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
883
|
+
<td>the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> to add to the end of the first <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
870
884
|
</td>
|
871
885
|
</tr>
|
872
886
|
<tr>
|
873
887
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
874
|
-
<td>
|
888
|
+
<td>the start of the new <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
875
889
|
</td>
|
876
890
|
</tr>
|
877
891
|
</tbody>
|
878
892
|
</table></div>
|
879
893
|
</div>
|
880
894
|
<hr>
|
881
|
-
<div class="refsect2"
|
895
|
+
<div class="refsect2">
|
882
896
|
<a name="g-slist-foreach"></a><h3>g_slist_foreach ()</h3>
|
883
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_foreach (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
897
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_foreach (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
884
898
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> func</code></em>,
|
885
899
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
886
900
|
<p>
|
887
|
-
Calls a function for each element of a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
901
|
+
Calls a function for each element of a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
888
902
|
</p>
|
889
903
|
<div class="variablelist"><table border="0">
|
890
904
|
<col align="left" valign="top">
|
891
905
|
<tbody>
|
892
906
|
<tr>
|
893
907
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
894
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
908
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
895
909
|
</td>
|
896
910
|
</tr>
|
897
911
|
<tr>
|
898
912
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
899
|
-
<td>the function to call with each element's data
|
900
|
-
</td>
|
913
|
+
<td>the function to call with each element's data</td>
|
901
914
|
</tr>
|
902
915
|
<tr>
|
903
916
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
904
|
-
<td>user data to pass to the function
|
905
|
-
</td>
|
917
|
+
<td>user data to pass to the function</td>
|
906
918
|
</tr>
|
907
919
|
</tbody>
|
908
920
|
</table></div>
|
909
921
|
</div>
|
910
922
|
<hr>
|
911
|
-
<div class="refsect2"
|
923
|
+
<div class="refsect2">
|
912
924
|
<a name="g-slist-last"></a><h3>g_slist_last ()</h3>
|
913
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
925
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_last (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
|
914
926
|
<p>
|
915
|
-
Gets the last element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
927
|
+
Gets the last element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
916
928
|
</p>
|
917
929
|
<p>
|
918
930
|
</p>
|
919
|
-
<div class="note"
|
931
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
920
932
|
<h3 class="title">Note</h3>
|
921
933
|
<p>
|
922
934
|
This function iterates over the whole list.
|
@@ -929,75 +941,71 @@ This function iterates over the whole list.
|
|
929
941
|
<tbody>
|
930
942
|
<tr>
|
931
943
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
932
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
944
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
933
945
|
</td>
|
934
946
|
</tr>
|
935
947
|
<tr>
|
936
948
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
937
|
-
<td>
|
938
|
-
|
939
|
-
</td>
|
949
|
+
<td>the last element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>,
|
950
|
+
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> has no elements</td>
|
940
951
|
</tr>
|
941
952
|
</tbody>
|
942
953
|
</table></div>
|
943
954
|
</div>
|
944
955
|
<hr>
|
945
|
-
<div class="refsect2"
|
956
|
+
<div class="refsect2">
|
946
957
|
<a name="g-slist-next"></a><h3>g_slist_next()</h3>
|
947
958
|
<pre class="programlisting">#define g_slist_next(slist)</pre>
|
948
959
|
<p>
|
949
|
-
A convenience macro to get the next element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
960
|
+
A convenience macro to get the next element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
950
961
|
</p>
|
951
962
|
<div class="variablelist"><table border="0">
|
952
963
|
<col align="left" valign="top">
|
953
964
|
<tbody>
|
954
965
|
<tr>
|
955
966
|
<td><p><span class="term"><em class="parameter"><code>slist</code></em> :</span></p></td>
|
956
|
-
<td>an element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a
|
957
|
-
</td>
|
967
|
+
<td>an element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.</td>
|
958
968
|
</tr>
|
959
969
|
<tr>
|
960
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
961
|
-
<td>the next element, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if there are no more elements
|
962
|
-
</td>
|
971
|
+
<td>the next element, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if there are no more elements.</td>
|
963
972
|
</tr>
|
964
973
|
</tbody>
|
965
974
|
</table></div>
|
966
975
|
</div>
|
967
976
|
<hr>
|
968
|
-
<div class="refsect2"
|
977
|
+
<div class="refsect2">
|
969
978
|
<a name="g-slist-nth"></a><h3>g_slist_nth ()</h3>
|
970
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
979
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_nth (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
971
980
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);</pre>
|
972
981
|
<p>
|
973
|
-
Gets the element at the given position in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>.
|
982
|
+
Gets the element at the given position in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
974
983
|
</p>
|
975
984
|
<div class="variablelist"><table border="0">
|
976
985
|
<col align="left" valign="top">
|
977
986
|
<tbody>
|
978
987
|
<tr>
|
979
988
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
980
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
989
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
981
990
|
</td>
|
982
991
|
</tr>
|
983
992
|
<tr>
|
984
993
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
985
|
-
<td>the position of the element, counting from 0
|
986
|
-
</td>
|
994
|
+
<td>the position of the element, counting from 0</td>
|
987
995
|
</tr>
|
988
996
|
<tr>
|
989
997
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
990
|
-
<td>
|
991
|
-
|
998
|
+
<td>the element, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the position is off
|
999
|
+
the end of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
992
1000
|
</td>
|
993
1001
|
</tr>
|
994
1002
|
</tbody>
|
995
1003
|
</table></div>
|
996
1004
|
</div>
|
997
1005
|
<hr>
|
998
|
-
<div class="refsect2"
|
1006
|
+
<div class="refsect2">
|
999
1007
|
<a name="g-slist-nth-data"></a><h3>g_slist_nth_data ()</h3>
|
1000
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_slist_nth_data (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1008
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_slist_nth_data (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1001
1009
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);</pre>
|
1002
1010
|
<p>
|
1003
1011
|
Gets the data of the element at the given position.
|
@@ -1007,30 +1015,29 @@ Gets the data of the element at the given position.
|
|
1007
1015
|
<tbody>
|
1008
1016
|
<tr>
|
1009
1017
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1010
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1018
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1011
1019
|
</td>
|
1012
1020
|
</tr>
|
1013
1021
|
<tr>
|
1014
1022
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1015
|
-
<td>the position of the element
|
1016
|
-
</td>
|
1023
|
+
<td>the position of the element</td>
|
1017
1024
|
</tr>
|
1018
1025
|
<tr>
|
1019
1026
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1020
|
-
<td>
|
1021
|
-
|
1027
|
+
<td>the element's data, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the position
|
1028
|
+
is off the end of the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1022
1029
|
</td>
|
1023
1030
|
</tr>
|
1024
1031
|
</tbody>
|
1025
1032
|
</table></div>
|
1026
1033
|
</div>
|
1027
1034
|
<hr>
|
1028
|
-
<div class="refsect2"
|
1035
|
+
<div class="refsect2">
|
1029
1036
|
<a name="g-slist-find"></a><h3>g_slist_find ()</h3>
|
1030
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
1037
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_find (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1031
1038
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
|
1032
1039
|
<p>
|
1033
|
-
Finds the element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> which
|
1040
|
+
Finds the element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> which
|
1034
1041
|
contains the given data.
|
1035
1042
|
</p>
|
1036
1043
|
<div class="variablelist"><table border="0">
|
@@ -1038,35 +1045,33 @@ contains the given data.
|
|
1038
1045
|
<tbody>
|
1039
1046
|
<tr>
|
1040
1047
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1041
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1048
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1042
1049
|
</td>
|
1043
1050
|
</tr>
|
1044
1051
|
<tr>
|
1045
1052
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1046
|
-
<td>the element data to find
|
1047
|
-
</td>
|
1053
|
+
<td>the element data to find</td>
|
1048
1054
|
</tr>
|
1049
1055
|
<tr>
|
1050
1056
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1051
|
-
<td>
|
1052
|
-
|
1053
|
-
</td>
|
1057
|
+
<td>the found <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element,
|
1058
|
+
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if it is not found</td>
|
1054
1059
|
</tr>
|
1055
1060
|
</tbody>
|
1056
1061
|
</table></div>
|
1057
1062
|
</div>
|
1058
1063
|
<hr>
|
1059
|
-
<div class="refsect2"
|
1064
|
+
<div class="refsect2">
|
1060
1065
|
<a name="g-slist-find-custom"></a><h3>g_slist_find_custom ()</h3>
|
1061
|
-
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="returnvalue">GSList</span></a
|
1066
|
+
<pre class="programlisting"><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="returnvalue">GSList</span></a> * g_slist_find_custom (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1062
1067
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
1063
1068
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()"><span class="type">GCompareFunc</span></a> func</code></em>);</pre>
|
1064
1069
|
<p>
|
1065
|
-
Finds an element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>, using a supplied function to
|
1070
|
+
Finds an element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>, using a supplied function to
|
1066
1071
|
find the desired element. It iterates over the list, calling
|
1067
1072
|
the given function which should return 0 when the desired
|
1068
1073
|
element is found. The function takes two <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> arguments,
|
1069
|
-
the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> element's data as the first argument and the
|
1074
|
+
the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element's data as the first argument and the
|
1070
1075
|
given user data.
|
1071
1076
|
</p>
|
1072
1077
|
<div class="variablelist"><table border="0">
|
@@ -1074,63 +1079,59 @@ given user data.
|
|
1074
1079
|
<tbody>
|
1075
1080
|
<tr>
|
1076
1081
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1077
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1082
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1078
1083
|
</td>
|
1079
1084
|
</tr>
|
1080
1085
|
<tr>
|
1081
1086
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1082
|
-
<td>user data passed to the function
|
1083
|
-
</td>
|
1087
|
+
<td>user data passed to the function</td>
|
1084
1088
|
</tr>
|
1085
1089
|
<tr>
|
1086
1090
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1087
1091
|
<td>the function to call for each element.
|
1088
|
-
|
1089
|
-
</td>
|
1092
|
+
It should return 0 when the desired element is found</td>
|
1090
1093
|
</tr>
|
1091
1094
|
<tr>
|
1092
1095
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1093
|
-
<td>
|
1094
|
-
</td>
|
1096
|
+
<td>the found <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> element, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if it is not found</td>
|
1095
1097
|
</tr>
|
1096
1098
|
</tbody>
|
1097
1099
|
</table></div>
|
1098
1100
|
</div>
|
1099
1101
|
<hr>
|
1100
|
-
<div class="refsect2"
|
1102
|
+
<div class="refsect2">
|
1101
1103
|
<a name="g-slist-position"></a><h3>g_slist_position ()</h3>
|
1102
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_slist_position (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1103
|
-
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *llink</code></em>);</pre>
|
1104
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_slist_position (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1105
|
+
<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *llink</code></em>);</pre>
|
1104
1106
|
<p>
|
1105
1107
|
Gets the position of the given element
|
1106
|
-
in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> (starting from 0).
|
1108
|
+
in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> (starting from 0).
|
1107
1109
|
</p>
|
1108
1110
|
<div class="variablelist"><table border="0">
|
1109
1111
|
<col align="left" valign="top">
|
1110
1112
|
<tbody>
|
1111
1113
|
<tr>
|
1112
1114
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1113
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1115
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1114
1116
|
</td>
|
1115
1117
|
</tr>
|
1116
1118
|
<tr>
|
1117
1119
|
<td><p><span class="term"><em class="parameter"><code>llink</code></em> :</span></p></td>
|
1118
|
-
<td>an element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1120
|
+
<td>an element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1119
1121
|
</td>
|
1120
1122
|
</tr>
|
1121
1123
|
<tr>
|
1122
1124
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1123
|
-
<td>
|
1124
|
-
|
1125
|
-
</td>
|
1125
|
+
<td>the position of the element in the <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>,
|
1126
|
+
or -1 if the element is not found</td>
|
1126
1127
|
</tr>
|
1127
1128
|
</tbody>
|
1128
1129
|
</table></div>
|
1129
1130
|
</div>
|
1130
1131
|
<hr>
|
1131
|
-
<div class="refsect2"
|
1132
|
+
<div class="refsect2">
|
1132
1133
|
<a name="g-slist-index"></a><h3>g_slist_index ()</h3>
|
1133
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_slist_index (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1134
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_slist_index (<em class="parameter"><code><a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> *list</code></em>,
|
1134
1135
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
|
1135
1136
|
<p>
|
1136
1137
|
Gets the position of the element containing
|
@@ -1141,35 +1142,33 @@ the given data (starting from 0).
|
|
1141
1142
|
<tbody>
|
1142
1143
|
<tr>
|
1143
1144
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1144
|
-
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1145
|
+
<td>a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1145
1146
|
</td>
|
1146
1147
|
</tr>
|
1147
1148
|
<tr>
|
1148
1149
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1149
|
-
<td>the data to find
|
1150
|
-
</td>
|
1150
|
+
<td>the data to find</td>
|
1151
1151
|
</tr>
|
1152
1152
|
<tr>
|
1153
1153
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1154
|
-
<td>
|
1155
|
-
|
1156
|
-
</td>
|
1154
|
+
<td>the index of the element containing the data,
|
1155
|
+
or -1 if the data is not found</td>
|
1157
1156
|
</tr>
|
1158
1157
|
</tbody>
|
1159
1158
|
</table></div>
|
1160
1159
|
</div>
|
1161
1160
|
<hr>
|
1162
|
-
<div class="refsect2"
|
1161
|
+
<div class="refsect2">
|
1163
1162
|
<a name="g-slist-push-allocator"></a><h3>g_slist_push_allocator ()</h3>
|
1164
1163
|
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_push_allocator (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
|
1165
|
-
<div class="warning"
|
1164
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1166
1165
|
<h3 class="title">Warning</h3>
|
1167
|
-
<p><code class="literal">g_slist_push_allocator</code> has been deprecated since version 2.10 and should not be used in newly-written code. It does nothing, since <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> has been converted
|
1166
|
+
<p><code class="literal">g_slist_push_allocator</code> has been deprecated since version 2.10 and should not be used in newly-written code. It does nothing, since <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> has been converted
|
1168
1167
|
to the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
1169
1168
|
allocator</a></p>
|
1170
1169
|
</div>
|
1171
1170
|
<p>
|
1172
|
-
Sets the allocator to use to allocate <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> elements. Use
|
1171
|
+
Sets the allocator to use to allocate <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> elements. Use
|
1173
1172
|
<a class="link" href="glib-Singly-Linked-Lists.html#g-slist-pop-allocator" title="g_slist_pop_allocator ()"><code class="function">g_slist_pop_allocator()</code></a> to restore the previous allocator.
|
1174
1173
|
</p>
|
1175
1174
|
<p>
|
@@ -1180,23 +1179,22 @@ with <code class="option">--disable-mem-pools</code>
|
|
1180
1179
|
<col align="left" valign="top">
|
1181
1180
|
<tbody><tr>
|
1182
1181
|
<td><p><span class="term"><em class="parameter"><code>dummy</code></em> :</span></p></td>
|
1183
|
-
<td>the <a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a> to use when allocating <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> elements
|
1184
|
-
</td>
|
1182
|
+
<td>the <a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a> to use when allocating <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> elements.</td>
|
1185
1183
|
</tr></tbody>
|
1186
1184
|
</table></div>
|
1187
1185
|
</div>
|
1188
1186
|
<hr>
|
1189
|
-
<div class="refsect2"
|
1187
|
+
<div class="refsect2">
|
1190
1188
|
<a name="g-slist-pop-allocator"></a><h3>g_slist_pop_allocator ()</h3>
|
1191
1189
|
<pre class="programlisting"><span class="returnvalue">void</span> g_slist_pop_allocator (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1192
|
-
<div class="warning"
|
1190
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1193
1191
|
<h3 class="title">Warning</h3>
|
1194
|
-
<p><code class="literal">g_slist_pop_allocator</code> has been deprecated since version 2.10 and should not be used in newly-written code. It does nothing, since <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a> has been converted
|
1192
|
+
<p><code class="literal">g_slist_pop_allocator</code> has been deprecated since version 2.10 and should not be used in newly-written code. It does nothing, since <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a> has been converted
|
1195
1193
|
to the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
1196
1194
|
allocator</a></p>
|
1197
1195
|
</div>
|
1198
1196
|
<p>
|
1199
|
-
Restores the previous <a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a>, used when allocating <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="GSList"><span class="type">GSList</span></a>
|
1197
|
+
Restores the previous <a class="link" href="glib-Memory-Allocators.html#GAllocator" title="GAllocator"><span class="type">GAllocator</span></a>, used when allocating <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>
|
1200
1198
|
elements.
|
1201
1199
|
</p>
|
1202
1200
|
<p>
|
@@ -1208,6 +1206,6 @@ with <code class="option">--disable-mem-pools</code>
|
|
1208
1206
|
</div>
|
1209
1207
|
<div class="footer">
|
1210
1208
|
<hr>
|
1211
|
-
Generated by GTK-Doc V1.
|
1209
|
+
Generated by GTK-Doc V1.16.1</div>
|
1212
1210
|
</body>
|
1213
1211
|
</html>
|