glib2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +79 -0
- data/Rakefile +8 -65
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbgobj_type.c +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib2.rb +2 -2
- data/lib/gnome2-raketask.rb +185 -0
- data/lib/gnome2-win32-binary-downloader.rb +49 -9
- data/lib/mkmf-gnome2.rb +55 -43
- data/test-unit/History.txt +5 -0
- data/test-unit/html/index.html +2 -2
- data/test-unit/html/index.html.ja +2 -2
- data/test-unit/lib/test/unit/assertions.rb +9 -4
- data/test-unit/lib/test/unit/autorunner.rb +13 -1
- data/test-unit/lib/test/unit/testsuite.rb +4 -2
- data/test-unit/lib/test/unit/version.rb +1 -1
- data/test-unit/test/test-testcase.rb +11 -3
- data/test-unit/test/test_assertions.rb +24 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{glib-dev_2.26.0-2_win32.mft → glib-dev_2.26.1-1_win32.mft} +4 -4
- data/vendor/local/manifest/{glib_2.26.0-2_win32.mft → glib_2.26.1-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{glib-2.26.0 → glib-2.26.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.0 → glib-dev-2.26.1}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +47 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +65 -65
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +221 -231
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +157 -157
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +53 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +83 -108
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +79 -79
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +60 -64
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +36 -40
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +40 -40
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4 -8
- data/vendor/local/share/gtk-doc/html/gio/async.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +70 -5
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/extending.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +44 -44
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +27 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +9 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -1
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/networking.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +53 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +49 -49
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +70 -70
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +42 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +23 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +112 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +227 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +91 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +60 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +66 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +78 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +64 -109
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +41 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +87 -87
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +154 -154
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +73 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +122 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +16 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/index.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +31 -31
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +20 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +23 -23
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +17 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +26 -26
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +74 -74
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +44 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +36 -36
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +262 -262
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +97 -97
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +158 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +37 -37
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +4 -4
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +15 -6
- data/vendor/local/share/man/man1/glib-mkenums.1 +12 -3
- data/vendor/local/share/man/man1/gobject-query.1 +13 -4
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.log → glib_2.26.1-1_win32.log} +549 -558
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.sh → glib_2.26.1-1_win32.sh} +2 -2
- metadata +860 -857
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Pointer Arrays</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-Arrays.html" title="Arrays">
|
10
10
|
<link rel="next" href="glib-Byte-Arrays.html" title="Byte Arrays">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Pointer-Arrays.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Pointer Arrays">
|
30
30
|
<a name="glib-Pointer-Arrays"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,18 +36,18 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
39
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
40
40
|
<a name="glib-Pointer-Arrays.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
43
43
|
|
44
44
|
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray">GPtrArray</a>;
|
45
|
-
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
46
|
-
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
47
|
-
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
45
|
+
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-new" title="g_ptr_array_new ()">g_ptr_array_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
46
|
+
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-sized-new" title="g_ptr_array_sized_new ()">g_ptr_array_sized_new</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> reserved_size</code></em>);
|
47
|
+
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-new-with-free-func" title="g_ptr_array_new_with_free_func ()">g_ptr_array_new_with_free_func</a> (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> element_free_func</code></em>);
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-set-free-func" title="g_ptr_array_set_free_func ()">g_ptr_array_set_free_func</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> element_free_func</code></em>);
|
50
|
-
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
50
|
+
<a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-ref" title="g_ptr_array_ref ()">g_ptr_array_ref</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>);
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-unref" title="g_ptr_array_unref ()">g_ptr_array_unref</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>);
|
52
52
|
<span class="returnvalue">void</span> <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-add" title="g_ptr_array_add ()">g_ptr_array_add</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
@@ -71,14 +71,14 @@
|
|
71
71
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);
|
72
72
|
#define <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-index" title="g_ptr_array_index()">g_ptr_array_index</a> (array,
|
73
73
|
index_)
|
74
|
-
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a
|
74
|
+
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a>* <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-free" title="g_ptr_array_free ()">g_ptr_array_free</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
75
75
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> free_seg</code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-foreach" title="g_ptr_array_foreach ()">g_ptr_array_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
77
77
|
<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>,
|
78
78
|
<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>);
|
79
79
|
</pre>
|
80
80
|
</div>
|
81
|
-
<div class="refsect1">
|
81
|
+
<div class="refsect1" title="Description">
|
82
82
|
<a name="glib-Pointer-Arrays.description"></a><h2>Description</h2>
|
83
83
|
<p>
|
84
84
|
Pointer Arrays are similar to Arrays but are used only for storing
|
@@ -86,7 +86,7 @@ pointers.
|
|
86
86
|
</p>
|
87
87
|
<p>
|
88
88
|
</p>
|
89
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
89
|
+
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
90
90
|
<h3 class="title">Note</h3>
|
91
91
|
<p>If you remove elements from the array, elements at the
|
92
92
|
end of the array are moved into the space previously occupied by the
|
@@ -118,7 +118,7 @@ To free a pointer array, use <a class="link" href="glib-Pointer-Arrays.html#g-pt
|
|
118
118
|
<p>
|
119
119
|
</p>
|
120
120
|
<div class="example">
|
121
|
-
<a name="
|
121
|
+
<a name="id954263"></a><p class="title"><b>Example 21. Using a <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a></b></p>
|
122
122
|
<div class="example-contents">
|
123
123
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
124
124
|
<tbody>
|
@@ -158,9 +158,9 @@ To free a pointer array, use <a class="link" href="glib-Pointer-Arrays.html#g-pt
|
|
158
158
|
<p><br class="example-break">
|
159
159
|
</p>
|
160
160
|
</div>
|
161
|
-
<div class="refsect1">
|
161
|
+
<div class="refsect1" title="Details">
|
162
162
|
<a name="glib-Pointer-Arrays.details"></a><h2>Details</h2>
|
163
|
-
<div class="refsect2">
|
163
|
+
<div class="refsect2" title="GPtrArray">
|
164
164
|
<a name="GPtrArray"></a><h3>GPtrArray</h3>
|
165
165
|
<pre class="programlisting">typedef struct {
|
166
166
|
gpointer *pdata;
|
@@ -188,9 +188,9 @@ Contains the public fields of a pointer array.
|
|
188
188
|
</table></div>
|
189
189
|
</div>
|
190
190
|
<hr>
|
191
|
-
<div class="refsect2">
|
191
|
+
<div class="refsect2" title="g_ptr_array_new ()">
|
192
192
|
<a name="g-ptr-array-new"></a><h3>g_ptr_array_new ()</h3>
|
193
|
-
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
193
|
+
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* g_ptr_array_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
194
194
|
<p>
|
195
195
|
Creates a new <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> with a reference count of 1.
|
196
196
|
</p>
|
@@ -204,9 +204,9 @@ Creates a new <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="G
|
|
204
204
|
</table></div>
|
205
205
|
</div>
|
206
206
|
<hr>
|
207
|
-
<div class="refsect2">
|
207
|
+
<div class="refsect2" title="g_ptr_array_sized_new ()">
|
208
208
|
<a name="g-ptr-array-sized-new"></a><h3>g_ptr_array_sized_new ()</h3>
|
209
|
-
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
209
|
+
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* g_ptr_array_sized_new (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> reserved_size</code></em>);</pre>
|
210
210
|
<p>
|
211
211
|
Creates a new <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> with <em class="parameter"><code>reserved_size</code></em> pointers preallocated
|
212
212
|
and a reference count of 1. This avoids frequent reallocation, if
|
@@ -230,9 +230,9 @@ the size of the array is still 0.
|
|
230
230
|
</table></div>
|
231
231
|
</div>
|
232
232
|
<hr>
|
233
|
-
<div class="refsect2">
|
233
|
+
<div class="refsect2" title="g_ptr_array_new_with_free_func ()">
|
234
234
|
<a name="g-ptr-array-new-with-free-func"></a><h3>g_ptr_array_new_with_free_func ()</h3>
|
235
|
-
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
235
|
+
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* g_ptr_array_new_with_free_func (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> element_free_func</code></em>);</pre>
|
236
236
|
<p>
|
237
237
|
Creates a new <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> with a reference count of 1 and use <em class="parameter"><code>element_free_func</code></em>
|
238
238
|
for freeing each element when the array is destroyed either via
|
@@ -258,7 +258,7 @@ set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><
|
|
258
258
|
<p class="since">Since 2.22</p>
|
259
259
|
</div>
|
260
260
|
<hr>
|
261
|
-
<div class="refsect2">
|
261
|
+
<div class="refsect2" title="g_ptr_array_set_free_func ()">
|
262
262
|
<a name="g-ptr-array-set-free-func"></a><h3>g_ptr_array_set_free_func ()</h3>
|
263
263
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_set_free_func (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
264
264
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> element_free_func</code></em>);</pre>
|
@@ -285,9 +285,9 @@ with <em class="parameter"><code>free_segment</code></em> set to <a class="link"
|
|
285
285
|
<p class="since">Since 2.22</p>
|
286
286
|
</div>
|
287
287
|
<hr>
|
288
|
-
<div class="refsect2">
|
288
|
+
<div class="refsect2" title="g_ptr_array_ref ()">
|
289
289
|
<a name="g-ptr-array-ref"></a><h3>g_ptr_array_ref ()</h3>
|
290
|
-
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a
|
290
|
+
<pre class="programlisting"><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="returnvalue">GPtrArray</span></a>* g_ptr_array_ref (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>);</pre>
|
291
291
|
<p>
|
292
292
|
Atomically increments the reference count of <em class="parameter"><code>array</code></em> by one. This
|
293
293
|
function is MT-safe and may be called from any thread.
|
@@ -311,7 +311,7 @@ function is MT-safe and may be called from any thread.
|
|
311
311
|
<p class="since">Since 2.22</p>
|
312
312
|
</div>
|
313
313
|
<hr>
|
314
|
-
<div class="refsect2">
|
314
|
+
<div class="refsect2" title="g_ptr_array_unref ()">
|
315
315
|
<a name="g-ptr-array-unref"></a><h3>g_ptr_array_unref ()</h3>
|
316
316
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_unref (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>);</pre>
|
317
317
|
<p>
|
@@ -331,7 +331,7 @@ is MT-safe and may be called from any thread.
|
|
331
331
|
<p class="since">Since 2.22</p>
|
332
332
|
</div>
|
333
333
|
<hr>
|
334
|
-
<div class="refsect2">
|
334
|
+
<div class="refsect2" title="g_ptr_array_add ()">
|
335
335
|
<a name="g-ptr-array-add"></a><h3>g_ptr_array_add ()</h3>
|
336
336
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_add (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
337
337
|
<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>
|
@@ -356,7 +356,7 @@ in size automatically if necessary.
|
|
356
356
|
</table></div>
|
357
357
|
</div>
|
358
358
|
<hr>
|
359
|
-
<div class="refsect2">
|
359
|
+
<div class="refsect2" title="g_ptr_array_remove ()">
|
360
360
|
<a name="g-ptr-array-remove"></a><h3>g_ptr_array_remove ()</h3>
|
361
361
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ptr_array_remove (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
362
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>);</pre>
|
@@ -394,7 +394,7 @@ pointer was not found.
|
|
394
394
|
</table></div>
|
395
395
|
</div>
|
396
396
|
<hr>
|
397
|
-
<div class="refsect2">
|
397
|
+
<div class="refsect2" title="g_ptr_array_remove_index ()">
|
398
398
|
<a name="g-ptr-array-remove-index"></a><h3>g_ptr_array_remove_index ()</h3>
|
399
399
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_ptr_array_remove_index (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
400
400
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
@@ -426,7 +426,7 @@ element.
|
|
426
426
|
</table></div>
|
427
427
|
</div>
|
428
428
|
<hr>
|
429
|
-
<div class="refsect2">
|
429
|
+
<div class="refsect2" title="g_ptr_array_remove_fast ()">
|
430
430
|
<a name="g-ptr-array-remove-fast"></a><h3>g_ptr_array_remove_fast ()</h3>
|
431
431
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ptr_array_remove_fast (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
432
432
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
@@ -464,7 +464,7 @@ pointer was not found.
|
|
464
464
|
</table></div>
|
465
465
|
</div>
|
466
466
|
<hr>
|
467
|
-
<div class="refsect2">
|
467
|
+
<div class="refsect2" title="g_ptr_array_remove_index_fast ()">
|
468
468
|
<a name="g-ptr-array-remove-index-fast"></a><h3>g_ptr_array_remove_index_fast ()</h3>
|
469
469
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_ptr_array_remove_index_fast (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
470
470
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
@@ -497,7 +497,7 @@ than <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-remove-index" ti
|
|
497
497
|
</table></div>
|
498
498
|
</div>
|
499
499
|
<hr>
|
500
|
-
<div class="refsect2">
|
500
|
+
<div class="refsect2" title="g_ptr_array_remove_range ()">
|
501
501
|
<a name="g-ptr-array-remove-range"></a><h3>g_ptr_array_remove_range ()</h3>
|
502
502
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_remove_range (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
503
503
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> index_</code></em>,
|
@@ -531,7 +531,7 @@ for the removed elements.
|
|
531
531
|
<p class="since">Since 2.4</p>
|
532
532
|
</div>
|
533
533
|
<hr>
|
534
|
-
<div class="refsect2">
|
534
|
+
<div class="refsect2" title="g_ptr_array_sort ()">
|
535
535
|
<a name="g-ptr-array-sort"></a><h3>g_ptr_array_sort ()</h3>
|
536
536
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_sort (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
537
537
|
<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>
|
@@ -547,7 +547,7 @@ is undefined.
|
|
547
547
|
</p>
|
548
548
|
<p>
|
549
549
|
</p>
|
550
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
550
|
+
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
551
551
|
<h3 class="title">Note</h3>
|
552
552
|
<p>The comparison function for <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-sort" title="g_ptr_array_sort ()"><code class="function">g_ptr_array_sort()</code></a> doesn't
|
553
553
|
take the pointers from the array as arguments, it takes pointers to
|
@@ -572,7 +572,7 @@ the pointers in the array.</p>
|
|
572
572
|
</table></div>
|
573
573
|
</div>
|
574
574
|
<hr>
|
575
|
-
<div class="refsect2">
|
575
|
+
<div class="refsect2" title="g_ptr_array_sort_with_data ()">
|
576
576
|
<a name="g-ptr-array-sort-with-data"></a><h3>g_ptr_array_sort_with_data ()</h3>
|
577
577
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_sort_with_data (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
578
578
|
<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>,
|
@@ -583,7 +583,7 @@ user data argument.
|
|
583
583
|
</p>
|
584
584
|
<p>
|
585
585
|
</p>
|
586
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
586
|
+
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
587
587
|
<h3 class="title">Note</h3>
|
588
588
|
<p>The comparison function for <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-sort-with-data" title="g_ptr_array_sort_with_data ()"><code class="function">g_ptr_array_sort_with_data()</code></a>
|
589
589
|
doesn't take the pointers from the array as arguments, it takes
|
@@ -613,7 +613,7 @@ pointers to the pointers in the array.</p>
|
|
613
613
|
</table></div>
|
614
614
|
</div>
|
615
615
|
<hr>
|
616
|
-
<div class="refsect2">
|
616
|
+
<div class="refsect2" title="g_ptr_array_set_size ()">
|
617
617
|
<a name="g-ptr-array-set-size"></a><h3>g_ptr_array_set_size ()</h3>
|
618
618
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_set_size (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
619
619
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);</pre>
|
@@ -640,7 +640,7 @@ called for the removed elements.
|
|
640
640
|
</table></div>
|
641
641
|
</div>
|
642
642
|
<hr>
|
643
|
-
<div class="refsect2">
|
643
|
+
<div class="refsect2" title="g_ptr_array_index()">
|
644
644
|
<a name="g-ptr-array-index"></a><h3>g_ptr_array_index()</h3>
|
645
645
|
<pre class="programlisting">#define g_ptr_array_index(array,index_)</pre>
|
646
646
|
<p>
|
@@ -668,9 +668,9 @@ Returns the pointer at the given index of the pointer array.
|
|
668
668
|
</table></div>
|
669
669
|
</div>
|
670
670
|
<hr>
|
671
|
-
<div class="refsect2">
|
671
|
+
<div class="refsect2" title="g_ptr_array_free ()">
|
672
672
|
<a name="g-ptr-array-free"></a><h3>g_ptr_array_free ()</h3>
|
673
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a
|
673
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a>* g_ptr_array_free (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
674
674
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> free_seg</code></em>);</pre>
|
675
675
|
<p>
|
676
676
|
Frees the memory allocated for the <a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a>. If <em class="parameter"><code>free_seg</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
@@ -682,7 +682,7 @@ size of <em class="parameter"><code>array</code></em> will be set to zero.
|
|
682
682
|
</p>
|
683
683
|
<p>
|
684
684
|
</p>
|
685
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
685
|
+
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
686
686
|
<h3 class="title">Note</h3>
|
687
687
|
<p>If array contents point to dynamically-allocated
|
688
688
|
memory, they should be freed separately if <em class="parameter"><code>free_seg</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> and no
|
@@ -713,7 +713,7 @@ memory, they should be freed separately if <em class="parameter"><code>free_seg<
|
|
713
713
|
</table></div>
|
714
714
|
</div>
|
715
715
|
<hr>
|
716
|
-
<div class="refsect2">
|
716
|
+
<div class="refsect2" title="g_ptr_array_foreach ()">
|
717
717
|
<a name="g-ptr-array-foreach"></a><h3>g_ptr_array_foreach ()</h3>
|
718
718
|
<pre class="programlisting"><span class="returnvalue">void</span> g_ptr_array_foreach (<em class="parameter"><code><a class="link" href="glib-Pointer-Arrays.html#GPtrArray" title="GPtrArray"><span class="type">GPtrArray</span></a> *array</code></em>,
|
719
719
|
<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>,
|
@@ -747,6 +747,6 @@ Calls a function for each element of a <a class="link" href="glib-Pointer-Arrays
|
|
747
747
|
</div>
|
748
748
|
<div class="footer">
|
749
749
|
<hr>
|
750
|
-
Generated by GTK-Doc V1.15
|
750
|
+
Generated by GTK-Doc V1.15</div>
|
751
751
|
</body>
|
752
752
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Quarks</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-N-ary-Trees.html" title="N-ary Trees">
|
10
10
|
<link rel="next" href="glib-Keyed-Data-Lists.html" title="Keyed Data Lists">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Quarks.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Quarks">
|
30
30
|
<a name="glib-Quarks"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
39
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
40
40
|
<a name="glib-Quarks.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
@@ -44,13 +44,13 @@
|
|
44
44
|
typedef <a class="link" href="glib-Quarks.html#GQuark" title="GQuark">GQuark</a>;
|
45
45
|
<a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="glib-Quarks.html#g-quark-from-string" title="g_quark_from_string ()">g_quark_from_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
46
46
|
<a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="glib-Quarks.html#g-quark-from-static-string" title="g_quark_from_static_string ()">g_quark_from_static_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
47
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
47
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Quarks.html#g-quark-to-string" title="g_quark_to_string ()">g_quark_to_string</a> (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> quark</code></em>);
|
48
48
|
<a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="glib-Quarks.html#g-quark-try-string" title="g_quark_try_string ()">g_quark_try_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
49
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
50
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
49
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Quarks.html#g-intern-string" title="g_intern_string ()">g_intern_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
50
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Quarks.html#g-intern-static-string" title="g_intern_static_string ()">g_intern_static_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
51
51
|
</pre>
|
52
52
|
</div>
|
53
|
-
<div class="refsect1">
|
53
|
+
<div class="refsect1" title="Description">
|
54
54
|
<a name="glib-Quarks.description"></a><h2>Description</h2>
|
55
55
|
<p>
|
56
56
|
Quarks are associations between strings and integer identifiers.
|
@@ -81,9 +81,9 @@ strings is that they can be compared for equality by a simple
|
|
81
81
|
pointer comparision, rather than using <code class="function">strcmp()</code>.
|
82
82
|
</p>
|
83
83
|
</div>
|
84
|
-
<div class="refsect1">
|
84
|
+
<div class="refsect1" title="Details">
|
85
85
|
<a name="glib-Quarks.details"></a><h2>Details</h2>
|
86
|
-
<div class="refsect2">
|
86
|
+
<div class="refsect2" title="GQuark">
|
87
87
|
<a name="GQuark"></a><h3>GQuark</h3>
|
88
88
|
<pre class="programlisting">typedef guint32 GQuark;
|
89
89
|
</pre>
|
@@ -93,7 +93,7 @@ particular string. A GQuark value of zero is associated to <a class="link" href=
|
|
93
93
|
</p>
|
94
94
|
</div>
|
95
95
|
<hr>
|
96
|
-
<div class="refsect2">
|
96
|
+
<div class="refsect2" title="g_quark_from_string ()">
|
97
97
|
<a name="g-quark-from-string"></a><h3>g_quark_from_string ()</h3>
|
98
98
|
<pre class="programlisting"><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> g_quark_from_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
99
99
|
<p>
|
@@ -119,7 +119,7 @@ using a copy of the string.
|
|
119
119
|
</table></div>
|
120
120
|
</div>
|
121
121
|
<hr>
|
122
|
-
<div class="refsect2">
|
122
|
+
<div class="refsect2" title="g_quark_from_static_string ()">
|
123
123
|
<a name="g-quark-from-static-string"></a><h3>g_quark_from_static_string ()</h3>
|
124
124
|
<pre class="programlisting"><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> g_quark_from_static_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
125
125
|
<p>
|
@@ -155,9 +155,9 @@ function in GTK+ theme engines).
|
|
155
155
|
</table></div>
|
156
156
|
</div>
|
157
157
|
<hr>
|
158
|
-
<div class="refsect2">
|
158
|
+
<div class="refsect2" title="g_quark_to_string ()">
|
159
159
|
<a name="g-quark-to-string"></a><h3>g_quark_to_string ()</h3>
|
160
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
160
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_quark_to_string (<em class="parameter"><code><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
161
161
|
<p>
|
162
162
|
Gets the string associated with the given <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a>.
|
163
163
|
</p>
|
@@ -178,7 +178,7 @@ Gets the string associated with the given <a class="link" href="glib-Quarks.html
|
|
178
178
|
</table></div>
|
179
179
|
</div>
|
180
180
|
<hr>
|
181
|
-
<div class="refsect2">
|
181
|
+
<div class="refsect2" title="g_quark_try_string ()">
|
182
182
|
<a name="g-quark-try-string"></a><h3>g_quark_try_string ()</h3>
|
183
183
|
<pre class="programlisting"><a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="returnvalue">GQuark</span></a> g_quark_try_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
184
184
|
<p>
|
@@ -207,9 +207,9 @@ use <a class="link" href="glib-Quarks.html#g-quark-from-string" title="g_quark_f
|
|
207
207
|
</table></div>
|
208
208
|
</div>
|
209
209
|
<hr>
|
210
|
-
<div class="refsect2">
|
210
|
+
<div class="refsect2" title="g_intern_string ()">
|
211
211
|
<a name="g-intern-string"></a><h3>g_intern_string ()</h3>
|
212
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
212
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_intern_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
213
213
|
<p>
|
214
214
|
Returns a canonical representation for <em class="parameter"><code>string</code></em>. Interned strings can
|
215
215
|
be compared for equality by comparing the pointers, instead of using <code class="function">strcmp()</code>.
|
@@ -233,9 +233,9 @@ be compared for equality by comparing the pointers, instead of using <code class
|
|
233
233
|
<p class="since">Since 2.10</p>
|
234
234
|
</div>
|
235
235
|
<hr>
|
236
|
-
<div class="refsect2">
|
236
|
+
<div class="refsect2" title="g_intern_static_string ()">
|
237
237
|
<a name="g-intern-static-string"></a><h3>g_intern_static_string ()</h3>
|
238
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
238
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_intern_static_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
239
239
|
<p>
|
240
240
|
Returns a canonical representation for <em class="parameter"><code>string</code></em>. Interned strings can
|
241
241
|
be compared for equality by comparing the pointers, instead of using <code class="function">strcmp()</code>.
|
@@ -264,6 +264,6 @@ not be freed or modified.
|
|
264
264
|
</div>
|
265
265
|
<div class="footer">
|
266
266
|
<hr>
|
267
|
-
Generated by GTK-Doc V1.15
|
267
|
+
Generated by GTK-Doc V1.15</div>
|
268
268
|
</body>
|
269
269
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Random Numbers</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-GDateTime.html" title="GDateTime">
|
10
10
|
<link rel="next" href="glib-Hook-Functions.html" title="Hook Functions">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Random-Numbers.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry">
|
29
|
+
<div class="refentry" title="Random Numbers">
|
30
30
|
<a name="glib-Random-Numbers"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,17 +35,17 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
39
|
<a name="glib-Random-Numbers.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
43
|
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand">GRand</a>;
|
44
|
-
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
45
|
-
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
44
|
+
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* <a class="link" href="glib-Random-Numbers.html#g-rand-new-with-seed" title="g_rand_new_with_seed ()">g_rand_new_with_seed</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> seed</code></em>);
|
45
|
+
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* <a class="link" href="glib-Random-Numbers.html#g-rand-new-with-seed-array" title="g_rand_new_with_seed_array ()">g_rand_new_with_seed_array</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> *seed</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> seed_length</code></em>);
|
47
|
-
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
48
|
-
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
47
|
+
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* <a class="link" href="glib-Random-Numbers.html#g-rand-new" title="g_rand_new ()">g_rand_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
+
<a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* <a class="link" href="glib-Random-Numbers.html#g-rand-copy" title="g_rand_copy ()">g_rand_copy</a> (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);
|
49
49
|
<span class="returnvalue">void</span> <a class="link" href="glib-Random-Numbers.html#g-rand-free" title="g_rand_free ()">g_rand_free</a> (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);
|
50
50
|
<span class="returnvalue">void</span> <a class="link" href="glib-Random-Numbers.html#g-rand-set-seed" title="g_rand_set_seed ()">g_rand_set_seed</a> (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>,
|
51
51
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> seed</code></em>);
|
@@ -71,7 +71,7 @@
|
|
71
71
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> end</code></em>);
|
72
72
|
</pre>
|
73
73
|
</div>
|
74
|
-
<div class="refsect1">
|
74
|
+
<div class="refsect1" title="Description">
|
75
75
|
<a name="glib-Random-Numbers.description"></a><h2>Description</h2>
|
76
76
|
<p>
|
77
77
|
The following functions allow you to use a portable, fast and good
|
@@ -116,9 +116,9 @@ environment variable <code class="envar">G_RANDOM_VERSION</code> to the value of
|
|
116
116
|
numbers generated with Glib-2.0 that you need to reproduce exactly.
|
117
117
|
</p>
|
118
118
|
</div>
|
119
|
-
<div class="refsect1">
|
119
|
+
<div class="refsect1" title="Details">
|
120
120
|
<a name="glib-Random-Numbers.details"></a><h2>Details</h2>
|
121
|
-
<div class="refsect2">
|
121
|
+
<div class="refsect2" title="GRand">
|
122
122
|
<a name="GRand"></a><h3>GRand</h3>
|
123
123
|
<pre class="programlisting">typedef struct _GRand GRand;</pre>
|
124
124
|
<p>
|
@@ -127,9 +127,9 @@ accessed through the <code class="function">g_rand_*</code> functions.
|
|
127
127
|
</p>
|
128
128
|
</div>
|
129
129
|
<hr>
|
130
|
-
<div class="refsect2">
|
130
|
+
<div class="refsect2" title="g_rand_new_with_seed ()">
|
131
131
|
<a name="g-rand-new-with-seed"></a><h3>g_rand_new_with_seed ()</h3>
|
132
|
-
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
132
|
+
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* g_rand_new_with_seed (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> seed</code></em>);</pre>
|
133
133
|
<p>
|
134
134
|
Creates a new random number generator initialized with <em class="parameter"><code>seed</code></em>.
|
135
135
|
</p>
|
@@ -150,9 +150,9 @@ Creates a new random number generator initialized with <em class="parameter"><co
|
|
150
150
|
</table></div>
|
151
151
|
</div>
|
152
152
|
<hr>
|
153
|
-
<div class="refsect2">
|
153
|
+
<div class="refsect2" title="g_rand_new_with_seed_array ()">
|
154
154
|
<a name="g-rand-new-with-seed-array"></a><h3>g_rand_new_with_seed_array ()</h3>
|
155
|
-
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
155
|
+
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* g_rand_new_with_seed_array (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> *seed</code></em>,
|
156
156
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> seed_length</code></em>);</pre>
|
157
157
|
<p>
|
158
158
|
Creates a new random number generator initialized with <em class="parameter"><code>seed</code></em>.
|
@@ -181,9 +181,9 @@ Creates a new random number generator initialized with <em class="parameter"><co
|
|
181
181
|
<p class="since">Since 2.4</p>
|
182
182
|
</div>
|
183
183
|
<hr>
|
184
|
-
<div class="refsect2">
|
184
|
+
<div class="refsect2" title="g_rand_new ()">
|
185
185
|
<a name="g-rand-new"></a><h3>g_rand_new ()</h3>
|
186
|
-
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
186
|
+
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* g_rand_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
187
187
|
<p>
|
188
188
|
Creates a new random number generator initialized with a seed taken
|
189
189
|
either from <code class="filename">/dev/urandom</code> (if existing) or from
|
@@ -199,9 +199,9 @@ the current time (as a fallback).
|
|
199
199
|
</table></div>
|
200
200
|
</div>
|
201
201
|
<hr>
|
202
|
-
<div class="refsect2">
|
202
|
+
<div class="refsect2" title="g_rand_copy ()">
|
203
203
|
<a name="g-rand-copy"></a><h3>g_rand_copy ()</h3>
|
204
|
-
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a
|
204
|
+
<pre class="programlisting"><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="returnvalue">GRand</span></a>* g_rand_copy (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);</pre>
|
205
205
|
<p>
|
206
206
|
Copies a <a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> into a new one with the same exact state as before.
|
207
207
|
This way you can take a snapshot of the random number generator for
|
@@ -226,7 +226,7 @@ replaying later.
|
|
226
226
|
<p class="since">Since 2.4</p>
|
227
227
|
</div>
|
228
228
|
<hr>
|
229
|
-
<div class="refsect2">
|
229
|
+
<div class="refsect2" title="g_rand_free ()">
|
230
230
|
<a name="g-rand-free"></a><h3>g_rand_free ()</h3>
|
231
231
|
<pre class="programlisting"><span class="returnvalue">void</span> g_rand_free (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);</pre>
|
232
232
|
<p>
|
@@ -242,7 +242,7 @@ Frees the memory allocated for the <a class="link" href="glib-Random-Numbers.htm
|
|
242
242
|
</table></div>
|
243
243
|
</div>
|
244
244
|
<hr>
|
245
|
-
<div class="refsect2">
|
245
|
+
<div class="refsect2" title="g_rand_set_seed ()">
|
246
246
|
<a name="g-rand-set-seed"></a><h3>g_rand_set_seed ()</h3>
|
247
247
|
<pre class="programlisting"><span class="returnvalue">void</span> g_rand_set_seed (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>,
|
248
248
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> seed</code></em>);</pre>
|
@@ -266,7 +266,7 @@ Sets the seed for the random number generator <a class="link" href="glib-Random-
|
|
266
266
|
</table></div>
|
267
267
|
</div>
|
268
268
|
<hr>
|
269
|
-
<div class="refsect2">
|
269
|
+
<div class="refsect2" title="g_rand_set_seed_array ()">
|
270
270
|
<a name="g-rand-set-seed-array"></a><h3>g_rand_set_seed_array ()</h3>
|
271
271
|
<pre class="programlisting"><span class="returnvalue">void</span> g_rand_set_seed_array (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>,
|
272
272
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> *seed</code></em>,
|
@@ -301,7 +301,7 @@ if you have many low entropy seeds, or if you require more then
|
|
301
301
|
<p class="since">Since 2.4</p>
|
302
302
|
</div>
|
303
303
|
<hr>
|
304
|
-
<div class="refsect2">
|
304
|
+
<div class="refsect2" title="g_rand_boolean()">
|
305
305
|
<a name="g-rand-boolean"></a><h3>g_rand_boolean()</h3>
|
306
306
|
<pre class="programlisting">#define g_rand_boolean(rand_)</pre>
|
307
307
|
<p>
|
@@ -325,7 +325,7 @@ unbiased coin toss.
|
|
325
325
|
</table></div>
|
326
326
|
</div>
|
327
327
|
<hr>
|
328
|
-
<div class="refsect2">
|
328
|
+
<div class="refsect2" title="g_rand_int ()">
|
329
329
|
<a name="g-rand-int"></a><h3>g_rand_int ()</h3>
|
330
330
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> g_rand_int (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);</pre>
|
331
331
|
<p>
|
@@ -349,7 +349,7 @@ the range [0..2^32-1].
|
|
349
349
|
</table></div>
|
350
350
|
</div>
|
351
351
|
<hr>
|
352
|
-
<div class="refsect2">
|
352
|
+
<div class="refsect2" title="g_rand_int_range ()">
|
353
353
|
<a name="g-rand-int-range"></a><h3>g_rand_int_range ()</h3>
|
354
354
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_rand_int_range (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>,
|
355
355
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> begin</code></em>,
|
@@ -385,7 +385,7 @@ the range [<em class="parameter"><code>begin</code></em>..<em class="parameter">
|
|
385
385
|
</table></div>
|
386
386
|
</div>
|
387
387
|
<hr>
|
388
|
-
<div class="refsect2">
|
388
|
+
<div class="refsect2" title="g_rand_double ()">
|
389
389
|
<a name="g-rand-double"></a><h3>g_rand_double ()</h3>
|
390
390
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_rand_double (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>);</pre>
|
391
391
|
<p>
|
@@ -409,7 +409,7 @@ the range [0..1).
|
|
409
409
|
</table></div>
|
410
410
|
</div>
|
411
411
|
<hr>
|
412
|
-
<div class="refsect2">
|
412
|
+
<div class="refsect2" title="g_rand_double_range ()">
|
413
413
|
<a name="g-rand-double-range"></a><h3>g_rand_double_range ()</h3>
|
414
414
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_rand_double_range (<em class="parameter"><code><a class="link" href="glib-Random-Numbers.html#GRand" title="GRand"><span class="type">GRand</span></a> *rand_</code></em>,
|
415
415
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> begin</code></em>,
|
@@ -445,7 +445,7 @@ the range [<em class="parameter"><code>begin</code></em>..<em class="parameter">
|
|
445
445
|
</table></div>
|
446
446
|
</div>
|
447
447
|
<hr>
|
448
|
-
<div class="refsect2">
|
448
|
+
<div class="refsect2" title="g_random_set_seed ()">
|
449
449
|
<a name="g-random-set-seed"></a><h3>g_random_set_seed ()</h3>
|
450
450
|
<pre class="programlisting"><span class="returnvalue">void</span> g_random_set_seed (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> seed</code></em>);</pre>
|
451
451
|
<p>
|
@@ -462,7 +462,7 @@ by the <code class="function">g_random_*</code> functions, to <em class="paramet
|
|
462
462
|
</table></div>
|
463
463
|
</div>
|
464
464
|
<hr>
|
465
|
-
<div class="refsect2">
|
465
|
+
<div class="refsect2" title="g_random_boolean">
|
466
466
|
<a name="g-random-boolean"></a><h3>g_random_boolean</h3>
|
467
467
|
<pre class="programlisting">#define g_random_boolean()</pre>
|
468
468
|
<p>
|
@@ -478,7 +478,7 @@ Returns a random <a class="link" href="glib-Basic-Types.html#gboolean" title="gb
|
|
478
478
|
</table></div>
|
479
479
|
</div>
|
480
480
|
<hr>
|
481
|
-
<div class="refsect2">
|
481
|
+
<div class="refsect2" title="g_random_int ()">
|
482
482
|
<a name="g-random-int"></a><h3>g_random_int ()</h3>
|
483
483
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> g_random_int (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
484
484
|
<p>
|
@@ -495,7 +495,7 @@ Return a random <a class="link" href="glib-Basic-Types.html#guint32" title="guin
|
|
495
495
|
</table></div>
|
496
496
|
</div>
|
497
497
|
<hr>
|
498
|
-
<div class="refsect2">
|
498
|
+
<div class="refsect2" title="g_random_int_range ()">
|
499
499
|
<a name="g-random-int-range"></a><h3>g_random_int_range ()</h3>
|
500
500
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_random_int_range (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> begin</code></em>,
|
501
501
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> end</code></em>);</pre>
|
@@ -525,7 +525,7 @@ Returns a random <a class="link" href="glib-Basic-Types.html#gint32" title="gint
|
|
525
525
|
</table></div>
|
526
526
|
</div>
|
527
527
|
<hr>
|
528
|
-
<div class="refsect2">
|
528
|
+
<div class="refsect2" title="g_random_double ()">
|
529
529
|
<a name="g-random-double"></a><h3>g_random_double ()</h3>
|
530
530
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_random_double (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
531
531
|
<p>
|
@@ -541,7 +541,7 @@ Returns a random <a class="link" href="glib-Basic-Types.html#gdouble" title="gdo
|
|
541
541
|
</table></div>
|
542
542
|
</div>
|
543
543
|
<hr>
|
544
|
-
<div class="refsect2">
|
544
|
+
<div class="refsect2" title="g_random_double_range ()">
|
545
545
|
<a name="g-random-double-range"></a><h3>g_random_double_range ()</h3>
|
546
546
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_random_double_range (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> begin</code></em>,
|
547
547
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> end</code></em>);</pre>
|
@@ -573,6 +573,6 @@ Returns a random <a class="link" href="glib-Basic-Types.html#gdouble" title="gdo
|
|
573
573
|
</div>
|
574
574
|
<div class="footer">
|
575
575
|
<hr>
|
576
|
-
Generated by GTK-Doc V1.15
|
576
|
+
Generated by GTK-Doc V1.15</div>
|
577
577
|
</body>
|
578
578
|
</html>
|