glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
|
9
9
|
<link rel="prev" href="glib-Byte-Order-Macros.html" title="Byte Order Macros">
|
10
10
|
<link rel="next" href="glib-Miscellaneous-Macros.html" title="Miscellaneous Macros">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Numerical-Definitions.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-Numerical-Definitions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Numerical-Definitions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -56,7 +56,7 @@ union <a class="link" href="glib-Numerical-Definitions.html#GDoubl
|
|
56
56
|
#define <a class="link" href="glib-Numerical-Definitions.html#G-LOG-2-BASE-10:CAPS" title="G_LOG_2_BASE_10">G_LOG_2_BASE_10</a>
|
57
57
|
</pre>
|
58
58
|
</div>
|
59
|
-
<div class="refsect1"
|
59
|
+
<div class="refsect1">
|
60
60
|
<a name="glib-Numerical-Definitions.description"></a><h2>Description</h2>
|
61
61
|
<p>
|
62
62
|
GLib offers mathematical constants such as <a class="link" href="glib-Numerical-Definitions.html#G-PI:CAPS" title="G_PI"><span class="type">G_PI</span></a> for the value of pi;
|
@@ -72,9 +72,9 @@ supported (used for storage) by at least Intel, PPC and Sparc. See
|
|
72
72
|
for more information about IEEE number formats.
|
73
73
|
</p>
|
74
74
|
</div>
|
75
|
-
<div class="refsect1"
|
75
|
+
<div class="refsect1">
|
76
76
|
<a name="glib-Numerical-Definitions.details"></a><h2>Details</h2>
|
77
|
-
<div class="refsect2"
|
77
|
+
<div class="refsect2">
|
78
78
|
<a name="G-IEEE754-FLOAT-BIAS:CAPS"></a><h3>G_IEEE754_FLOAT_BIAS</h3>
|
79
79
|
<pre class="programlisting">#define G_IEEE754_FLOAT_BIAS (127)
|
80
80
|
</pre>
|
@@ -83,7 +83,7 @@ The bias by which exponents in single-precision floats are offset.
|
|
83
83
|
</p>
|
84
84
|
</div>
|
85
85
|
<hr>
|
86
|
-
<div class="refsect2"
|
86
|
+
<div class="refsect2">
|
87
87
|
<a name="G-IEEE754-DOUBLE-BIAS:CAPS"></a><h3>G_IEEE754_DOUBLE_BIAS</h3>
|
88
88
|
<pre class="programlisting">#define G_IEEE754_DOUBLE_BIAS (1023)
|
89
89
|
</pre>
|
@@ -92,9 +92,18 @@ The bias by which exponents in double-precision floats are offset.
|
|
92
92
|
</p>
|
93
93
|
</div>
|
94
94
|
<hr>
|
95
|
-
<div class="refsect2"
|
95
|
+
<div class="refsect2">
|
96
96
|
<a name="GFloatIEEE754"></a><h3>union GFloatIEEE754</h3>
|
97
|
-
<pre class="programlisting"
|
97
|
+
<pre class="programlisting">union _GFloatIEEE754
|
98
|
+
{
|
99
|
+
gfloat v_float;
|
100
|
+
struct {
|
101
|
+
guint mantissa : 23;
|
102
|
+
guint biased_exponent : 8;
|
103
|
+
guint sign : 1;
|
104
|
+
} mpn;
|
105
|
+
};
|
106
|
+
</pre>
|
98
107
|
<p>
|
99
108
|
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the sign,
|
100
109
|
mantissa and exponent of IEEE floats and doubles. These unions are defined
|
@@ -103,9 +112,19 @@ as appropriate for a given platform. IEEE floats and doubles are supported
|
|
103
112
|
</p>
|
104
113
|
</div>
|
105
114
|
<hr>
|
106
|
-
<div class="refsect2"
|
115
|
+
<div class="refsect2">
|
107
116
|
<a name="GDoubleIEEE754"></a><h3>union GDoubleIEEE754</h3>
|
108
|
-
<pre class="programlisting"
|
117
|
+
<pre class="programlisting">union _GDoubleIEEE754
|
118
|
+
{
|
119
|
+
gdouble v_double;
|
120
|
+
struct {
|
121
|
+
guint mantissa_low : 32;
|
122
|
+
guint mantissa_high : 20;
|
123
|
+
guint biased_exponent : 11;
|
124
|
+
guint sign : 1;
|
125
|
+
} mpn;
|
126
|
+
};
|
127
|
+
</pre>
|
109
128
|
<p>
|
110
129
|
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the sign,
|
111
130
|
mantissa and exponent of IEEE floats and doubles. These unions are defined
|
@@ -114,7 +133,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported
|
|
114
133
|
</p>
|
115
134
|
</div>
|
116
135
|
<hr>
|
117
|
-
<div class="refsect2"
|
136
|
+
<div class="refsect2">
|
118
137
|
<a name="G-E:CAPS"></a><h3>G_E</h3>
|
119
138
|
<pre class="programlisting">#define G_E 2.7182818284590452353602874713526624977572470937000
|
120
139
|
</pre>
|
@@ -123,7 +142,7 @@ The base of natural logarithms.
|
|
123
142
|
</p>
|
124
143
|
</div>
|
125
144
|
<hr>
|
126
|
-
<div class="refsect2"
|
145
|
+
<div class="refsect2">
|
127
146
|
<a name="G-LN2:CAPS"></a><h3>G_LN2</h3>
|
128
147
|
<pre class="programlisting">#define G_LN2 0.69314718055994530941723212145817656807550013436026
|
129
148
|
</pre>
|
@@ -132,7 +151,7 @@ The natural logarithm of 2.
|
|
132
151
|
</p>
|
133
152
|
</div>
|
134
153
|
<hr>
|
135
|
-
<div class="refsect2"
|
154
|
+
<div class="refsect2">
|
136
155
|
<a name="G-LN10:CAPS"></a><h3>G_LN10</h3>
|
137
156
|
<pre class="programlisting">#define G_LN10 2.3025850929940456840179914546843642076011014886288
|
138
157
|
</pre>
|
@@ -141,7 +160,7 @@ The natural logarithm of 10.
|
|
141
160
|
</p>
|
142
161
|
</div>
|
143
162
|
<hr>
|
144
|
-
<div class="refsect2"
|
163
|
+
<div class="refsect2">
|
145
164
|
<a name="G-PI:CAPS"></a><h3>G_PI</h3>
|
146
165
|
<pre class="programlisting">#define G_PI 3.1415926535897932384626433832795028841971693993751
|
147
166
|
</pre>
|
@@ -150,7 +169,7 @@ The value of pi (ratio of circle's circumference to its diameter).
|
|
150
169
|
</p>
|
151
170
|
</div>
|
152
171
|
<hr>
|
153
|
-
<div class="refsect2"
|
172
|
+
<div class="refsect2">
|
154
173
|
<a name="G-PI-2:CAPS"></a><h3>G_PI_2</h3>
|
155
174
|
<pre class="programlisting">#define G_PI_2 1.5707963267948966192313216916397514420985846996876
|
156
175
|
</pre>
|
@@ -159,7 +178,7 @@ Pi divided by 2.
|
|
159
178
|
</p>
|
160
179
|
</div>
|
161
180
|
<hr>
|
162
|
-
<div class="refsect2"
|
181
|
+
<div class="refsect2">
|
163
182
|
<a name="G-PI-4:CAPS"></a><h3>G_PI_4</h3>
|
164
183
|
<pre class="programlisting">#define G_PI_4 0.78539816339744830961566084581987572104929234984378
|
165
184
|
</pre>
|
@@ -168,7 +187,7 @@ Pi divided by 4.
|
|
168
187
|
</p>
|
169
188
|
</div>
|
170
189
|
<hr>
|
171
|
-
<div class="refsect2"
|
190
|
+
<div class="refsect2">
|
172
191
|
<a name="G-SQRT2:CAPS"></a><h3>G_SQRT2</h3>
|
173
192
|
<pre class="programlisting">#define G_SQRT2 1.4142135623730950488016887242096980785696718753769
|
174
193
|
</pre>
|
@@ -177,7 +196,7 @@ The square root of two.
|
|
177
196
|
</p>
|
178
197
|
</div>
|
179
198
|
<hr>
|
180
|
-
<div class="refsect2"
|
199
|
+
<div class="refsect2">
|
181
200
|
<a name="G-LOG-2-BASE-10:CAPS"></a><h3>G_LOG_2_BASE_10</h3>
|
182
201
|
<pre class="programlisting">#define G_LOG_2_BASE_10 (0.30102999566398119521)
|
183
202
|
</pre>
|
@@ -189,6 +208,6 @@ Multiplying the base 2 exponent by this number yields the base 10 exponent.
|
|
189
208
|
</div>
|
190
209
|
<div class="footer">
|
191
210
|
<hr>
|
192
|
-
Generated by GTK-Doc V1.
|
211
|
+
Generated by GTK-Doc V1.16.1</div>
|
193
212
|
</body>
|
194
213
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">
|
10
10
|
<link rel="next" href="glib-Simple-XML-Subset-Parser.html" title="Simple XML Subset Parser">
|
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-Perl-compatible-regular-expressions.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-Perl-compatible-regular-expressions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Perl-compatible-regular-expressions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -46,12 +46,12 @@ enum <a class="link" href="glib-Perl-compatible-regular-expressio
|
|
46
46
|
enum <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags">GRegexMatchFlags</a>;
|
47
47
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex">GRegex</a>;
|
48
48
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexEvalCallback" title="GRegexEvalCallback ()">*GRegexEvalCallback</a>) (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *result</code></em>,
|
49
|
+
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *result</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> user_data</code></em>);
|
51
51
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-new" title="g_regex_new ()">g_regex_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a> compile_options</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
54
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
55
55
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-ref" title="g_regex_ref ()">g_regex_ref</a> (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-unref" title="g_regex_unref ()">g_regex_unref</a> (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
57
57
|
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-get-pattern" title="g_regex_get_pattern ()">g_regex_get_pattern</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
@@ -77,7 +77,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
77
77
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
78
78
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
79
79
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
80
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
80
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
81
81
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all" title="g_regex_match_all ()">g_regex_match_all</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
82
82
|
<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>,
|
83
83
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
@@ -88,7 +88,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
88
88
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
89
89
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
90
90
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
91
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
91
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
92
92
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-split-simple" title="g_regex_split_simple ()">g_regex_split_simple</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
93
93
|
<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>,
|
94
94
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a> compile_options</code></em>,
|
@@ -102,21 +102,21 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
102
102
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
103
103
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
104
104
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>,
|
105
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
105
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
106
106
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace" title="g_regex_replace ()">g_regex_replace</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
107
107
|
<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>,
|
108
108
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> string_len</code></em>,
|
109
109
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
110
110
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
111
111
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
112
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
112
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
113
113
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace-literal" title="g_regex_replace_literal ()">g_regex_replace_literal</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
114
114
|
<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>,
|
115
115
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> string_len</code></em>,
|
116
116
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
117
117
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
118
118
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
119
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
119
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
120
120
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace-eval" title="g_regex_replace_eval ()">g_regex_replace_eval</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
121
121
|
<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>,
|
122
122
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> string_len</code></em>,
|
@@ -124,22 +124,22 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
124
124
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
125
125
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexEvalCallback" title="GRegexEvalCallback ()"><span class="type">GRegexEvalCallback</span></a> eval</code></em>,
|
126
126
|
<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>,
|
127
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
127
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
128
128
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-check-replacement" title="g_regex_check_replacement ()">g_regex_check_replacement</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
129
129
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> *has_references</code></em>,
|
130
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
130
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
131
131
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo">GMatchInfo</a>;
|
132
132
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-regex" title="g_match_info_get_regex ()">g_match_info_get_regex</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
133
133
|
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-string" title="g_match_info_get_string ()">g_match_info_get_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
134
134
|
<span class="returnvalue">void</span> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()">g_match_info_free</a> (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
135
135
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-matches" title="g_match_info_matches ()">g_match_info_matches</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
136
136
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-next" title="g_match_info_next ()">g_match_info_next</a> (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
137
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
137
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
138
138
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-match-count" title="g_match_info_get_match_count ()">g_match_info_get_match_count</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
139
139
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-is-partial-match" title="g_match_info_is_partial_match ()">g_match_info_is_partial_match</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
140
140
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-expand-references" title="g_match_info_expand_references ()">g_match_info_expand_references</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
141
141
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string_to_expand</code></em>,
|
142
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
142
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
143
143
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch" title="g_match_info_fetch ()">g_match_info_fetch</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
144
144
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> match_num</code></em>);
|
145
145
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch-pos" title="g_match_info_fetch_pos ()">g_match_info_fetch_pos</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
@@ -155,7 +155,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
155
155
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch-all" title="g_match_info_fetch_all ()">g_match_info_fetch_all</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
156
156
|
</pre>
|
157
157
|
</div>
|
158
|
-
<div class="refsect1"
|
158
|
+
<div class="refsect1">
|
159
159
|
<a name="glib-Perl-compatible-regular-expressions.description"></a><h2>Description</h2>
|
160
160
|
<p>
|
161
161
|
The <code class="function">g_regex_*()</code> functions implement regular
|
@@ -218,9 +218,9 @@ the excellent <a class="ulink" href="http://www.pcre.org/" target="_top">PCRE</a
|
|
218
218
|
written by Philip Hazel.
|
219
219
|
</p>
|
220
220
|
</div>
|
221
|
-
<div class="refsect1"
|
221
|
+
<div class="refsect1">
|
222
222
|
<a name="glib-Perl-compatible-regular-expressions.details"></a><h2>Details</h2>
|
223
|
-
<div class="refsect2"
|
223
|
+
<div class="refsect2">
|
224
224
|
<a name="GRegexError"></a><h3>enum GRegexError</h3>
|
225
225
|
<pre class="programlisting">typedef enum
|
226
226
|
{
|
@@ -525,19 +525,19 @@ Error codes returned by regular expressions functions.
|
|
525
525
|
<p class="since">Since 2.14</p>
|
526
526
|
</div>
|
527
527
|
<hr>
|
528
|
-
<div class="refsect2"
|
528
|
+
<div class="refsect2">
|
529
529
|
<a name="G-REGEX-ERROR:CAPS"></a><h3>G_REGEX_ERROR</h3>
|
530
530
|
<pre class="programlisting">#define G_REGEX_ERROR g_regex_error_quark ()
|
531
531
|
</pre>
|
532
532
|
<p>
|
533
533
|
Error domain for regular expressions. Errors in this domain will be
|
534
|
-
from the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexError" title="enum GRegexError"><span class="type">GRegexError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on
|
534
|
+
from the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexError" title="enum GRegexError"><span class="type">GRegexError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> for information on
|
535
535
|
error domains.
|
536
536
|
</p>
|
537
537
|
<p class="since">Since </p>
|
538
538
|
</div>
|
539
539
|
<hr>
|
540
|
-
<div class="refsect2"
|
540
|
+
<div class="refsect2">
|
541
541
|
<a name="GRegexCompileFlags"></a><h3>enum GRegexCompileFlags</h3>
|
542
542
|
<pre class="programlisting">typedef enum
|
543
543
|
{
|
@@ -680,7 +680,7 @@ Flags specifying compile-time options.
|
|
680
680
|
<p class="since">Since 2.14</p>
|
681
681
|
</div>
|
682
682
|
<hr>
|
683
|
-
<div class="refsect2"
|
683
|
+
<div class="refsect2">
|
684
684
|
<a name="GRegexMatchFlags"></a><h3>enum GRegexMatchFlags</h3>
|
685
685
|
<pre class="programlisting">typedef enum
|
686
686
|
{
|
@@ -778,7 +778,7 @@ Flags specifying match-time options.
|
|
778
778
|
<p class="since">Since 2.14</p>
|
779
779
|
</div>
|
780
780
|
<hr>
|
781
|
-
<div class="refsect2"
|
781
|
+
<div class="refsect2">
|
782
782
|
<a name="GRegex"></a><h3>GRegex</h3>
|
783
783
|
<pre class="programlisting">typedef struct _GRegex GRegex;</pre>
|
784
784
|
<p>
|
@@ -788,10 +788,10 @@ structure is opaque and its fields cannot be accessed directly.
|
|
788
788
|
<p class="since">Since 2.14</p>
|
789
789
|
</div>
|
790
790
|
<hr>
|
791
|
-
<div class="refsect2"
|
791
|
+
<div class="refsect2">
|
792
792
|
<a name="GRegexEvalCallback"></a><h3>GRegexEvalCallback ()</h3>
|
793
793
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GRegexEvalCallback) (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
794
|
-
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *result</code></em>,
|
794
|
+
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *result</code></em>,
|
795
795
|
<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>
|
796
796
|
<p>
|
797
797
|
Specifies the type of the function passed to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace-eval" title="g_regex_replace_eval ()"><code class="function">g_regex_replace_eval()</code></a>.
|
@@ -805,14 +805,12 @@ to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-r
|
|
805
805
|
<tr>
|
806
806
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
807
807
|
<td>the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> generated by the match.
|
808
|
-
|
809
|
-
|
810
|
-
</td>
|
808
|
+
Use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-regex" title="g_match_info_get_regex ()"><code class="function">g_match_info_get_regex()</code></a> and <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-string" title="g_match_info_get_string ()"><code class="function">g_match_info_get_string()</code></a> if you
|
809
|
+
need the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> or the matched string.</td>
|
811
810
|
</tr>
|
812
811
|
<tr>
|
813
812
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
814
|
-
<td>a <a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> containing the new string
|
815
|
-
</td>
|
813
|
+
<td>a <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> containing the new string</td>
|
816
814
|
</tr>
|
817
815
|
<tr>
|
818
816
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -821,21 +819,20 @@ to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-r
|
|
821
819
|
</tr>
|
822
820
|
<tr>
|
823
821
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
824
|
-
<td>
|
825
|
-
|
826
|
-
</td>
|
822
|
+
<td>
|
823
|
+
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> to continue the replacement process, <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to stop it</td>
|
827
824
|
</tr>
|
828
825
|
</tbody>
|
829
826
|
</table></div>
|
830
827
|
<p class="since">Since 2.14</p>
|
831
828
|
</div>
|
832
829
|
<hr>
|
833
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
834
831
|
<a name="g-regex-new"></a><h3>g_regex_new ()</h3>
|
835
832
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_regex_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
836
833
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a> compile_options</code></em>,
|
837
834
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
838
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
835
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
839
836
|
<p>
|
840
837
|
Compiles the regular expression to an internal form, and does
|
841
838
|
the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure.
|
@@ -845,37 +842,32 @@ the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expr
|
|
845
842
|
<tbody>
|
846
843
|
<tr>
|
847
844
|
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
848
|
-
<td>the regular expression
|
849
|
-
</td>
|
845
|
+
<td>the regular expression</td>
|
850
846
|
</tr>
|
851
847
|
<tr>
|
852
848
|
<td><p><span class="term"><em class="parameter"><code>compile_options</code></em> :</span></p></td>
|
853
|
-
<td>compile options for the regular expression, or 0
|
854
|
-
</td>
|
849
|
+
<td>compile options for the regular expression, or 0</td>
|
855
850
|
</tr>
|
856
851
|
<tr>
|
857
852
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
858
|
-
<td>match options for the regular expression, or 0
|
859
|
-
</td>
|
853
|
+
<td>match options for the regular expression, or 0</td>
|
860
854
|
</tr>
|
861
855
|
<tr>
|
862
856
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
863
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
857
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>
|
864
858
|
</td>
|
865
859
|
</tr>
|
866
860
|
<tr>
|
867
861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
868
|
-
<td>
|
869
|
-
|
870
|
-
|
871
|
-
</td>
|
862
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure. Call <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-unref" title="g_regex_unref ()"><code class="function">g_regex_unref()</code></a> when you
|
863
|
+
are done with it</td>
|
872
864
|
</tr>
|
873
865
|
</tbody>
|
874
866
|
</table></div>
|
875
867
|
<p class="since">Since 2.14</p>
|
876
868
|
</div>
|
877
869
|
<hr>
|
878
|
-
<div class="refsect2"
|
870
|
+
<div class="refsect2">
|
879
871
|
<a name="g-regex-ref"></a><h3>g_regex_ref ()</h3>
|
880
872
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_regex_ref (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
881
873
|
<p>
|
@@ -891,16 +883,14 @@ Increases reference count of <em class="parameter"><code>regex</code></em> by 1.
|
|
891
883
|
</tr>
|
892
884
|
<tr>
|
893
885
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
894
|
-
<td
|
895
|
-
|
896
|
-
</td>
|
886
|
+
<td><em class="parameter"><code>regex</code></em></td>
|
897
887
|
</tr>
|
898
888
|
</tbody>
|
899
889
|
</table></div>
|
900
890
|
<p class="since">Since 2.14</p>
|
901
891
|
</div>
|
902
892
|
<hr>
|
903
|
-
<div class="refsect2"
|
893
|
+
<div class="refsect2">
|
904
894
|
<a name="g-regex-unref"></a><h3>g_regex_unref ()</h3>
|
905
895
|
<pre class="programlisting"><span class="returnvalue">void</span> g_regex_unref (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
906
896
|
<p>
|
@@ -918,7 +908,7 @@ to zero, it frees all the memory associated with the regex structure.
|
|
918
908
|
<p class="since">Since 2.14</p>
|
919
909
|
</div>
|
920
910
|
<hr>
|
921
|
-
<div class="refsect2"
|
911
|
+
<div class="refsect2">
|
922
912
|
<a name="g-regex-get-pattern"></a><h3>g_regex_get_pattern ()</h3>
|
923
913
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_get_pattern (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
924
914
|
<p>
|
@@ -930,13 +920,11 @@ the string passed to <a class="link" href="glib-Perl-compatible-regular-expressi
|
|
930
920
|
<tbody>
|
931
921
|
<tr>
|
932
922
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
933
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
934
|
-
</td>
|
923
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
935
924
|
</tr>
|
936
925
|
<tr>
|
937
926
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
938
|
-
<td>
|
939
|
-
|
927
|
+
<td>the pattern of <em class="parameter"><code>regex</code></em>
|
940
928
|
</td>
|
941
929
|
</tr>
|
942
930
|
</tbody>
|
@@ -944,7 +932,7 @@ the string passed to <a class="link" href="glib-Perl-compatible-regular-expressi
|
|
944
932
|
<p class="since">Since 2.14</p>
|
945
933
|
</div>
|
946
934
|
<hr>
|
947
|
-
<div class="refsect2"
|
935
|
+
<div class="refsect2">
|
948
936
|
<a name="g-regex-get-max-backref"></a><h3>g_regex_get_max_backref ()</h3>
|
949
937
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_max_backref (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
950
938
|
<p>
|
@@ -962,16 +950,14 @@ back references.
|
|
962
950
|
</tr>
|
963
951
|
<tr>
|
964
952
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
965
|
-
<td>
|
966
|
-
|
967
|
-
</td>
|
953
|
+
<td>the number of the highest back reference</td>
|
968
954
|
</tr>
|
969
955
|
</tbody>
|
970
956
|
</table></div>
|
971
957
|
<p class="since">Since 2.14</p>
|
972
958
|
</div>
|
973
959
|
<hr>
|
974
|
-
<div class="refsect2"
|
960
|
+
<div class="refsect2">
|
975
961
|
<a name="g-regex-get-capture-count"></a><h3>g_regex_get_capture_count ()</h3>
|
976
962
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_capture_count (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
977
963
|
<p>
|
@@ -987,16 +973,14 @@ Returns the number of capturing subpatterns in the pattern.
|
|
987
973
|
</tr>
|
988
974
|
<tr>
|
989
975
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
990
|
-
<td>
|
991
|
-
|
992
|
-
</td>
|
976
|
+
<td>the number of capturing subpatterns</td>
|
993
977
|
</tr>
|
994
978
|
</tbody>
|
995
979
|
</table></div>
|
996
980
|
<p class="since">Since 2.14</p>
|
997
981
|
</div>
|
998
982
|
<hr>
|
999
|
-
<div class="refsect2"
|
983
|
+
<div class="refsect2">
|
1000
984
|
<a name="g-regex-get-string-number"></a><h3>g_regex_get_string_number ()</h3>
|
1001
985
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_string_number (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1002
986
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
@@ -1009,27 +993,23 @@ Retrieves the number of the subexpression named <em class="parameter"><code>name
|
|
1009
993
|
<tr>
|
1010
994
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1011
995
|
<td>
|
1012
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
1013
|
-
</td>
|
996
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
1014
997
|
</tr>
|
1015
998
|
<tr>
|
1016
999
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1017
|
-
<td>name of the subexpression
|
1018
|
-
</td>
|
1000
|
+
<td>name of the subexpression</td>
|
1019
1001
|
</tr>
|
1020
1002
|
<tr>
|
1021
1003
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1022
|
-
<td>
|
1023
|
-
|
1024
|
-
|
1025
|
-
</td>
|
1004
|
+
<td>The number of the subexpression or -1 if <em class="parameter"><code>name</code></em>
|
1005
|
+
does not exists</td>
|
1026
1006
|
</tr>
|
1027
1007
|
</tbody>
|
1028
1008
|
</table></div>
|
1029
1009
|
<p class="since">Since 2.14</p>
|
1030
1010
|
</div>
|
1031
1011
|
<hr>
|
1032
|
-
<div class="refsect2"
|
1012
|
+
<div class="refsect2">
|
1033
1013
|
<a name="g-regex-get-compile-flags"></a><h3>g_regex_get_compile_flags ()</h3>
|
1034
1014
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="returnvalue">GRegexCompileFlags</span></a> g_regex_get_compile_flags (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
1035
1015
|
<p>
|
@@ -1045,8 +1025,7 @@ Returns the compile options that <em class="parameter"><code>regex</code></em> w
|
|
1045
1025
|
</tr>
|
1046
1026
|
<tr>
|
1047
1027
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1048
|
-
<td>
|
1049
|
-
|
1028
|
+
<td>flags from <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a>
|
1050
1029
|
</td>
|
1051
1030
|
</tr>
|
1052
1031
|
</tbody>
|
@@ -1054,7 +1033,7 @@ Returns the compile options that <em class="parameter"><code>regex</code></em> w
|
|
1054
1033
|
<p class="since">Since 2.26</p>
|
1055
1034
|
</div>
|
1056
1035
|
<hr>
|
1057
|
-
<div class="refsect2"
|
1036
|
+
<div class="refsect2">
|
1058
1037
|
<a name="g-regex-get-match-flags"></a><h3>g_regex_get_match_flags ()</h3>
|
1059
1038
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="returnvalue">GRegexMatchFlags</span></a> g_regex_get_match_flags (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
1060
1039
|
<p>
|
@@ -1070,8 +1049,7 @@ Returns the match options that <em class="parameter"><code>regex</code></em> was
|
|
1070
1049
|
</tr>
|
1071
1050
|
<tr>
|
1072
1051
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1073
|
-
<td>
|
1074
|
-
|
1052
|
+
<td>flags from <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a>
|
1075
1053
|
</td>
|
1076
1054
|
</tr>
|
1077
1055
|
</tbody>
|
@@ -1079,7 +1057,7 @@ Returns the match options that <em class="parameter"><code>regex</code></em> was
|
|
1079
1057
|
<p class="since">Since 2.26</p>
|
1080
1058
|
</div>
|
1081
1059
|
<hr>
|
1082
|
-
<div class="refsect2"
|
1060
|
+
<div class="refsect2">
|
1083
1061
|
<a name="g-regex-escape-string"></a><h3>g_regex_escape_string ()</h3>
|
1084
1062
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_escape_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>,
|
1085
1063
|
<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>
|
@@ -1098,26 +1076,23 @@ in <em class="parameter"><code>length</code></em>.
|
|
1098
1076
|
<tbody>
|
1099
1077
|
<tr>
|
1100
1078
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1101
|
-
<td>
|
1079
|
+
<td>the string to escape. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
1102
1080
|
</td>
|
1103
1081
|
</tr>
|
1104
1082
|
<tr>
|
1105
1083
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1106
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1107
|
-
</td>
|
1084
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1108
1085
|
</tr>
|
1109
1086
|
<tr>
|
1110
1087
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1111
|
-
<td>
|
1112
|
-
|
1113
|
-
</td>
|
1088
|
+
<td>a newly-allocated escaped string</td>
|
1114
1089
|
</tr>
|
1115
1090
|
</tbody>
|
1116
1091
|
</table></div>
|
1117
1092
|
<p class="since">Since 2.14</p>
|
1118
1093
|
</div>
|
1119
1094
|
<hr>
|
1120
|
-
<div class="refsect2"
|
1095
|
+
<div class="refsect2">
|
1121
1096
|
<a name="g-regex-match-simple"></a><h3>g_regex_match_simple ()</h3>
|
1122
1097
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_simple (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
1123
1098
|
<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>,
|
@@ -1142,36 +1117,31 @@ once, it's more efficient to compile the pattern once with
|
|
1142
1117
|
<tbody>
|
1143
1118
|
<tr>
|
1144
1119
|
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1145
|
-
<td>the regular expression
|
1146
|
-
</td>
|
1120
|
+
<td>the regular expression</td>
|
1147
1121
|
</tr>
|
1148
1122
|
<tr>
|
1149
1123
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1150
|
-
<td>the string to scan for matches
|
1151
|
-
</td>
|
1124
|
+
<td>the string to scan for matches</td>
|
1152
1125
|
</tr>
|
1153
1126
|
<tr>
|
1154
1127
|
<td><p><span class="term"><em class="parameter"><code>compile_options</code></em> :</span></p></td>
|
1155
|
-
<td>compile options for the regular expression, or 0
|
1156
|
-
</td>
|
1128
|
+
<td>compile options for the regular expression, or 0</td>
|
1157
1129
|
</tr>
|
1158
1130
|
<tr>
|
1159
1131
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1160
|
-
<td>match options, or 0
|
1161
|
-
</td>
|
1132
|
+
<td>match options, or 0</td>
|
1162
1133
|
</tr>
|
1163
1134
|
<tr>
|
1164
1135
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1165
|
-
<td>
|
1166
|
-
|
1167
|
-
</td>
|
1136
|
+
<td>
|
1137
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
1168
1138
|
</tr>
|
1169
1139
|
</tbody>
|
1170
1140
|
</table></div>
|
1171
1141
|
<p class="since">Since 2.14</p>
|
1172
1142
|
</div>
|
1173
1143
|
<hr>
|
1174
|
-
<div class="refsect2"
|
1144
|
+
<div class="refsect2">
|
1175
1145
|
<a name="g-regex-match"></a><h3>g_regex_match ()</h3>
|
1176
1146
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1177
1147
|
<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>,
|
@@ -1259,32 +1229,29 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1259
1229
|
</tr>
|
1260
1230
|
<tr>
|
1261
1231
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1262
|
-
<td>the string to scan for matches
|
1263
|
-
</td>
|
1232
|
+
<td>the string to scan for matches</td>
|
1264
1233
|
</tr>
|
1265
1234
|
<tr>
|
1266
1235
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1267
|
-
<td>match options
|
1268
|
-
</td>
|
1236
|
+
<td>match options</td>
|
1269
1237
|
</tr>
|
1270
1238
|
<tr>
|
1271
1239
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1272
|
-
<td>
|
1273
|
-
|
1240
|
+
<td>pointer to location where to store
|
1241
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1274
1242
|
</td>
|
1275
1243
|
</tr>
|
1276
1244
|
<tr>
|
1277
1245
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1278
|
-
<td>
|
1279
|
-
|
1280
|
-
</td>
|
1246
|
+
<td>
|
1247
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
1281
1248
|
</tr>
|
1282
1249
|
</tbody>
|
1283
1250
|
</table></div>
|
1284
1251
|
<p class="since">Since 2.14</p>
|
1285
1252
|
</div>
|
1286
1253
|
<hr>
|
1287
|
-
<div class="refsect2"
|
1254
|
+
<div class="refsect2">
|
1288
1255
|
<a name="g-regex-match-full"></a><h3>g_regex_match_full ()</h3>
|
1289
1256
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1290
1257
|
<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>,
|
@@ -1292,7 +1259,7 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1292
1259
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
1293
1260
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1294
1261
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
1295
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1262
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1296
1263
|
<p>
|
1297
1264
|
Scans for a match in string for the pattern in <em class="parameter"><code>regex</code></em>.
|
1298
1265
|
The <em class="parameter"><code>match_options</code></em> are combined with the match options specified
|
@@ -1393,47 +1360,42 @@ string you can use <a class="link" href="glib-Perl-compatible-regular-expression
|
|
1393
1360
|
</tr>
|
1394
1361
|
<tr>
|
1395
1362
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1396
|
-
<td>
|
1363
|
+
<td>the string to scan for matches. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1397
1364
|
</td>
|
1398
1365
|
</tr>
|
1399
1366
|
<tr>
|
1400
1367
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
1401
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1402
|
-
</td>
|
1368
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1403
1369
|
</tr>
|
1404
1370
|
<tr>
|
1405
1371
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
1406
|
-
<td>starting index of the string to match
|
1407
|
-
</td>
|
1372
|
+
<td>starting index of the string to match</td>
|
1408
1373
|
</tr>
|
1409
1374
|
<tr>
|
1410
1375
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1411
|
-
<td>match options
|
1412
|
-
</td>
|
1376
|
+
<td>match options</td>
|
1413
1377
|
</tr>
|
1414
1378
|
<tr>
|
1415
1379
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1416
|
-
<td>
|
1417
|
-
|
1380
|
+
<td>pointer to location where to store
|
1381
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1418
1382
|
</td>
|
1419
1383
|
</tr>
|
1420
1384
|
<tr>
|
1421
1385
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1422
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
1423
|
-
</td>
|
1386
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
1424
1387
|
</tr>
|
1425
1388
|
<tr>
|
1426
1389
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1427
|
-
<td>
|
1428
|
-
|
1429
|
-
</td>
|
1390
|
+
<td>
|
1391
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
1430
1392
|
</tr>
|
1431
1393
|
</tbody>
|
1432
1394
|
</table></div>
|
1433
1395
|
<p class="since">Since 2.14</p>
|
1434
1396
|
</div>
|
1435
1397
|
<hr>
|
1436
|
-
<div class="refsect2"
|
1398
|
+
<div class="refsect2">
|
1437
1399
|
<a name="g-regex-match-all"></a><h3>g_regex_match_all ()</h3>
|
1438
1400
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_all (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1439
1401
|
<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>,
|
@@ -1467,32 +1429,29 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1467
1429
|
</tr>
|
1468
1430
|
<tr>
|
1469
1431
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1470
|
-
<td>the string to scan for matches
|
1471
|
-
</td>
|
1432
|
+
<td>the string to scan for matches</td>
|
1472
1433
|
</tr>
|
1473
1434
|
<tr>
|
1474
1435
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1475
|
-
<td>match options
|
1476
|
-
</td>
|
1436
|
+
<td>match options</td>
|
1477
1437
|
</tr>
|
1478
1438
|
<tr>
|
1479
1439
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1480
|
-
<td>
|
1481
|
-
|
1440
|
+
<td>pointer to location where to store
|
1441
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1482
1442
|
</td>
|
1483
1443
|
</tr>
|
1484
1444
|
<tr>
|
1485
1445
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1486
|
-
<td>
|
1487
|
-
|
1488
|
-
</td>
|
1446
|
+
<td>
|
1447
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
1489
1448
|
</tr>
|
1490
1449
|
</tbody>
|
1491
1450
|
</table></div>
|
1492
1451
|
<p class="since">Since 2.14</p>
|
1493
1452
|
</div>
|
1494
1453
|
<hr>
|
1495
|
-
<div class="refsect2"
|
1454
|
+
<div class="refsect2">
|
1496
1455
|
<a name="g-regex-match-all-full"></a><h3>g_regex_match_all_full ()</h3>
|
1497
1456
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_all_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1498
1457
|
<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>,
|
@@ -1500,7 +1459,7 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1500
1459
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
1501
1460
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1502
1461
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
1503
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1462
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1504
1463
|
<p>
|
1505
1464
|
Using the standard algorithm for regular expression matching only
|
1506
1465
|
the longest match in the string is retrieved, it is not possibile
|
@@ -1555,47 +1514,42 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1555
1514
|
</tr>
|
1556
1515
|
<tr>
|
1557
1516
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1558
|
-
<td>
|
1517
|
+
<td>the string to scan for matches. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1559
1518
|
</td>
|
1560
1519
|
</tr>
|
1561
1520
|
<tr>
|
1562
1521
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
1563
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1564
|
-
</td>
|
1522
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1565
1523
|
</tr>
|
1566
1524
|
<tr>
|
1567
1525
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
1568
|
-
<td>starting index of the string to match
|
1569
|
-
</td>
|
1526
|
+
<td>starting index of the string to match</td>
|
1570
1527
|
</tr>
|
1571
1528
|
<tr>
|
1572
1529
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1573
|
-
<td>match options
|
1574
|
-
</td>
|
1530
|
+
<td>match options</td>
|
1575
1531
|
</tr>
|
1576
1532
|
<tr>
|
1577
1533
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1578
|
-
<td>
|
1579
|
-
|
1534
|
+
<td>pointer to location where to store
|
1535
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1580
1536
|
</td>
|
1581
1537
|
</tr>
|
1582
1538
|
<tr>
|
1583
1539
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1584
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
1585
|
-
</td>
|
1540
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
1586
1541
|
</tr>
|
1587
1542
|
<tr>
|
1588
1543
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1589
|
-
<td>
|
1590
|
-
|
1591
|
-
</td>
|
1544
|
+
<td>
|
1545
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
1592
1546
|
</tr>
|
1593
1547
|
</tbody>
|
1594
1548
|
</table></div>
|
1595
1549
|
<p class="since">Since 2.14</p>
|
1596
1550
|
</div>
|
1597
1551
|
<hr>
|
1598
|
-
<div class="refsect2"
|
1552
|
+
<div class="refsect2">
|
1599
1553
|
<a name="g-regex-split-simple"></a><h3>g_regex_split_simple ()</h3>
|
1600
1554
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split_simple (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
1601
1555
|
<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>,
|
@@ -1639,28 +1593,23 @@ characters. For example splitting "ab c" using as a separator
|
|
1639
1593
|
<tbody>
|
1640
1594
|
<tr>
|
1641
1595
|
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1642
|
-
<td>the regular expression
|
1643
|
-
</td>
|
1596
|
+
<td>the regular expression</td>
|
1644
1597
|
</tr>
|
1645
1598
|
<tr>
|
1646
1599
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1647
|
-
<td>the string to scan for matches
|
1648
|
-
</td>
|
1600
|
+
<td>the string to scan for matches</td>
|
1649
1601
|
</tr>
|
1650
1602
|
<tr>
|
1651
1603
|
<td><p><span class="term"><em class="parameter"><code>compile_options</code></em> :</span></p></td>
|
1652
|
-
<td>compile options for the regular expression, or 0
|
1653
|
-
</td>
|
1604
|
+
<td>compile options for the regular expression, or 0</td>
|
1654
1605
|
</tr>
|
1655
1606
|
<tr>
|
1656
1607
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1657
|
-
<td>match options, or 0
|
1658
|
-
</td>
|
1608
|
+
<td>match options, or 0</td>
|
1659
1609
|
</tr>
|
1660
1610
|
<tr>
|
1661
1611
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1662
|
-
<td>
|
1663
|
-
|
1612
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Free it using <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>
|
1664
1613
|
</td>
|
1665
1614
|
</tr>
|
1666
1615
|
</tbody>
|
@@ -1668,7 +1617,7 @@ characters. For example splitting "ab c" using as a separator
|
|
1668
1617
|
<p class="since">Since 2.14</p>
|
1669
1618
|
</div>
|
1670
1619
|
<hr>
|
1671
|
-
<div class="refsect2"
|
1620
|
+
<div class="refsect2">
|
1672
1621
|
<a name="g-regex-split"></a><h3>g_regex_split ()</h3>
|
1673
1622
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1674
1623
|
<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>,
|
@@ -1699,23 +1648,19 @@ For example splitting "ab c" using as a separator "\s*", you will get
|
|
1699
1648
|
<tbody>
|
1700
1649
|
<tr>
|
1701
1650
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1702
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
1703
|
-
</td>
|
1651
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
1704
1652
|
</tr>
|
1705
1653
|
<tr>
|
1706
1654
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1707
|
-
<td>the string to split with the pattern
|
1708
|
-
</td>
|
1655
|
+
<td>the string to split with the pattern</td>
|
1709
1656
|
</tr>
|
1710
1657
|
<tr>
|
1711
1658
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1712
|
-
<td>match time option flags
|
1713
|
-
</td>
|
1659
|
+
<td>match time option flags</td>
|
1714
1660
|
</tr>
|
1715
1661
|
<tr>
|
1716
1662
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1717
|
-
<td>
|
1718
|
-
|
1663
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated gchar ** array. Free it using <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>
|
1719
1664
|
</td>
|
1720
1665
|
</tr>
|
1721
1666
|
</tbody>
|
@@ -1723,7 +1668,7 @@ For example splitting "ab c" using as a separator "\s*", you will get
|
|
1723
1668
|
<p class="since">Since 2.14</p>
|
1724
1669
|
</div>
|
1725
1670
|
<hr>
|
1726
|
-
<div class="refsect2"
|
1671
|
+
<div class="refsect2">
|
1727
1672
|
<a name="g-regex-split-full"></a><h3>g_regex_split_full ()</h3>
|
1728
1673
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1729
1674
|
<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>,
|
@@ -1731,7 +1676,7 @@ For example splitting "ab c" using as a separator "\s*", you will get
|
|
1731
1676
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
1732
1677
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1733
1678
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>,
|
1734
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1679
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1735
1680
|
<p>
|
1736
1681
|
Breaks the string on the pattern, and returns an array of the tokens.
|
1737
1682
|
If the pattern contains capturing parentheses, then the text for each
|
@@ -1763,44 +1708,38 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1763
1708
|
<tbody>
|
1764
1709
|
<tr>
|
1765
1710
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1766
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
1767
|
-
</td>
|
1711
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
1768
1712
|
</tr>
|
1769
1713
|
<tr>
|
1770
1714
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1771
|
-
<td>
|
1715
|
+
<td>the string to split with the pattern. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1772
1716
|
</td>
|
1773
1717
|
</tr>
|
1774
1718
|
<tr>
|
1775
1719
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
1776
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1777
|
-
</td>
|
1720
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1778
1721
|
</tr>
|
1779
1722
|
<tr>
|
1780
1723
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
1781
|
-
<td>starting index of the string to match
|
1782
|
-
</td>
|
1724
|
+
<td>starting index of the string to match</td>
|
1783
1725
|
</tr>
|
1784
1726
|
<tr>
|
1785
1727
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1786
|
-
<td>match time option flags
|
1787
|
-
</td>
|
1728
|
+
<td>match time option flags</td>
|
1788
1729
|
</tr>
|
1789
1730
|
<tr>
|
1790
1731
|
<td><p><span class="term"><em class="parameter"><code>max_tokens</code></em> :</span></p></td>
|
1791
1732
|
<td>the maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
1792
|
-
|
1793
|
-
</td>
|
1733
|
+
If this is less than 1, the string is split completely</td>
|
1794
1734
|
</tr>
|
1795
1735
|
<tr>
|
1796
1736
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1797
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1737
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>
|
1798
1738
|
</td>
|
1799
1739
|
</tr>
|
1800
1740
|
<tr>
|
1801
1741
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1802
|
-
<td>
|
1803
|
-
|
1742
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated gchar ** array. Free it using <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>
|
1804
1743
|
</td>
|
1805
1744
|
</tr>
|
1806
1745
|
</tbody>
|
@@ -1808,7 +1747,7 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1808
1747
|
<p class="since">Since 2.14</p>
|
1809
1748
|
</div>
|
1810
1749
|
<hr>
|
1811
|
-
<div class="refsect2"
|
1750
|
+
<div class="refsect2">
|
1812
1751
|
<a name="g-regex-replace"></a><h3>g_regex_replace ()</h3>
|
1813
1752
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1814
1753
|
<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>,
|
@@ -1816,7 +1755,7 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1816
1755
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
1817
1756
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
1818
1757
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1819
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1758
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1820
1759
|
<p>
|
1821
1760
|
Replaces all occurrences of the pattern in <em class="parameter"><code>regex</code></em> with the
|
1822
1761
|
replacement text. Backreferences of the form '\number' or
|
@@ -1874,51 +1813,43 @@ begins with any kind of lookbehind assertion, such as "\b".
|
|
1874
1813
|
<tbody>
|
1875
1814
|
<tr>
|
1876
1815
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1877
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
1878
|
-
</td>
|
1816
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
1879
1817
|
</tr>
|
1880
1818
|
<tr>
|
1881
1819
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1882
|
-
<td>
|
1820
|
+
<td>the string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1883
1821
|
</td>
|
1884
1822
|
</tr>
|
1885
1823
|
<tr>
|
1886
1824
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
1887
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1888
|
-
</td>
|
1825
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1889
1826
|
</tr>
|
1890
1827
|
<tr>
|
1891
1828
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
1892
|
-
<td>starting index of the string to match
|
1893
|
-
</td>
|
1829
|
+
<td>starting index of the string to match</td>
|
1894
1830
|
</tr>
|
1895
1831
|
<tr>
|
1896
1832
|
<td><p><span class="term"><em class="parameter"><code>replacement</code></em> :</span></p></td>
|
1897
|
-
<td>text to replace each match with
|
1898
|
-
</td>
|
1833
|
+
<td>text to replace each match with</td>
|
1899
1834
|
</tr>
|
1900
1835
|
<tr>
|
1901
1836
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1902
|
-
<td>options for the match
|
1903
|
-
</td>
|
1837
|
+
<td>options for the match</td>
|
1904
1838
|
</tr>
|
1905
1839
|
<tr>
|
1906
1840
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1907
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
1908
|
-
</td>
|
1841
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
1909
1842
|
</tr>
|
1910
1843
|
<tr>
|
1911
1844
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1912
|
-
<td>
|
1913
|
-
|
1914
|
-
</td>
|
1845
|
+
<td>a newly allocated string containing the replacements</td>
|
1915
1846
|
</tr>
|
1916
1847
|
</tbody>
|
1917
1848
|
</table></div>
|
1918
1849
|
<p class="since">Since 2.14</p>
|
1919
1850
|
</div>
|
1920
1851
|
<hr>
|
1921
|
-
<div class="refsect2"
|
1852
|
+
<div class="refsect2">
|
1922
1853
|
<a name="g-regex-replace-literal"></a><h3>g_regex_replace_literal ()</h3>
|
1923
1854
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace_literal (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1924
1855
|
<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>,
|
@@ -1926,7 +1857,7 @@ begins with any kind of lookbehind assertion, such as "\b".
|
|
1926
1857
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> start_position</code></em>,
|
1927
1858
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
1928
1859
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1929
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1860
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1930
1861
|
<p>
|
1931
1862
|
Replaces all occurrences of the pattern in <em class="parameter"><code>regex</code></em> with the
|
1932
1863
|
replacement text. <em class="parameter"><code>replacement</code></em> is replaced literally, to
|
@@ -1943,51 +1874,43 @@ assertion, such as "\b".
|
|
1943
1874
|
<tbody>
|
1944
1875
|
<tr>
|
1945
1876
|
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1946
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure
|
1947
|
-
</td>
|
1877
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure</td>
|
1948
1878
|
</tr>
|
1949
1879
|
<tr>
|
1950
1880
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1951
|
-
<td>
|
1881
|
+
<td>the string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1952
1882
|
</td>
|
1953
1883
|
</tr>
|
1954
1884
|
<tr>
|
1955
1885
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
1956
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
1957
|
-
</td>
|
1886
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
1958
1887
|
</tr>
|
1959
1888
|
<tr>
|
1960
1889
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
1961
|
-
<td>starting index of the string to match
|
1962
|
-
</td>
|
1890
|
+
<td>starting index of the string to match</td>
|
1963
1891
|
</tr>
|
1964
1892
|
<tr>
|
1965
1893
|
<td><p><span class="term"><em class="parameter"><code>replacement</code></em> :</span></p></td>
|
1966
|
-
<td>text to replace each match with
|
1967
|
-
</td>
|
1894
|
+
<td>text to replace each match with</td>
|
1968
1895
|
</tr>
|
1969
1896
|
<tr>
|
1970
1897
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
1971
|
-
<td>options for the match
|
1972
|
-
</td>
|
1898
|
+
<td>options for the match</td>
|
1973
1899
|
</tr>
|
1974
1900
|
<tr>
|
1975
1901
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1976
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
1977
|
-
</td>
|
1902
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
1978
1903
|
</tr>
|
1979
1904
|
<tr>
|
1980
1905
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1981
|
-
<td>
|
1982
|
-
|
1983
|
-
</td>
|
1906
|
+
<td>a newly allocated string containing the replacements</td>
|
1984
1907
|
</tr>
|
1985
1908
|
</tbody>
|
1986
1909
|
</table></div>
|
1987
1910
|
<p class="since">Since 2.14</p>
|
1988
1911
|
</div>
|
1989
1912
|
<hr>
|
1990
|
-
<div class="refsect2"
|
1913
|
+
<div class="refsect2">
|
1991
1914
|
<a name="g-regex-replace-eval"></a><h3>g_regex_replace_eval ()</h3>
|
1992
1915
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace_eval (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1993
1916
|
<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>,
|
@@ -1996,7 +1919,7 @@ assertion, such as "\b".
|
|
1996
1919
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1997
1920
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexEvalCallback" title="GRegexEvalCallback ()"><span class="type">GRegexEvalCallback</span></a> eval</code></em>,
|
1998
1921
|
<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>,
|
1999
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1922
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2000
1923
|
<p>
|
2001
1924
|
Replaces occurrences of the pattern in regex with the output of
|
2002
1925
|
<em class="parameter"><code>eval</code></em> for that occurrence.
|
@@ -2099,55 +2022,47 @@ strings at once:
|
|
2099
2022
|
</tr>
|
2100
2023
|
<tr>
|
2101
2024
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2102
|
-
<td>
|
2025
|
+
<td>string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
2103
2026
|
</td>
|
2104
2027
|
</tr>
|
2105
2028
|
<tr>
|
2106
2029
|
<td><p><span class="term"><em class="parameter"><code>string_len</code></em> :</span></p></td>
|
2107
|
-
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated
|
2108
|
-
</td>
|
2030
|
+
<td>the length of <em class="parameter"><code>string</code></em>, or -1 if <em class="parameter"><code>string</code></em> is nul-terminated</td>
|
2109
2031
|
</tr>
|
2110
2032
|
<tr>
|
2111
2033
|
<td><p><span class="term"><em class="parameter"><code>start_position</code></em> :</span></p></td>
|
2112
|
-
<td>starting index of the string to match
|
2113
|
-
</td>
|
2034
|
+
<td>starting index of the string to match</td>
|
2114
2035
|
</tr>
|
2115
2036
|
<tr>
|
2116
2037
|
<td><p><span class="term"><em class="parameter"><code>match_options</code></em> :</span></p></td>
|
2117
|
-
<td>options for the match
|
2118
|
-
</td>
|
2038
|
+
<td>options for the match</td>
|
2119
2039
|
</tr>
|
2120
2040
|
<tr>
|
2121
2041
|
<td><p><span class="term"><em class="parameter"><code>eval</code></em> :</span></p></td>
|
2122
|
-
<td>a function to call for each match
|
2123
|
-
</td>
|
2042
|
+
<td>a function to call for each match</td>
|
2124
2043
|
</tr>
|
2125
2044
|
<tr>
|
2126
2045
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2127
|
-
<td>user data to pass to the function
|
2128
|
-
</td>
|
2046
|
+
<td>user data to pass to the function</td>
|
2129
2047
|
</tr>
|
2130
2048
|
<tr>
|
2131
2049
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2132
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
2133
|
-
</td>
|
2050
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
2134
2051
|
</tr>
|
2135
2052
|
<tr>
|
2136
2053
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2137
|
-
<td>
|
2138
|
-
|
2139
|
-
</td>
|
2054
|
+
<td>a newly allocated string containing the replacements</td>
|
2140
2055
|
</tr>
|
2141
2056
|
</tbody>
|
2142
2057
|
</table></div>
|
2143
2058
|
<p class="since">Since 2.14</p>
|
2144
2059
|
</div>
|
2145
2060
|
<hr>
|
2146
|
-
<div class="refsect2"
|
2061
|
+
<div class="refsect2">
|
2147
2062
|
<a name="g-regex-check-replacement"></a><h3>g_regex_check_replacement ()</h3>
|
2148
2063
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_check_replacement (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
2149
2064
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> *has_references</code></em>,
|
2150
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2065
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2151
2066
|
<p>
|
2152
2067
|
Checks whether <em class="parameter"><code>replacement</code></em> is a valid replacement string
|
2153
2068
|
(see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace" title="g_regex_replace ()"><code class="function">g_regex_replace()</code></a>), i.e. that all escape sequences in
|
@@ -2165,32 +2080,28 @@ subpattern) requires valid <a class="link" href="glib-Perl-compatible-regular-ex
|
|
2165
2080
|
<tbody>
|
2166
2081
|
<tr>
|
2167
2082
|
<td><p><span class="term"><em class="parameter"><code>replacement</code></em> :</span></p></td>
|
2168
|
-
<td>the replacement string
|
2169
|
-
</td>
|
2083
|
+
<td>the replacement string</td>
|
2170
2084
|
</tr>
|
2171
2085
|
<tr>
|
2172
2086
|
<td><p><span class="term"><em class="parameter"><code>has_references</code></em> :</span></p></td>
|
2173
|
-
<td>
|
2174
|
-
|
2087
|
+
<td>location to store information about
|
2088
|
+
references in <em class="parameter"><code>replacement</code></em> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2175
2089
|
</td>
|
2176
2090
|
</tr>
|
2177
2091
|
<tr>
|
2178
2092
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2179
|
-
<td>location to store error
|
2180
|
-
</td>
|
2093
|
+
<td>location to store error</td>
|
2181
2094
|
</tr>
|
2182
2095
|
<tr>
|
2183
2096
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2184
|
-
<td>
|
2185
|
-
|
2186
|
-
</td>
|
2097
|
+
<td>whether <em class="parameter"><code>replacement</code></em> is a valid replacement string</td>
|
2187
2098
|
</tr>
|
2188
2099
|
</tbody>
|
2189
2100
|
</table></div>
|
2190
2101
|
<p class="since">Since 2.14</p>
|
2191
2102
|
</div>
|
2192
2103
|
<hr>
|
2193
|
-
<div class="refsect2"
|
2104
|
+
<div class="refsect2">
|
2194
2105
|
<a name="GMatchInfo"></a><h3>GMatchInfo</h3>
|
2195
2106
|
<pre class="programlisting">typedef struct _GMatchInfo GMatchInfo;</pre>
|
2196
2107
|
<p>
|
@@ -2201,7 +2112,7 @@ This structure is opaque and its fields cannot be accessed directly.
|
|
2201
2112
|
<p class="since">Since 2.14</p>
|
2202
2113
|
</div>
|
2203
2114
|
<hr>
|
2204
|
-
<div class="refsect2"
|
2115
|
+
<div class="refsect2">
|
2205
2116
|
<a name="g-match-info-get-regex"></a><h3>g_match_info_get_regex ()</h3>
|
2206
2117
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_match_info_get_regex (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2207
2118
|
<p>
|
@@ -2219,8 +2130,8 @@ after you free <em class="parameter"><code>match_info</code></em> object.
|
|
2219
2130
|
</tr>
|
2220
2131
|
<tr>
|
2221
2132
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2222
|
-
<td>
|
2223
|
-
|
2133
|
+
<td>
|
2134
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> object used in <em class="parameter"><code>match_info</code></em>
|
2224
2135
|
</td>
|
2225
2136
|
</tr>
|
2226
2137
|
</tbody>
|
@@ -2228,7 +2139,7 @@ after you free <em class="parameter"><code>match_info</code></em> object.
|
|
2228
2139
|
<p class="since">Since 2.14</p>
|
2229
2140
|
</div>
|
2230
2141
|
<hr>
|
2231
|
-
<div class="refsect2"
|
2142
|
+
<div class="refsect2">
|
2232
2143
|
<a name="g-match-info-get-string"></a><h3>g_match_info_get_string ()</h3>
|
2233
2144
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_get_string (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2234
2145
|
<p>
|
@@ -2246,8 +2157,7 @@ you may not free it before calling this function.
|
|
2246
2157
|
</tr>
|
2247
2158
|
<tr>
|
2248
2159
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2249
|
-
<td>
|
2250
|
-
|
2160
|
+
<td>the string searched with <em class="parameter"><code>match_info</code></em>
|
2251
2161
|
</td>
|
2252
2162
|
</tr>
|
2253
2163
|
</tbody>
|
@@ -2255,7 +2165,7 @@ you may not free it before calling this function.
|
|
2255
2165
|
<p class="since">Since 2.14</p>
|
2256
2166
|
</div>
|
2257
2167
|
<hr>
|
2258
|
-
<div class="refsect2"
|
2168
|
+
<div class="refsect2">
|
2259
2169
|
<a name="g-match-info-free"></a><h3>g_match_info_free ()</h3>
|
2260
2170
|
<pre class="programlisting"><span class="returnvalue">void</span> g_match_info_free (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2261
2171
|
<p>
|
@@ -2272,7 +2182,7 @@ Frees all the memory associated with the <a class="link" href="glib-Perl-compati
|
|
2272
2182
|
<p class="since">Since 2.14</p>
|
2273
2183
|
</div>
|
2274
2184
|
<hr>
|
2275
|
-
<div class="refsect2"
|
2185
|
+
<div class="refsect2">
|
2276
2186
|
<a name="g-match-info-matches"></a><h3>g_match_info_matches ()</h3>
|
2277
2187
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_matches (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2278
2188
|
<p>
|
@@ -2283,25 +2193,23 @@ Returns whether the previous match operation succeeded.
|
|
2283
2193
|
<tbody>
|
2284
2194
|
<tr>
|
2285
2195
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2286
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2287
|
-
</td>
|
2196
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2288
2197
|
</tr>
|
2289
2198
|
<tr>
|
2290
2199
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2291
|
-
<td>
|
2292
|
-
|
2293
|
-
|
2294
|
-
</td>
|
2200
|
+
<td>
|
2201
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the previous match operation succeeded,
|
2202
|
+
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
2295
2203
|
</tr>
|
2296
2204
|
</tbody>
|
2297
2205
|
</table></div>
|
2298
2206
|
<p class="since">Since 2.14</p>
|
2299
2207
|
</div>
|
2300
2208
|
<hr>
|
2301
|
-
<div class="refsect2"
|
2209
|
+
<div class="refsect2">
|
2302
2210
|
<a name="g-match-info-next"></a><h3>g_match_info_next ()</h3>
|
2303
2211
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_next (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2304
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2212
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2305
2213
|
<p>
|
2306
2214
|
Scans for the next match using the same parameters of the previous
|
2307
2215
|
call to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-full" title="g_regex_match_full ()"><code class="function">g_regex_match_full()</code></a> or <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match" title="g_regex_match ()"><code class="function">g_regex_match()</code></a> that returned
|
@@ -2316,26 +2224,23 @@ cannot free it before calling this function.
|
|
2316
2224
|
<tbody>
|
2317
2225
|
<tr>
|
2318
2226
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2319
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2320
|
-
</td>
|
2227
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2321
2228
|
</tr>
|
2322
2229
|
<tr>
|
2323
2230
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2324
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
2325
|
-
</td>
|
2231
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
2326
2232
|
</tr>
|
2327
2233
|
<tr>
|
2328
2234
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2329
|
-
<td>
|
2330
|
-
|
2331
|
-
</td>
|
2235
|
+
<td>
|
2236
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is the string matched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
2332
2237
|
</tr>
|
2333
2238
|
</tbody>
|
2334
2239
|
</table></div>
|
2335
2240
|
<p class="since">Since 2.14</p>
|
2336
2241
|
</div>
|
2337
2242
|
<hr>
|
2338
|
-
<div class="refsect2"
|
2243
|
+
<div class="refsect2">
|
2339
2244
|
<a name="g-match-info-get-match-count"></a><h3>g_match_info_get_match_count ()</h3>
|
2340
2245
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_match_info_get_match_count (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2341
2246
|
<p>
|
@@ -2354,21 +2259,18 @@ the number of matched substrings.
|
|
2354
2259
|
<tbody>
|
2355
2260
|
<tr>
|
2356
2261
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2357
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2358
|
-
</td>
|
2262
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2359
2263
|
</tr>
|
2360
2264
|
<tr>
|
2361
2265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2362
|
-
<td>
|
2363
|
-
|
2364
|
-
</td>
|
2266
|
+
<td>Number of matched substrings, or -1 if an error occurred</td>
|
2365
2267
|
</tr>
|
2366
2268
|
</tbody>
|
2367
2269
|
</table></div>
|
2368
2270
|
<p class="since">Since 2.14</p>
|
2369
2271
|
</div>
|
2370
2272
|
<hr>
|
2371
|
-
<div class="refsect2"
|
2273
|
+
<div class="refsect2">
|
2372
2274
|
<a name="g-match-info-is-partial-match"></a><h3>g_match_info_is_partial_match ()</h3>
|
2373
2275
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_is_partial_match (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2374
2276
|
<p>
|
@@ -2414,25 +2316,23 @@ functions return an error.
|
|
2414
2316
|
<tbody>
|
2415
2317
|
<tr>
|
2416
2318
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2417
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2418
|
-
</td>
|
2319
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2419
2320
|
</tr>
|
2420
2321
|
<tr>
|
2421
2322
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2422
|
-
<td>
|
2423
|
-
|
2424
|
-
</td>
|
2323
|
+
<td>
|
2324
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the match was partial, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
2425
2325
|
</tr>
|
2426
2326
|
</tbody>
|
2427
2327
|
</table></div>
|
2428
2328
|
<p class="since">Since 2.14</p>
|
2429
2329
|
</div>
|
2430
2330
|
<hr>
|
2431
|
-
<div class="refsect2"
|
2331
|
+
<div class="refsect2">
|
2432
2332
|
<a name="g-match-info-expand-references"></a><h3>g_match_info_expand_references ()</h3>
|
2433
2333
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_expand_references (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2434
2334
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string_to_expand</code></em>,
|
2435
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2335
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2436
2336
|
<p>
|
2437
2337
|
Returns a new string containing the text in <em class="parameter"><code>string_to_expand</code></em> with
|
2438
2338
|
references and escape sequences expanded. References refer to the last
|
@@ -2465,17 +2365,15 @@ contains references.
|
|
2465
2365
|
</tr>
|
2466
2366
|
<tr>
|
2467
2367
|
<td><p><span class="term"><em class="parameter"><code>string_to_expand</code></em> :</span></p></td>
|
2468
|
-
<td>the string to expand
|
2469
|
-
</td>
|
2368
|
+
<td>the string to expand</td>
|
2470
2369
|
</tr>
|
2471
2370
|
<tr>
|
2472
2371
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2473
|
-
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors
|
2474
|
-
</td>
|
2372
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors</td>
|
2475
2373
|
</tr>
|
2476
2374
|
<tr>
|
2477
2375
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2478
|
-
<td>
|
2376
|
+
<td>the expanded string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2479
2377
|
</td>
|
2480
2378
|
</tr>
|
2481
2379
|
</tbody>
|
@@ -2483,7 +2381,7 @@ contains references.
|
|
2483
2381
|
<p class="since">Since 2.14</p>
|
2484
2382
|
</div>
|
2485
2383
|
<hr>
|
2486
|
-
<div class="refsect2"
|
2384
|
+
<div class="refsect2">
|
2487
2385
|
<a name="g-match-info-fetch"></a><h3>g_match_info_fetch ()</h3>
|
2488
2386
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_fetch (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2489
2387
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> match_num</code></em>);</pre>
|
@@ -2514,18 +2412,16 @@ so you cannot call this function after freeing the string.
|
|
2514
2412
|
<tr>
|
2515
2413
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2516
2414
|
<td>
|
2517
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2518
|
-
</td>
|
2415
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2519
2416
|
</tr>
|
2520
2417
|
<tr>
|
2521
2418
|
<td><p><span class="term"><em class="parameter"><code>match_num</code></em> :</span></p></td>
|
2522
|
-
<td>number of the sub expression
|
2523
|
-
</td>
|
2419
|
+
<td>number of the sub expression</td>
|
2524
2420
|
</tr>
|
2525
2421
|
<tr>
|
2526
2422
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2527
|
-
<td>
|
2528
|
-
|
2423
|
+
<td>The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2424
|
+
occurred. You have to free the string yourself. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2529
2425
|
</td>
|
2530
2426
|
</tr>
|
2531
2427
|
</tbody>
|
@@ -2533,7 +2429,7 @@ so you cannot call this function after freeing the string.
|
|
2533
2429
|
<p class="since">Since 2.14</p>
|
2534
2430
|
</div>
|
2535
2431
|
<hr>
|
2536
|
-
<div class="refsect2"
|
2432
|
+
<div class="refsect2">
|
2537
2433
|
<a name="g-match-info-fetch-pos"></a><h3>g_match_info_fetch_pos ()</h3>
|
2538
2434
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_fetch_pos (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2539
2435
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> match_num</code></em>,
|
@@ -2562,40 +2458,37 @@ substring. Substrings are matched in reverse order of length, so
|
|
2562
2458
|
<tr>
|
2563
2459
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2564
2460
|
<td>
|
2565
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2566
|
-
</td>
|
2461
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2567
2462
|
</tr>
|
2568
2463
|
<tr>
|
2569
2464
|
<td><p><span class="term"><em class="parameter"><code>match_num</code></em> :</span></p></td>
|
2570
|
-
<td>number of the sub expression
|
2571
|
-
</td>
|
2465
|
+
<td>number of the sub expression</td>
|
2572
2466
|
</tr>
|
2573
2467
|
<tr>
|
2574
2468
|
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
2575
|
-
<td>
|
2576
|
-
|
2469
|
+
<td>pointer to location where to store
|
2470
|
+
the start position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2577
2471
|
</td>
|
2578
2472
|
</tr>
|
2579
2473
|
<tr>
|
2580
2474
|
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
2581
|
-
<td>
|
2582
|
-
|
2475
|
+
<td>pointer to location where to store
|
2476
|
+
the end position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2583
2477
|
</td>
|
2584
2478
|
</tr>
|
2585
2479
|
<tr>
|
2586
2480
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2587
|
-
<td>
|
2588
|
-
|
2589
|
-
|
2590
|
-
|
2591
|
-
</td>
|
2481
|
+
<td>
|
2482
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise. If
|
2483
|
+
the position cannot be fetched, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em> are left
|
2484
|
+
unchanged</td>
|
2592
2485
|
</tr>
|
2593
2486
|
</tbody>
|
2594
2487
|
</table></div>
|
2595
2488
|
<p class="since">Since 2.14</p>
|
2596
2489
|
</div>
|
2597
2490
|
<hr>
|
2598
|
-
<div class="refsect2"
|
2491
|
+
<div class="refsect2">
|
2599
2492
|
<a name="g-match-info-fetch-named"></a><h3>g_match_info_fetch_named ()</h3>
|
2600
2493
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_fetch_named (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2601
2494
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
@@ -2617,18 +2510,16 @@ so you cannot call this function after freeing the string.
|
|
2617
2510
|
<tr>
|
2618
2511
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2619
2512
|
<td>
|
2620
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2621
|
-
</td>
|
2513
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2622
2514
|
</tr>
|
2623
2515
|
<tr>
|
2624
2516
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
2625
|
-
<td>name of the subexpression
|
2626
|
-
</td>
|
2517
|
+
<td>name of the subexpression</td>
|
2627
2518
|
</tr>
|
2628
2519
|
<tr>
|
2629
2520
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2630
|
-
<td>
|
2631
|
-
|
2521
|
+
<td>The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2522
|
+
occurred. You have to free the string yourself. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2632
2523
|
</td>
|
2633
2524
|
</tr>
|
2634
2525
|
</tbody>
|
@@ -2636,7 +2527,7 @@ so you cannot call this function after freeing the string.
|
|
2636
2527
|
<p class="since">Since 2.14</p>
|
2637
2528
|
</div>
|
2638
2529
|
<hr>
|
2639
|
-
<div class="refsect2"
|
2530
|
+
<div class="refsect2">
|
2640
2531
|
<a name="g-match-info-fetch-named-pos"></a><h3>g_match_info_fetch_named_pos ()</h3>
|
2641
2532
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_fetch_named_pos (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2642
2533
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
@@ -2656,40 +2547,37 @@ then <em class="parameter"><code>start_pos</code></em> and <em class="parameter"
|
|
2656
2547
|
<tr>
|
2657
2548
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2658
2549
|
<td>
|
2659
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2660
|
-
</td>
|
2550
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2661
2551
|
</tr>
|
2662
2552
|
<tr>
|
2663
2553
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
2664
|
-
<td>name of the subexpression
|
2665
|
-
</td>
|
2554
|
+
<td>name of the subexpression</td>
|
2666
2555
|
</tr>
|
2667
2556
|
<tr>
|
2668
2557
|
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
2669
|
-
<td>
|
2670
|
-
|
2558
|
+
<td>pointer to location where to store
|
2559
|
+
the start position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2671
2560
|
</td>
|
2672
2561
|
</tr>
|
2673
2562
|
<tr>
|
2674
2563
|
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
2675
|
-
<td>
|
2676
|
-
|
2564
|
+
<td>pointer to location where to store
|
2565
|
+
the end position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2677
2566
|
</td>
|
2678
2567
|
</tr>
|
2679
2568
|
<tr>
|
2680
2569
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2681
|
-
<td>
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
</td>
|
2570
|
+
<td>
|
2571
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
|
2572
|
+
If the position cannot be fetched, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em>
|
2573
|
+
are left unchanged.</td>
|
2686
2574
|
</tr>
|
2687
2575
|
</tbody>
|
2688
2576
|
</table></div>
|
2689
2577
|
<p class="since">Since 2.14</p>
|
2690
2578
|
</div>
|
2691
2579
|
<hr>
|
2692
|
-
<div class="refsect2"
|
2580
|
+
<div class="refsect2">
|
2693
2581
|
<a name="g-match-info-fetch-all"></a><h3>g_match_info_fetch_all ()</h3>
|
2694
2582
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_match_info_fetch_all (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2695
2583
|
<p>
|
@@ -2718,14 +2606,13 @@ so you cannot call this function after freeing the string.
|
|
2718
2606
|
<tbody>
|
2719
2607
|
<tr>
|
2720
2608
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
2721
|
-
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure
|
2722
|
-
</td>
|
2609
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure</td>
|
2723
2610
|
</tr>
|
2724
2611
|
<tr>
|
2725
2612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2726
|
-
<td>
|
2727
|
-
|
2728
|
-
|
2613
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of gchar * pointers.
|
2614
|
+
It must be freed using <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>. If the previous match failed
|
2615
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2729
2616
|
</td>
|
2730
2617
|
</tr>
|
2731
2618
|
</tbody>
|
@@ -2733,13 +2620,13 @@ so you cannot call this function after freeing the string.
|
|
2733
2620
|
<p class="since">Since 2.14</p>
|
2734
2621
|
</div>
|
2735
2622
|
</div>
|
2736
|
-
<div class="refsect1"
|
2623
|
+
<div class="refsect1">
|
2737
2624
|
<a name="glib-Perl-compatible-regular-expressions.see-also"></a><h2>See Also</h2>
|
2738
2625
|
<a class="xref" href="glib-regex-syntax.html" title="Regular expression syntax"><span class="refentrytitle">Regular expression syntax</span></a>
|
2739
2626
|
</div>
|
2740
2627
|
</div>
|
2741
2628
|
<div class="footer">
|
2742
2629
|
<hr>
|
2743
|
-
Generated by GTK-Doc V1.
|
2630
|
+
Generated by GTK-Doc V1.16.1</div>
|
2744
2631
|
</body>
|
2745
2632
|
</html>
|