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-Memory-Chunks.html" title="Memory Chunks">
|
10
10
|
<link rel="next" href="glib-Singly-Linked-Lists.html" title="Singly-Linked Lists">
|
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-Doubly-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-Doubly-Linked-Lists"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -37,94 +37,96 @@
|
|
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-Doubly-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-Doubly-Linked-Lists.html#GList" title="struct GList">GList</a>;
|
46
46
|
|
47
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
47
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-append" title="g_list_append ()">g_list_append</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
49
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
49
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-prepend" title="g_list_prepend ()">g_list_prepend</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
50
50
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
51
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
51
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert" title="g_list_insert ()">g_list_insert</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> position</code></em>);
|
54
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
55
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *sibling</code></em>,
|
54
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert-before" title="g_list_insert_before ()">g_list_insert_before</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *sibling</code></em>,
|
56
56
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
57
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
57
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert-sorted" title="g_list_insert_sorted ()">g_list_insert_sorted</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
58
58
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
59
59
|
<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>);
|
60
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
60
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-remove" title="g_list_remove ()">g_list_remove</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
61
61
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
62
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
63
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *llink</code></em>);
|
64
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
65
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *link_</code></em>);
|
66
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
62
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-remove-link" title="g_list_remove_link ()">g_list_remove_link</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
63
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *llink</code></em>);
|
64
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-delete-link" title="g_list_delete_link ()">g_list_delete_link</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *link_</code></em>);
|
66
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-remove-all" title="g_list_remove_all ()">g_list_remove_all</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
67
67
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free" title="g_list_free ()">g_list_free</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free" title="g_list_free ()">g_list_free</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free-full" title="g_list_free_full ()">g_list_free_full</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
70
|
+
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> free_func</code></em>);
|
69
71
|
|
70
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free-1" title="g_list_free_1 ()">g_list_free_1</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);
|
72
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-alloc" title="g_list_alloc ()">g_list_alloc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free-1" title="g_list_free_1 ()">g_list_free_1</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
72
74
|
#define <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free1" title="g_list_free1">g_list_free1</a>
|
73
75
|
|
74
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-length" title="g_list_length ()">g_list_length</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);
|
75
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
76
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
77
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
76
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-length" title="g_list_length ()">g_list_length</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
77
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-copy" title="g_list_copy ()">g_list_copy</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
78
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-reverse" title="g_list_reverse ()">g_list_reverse</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
79
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-sort" title="g_list_sort ()">g_list_sort</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
78
80
|
<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>);
|
79
81
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (<a class="link" href="glib-Doubly-Linked-Lists.html#GCompareFunc" title="GCompareFunc ()">*GCompareFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
80
82
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>);
|
81
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
83
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert-sorted-with-data" title="g_list_insert_sorted_with_data ()">g_list_insert_sorted_with_data</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
82
84
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</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> 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-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
87
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-sort-with-data" title="g_list_sort_with_data ()">g_list_sort_with_data</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
86
88
|
<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>,
|
87
89
|
<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>);
|
88
90
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (<a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()">*GCompareDataFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
89
91
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>,
|
90
92
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
91
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
92
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list2</code></em>);
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-foreach" title="g_list_foreach ()">g_list_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
93
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-concat" title="g_list_concat ()">g_list_concat</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list1</code></em>,
|
94
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list2</code></em>);
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-foreach" title="g_list_foreach ()">g_list_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
94
96
|
<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>,
|
95
97
|
<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>);
|
96
98
|
<span class="returnvalue">void</span> (<a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()">*GFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
97
99
|
<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>);
|
98
100
|
|
99
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
100
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
101
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-first" title="g_list_first ()">g_list_first</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
102
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-last" title="g_list_last ()">g_list_last</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);
|
101
103
|
#define <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-previous" title="g_list_previous()">g_list_previous</a> (list)
|
102
104
|
#define <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-next" title="g_list_next()">g_list_next</a> (list)
|
103
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
105
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-nth" title="g_list_nth ()">g_list_nth</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
104
106
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
105
|
-
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-nth-data" title="g_list_nth_data ()">g_list_nth_data</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
107
|
+
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-nth-data" title="g_list_nth_data ()">g_list_nth_data</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
106
108
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
107
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
109
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-nth-prev" title="g_list_nth_prev ()">g_list_nth_prev</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
108
110
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
109
111
|
|
110
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
112
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-find" title="g_list_find ()">g_list_find</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
111
113
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
112
|
-
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
114
|
+
<a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-find-custom" title="g_list_find_custom ()">g_list_find_custom</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
113
115
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
114
116
|
<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>);
|
115
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-position" title="g_list_position ()">g_list_position</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
116
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *llink</code></em>);
|
117
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-index" title="g_list_index ()">g_list_index</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
117
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-position" title="g_list_position ()">g_list_position</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *llink</code></em>);
|
119
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-index" title="g_list_index ()">g_list_index</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
118
120
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
119
121
|
|
120
122
|
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-push-allocator" title="g_list_push_allocator ()">g_list_push_allocator</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> allocator</code></em>);
|
121
123
|
<span class="returnvalue">void</span> <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-pop-allocator" title="g_list_pop_allocator ()">g_list_pop_allocator</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
122
124
|
</pre>
|
123
125
|
</div>
|
124
|
-
<div class="refsect1"
|
126
|
+
<div class="refsect1">
|
125
127
|
<a name="glib-Doubly-Linked-Lists.description"></a><h2>Description</h2>
|
126
128
|
<p>
|
127
|
-
The <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> structure and its associated functions provide a standard
|
129
|
+
The <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> structure and its associated functions provide a standard
|
128
130
|
doubly-linked list data structure.
|
129
131
|
</p>
|
130
132
|
<p>
|
@@ -144,13 +146,13 @@ List elements are allocated from the <a class="link" href="glib-Memory-Slices.ht
|
|
144
146
|
efficient than allocating elements individually.
|
145
147
|
</p>
|
146
148
|
<p>
|
147
|
-
Note that most of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> functions expect to be passed a pointer
|
149
|
+
Note that most of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> functions expect to be passed a pointer
|
148
150
|
to the first element in the list. The functions which insert
|
149
151
|
elements return the new start of the list, which may have changed.
|
150
152
|
</p>
|
151
153
|
<p>
|
152
|
-
There is no function to create a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is considered to be
|
153
|
-
the empty list so you simply set a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>* to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
154
|
+
There is no function to create a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is considered to be
|
155
|
+
the empty list so you simply set a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>* to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
154
156
|
</p>
|
155
157
|
<p>
|
156
158
|
To add elements, use <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-append" title="g_list_append ()"><code class="function">g_list_append()</code></a>, <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-prepend" title="g_list_prepend ()"><code class="function">g_list_prepend()</code></a>,
|
@@ -175,18 +177,18 @@ To call a function for each element in the list use <a class="link" href="glib-D
|
|
175
177
|
To free the entire list, use <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free" title="g_list_free ()"><code class="function">g_list_free()</code></a>.
|
176
178
|
</p>
|
177
179
|
</div>
|
178
|
-
<div class="refsect1"
|
180
|
+
<div class="refsect1">
|
179
181
|
<a name="glib-Doubly-Linked-Lists.details"></a><h2>Details</h2>
|
180
|
-
<div class="refsect2"
|
181
|
-
<a name="GList"></a><h3>GList</h3>
|
182
|
-
<pre class="programlisting">
|
182
|
+
<div class="refsect2">
|
183
|
+
<a name="GList"></a><h3>struct GList</h3>
|
184
|
+
<pre class="programlisting">struct GList {
|
183
185
|
gpointer data;
|
184
186
|
GList *next;
|
185
187
|
GList *prev;
|
186
|
-
}
|
188
|
+
};
|
187
189
|
</pre>
|
188
190
|
<p>
|
189
|
-
The <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> struct is used for each element in a doubly-linked list.
|
191
|
+
The <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> struct is used for each element in a doubly-linked list.
|
190
192
|
</p>
|
191
193
|
<div class="variablelist"><table border="0">
|
192
194
|
<col align="left" valign="top">
|
@@ -194,34 +196,31 @@ The <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><sp
|
|
194
196
|
<tr>
|
195
197
|
<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="GList.data"></a>data</code></em>;</span></p></td>
|
196
198
|
<td>holds the element's data, which can be a pointer to any kind
|
197
|
-
|
198
|
-
|
199
|
-
</td>
|
199
|
+
of data, or any integer value using the <a class="link" href="glib-Type-Conversion-Macros.html" title="Type Conversion Macros">Type Conversion
|
200
|
+
Macros</a>.</td>
|
200
201
|
</tr>
|
201
202
|
<tr>
|
202
|
-
<td><p><span class="term"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *<em class="structfield"><code><a name="GList.next"></a>next</code></em>;</span></p></td>
|
203
|
-
<td>contains the link to the next element in the list
|
204
|
-
</td>
|
203
|
+
<td><p><span class="term"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *<em class="structfield"><code><a name="GList.next"></a>next</code></em>;</span></p></td>
|
204
|
+
<td>contains the link to the next element in the list.</td>
|
205
205
|
</tr>
|
206
206
|
<tr>
|
207
|
-
<td><p><span class="term"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *<em class="structfield"><code><a name="GList.prev"></a>prev</code></em>;</span></p></td>
|
208
|
-
<td>contains the link to the previous element in the list
|
209
|
-
</td>
|
207
|
+
<td><p><span class="term"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *<em class="structfield"><code><a name="GList.prev"></a>prev</code></em>;</span></p></td>
|
208
|
+
<td>contains the link to the previous element in the list.</td>
|
210
209
|
</tr>
|
211
210
|
</tbody>
|
212
211
|
</table></div>
|
213
212
|
</div>
|
214
213
|
<hr>
|
215
|
-
<div class="refsect2"
|
214
|
+
<div class="refsect2">
|
216
215
|
<a name="g-list-append"></a><h3>g_list_append ()</h3>
|
217
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
216
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_append (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
218
217
|
<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>
|
219
218
|
<p>
|
220
219
|
Adds a new element on to the end of the list.
|
221
220
|
</p>
|
222
221
|
<p>
|
223
222
|
</p>
|
224
|
-
<div class="note"
|
223
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
225
224
|
<h3 class="title">Note</h3>
|
226
225
|
<p>
|
227
226
|
The return value is the new start of the list, which
|
@@ -232,7 +231,7 @@ may have changed, so make sure you store the new value.
|
|
232
231
|
</p>
|
233
232
|
<p>
|
234
233
|
</p>
|
235
|
-
<div class="note"
|
234
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
236
235
|
<h3 class="title">Note</h3>
|
237
236
|
<p>
|
238
237
|
Note that <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-append" title="g_list_append ()"><code class="function">g_list_append()</code></a> has to traverse the entire list
|
@@ -281,33 +280,32 @@ the elements and reverse the list when all elements have been added.
|
|
281
280
|
<tbody>
|
282
281
|
<tr>
|
283
282
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
284
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
283
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
285
284
|
</td>
|
286
285
|
</tr>
|
287
286
|
<tr>
|
288
287
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
289
|
-
<td>the data for the new element
|
290
|
-
</td>
|
288
|
+
<td>the data for the new element</td>
|
291
289
|
</tr>
|
292
290
|
<tr>
|
293
291
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
294
|
-
<td>
|
292
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
295
293
|
</td>
|
296
294
|
</tr>
|
297
295
|
</tbody>
|
298
296
|
</table></div>
|
299
297
|
</div>
|
300
298
|
<hr>
|
301
|
-
<div class="refsect2"
|
299
|
+
<div class="refsect2">
|
302
300
|
<a name="g-list-prepend"></a><h3>g_list_prepend ()</h3>
|
303
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
301
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_prepend (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
304
302
|
<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>
|
305
303
|
<p>
|
306
304
|
Adds a new element on to the start of the list.
|
307
305
|
</p>
|
308
306
|
<p>
|
309
307
|
</p>
|
310
|
-
<div class="note"
|
308
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
311
309
|
<h3 class="title">Note</h3>
|
312
310
|
<p>
|
313
311
|
The return value is the new start of the list, which
|
@@ -342,26 +340,25 @@ may have changed, so make sure you store the new value.
|
|
342
340
|
<tbody>
|
343
341
|
<tr>
|
344
342
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
345
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
343
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
346
344
|
</td>
|
347
345
|
</tr>
|
348
346
|
<tr>
|
349
347
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
350
|
-
<td>the data for the new element
|
351
|
-
</td>
|
348
|
+
<td>the data for the new element</td>
|
352
349
|
</tr>
|
353
350
|
<tr>
|
354
351
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
355
|
-
<td>
|
352
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
356
353
|
</td>
|
357
354
|
</tr>
|
358
355
|
</tbody>
|
359
356
|
</table></div>
|
360
357
|
</div>
|
361
358
|
<hr>
|
362
|
-
<div class="refsect2"
|
359
|
+
<div class="refsect2">
|
363
360
|
<a name="g-list-insert"></a><h3>g_list_insert ()</h3>
|
364
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
361
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_insert (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
365
362
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
366
363
|
<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>
|
367
364
|
<p>
|
@@ -372,34 +369,32 @@ Inserts a new element into the list at the given position.
|
|
372
369
|
<tbody>
|
373
370
|
<tr>
|
374
371
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
375
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
372
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
376
373
|
</td>
|
377
374
|
</tr>
|
378
375
|
<tr>
|
379
376
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
380
|
-
<td>the data for the new element
|
381
|
-
</td>
|
377
|
+
<td>the data for the new element</td>
|
382
378
|
</tr>
|
383
379
|
<tr>
|
384
380
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
385
|
-
<td>the position to insert the element. If this is
|
386
|
-
|
387
|
-
|
388
|
-
</td>
|
381
|
+
<td>the position to insert the element. If this is
|
382
|
+
negative, or is larger than the number of elements in the
|
383
|
+
list, the new element is added on to the end of the list.</td>
|
389
384
|
</tr>
|
390
385
|
<tr>
|
391
386
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
392
|
-
<td>
|
387
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
393
388
|
</td>
|
394
389
|
</tr>
|
395
390
|
</tbody>
|
396
391
|
</table></div>
|
397
392
|
</div>
|
398
393
|
<hr>
|
399
|
-
<div class="refsect2"
|
394
|
+
<div class="refsect2">
|
400
395
|
<a name="g-list-insert-before"></a><h3>g_list_insert_before ()</h3>
|
401
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
402
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *sibling</code></em>,
|
396
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_insert_before (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
397
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *sibling</code></em>,
|
403
398
|
<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>
|
404
399
|
<p>
|
405
400
|
Inserts a new element into the list before the given position.
|
@@ -409,32 +404,30 @@ Inserts a new element into the list before the given position.
|
|
409
404
|
<tbody>
|
410
405
|
<tr>
|
411
406
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
412
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
407
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
413
408
|
</td>
|
414
409
|
</tr>
|
415
410
|
<tr>
|
416
411
|
<td><p><span class="term"><em class="parameter"><code>sibling</code></em> :</span></p></td>
|
417
|
-
<td>the list element before which the new element
|
418
|
-
|
419
|
-
</td>
|
412
|
+
<td>the list element before which the new element
|
413
|
+
is inserted or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to insert at the end of the list</td>
|
420
414
|
</tr>
|
421
415
|
<tr>
|
422
416
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
423
|
-
<td>the data for the new element
|
424
|
-
</td>
|
417
|
+
<td>the data for the new element</td>
|
425
418
|
</tr>
|
426
419
|
<tr>
|
427
420
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
428
|
-
<td>
|
421
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
429
422
|
</td>
|
430
423
|
</tr>
|
431
424
|
</tbody>
|
432
425
|
</table></div>
|
433
426
|
</div>
|
434
427
|
<hr>
|
435
|
-
<div class="refsect2"
|
428
|
+
<div class="refsect2">
|
436
429
|
<a name="g-list-insert-sorted"></a><h3>g_list_insert_sorted ()</h3>
|
437
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
430
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_insert_sorted (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
438
431
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
439
432
|
<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>
|
440
433
|
<p>
|
@@ -446,67 +439,64 @@ function to determine its position.
|
|
446
439
|
<tbody>
|
447
440
|
<tr>
|
448
441
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
449
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
442
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
450
443
|
</td>
|
451
444
|
</tr>
|
452
445
|
<tr>
|
453
446
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
454
|
-
<td>the data for the new element
|
455
|
-
</td>
|
447
|
+
<td>the data for the new element</td>
|
456
448
|
</tr>
|
457
449
|
<tr>
|
458
450
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
459
|
-
<td>the function to compare elements in the list. It should
|
460
|
-
|
461
|
-
|
462
|
-
</td>
|
451
|
+
<td>the function to compare elements in the list. It should
|
452
|
+
return a number > 0 if the first parameter comes after the
|
453
|
+
second parameter in the sort order.</td>
|
463
454
|
</tr>
|
464
455
|
<tr>
|
465
456
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
466
|
-
<td>
|
457
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
467
458
|
</td>
|
468
459
|
</tr>
|
469
460
|
</tbody>
|
470
461
|
</table></div>
|
471
462
|
</div>
|
472
463
|
<hr>
|
473
|
-
<div class="refsect2"
|
464
|
+
<div class="refsect2">
|
474
465
|
<a name="g-list-remove"></a><h3>g_list_remove ()</h3>
|
475
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
466
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_remove (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
476
467
|
<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>
|
477
468
|
<p>
|
478
|
-
Removes an element from a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
469
|
+
Removes an element from a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
479
470
|
If two elements contain the same data, only the first is removed.
|
480
|
-
If none of the elements contain the data, the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> is unchanged.
|
471
|
+
If none of the elements contain the data, the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> is unchanged.
|
481
472
|
</p>
|
482
473
|
<div class="variablelist"><table border="0">
|
483
474
|
<col align="left" valign="top">
|
484
475
|
<tbody>
|
485
476
|
<tr>
|
486
477
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
487
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
478
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
488
479
|
</td>
|
489
480
|
</tr>
|
490
481
|
<tr>
|
491
482
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
492
|
-
<td>the data of the element to remove
|
493
|
-
</td>
|
483
|
+
<td>the data of the element to remove</td>
|
494
484
|
</tr>
|
495
485
|
<tr>
|
496
486
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
497
|
-
<td>
|
487
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
498
488
|
</td>
|
499
489
|
</tr>
|
500
490
|
</tbody>
|
501
491
|
</table></div>
|
502
492
|
</div>
|
503
493
|
<hr>
|
504
|
-
<div class="refsect2"
|
494
|
+
<div class="refsect2">
|
505
495
|
<a name="g-list-remove-link"></a><h3>g_list_remove_link ()</h3>
|
506
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
507
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *llink</code></em>);</pre>
|
496
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_remove_link (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
497
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *llink</code></em>);</pre>
|
508
498
|
<p>
|
509
|
-
Removes an element from a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>, without freeing the element.
|
499
|
+
Removes an element from a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>, without freeing the element.
|
510
500
|
The removed element's prev and next links are set to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, so
|
511
501
|
that it becomes a self-contained list with one element.
|
512
502
|
</p>
|
@@ -515,27 +505,26 @@ that it becomes a self-contained list with one element.
|
|
515
505
|
<tbody>
|
516
506
|
<tr>
|
517
507
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
518
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
508
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
519
509
|
</td>
|
520
510
|
</tr>
|
521
511
|
<tr>
|
522
512
|
<td><p><span class="term"><em class="parameter"><code>llink</code></em> :</span></p></td>
|
523
|
-
<td>an element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
513
|
+
<td>an element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
524
514
|
</td>
|
525
515
|
</tr>
|
526
516
|
<tr>
|
527
517
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
528
|
-
<td>
|
529
|
-
</td>
|
518
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>, without the element</td>
|
530
519
|
</tr>
|
531
520
|
</tbody>
|
532
521
|
</table></div>
|
533
522
|
</div>
|
534
523
|
<hr>
|
535
|
-
<div class="refsect2"
|
524
|
+
<div class="refsect2">
|
536
525
|
<a name="g-list-delete-link"></a><h3>g_list_delete_link ()</h3>
|
537
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
538
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *link_</code></em>);</pre>
|
526
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_delete_link (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
527
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *link_</code></em>);</pre>
|
539
528
|
<p>
|
540
529
|
Removes the node link_ from the list and frees it.
|
541
530
|
Compare this to <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-remove-link" title="g_list_remove_link ()"><code class="function">g_list_remove_link()</code></a> which removes the node
|
@@ -546,7 +535,7 @@ without freeing it.
|
|
546
535
|
<tbody>
|
547
536
|
<tr>
|
548
537
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
549
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
538
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
550
539
|
</td>
|
551
540
|
</tr>
|
552
541
|
<tr>
|
@@ -556,16 +545,16 @@ without freeing it.
|
|
556
545
|
</tr>
|
557
546
|
<tr>
|
558
547
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td>
|
548
|
+
<td>the new head of <em class="parameter"><code>list</code></em>
|
560
549
|
</td>
|
561
550
|
</tr>
|
562
551
|
</tbody>
|
563
552
|
</table></div>
|
564
553
|
</div>
|
565
554
|
<hr>
|
566
|
-
<div class="refsect2"
|
555
|
+
<div class="refsect2">
|
567
556
|
<a name="g-list-remove-all"></a><h3>g_list_remove_all ()</h3>
|
568
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
557
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_remove_all (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
569
558
|
<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>
|
570
559
|
<p>
|
571
560
|
Removes all list nodes with data equal to <em class="parameter"><code>data</code></em>.
|
@@ -578,37 +567,37 @@ matching the given data.
|
|
578
567
|
<tbody>
|
579
568
|
<tr>
|
580
569
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
581
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
570
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
582
571
|
</td>
|
583
572
|
</tr>
|
584
573
|
<tr>
|
585
574
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
586
|
-
<td>data to remove
|
587
|
-
</td>
|
575
|
+
<td>data to remove</td>
|
588
576
|
</tr>
|
589
577
|
<tr>
|
590
578
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
591
|
-
<td>
|
579
|
+
<td>new head of <em class="parameter"><code>list</code></em>
|
592
580
|
</td>
|
593
581
|
</tr>
|
594
582
|
</tbody>
|
595
583
|
</table></div>
|
596
584
|
</div>
|
597
585
|
<hr>
|
598
|
-
<div class="refsect2"
|
586
|
+
<div class="refsect2">
|
599
587
|
<a name="g-list-free"></a><h3>g_list_free ()</h3>
|
600
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_list_free (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
588
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_list_free (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
601
589
|
<p>
|
602
|
-
Frees all of the memory used by a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
590
|
+
Frees all of the memory used by a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
603
591
|
The freed elements are returned to the slice allocator.
|
604
592
|
</p>
|
605
593
|
<p>
|
606
594
|
</p>
|
607
|
-
<div class="note"
|
595
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
608
596
|
<h3 class="title">Note</h3>
|
609
597
|
<p>
|
610
598
|
If list elements contain dynamically-allocated memory,
|
611
|
-
|
599
|
+
you should either use <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free-full" title="g_list_free_full ()"><code class="function">g_list_free_full()</code></a> or free them manually
|
600
|
+
first.
|
612
601
|
</p>
|
613
602
|
</div>
|
614
603
|
<p>
|
@@ -617,17 +606,42 @@ they should be freed first.
|
|
617
606
|
<col align="left" valign="top">
|
618
607
|
<tbody><tr>
|
619
608
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
620
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
609
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
621
610
|
</td>
|
622
611
|
</tr></tbody>
|
623
612
|
</table></div>
|
624
613
|
</div>
|
625
614
|
<hr>
|
626
|
-
<div class="refsect2"
|
615
|
+
<div class="refsect2">
|
616
|
+
<a name="g-list-free-full"></a><h3>g_list_free_full ()</h3>
|
617
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_list_free_full (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
618
|
+
<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>
|
619
|
+
<p>
|
620
|
+
Convenience method, which frees all the memory used by a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>, and
|
621
|
+
calls the specified destroy function on every element's data.
|
622
|
+
</p>
|
623
|
+
<div class="variablelist"><table border="0">
|
624
|
+
<col align="left" valign="top">
|
625
|
+
<tbody>
|
626
|
+
<tr>
|
627
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
628
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
629
|
+
</td>
|
630
|
+
</tr>
|
631
|
+
<tr>
|
632
|
+
<td><p><span class="term"><em class="parameter"><code>free_func</code></em> :</span></p></td>
|
633
|
+
<td>the function to be called to free each element's data</td>
|
634
|
+
</tr>
|
635
|
+
</tbody>
|
636
|
+
</table></div>
|
637
|
+
<p class="since">Since 2.28</p>
|
638
|
+
</div>
|
639
|
+
<hr>
|
640
|
+
<div class="refsect2">
|
627
641
|
<a name="g-list-alloc"></a><h3>g_list_alloc ()</h3>
|
628
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
642
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
629
643
|
<p>
|
630
|
-
Allocates space for one <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> element. It is called by
|
644
|
+
Allocates space for one <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element. It is called by
|
631
645
|
<a class="link" href="glib-Doubly-Linked-Lists.html#g-list-append" title="g_list_append ()"><code class="function">g_list_append()</code></a>, <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-prepend" title="g_list_prepend ()"><code class="function">g_list_prepend()</code></a>, <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert" title="g_list_insert ()"><code class="function">g_list_insert()</code></a> and
|
632
646
|
<a class="link" href="glib-Doubly-Linked-Lists.html#g-list-insert-sorted" title="g_list_insert_sorted ()"><code class="function">g_list_insert_sorted()</code></a> and so is rarely used on its own.
|
633
647
|
</p>
|
@@ -635,30 +649,28 @@ Allocates space for one <a class="link" href="glib-Doubly-Linked-Lists.html#GLis
|
|
635
649
|
<col align="left" valign="top">
|
636
650
|
<tbody><tr>
|
637
651
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
638
|
-
<td>a pointer to the newly-allocated <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> element
|
639
|
-
</td>
|
652
|
+
<td>a pointer to the newly-allocated <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element.</td>
|
640
653
|
</tr></tbody>
|
641
654
|
</table></div>
|
642
655
|
</div>
|
643
656
|
<hr>
|
644
|
-
<div class="refsect2"
|
657
|
+
<div class="refsect2">
|
645
658
|
<a name="g-list-free-1"></a><h3>g_list_free_1 ()</h3>
|
646
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_list_free_1 (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
659
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_list_free_1 (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
647
660
|
<p>
|
648
|
-
Frees one <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> element.
|
661
|
+
Frees one <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element.
|
649
662
|
It is usually used after <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-remove-link" title="g_list_remove_link ()"><code class="function">g_list_remove_link()</code></a>.
|
650
663
|
</p>
|
651
664
|
<div class="variablelist"><table border="0">
|
652
665
|
<col align="left" valign="top">
|
653
666
|
<tbody><tr>
|
654
667
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
655
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> element
|
656
|
-
</td>
|
668
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element</td>
|
657
669
|
</tr></tbody>
|
658
670
|
</table></div>
|
659
671
|
</div>
|
660
672
|
<hr>
|
661
|
-
<div class="refsect2"
|
673
|
+
<div class="refsect2">
|
662
674
|
<a name="g-list-free1"></a><h3>g_list_free1</h3>
|
663
675
|
<pre class="programlisting">#define g_list_free1</pre>
|
664
676
|
<p>
|
@@ -666,15 +678,15 @@ Another name for <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free
|
|
666
678
|
</p>
|
667
679
|
</div>
|
668
680
|
<hr>
|
669
|
-
<div class="refsect2"
|
681
|
+
<div class="refsect2">
|
670
682
|
<a name="g-list-length"></a><h3>g_list_length ()</h3>
|
671
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_list_length (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
683
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_list_length (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
672
684
|
<p>
|
673
|
-
Gets the number of elements in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
685
|
+
Gets the number of elements in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
674
686
|
</p>
|
675
687
|
<p>
|
676
688
|
</p>
|
677
|
-
<div class="note"
|
689
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
678
690
|
<h3 class="title">Note</h3>
|
679
691
|
<p>
|
680
692
|
This function iterates over the whole list to
|
@@ -688,27 +700,27 @@ count its elements.
|
|
688
700
|
<tbody>
|
689
701
|
<tr>
|
690
702
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
691
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
703
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
692
704
|
</td>
|
693
705
|
</tr>
|
694
706
|
<tr>
|
695
707
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
696
|
-
<td>
|
708
|
+
<td>the number of elements in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
697
709
|
</td>
|
698
710
|
</tr>
|
699
711
|
</tbody>
|
700
712
|
</table></div>
|
701
713
|
</div>
|
702
714
|
<hr>
|
703
|
-
<div class="refsect2"
|
715
|
+
<div class="refsect2">
|
704
716
|
<a name="g-list-copy"></a><h3>g_list_copy ()</h3>
|
705
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
717
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_copy (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
706
718
|
<p>
|
707
|
-
Copies a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
719
|
+
Copies a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
708
720
|
</p>
|
709
721
|
<p>
|
710
722
|
</p>
|
711
|
-
<div class="note"
|
723
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
712
724
|
<h3 class="title">Note</h3>
|
713
725
|
<p>
|
714
726
|
Note that this is a "shallow" copy. If the list elements
|
@@ -723,23 +735,23 @@ the actual data is not.
|
|
723
735
|
<tbody>
|
724
736
|
<tr>
|
725
737
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
726
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
738
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
727
739
|
</td>
|
728
740
|
</tr>
|
729
741
|
<tr>
|
730
742
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
731
|
-
<td>
|
743
|
+
<td>a copy of <em class="parameter"><code>list</code></em>
|
732
744
|
</td>
|
733
745
|
</tr>
|
734
746
|
</tbody>
|
735
747
|
</table></div>
|
736
748
|
</div>
|
737
749
|
<hr>
|
738
|
-
<div class="refsect2"
|
750
|
+
<div class="refsect2">
|
739
751
|
<a name="g-list-reverse"></a><h3>g_list_reverse ()</h3>
|
740
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
752
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_reverse (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
741
753
|
<p>
|
742
|
-
Reverses a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
754
|
+
Reverses a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
743
755
|
It simply switches the next and prev pointers of each element.
|
744
756
|
</p>
|
745
757
|
<div class="variablelist"><table border="0">
|
@@ -747,52 +759,51 @@ It simply switches the next and prev pointers of each element.
|
|
747
759
|
<tbody>
|
748
760
|
<tr>
|
749
761
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
750
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
762
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
751
763
|
</td>
|
752
764
|
</tr>
|
753
765
|
<tr>
|
754
766
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
755
|
-
<td>
|
767
|
+
<td>the start of the reversed <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
756
768
|
</td>
|
757
769
|
</tr>
|
758
770
|
</tbody>
|
759
771
|
</table></div>
|
760
772
|
</div>
|
761
773
|
<hr>
|
762
|
-
<div class="refsect2"
|
774
|
+
<div class="refsect2">
|
763
775
|
<a name="g-list-sort"></a><h3>g_list_sort ()</h3>
|
764
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
776
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_sort (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
765
777
|
<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>
|
766
778
|
<p>
|
767
|
-
Sorts a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> using the given comparison function.
|
779
|
+
Sorts a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> using the given comparison function.
|
768
780
|
</p>
|
769
781
|
<div class="variablelist"><table border="0">
|
770
782
|
<col align="left" valign="top">
|
771
783
|
<tbody>
|
772
784
|
<tr>
|
773
785
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
774
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
786
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
775
787
|
</td>
|
776
788
|
</tr>
|
777
789
|
<tr>
|
778
790
|
<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
|
779
|
-
<td>the comparison function used to sort the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
</td>
|
791
|
+
<td>the comparison function used to sort the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
792
|
+
This function is passed the data from 2 elements of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
793
|
+
and should return 0 if they are equal, a negative value if the
|
794
|
+
first element comes before the second, or a positive value if
|
795
|
+
the first element comes after the second.</td>
|
785
796
|
</tr>
|
786
797
|
<tr>
|
787
798
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
788
|
-
<td>
|
799
|
+
<td>the start of the sorted <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
789
800
|
</td>
|
790
801
|
</tr>
|
791
802
|
</tbody>
|
792
803
|
</table></div>
|
793
804
|
</div>
|
794
805
|
<hr>
|
795
|
-
<div class="refsect2"
|
806
|
+
<div class="refsect2">
|
796
807
|
<a name="GCompareFunc"></a><h3>GCompareFunc ()</h3>
|
797
808
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (*GCompareFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
798
809
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>);</pre>
|
@@ -807,27 +818,24 @@ integer if the first value comes after the second.
|
|
807
818
|
<tbody>
|
808
819
|
<tr>
|
809
820
|
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
810
|
-
<td>a value
|
811
|
-
</td>
|
821
|
+
<td>a value.</td>
|
812
822
|
</tr>
|
813
823
|
<tr>
|
814
824
|
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
|
815
|
-
<td>a value to compare with
|
816
|
-
</td>
|
825
|
+
<td>a value to compare with.</td>
|
817
826
|
</tr>
|
818
827
|
<tr>
|
819
828
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
820
829
|
<td>negative value if <em class="parameter"><code>a</code></em> < <em class="parameter"><code>b</code></em>; zero if <em class="parameter"><code>a</code></em> = <em class="parameter"><code>b</code></em>; positive
|
821
|
-
|
822
|
-
</td>
|
830
|
+
value if <em class="parameter"><code>a</code></em> > <em class="parameter"><code>b</code></em>.</td>
|
823
831
|
</tr>
|
824
832
|
</tbody>
|
825
833
|
</table></div>
|
826
834
|
</div>
|
827
835
|
<hr>
|
828
|
-
<div class="refsect2"
|
836
|
+
<div class="refsect2">
|
829
837
|
<a name="g-list-insert-sorted-with-data"></a><h3>g_list_insert_sorted_with_data ()</h3>
|
830
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
838
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_insert_sorted_with_data (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
831
839
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
832
840
|
<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>,
|
833
841
|
<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>
|
@@ -840,30 +848,26 @@ function to determine its position.
|
|
840
848
|
<tbody>
|
841
849
|
<tr>
|
842
850
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
843
|
-
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
851
|
+
<td>a pointer to a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
844
852
|
</td>
|
845
853
|
</tr>
|
846
854
|
<tr>
|
847
855
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
848
|
-
<td>the data for the new element
|
849
|
-
</td>
|
856
|
+
<td>the data for the new element</td>
|
850
857
|
</tr>
|
851
858
|
<tr>
|
852
859
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
853
|
-
<td>the function to compare elements in the list.
|
854
|
-
|
855
|
-
|
856
|
-
</td>
|
860
|
+
<td>the function to compare elements in the list.
|
861
|
+
It should return a number > 0 if the first parameter
|
862
|
+
comes after the second parameter in the sort order.</td>
|
857
863
|
</tr>
|
858
864
|
<tr>
|
859
865
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
860
|
-
<td>user data to pass to comparison function
|
861
|
-
</td>
|
866
|
+
<td>user data to pass to comparison function.</td>
|
862
867
|
</tr>
|
863
868
|
<tr>
|
864
869
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
865
|
-
<td>
|
866
|
-
|
870
|
+
<td>the new start of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
867
871
|
</td>
|
868
872
|
</tr>
|
869
873
|
</tbody>
|
@@ -871,9 +875,9 @@ function to determine its position.
|
|
871
875
|
<p class="since">Since 2.10</p>
|
872
876
|
</div>
|
873
877
|
<hr>
|
874
|
-
<div class="refsect2"
|
878
|
+
<div class="refsect2">
|
875
879
|
<a name="g-list-sort-with-data"></a><h3>g_list_sort_with_data ()</h3>
|
876
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
880
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_sort_with_data (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
877
881
|
<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>,
|
878
882
|
<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>
|
879
883
|
<p>
|
@@ -885,29 +889,27 @@ a user data argument.
|
|
885
889
|
<tbody>
|
886
890
|
<tr>
|
887
891
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
888
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
892
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
889
893
|
</td>
|
890
894
|
</tr>
|
891
895
|
<tr>
|
892
896
|
<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
|
893
|
-
<td>comparison function
|
894
|
-
</td>
|
897
|
+
<td>comparison function</td>
|
895
898
|
</tr>
|
896
899
|
<tr>
|
897
900
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
898
|
-
<td>user data to pass to comparison function
|
899
|
-
</td>
|
901
|
+
<td>user data to pass to comparison function</td>
|
900
902
|
</tr>
|
901
903
|
<tr>
|
902
904
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
903
|
-
<td>
|
905
|
+
<td>the new head of <em class="parameter"><code>list</code></em>
|
904
906
|
</td>
|
905
907
|
</tr>
|
906
908
|
</tbody>
|
907
909
|
</table></div>
|
908
910
|
</div>
|
909
911
|
<hr>
|
910
|
-
<div class="refsect2"
|
912
|
+
<div class="refsect2">
|
911
913
|
<a name="GCompareDataFunc"></a><h3>GCompareDataFunc ()</h3>
|
912
914
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (*GCompareDataFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
913
915
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>,
|
@@ -923,36 +925,32 @@ integer if the first value comes after the second.
|
|
923
925
|
<tbody>
|
924
926
|
<tr>
|
925
927
|
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
926
|
-
<td>a value
|
927
|
-
</td>
|
928
|
+
<td>a value.</td>
|
928
929
|
</tr>
|
929
930
|
<tr>
|
930
931
|
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
|
931
|
-
<td>a value to compare with
|
932
|
-
</td>
|
932
|
+
<td>a value to compare with.</td>
|
933
933
|
</tr>
|
934
934
|
<tr>
|
935
935
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
936
|
-
<td>user data to pass to comparison function
|
937
|
-
</td>
|
936
|
+
<td>user data to pass to comparison function.</td>
|
938
937
|
</tr>
|
939
938
|
<tr>
|
940
939
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
941
940
|
<td>negative value if <em class="parameter"><code>a</code></em> < <em class="parameter"><code>b</code></em>; zero if <em class="parameter"><code>a</code></em> = <em class="parameter"><code>b</code></em>; positive
|
942
|
-
|
943
|
-
</td>
|
941
|
+
value if <em class="parameter"><code>a</code></em> > <em class="parameter"><code>b</code></em>.</td>
|
944
942
|
</tr>
|
945
943
|
</tbody>
|
946
944
|
</table></div>
|
947
945
|
</div>
|
948
946
|
<hr>
|
949
|
-
<div class="refsect2"
|
947
|
+
<div class="refsect2">
|
950
948
|
<a name="g-list-concat"></a><h3>g_list_concat ()</h3>
|
951
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
952
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list2</code></em>);</pre>
|
949
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_concat (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list1</code></em>,
|
950
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list2</code></em>);</pre>
|
953
951
|
<p>
|
954
|
-
Adds the second <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> onto the end of the first <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
955
|
-
Note that the elements of the second <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> are not copied.
|
952
|
+
Adds the second <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> onto the end of the first <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
953
|
+
Note that the elements of the second <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> are not copied.
|
956
954
|
They are used directly.
|
957
955
|
</p>
|
958
956
|
<div class="variablelist"><table border="0">
|
@@ -960,54 +958,52 @@ They are used directly.
|
|
960
958
|
<tbody>
|
961
959
|
<tr>
|
962
960
|
<td><p><span class="term"><em class="parameter"><code>list1</code></em> :</span></p></td>
|
963
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
961
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
964
962
|
</td>
|
965
963
|
</tr>
|
966
964
|
<tr>
|
967
965
|
<td><p><span class="term"><em class="parameter"><code>list2</code></em> :</span></p></td>
|
968
|
-
<td>the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> to add to the end of the first <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
966
|
+
<td>the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> to add to the end of the first <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
969
967
|
</td>
|
970
968
|
</tr>
|
971
969
|
<tr>
|
972
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
973
|
-
<td>
|
971
|
+
<td>the start of the new <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
974
972
|
</td>
|
975
973
|
</tr>
|
976
974
|
</tbody>
|
977
975
|
</table></div>
|
978
976
|
</div>
|
979
977
|
<hr>
|
980
|
-
<div class="refsect2"
|
978
|
+
<div class="refsect2">
|
981
979
|
<a name="g-list-foreach"></a><h3>g_list_foreach ()</h3>
|
982
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_list_foreach (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
980
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_list_foreach (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
983
981
|
<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>,
|
984
982
|
<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>
|
985
983
|
<p>
|
986
|
-
Calls a function for each element of a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
984
|
+
Calls a function for each element of a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
987
985
|
</p>
|
988
986
|
<div class="variablelist"><table border="0">
|
989
987
|
<col align="left" valign="top">
|
990
988
|
<tbody>
|
991
989
|
<tr>
|
992
990
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
993
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
991
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
994
992
|
</td>
|
995
993
|
</tr>
|
996
994
|
<tr>
|
997
995
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
998
|
-
<td>the function to call with each element's data
|
999
|
-
</td>
|
996
|
+
<td>the function to call with each element's data</td>
|
1000
997
|
</tr>
|
1001
998
|
<tr>
|
1002
999
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1003
|
-
<td>user data to pass to the function
|
1004
|
-
</td>
|
1000
|
+
<td>user data to pass to the function</td>
|
1005
1001
|
</tr>
|
1006
1002
|
</tbody>
|
1007
1003
|
</table></div>
|
1008
1004
|
</div>
|
1009
1005
|
<hr>
|
1010
|
-
<div class="refsect2"
|
1006
|
+
<div class="refsect2">
|
1011
1007
|
<a name="GFunc"></a><h3>GFunc ()</h3>
|
1012
1008
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1013
1009
|
<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>
|
@@ -1020,147 +1016,138 @@ Specifies the type of functions passed to <a class="link" href="glib-Doubly-Link
|
|
1020
1016
|
<tbody>
|
1021
1017
|
<tr>
|
1022
1018
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1023
|
-
<td>the element's data
|
1024
|
-
</td>
|
1019
|
+
<td>the element's data.</td>
|
1025
1020
|
</tr>
|
1026
1021
|
<tr>
|
1027
1022
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1028
1023
|
<td>user data passed to <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-foreach" title="g_list_foreach ()"><code class="function">g_list_foreach()</code></a> or
|
1029
|
-
|
1030
|
-
</td>
|
1024
|
+
<a class="link" href="glib-Singly-Linked-Lists.html#g-slist-foreach" title="g_slist_foreach ()"><code class="function">g_slist_foreach()</code></a>.</td>
|
1031
1025
|
</tr>
|
1032
1026
|
</tbody>
|
1033
1027
|
</table></div>
|
1034
1028
|
</div>
|
1035
1029
|
<hr>
|
1036
|
-
<div class="refsect2"
|
1030
|
+
<div class="refsect2">
|
1037
1031
|
<a name="g-list-first"></a><h3>g_list_first ()</h3>
|
1038
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1032
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_first (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
1039
1033
|
<p>
|
1040
|
-
Gets the first element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
1034
|
+
Gets the first element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
1041
1035
|
</p>
|
1042
1036
|
<div class="variablelist"><table border="0">
|
1043
1037
|
<col align="left" valign="top">
|
1044
1038
|
<tbody>
|
1045
1039
|
<tr>
|
1046
1040
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1047
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1041
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1048
1042
|
</td>
|
1049
1043
|
</tr>
|
1050
1044
|
<tr>
|
1051
1045
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1052
|
-
<td>
|
1053
|
-
|
1054
|
-
</td>
|
1046
|
+
<td>the first element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>,
|
1047
|
+
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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> has no elements</td>
|
1055
1048
|
</tr>
|
1056
1049
|
</tbody>
|
1057
1050
|
</table></div>
|
1058
1051
|
</div>
|
1059
1052
|
<hr>
|
1060
|
-
<div class="refsect2"
|
1053
|
+
<div class="refsect2">
|
1061
1054
|
<a name="g-list-last"></a><h3>g_list_last ()</h3>
|
1062
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1055
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_last (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>);</pre>
|
1063
1056
|
<p>
|
1064
|
-
Gets the last element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
1057
|
+
Gets the last element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
1065
1058
|
</p>
|
1066
1059
|
<div class="variablelist"><table border="0">
|
1067
1060
|
<col align="left" valign="top">
|
1068
1061
|
<tbody>
|
1069
1062
|
<tr>
|
1070
1063
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1071
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1064
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1072
1065
|
</td>
|
1073
1066
|
</tr>
|
1074
1067
|
<tr>
|
1075
1068
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1076
|
-
<td>
|
1077
|
-
|
1078
|
-
</td>
|
1069
|
+
<td>the last element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>,
|
1070
|
+
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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> has no elements</td>
|
1079
1071
|
</tr>
|
1080
1072
|
</tbody>
|
1081
1073
|
</table></div>
|
1082
1074
|
</div>
|
1083
1075
|
<hr>
|
1084
|
-
<div class="refsect2"
|
1076
|
+
<div class="refsect2">
|
1085
1077
|
<a name="g-list-previous"></a><h3>g_list_previous()</h3>
|
1086
1078
|
<pre class="programlisting">#define g_list_previous(list)</pre>
|
1087
1079
|
<p>
|
1088
|
-
A convenience macro to get the previous element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
1080
|
+
A convenience macro to get the previous element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
1089
1081
|
</p>
|
1090
1082
|
<div class="variablelist"><table border="0">
|
1091
1083
|
<col align="left" valign="top">
|
1092
1084
|
<tbody>
|
1093
1085
|
<tr>
|
1094
1086
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1095
|
-
<td>an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a
|
1096
|
-
</td>
|
1087
|
+
<td>an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.</td>
|
1097
1088
|
</tr>
|
1098
1089
|
<tr>
|
1099
1090
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1100
1091
|
<td>the previous element, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if there are no previous
|
1101
|
-
|
1102
|
-
</td>
|
1092
|
+
elements.</td>
|
1103
1093
|
</tr>
|
1104
1094
|
</tbody>
|
1105
1095
|
</table></div>
|
1106
1096
|
</div>
|
1107
1097
|
<hr>
|
1108
|
-
<div class="refsect2"
|
1098
|
+
<div class="refsect2">
|
1109
1099
|
<a name="g-list-next"></a><h3>g_list_next()</h3>
|
1110
1100
|
<pre class="programlisting">#define g_list_next(list)</pre>
|
1111
1101
|
<p>
|
1112
|
-
A convenience macro to get the next element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
1102
|
+
A convenience macro to get the next element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
1113
1103
|
</p>
|
1114
1104
|
<div class="variablelist"><table border="0">
|
1115
1105
|
<col align="left" valign="top">
|
1116
1106
|
<tbody>
|
1117
1107
|
<tr>
|
1118
1108
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1119
|
-
<td>an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a
|
1120
|
-
</td>
|
1109
|
+
<td>an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.</td>
|
1121
1110
|
</tr>
|
1122
1111
|
<tr>
|
1123
1112
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1124
|
-
<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
|
1125
|
-
</td>
|
1113
|
+
<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>
|
1126
1114
|
</tr>
|
1127
1115
|
</tbody>
|
1128
1116
|
</table></div>
|
1129
1117
|
</div>
|
1130
1118
|
<hr>
|
1131
|
-
<div class="refsect2"
|
1119
|
+
<div class="refsect2">
|
1132
1120
|
<a name="g-list-nth"></a><h3>g_list_nth ()</h3>
|
1133
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1121
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_nth (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1134
1122
|
<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>
|
1135
1123
|
<p>
|
1136
|
-
Gets the element at the given position in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>.
|
1124
|
+
Gets the element at the given position in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>.
|
1137
1125
|
</p>
|
1138
1126
|
<div class="variablelist"><table border="0">
|
1139
1127
|
<col align="left" valign="top">
|
1140
1128
|
<tbody>
|
1141
1129
|
<tr>
|
1142
1130
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1143
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1131
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1144
1132
|
</td>
|
1145
1133
|
</tr>
|
1146
1134
|
<tr>
|
1147
1135
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1148
|
-
<td>the position of the element, counting from 0
|
1149
|
-
</td>
|
1136
|
+
<td>the position of the element, counting from 0</td>
|
1150
1137
|
</tr>
|
1151
1138
|
<tr>
|
1152
1139
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1153
|
-
<td>
|
1154
|
-
|
1140
|
+
<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
|
1141
|
+
the end of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1155
1142
|
</td>
|
1156
1143
|
</tr>
|
1157
1144
|
</tbody>
|
1158
1145
|
</table></div>
|
1159
1146
|
</div>
|
1160
1147
|
<hr>
|
1161
|
-
<div class="refsect2"
|
1148
|
+
<div class="refsect2">
|
1162
1149
|
<a name="g-list-nth-data"></a><h3>g_list_nth_data ()</h3>
|
1163
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_list_nth_data (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
1150
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_list_nth_data (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1164
1151
|
<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>
|
1165
1152
|
<p>
|
1166
1153
|
Gets the data of the element at the given position.
|
@@ -1170,27 +1157,26 @@ Gets the data of the element at the given position.
|
|
1170
1157
|
<tbody>
|
1171
1158
|
<tr>
|
1172
1159
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1173
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1160
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1174
1161
|
</td>
|
1175
1162
|
</tr>
|
1176
1163
|
<tr>
|
1177
1164
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1178
|
-
<td>the position of the element
|
1179
|
-
</td>
|
1165
|
+
<td>the position of the element</td>
|
1180
1166
|
</tr>
|
1181
1167
|
<tr>
|
1182
1168
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1183
|
-
<td>
|
1184
|
-
|
1169
|
+
<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
|
1170
|
+
is off the end of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1185
1171
|
</td>
|
1186
1172
|
</tr>
|
1187
1173
|
</tbody>
|
1188
1174
|
</table></div>
|
1189
1175
|
</div>
|
1190
1176
|
<hr>
|
1191
|
-
<div class="refsect2"
|
1177
|
+
<div class="refsect2">
|
1192
1178
|
<a name="g-list-nth-prev"></a><h3>g_list_nth_prev ()</h3>
|
1193
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1179
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_nth_prev (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1194
1180
|
<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>
|
1195
1181
|
<p>
|
1196
1182
|
Gets the element <em class="parameter"><code>n</code></em> places before <em class="parameter"><code>list</code></em>.
|
@@ -1200,30 +1186,29 @@ Gets the element <em class="parameter"><code>n</code></em> places before <em cla
|
|
1200
1186
|
<tbody>
|
1201
1187
|
<tr>
|
1202
1188
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1203
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1189
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1204
1190
|
</td>
|
1205
1191
|
</tr>
|
1206
1192
|
<tr>
|
1207
1193
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1208
|
-
<td>the position of the element, counting from 0
|
1209
|
-
</td>
|
1194
|
+
<td>the position of the element, counting from 0</td>
|
1210
1195
|
</tr>
|
1211
1196
|
<tr>
|
1212
1197
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1213
|
-
<td>
|
1214
|
-
|
1198
|
+
<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
|
1199
|
+
off the end of the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1215
1200
|
</td>
|
1216
1201
|
</tr>
|
1217
1202
|
</tbody>
|
1218
1203
|
</table></div>
|
1219
1204
|
</div>
|
1220
1205
|
<hr>
|
1221
|
-
<div class="refsect2"
|
1206
|
+
<div class="refsect2">
|
1222
1207
|
<a name="g-list-find"></a><h3>g_list_find ()</h3>
|
1223
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1208
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_find (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1224
1209
|
<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>
|
1225
1210
|
<p>
|
1226
|
-
Finds the element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> which
|
1211
|
+
Finds the element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> which
|
1227
1212
|
contains the given data.
|
1228
1213
|
</p>
|
1229
1214
|
<div class="variablelist"><table border="0">
|
@@ -1231,35 +1216,33 @@ contains the given data.
|
|
1231
1216
|
<tbody>
|
1232
1217
|
<tr>
|
1233
1218
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1234
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1219
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1235
1220
|
</td>
|
1236
1221
|
</tr>
|
1237
1222
|
<tr>
|
1238
1223
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1239
|
-
<td>the element data to find
|
1240
|
-
</td>
|
1224
|
+
<td>the element data to find</td>
|
1241
1225
|
</tr>
|
1242
1226
|
<tr>
|
1243
1227
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1244
|
-
<td>
|
1245
|
-
|
1246
|
-
</td>
|
1228
|
+
<td>the found <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element,
|
1229
|
+
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>
|
1247
1230
|
</tr>
|
1248
1231
|
</tbody>
|
1249
1232
|
</table></div>
|
1250
1233
|
</div>
|
1251
1234
|
<hr>
|
1252
|
-
<div class="refsect2"
|
1235
|
+
<div class="refsect2">
|
1253
1236
|
<a name="g-list-find-custom"></a><h3>g_list_find_custom ()</h3>
|
1254
|
-
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="returnvalue">GList</span></a
|
1237
|
+
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_list_find_custom (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1255
1238
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
1256
1239
|
<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>
|
1257
1240
|
<p>
|
1258
|
-
Finds an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>, using a supplied function to
|
1241
|
+
Finds an element in a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>, using a supplied function to
|
1259
1242
|
find the desired element. It iterates over the list, calling
|
1260
1243
|
the given function which should return 0 when the desired
|
1261
1244
|
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,
|
1262
|
-
the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> element's data as the first argument and the
|
1245
|
+
the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> element's data as the first argument and the
|
1263
1246
|
given user data.
|
1264
1247
|
</p>
|
1265
1248
|
<div class="variablelist"><table border="0">
|
@@ -1267,63 +1250,59 @@ given user data.
|
|
1267
1250
|
<tbody>
|
1268
1251
|
<tr>
|
1269
1252
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1270
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1253
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1271
1254
|
</td>
|
1272
1255
|
</tr>
|
1273
1256
|
<tr>
|
1274
1257
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1275
|
-
<td>user data passed to the function
|
1276
|
-
</td>
|
1258
|
+
<td>user data passed to the function</td>
|
1277
1259
|
</tr>
|
1278
1260
|
<tr>
|
1279
1261
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1280
|
-
<td>the function to call for each element.
|
1281
|
-
|
1282
|
-
</td>
|
1262
|
+
<td>the function to call for each element.
|
1263
|
+
It should return 0 when the desired element is found</td>
|
1283
1264
|
</tr>
|
1284
1265
|
<tr>
|
1285
1266
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1286
|
-
<td>
|
1287
|
-
</td>
|
1267
|
+
<td>the found <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</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>
|
1288
1268
|
</tr>
|
1289
1269
|
</tbody>
|
1290
1270
|
</table></div>
|
1291
1271
|
</div>
|
1292
1272
|
<hr>
|
1293
|
-
<div class="refsect2"
|
1273
|
+
<div class="refsect2">
|
1294
1274
|
<a name="g-list-position"></a><h3>g_list_position ()</h3>
|
1295
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_list_position (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
1296
|
-
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *llink</code></em>);</pre>
|
1275
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_list_position (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1276
|
+
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *llink</code></em>);</pre>
|
1297
1277
|
<p>
|
1298
1278
|
Gets the position of the given element
|
1299
|
-
in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> (starting from 0).
|
1279
|
+
in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> (starting from 0).
|
1300
1280
|
</p>
|
1301
1281
|
<div class="variablelist"><table border="0">
|
1302
1282
|
<col align="left" valign="top">
|
1303
1283
|
<tbody>
|
1304
1284
|
<tr>
|
1305
1285
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1306
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1286
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1307
1287
|
</td>
|
1308
1288
|
</tr>
|
1309
1289
|
<tr>
|
1310
1290
|
<td><p><span class="term"><em class="parameter"><code>llink</code></em> :</span></p></td>
|
1311
|
-
<td>an element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1291
|
+
<td>an element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1312
1292
|
</td>
|
1313
1293
|
</tr>
|
1314
1294
|
<tr>
|
1315
1295
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1316
|
-
<td>
|
1317
|
-
|
1318
|
-
</td>
|
1296
|
+
<td>the position of the element in the <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>,
|
1297
|
+
or -1 if the element is not found</td>
|
1319
1298
|
</tr>
|
1320
1299
|
</tbody>
|
1321
1300
|
</table></div>
|
1322
1301
|
</div>
|
1323
1302
|
<hr>
|
1324
|
-
<div class="refsect2"
|
1303
|
+
<div class="refsect2">
|
1325
1304
|
<a name="g-list-index"></a><h3>g_list_index ()</h3>
|
1326
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_list_index (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> *list</code></em>,
|
1305
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_list_index (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *list</code></em>,
|
1327
1306
|
<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>
|
1328
1307
|
<p>
|
1329
1308
|
Gets the position of the element containing
|
@@ -1334,35 +1313,33 @@ the given data (starting from 0).
|
|
1334
1313
|
<tbody>
|
1335
1314
|
<tr>
|
1336
1315
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1337
|
-
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1316
|
+
<td>a <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1338
1317
|
</td>
|
1339
1318
|
</tr>
|
1340
1319
|
<tr>
|
1341
1320
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1342
|
-
<td>the data to find
|
1343
|
-
</td>
|
1321
|
+
<td>the data to find</td>
|
1344
1322
|
</tr>
|
1345
1323
|
<tr>
|
1346
1324
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1347
|
-
<td>
|
1348
|
-
|
1349
|
-
</td>
|
1325
|
+
<td>the index of the element containing the data,
|
1326
|
+
or -1 if the data is not found</td>
|
1350
1327
|
</tr>
|
1351
1328
|
</tbody>
|
1352
1329
|
</table></div>
|
1353
1330
|
</div>
|
1354
1331
|
<hr>
|
1355
|
-
<div class="refsect2"
|
1332
|
+
<div class="refsect2">
|
1356
1333
|
<a name="g-list-push-allocator"></a><h3>g_list_push_allocator ()</h3>
|
1357
1334
|
<pre class="programlisting"><span class="returnvalue">void</span> g_list_push_allocator (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> allocator</code></em>);</pre>
|
1358
|
-
<div class="warning"
|
1335
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1359
1336
|
<h3 class="title">Warning</h3>
|
1360
|
-
<p><code class="literal">g_list_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-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> has been converted
|
1337
|
+
<p><code class="literal">g_list_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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> has been converted
|
1361
1338
|
to the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
1362
1339
|
allocator</a></p>
|
1363
1340
|
</div>
|
1364
1341
|
<p>
|
1365
|
-
Sets the allocator to use to allocate <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> elements. Use
|
1342
|
+
Sets the allocator to use to allocate <a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> elements. Use
|
1366
1343
|
<a class="link" href="glib-Doubly-Linked-Lists.html#g-list-pop-allocator" title="g_list_pop_allocator ()"><code class="function">g_list_pop_allocator()</code></a> to restore the previous allocator.
|
1367
1344
|
</p>
|
1368
1345
|
<p>
|
@@ -1373,23 +1350,22 @@ with <code class="option">--disable-mem-pools</code>
|
|
1373
1350
|
<col align="left" valign="top">
|
1374
1351
|
<tbody><tr>
|
1375
1352
|
<td><p><span class="term"><em class="parameter"><code>allocator</code></em> :</span></p></td>
|
1376
|
-
<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-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> elements
|
1377
|
-
</td>
|
1353
|
+
<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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> elements.</td>
|
1378
1354
|
</tr></tbody>
|
1379
1355
|
</table></div>
|
1380
1356
|
</div>
|
1381
1357
|
<hr>
|
1382
|
-
<div class="refsect2"
|
1358
|
+
<div class="refsect2">
|
1383
1359
|
<a name="g-list-pop-allocator"></a><h3>g_list_pop_allocator ()</h3>
|
1384
1360
|
<pre class="programlisting"><span class="returnvalue">void</span> g_list_pop_allocator (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1385
|
-
<div class="warning"
|
1361
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1386
1362
|
<h3 class="title">Warning</h3>
|
1387
|
-
<p><code class="literal">g_list_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-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a> has been converted
|
1363
|
+
<p><code class="literal">g_list_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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> has been converted
|
1388
1364
|
to the <a class="link" href="glib-Memory-Slices.html" title="Memory Slices">slice
|
1389
1365
|
allocator</a></p>
|
1390
1366
|
</div>
|
1391
1367
|
<p>
|
1392
|
-
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-Doubly-Linked-Lists.html#GList" title="GList"><span class="type">GList</span></a>
|
1368
|
+
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-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a>
|
1393
1369
|
elements.
|
1394
1370
|
</p>
|
1395
1371
|
<p>
|
@@ -1401,6 +1377,6 @@ with <code class="option">--disable-mem-pools</code>
|
|
1401
1377
|
</div>
|
1402
1378
|
<div class="footer">
|
1403
1379
|
<hr>
|
1404
|
-
Generated by GTK-Doc V1.
|
1380
|
+
Generated by GTK-Doc V1.16.1</div>
|
1405
1381
|
</body>
|
1406
1382
|
</html>
|