pango 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/pango/extconf.rb +8 -0
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- 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/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +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/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -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/intl.lib +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +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/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
- data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING +0 -0
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING-LGPL-2.1 +0 -0
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING-MPL-1.1 +0 -0
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- 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 +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- 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 -7
- 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 +3 -3
- 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 +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- 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 +3 -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 +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- 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 +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- 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 +148 -4
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- 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 +3 -3
- 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 +8 -8
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -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 +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- 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 +3 -3
- 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/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/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/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/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/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/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/is/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/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/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/ps/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/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/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/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/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 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.log → cairo_1.10.0-2_win32.log} +175 -174
- data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.sh → cairo_1.10.0-2_win32.sh} +11 -3
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- metadata +1471 -1389
- data/ext/pango/Makefile +0 -172
- data/ext/pango/rbpangoversion.h +0 -24
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-utilities.html" title="GLib Utilities">
|
10
10
|
<link rel="next" href="glib-Character-Set-Conversion.html" title="Character Set Conversion">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.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-String-Utility-Functions.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-String-Utility-Functions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,26 +35,26 @@
|
|
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-String-Utility-Functions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
#include <glib/gprintf.h>
|
43
43
|
|
44
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
45
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
44
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup" title="g_strdup ()">g_strdup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);
|
45
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strndup" title="g_strndup ()">g_strndup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);
|
47
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
48
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
47
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strdupv" title="g_strdupv ()">g_strdupv</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
48
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strnfill" title="g_strnfill ()">g_strnfill</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> fill_char</code></em>);
|
50
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
50
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-stpcpy" title="g_stpcpy ()">g_stpcpy</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
51
51
|
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);
|
52
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
52
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strstr-len" title="g_strstr_len ()">g_strstr_len</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
54
54
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
55
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
55
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strrstr" title="g_strrstr ()">g_strrstr</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
56
56
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
57
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
57
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strrstr-len" title="g_strrstr_len ()">g_strrstr_len</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
58
58
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
59
59
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
60
60
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-str-has-prefix" title="g_str_has_prefix ()">g_str_has_prefix</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
@@ -71,9 +71,9 @@
|
|
71
71
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> dest_size</code></em>);
|
73
73
|
|
74
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
74
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup-printf" title="g_strdup_printf ()">g_strdup_printf</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
75
75
|
<em class="parameter"><code>...</code></em>);
|
76
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
76
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup-vprintf" title="g_strdup_vprintf ()">g_strdup_vprintf</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
77
77
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);
|
78
78
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-printf" title="g_printf ()">g_printf</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
79
79
|
<em class="parameter"><code>...</code></em>);
|
@@ -126,19 +126,19 @@
|
|
126
126
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
127
127
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);
|
128
128
|
|
129
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
129
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strup" title="g_ascii_strup ()">g_ascii_strup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
130
130
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);
|
131
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
131
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strdown" title="g_ascii_strdown ()">g_ascii_strdown</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
132
132
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);
|
133
133
|
|
134
134
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-tolower" title="g_ascii_tolower ()">g_ascii_tolower</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);
|
135
135
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-toupper" title="g_ascii_toupper ()">g_ascii_toupper</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);
|
136
136
|
|
137
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
138
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
137
|
+
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-string-ascii-up" title="g_string_ascii_up ()">g_string_ascii_up</a> (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>);
|
138
|
+
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-string-ascii-down" title="g_string_ascii_down ()">g_string_ascii_down</a> (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>);
|
139
139
|
|
140
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
141
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
140
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strup" title="g_strup ()">g_strup</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
141
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdown" title="g_strdown ()">g_strdown</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
142
142
|
|
143
143
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strcasecmp" title="g_strcasecmp ()">g_strcasecmp</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
144
144
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);
|
@@ -146,7 +146,7 @@
|
|
146
146
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
147
147
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
148
148
|
|
149
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
149
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strreverse" title="g_strreverse ()">g_strreverse</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
150
150
|
|
151
151
|
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtoll" title="g_ascii_strtoll ()">g_ascii_strtoll</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
152
152
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -157,50 +157,50 @@
|
|
157
157
|
#define <a class="link" href="glib-String-Utility-Functions.html#G-ASCII-DTOSTR-BUF-SIZE:CAPS" title="G_ASCII_DTOSTR_BUF_SIZE">G_ASCII_DTOSTR_BUF_SIZE</a>
|
158
158
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtod" title="g_ascii_strtod ()">g_ascii_strtod</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
159
159
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
160
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
160
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-dtostr" title="g_ascii_dtostr ()">g_ascii_dtostr</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
161
161
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
162
162
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);
|
163
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
163
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-formatd" title="g_ascii_formatd ()">g_ascii_formatd</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
164
164
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
165
165
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
166
166
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);
|
167
167
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strtod" title="g_strtod ()">g_strtod</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
168
168
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
169
169
|
|
170
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
171
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
170
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strchug" title="g_strchug ()">g_strchug</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
171
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strchomp" title="g_strchomp ()">g_strchomp</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
172
172
|
#define <a class="link" href="glib-String-Utility-Functions.html#g-strstrip" title="g_strstrip()">g_strstrip</a> (string)
|
173
173
|
|
174
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
174
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdelimit" title="g_strdelimit ()">g_strdelimit</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
175
175
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
176
176
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> new_delimiter</code></em>);
|
177
177
|
#define <a class="link" href="glib-String-Utility-Functions.html#G-STR-DELIMITERS:CAPS" title="G_STR_DELIMITERS">G_STR_DELIMITERS</a>
|
178
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
178
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strescape" title="g_strescape ()">g_strescape</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>,
|
179
179
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exceptions</code></em>);
|
180
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
181
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
180
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strcompress" title="g_strcompress ()">g_strcompress</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>);
|
181
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strcanon" title="g_strcanon ()">g_strcanon</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
182
182
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *valid_chars</code></em>,
|
183
183
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> substitutor</code></em>);
|
184
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
184
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strsplit" title="g_strsplit ()">g_strsplit</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
185
185
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiter</code></em>,
|
186
186
|
<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>);
|
187
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
187
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strsplit-set" title="g_strsplit_set ()">g_strsplit_set</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
188
188
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
189
189
|
<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>);
|
190
190
|
<span class="returnvalue">void</span> <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()">g_strfreev</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
191
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
191
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()">g_strconcat</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string1</code></em>,
|
192
192
|
<em class="parameter"><code>...</code></em>);
|
193
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
193
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strjoin" title="g_strjoin ()">g_strjoin</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
194
194
|
<em class="parameter"><code>...</code></em>);
|
195
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
195
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strjoinv" title="g_strjoinv ()">g_strjoinv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
196
196
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
197
197
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strv-length" title="g_strv_length ()">g_strv_length</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
198
198
|
|
199
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
200
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
199
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strerror" title="g_strerror ()">g_strerror</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> errnum</code></em>);
|
200
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strsignal" title="g_strsignal ()">g_strsignal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> signum</code></em>);
|
201
201
|
</pre>
|
202
202
|
</div>
|
203
|
-
<div class="refsect1"
|
203
|
+
<div class="refsect1">
|
204
204
|
<a name="glib-String-Utility-Functions.description"></a><h2>Description</h2>
|
205
205
|
<p>
|
206
206
|
This section describes a number of utility functions for creating,
|
@@ -229,14 +229,14 @@ If your intention is to format strings for a certain number of columns, then
|
|
229
229
|
wide characters (see <a class="link" href="glib-Unicode-Manipulation.html#g-unichar-iswide" title="g_unichar_iswide ()"><code class="function">g_unichar_iswide()</code></a>) into account.
|
230
230
|
</p>
|
231
231
|
</div>
|
232
|
-
<div class="refsect1"
|
232
|
+
<div class="refsect1">
|
233
233
|
<a name="glib-String-Utility-Functions.details"></a><h2>Details</h2>
|
234
|
-
<div class="refsect2"
|
234
|
+
<div class="refsect2">
|
235
235
|
<a name="g-strdup"></a><h3>g_strdup ()</h3>
|
236
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
236
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
|
237
237
|
<p>
|
238
238
|
Duplicates a string. If <em class="parameter"><code>str</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> it returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
239
|
-
The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>
|
239
|
+
The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>
|
240
240
|
when no longer needed.
|
241
241
|
</p>
|
242
242
|
<div class="variablelist"><table border="0">
|
@@ -256,9 +256,9 @@ when no longer needed.
|
|
256
256
|
</table></div>
|
257
257
|
</div>
|
258
258
|
<hr>
|
259
|
-
<div class="refsect2"
|
259
|
+
<div class="refsect2">
|
260
260
|
<a name="g-strndup"></a><h3>g_strndup ()</h3>
|
261
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
261
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strndup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
262
262
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);</pre>
|
263
263
|
<p>
|
264
264
|
Duplicates the first <em class="parameter"><code>n</code></em> bytes of a string, returning a newly-allocated
|
@@ -269,7 +269,7 @@ The returned value should be freed when no longer needed.
|
|
269
269
|
</p>
|
270
270
|
<p>
|
271
271
|
</p>
|
272
|
-
<div class="note"
|
272
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
273
273
|
<h3 class="title">Note</h3>
|
274
274
|
<p>
|
275
275
|
To copy a number of characters from a UTF-8 encoded string, use
|
@@ -293,17 +293,17 @@ To copy a number of characters from a UTF-8 encoded string, use
|
|
293
293
|
</tr>
|
294
294
|
<tr>
|
295
295
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
296
|
-
<td> a newly-allocated buffer containing the first <em class="parameter"><code>n</code></em> bytes
|
297
|
-
of <em class="parameter"><code>str</code></em>, nul-terminated
|
296
|
+
<td> a newly-allocated buffer containing the first <em class="parameter"><code>n</code></em> bytes
|
297
|
+
of <em class="parameter"><code>str</code></em>, nul-terminated
|
298
298
|
</td>
|
299
299
|
</tr>
|
300
300
|
</tbody>
|
301
301
|
</table></div>
|
302
302
|
</div>
|
303
303
|
<hr>
|
304
|
-
<div class="refsect2"
|
304
|
+
<div class="refsect2">
|
305
305
|
<a name="g-strdupv"></a><h3>g_strdupv ()</h3>
|
306
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
306
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strdupv (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
307
307
|
<p>
|
308
308
|
Copies <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. The copy is a deep copy;
|
309
309
|
the new array should be freed by first freeing each string, then
|
@@ -328,9 +328,9 @@ on a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><co
|
|
328
328
|
</table></div>
|
329
329
|
</div>
|
330
330
|
<hr>
|
331
|
-
<div class="refsect2"
|
331
|
+
<div class="refsect2">
|
332
332
|
<a name="g-strnfill"></a><h3>g_strnfill ()</h3>
|
333
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
333
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strnfill (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
334
334
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> fill_char</code></em>);</pre>
|
335
335
|
<p>
|
336
336
|
Creates a new string <em class="parameter"><code>length</code></em> bytes long filled with <em class="parameter"><code>fill_char</code></em>.
|
@@ -358,9 +358,9 @@ The returned string should be freed when no longer needed.
|
|
358
358
|
</table></div>
|
359
359
|
</div>
|
360
360
|
<hr>
|
361
|
-
<div class="refsect2"
|
361
|
+
<div class="refsect2">
|
362
362
|
<a name="g-stpcpy"></a><h3>g_stpcpy ()</h3>
|
363
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
363
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_stpcpy (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
364
364
|
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);</pre>
|
365
365
|
<p>
|
366
366
|
Copies a nul-terminated string into the dest buffer, include the
|
@@ -390,9 +390,9 @@ without having to repeatedly scan for the end.
|
|
390
390
|
</table></div>
|
391
391
|
</div>
|
392
392
|
<hr>
|
393
|
-
<div class="refsect2"
|
393
|
+
<div class="refsect2">
|
394
394
|
<a name="g-strstr-len"></a><h3>g_strstr_len ()</h3>
|
395
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
395
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strstr_len (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
396
396
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
397
397
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
398
398
|
<p>
|
@@ -430,9 +430,9 @@ search through the whole string.
|
|
430
430
|
</table></div>
|
431
431
|
</div>
|
432
432
|
<hr>
|
433
|
-
<div class="refsect2"
|
433
|
+
<div class="refsect2">
|
434
434
|
<a name="g-strrstr"></a><h3>g_strrstr ()</h3>
|
435
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
435
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strrstr (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
436
436
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
437
437
|
<p>
|
438
438
|
Searches the string <em class="parameter"><code>haystack</code></em> for the last occurrence
|
@@ -461,9 +461,9 @@ of the string <em class="parameter"><code>needle</code></em>.
|
|
461
461
|
</table></div>
|
462
462
|
</div>
|
463
463
|
<hr>
|
464
|
-
<div class="refsect2"
|
464
|
+
<div class="refsect2">
|
465
465
|
<a name="g-strrstr-len"></a><h3>g_strrstr_len ()</h3>
|
466
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
466
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strrstr_len (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
467
467
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
468
468
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
469
469
|
<p>
|
@@ -499,7 +499,7 @@ to <em class="parameter"><code>haystack_len</code></em>.
|
|
499
499
|
</table></div>
|
500
500
|
</div>
|
501
501
|
<hr>
|
502
|
-
<div class="refsect2"
|
502
|
+
<div class="refsect2">
|
503
503
|
<a name="g-str-has-prefix"></a><h3>g_str_has_prefix ()</h3>
|
504
504
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_str_has_prefix (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
505
505
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
|
@@ -530,7 +530,7 @@ Looks whether the string <em class="parameter"><code>str</code></em> begins with
|
|
530
530
|
<p class="since">Since 2.2</p>
|
531
531
|
</div>
|
532
532
|
<hr>
|
533
|
-
<div class="refsect2"
|
533
|
+
<div class="refsect2">
|
534
534
|
<a name="g-str-has-suffix"></a><h3>g_str_has_suffix ()</h3>
|
535
535
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_str_has_suffix (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
536
536
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *suffix</code></em>);</pre>
|
@@ -561,13 +561,14 @@ Looks whether the string <em class="parameter"><code>str</code></em> ends with <
|
|
561
561
|
<p class="since">Since 2.2</p>
|
562
562
|
</div>
|
563
563
|
<hr>
|
564
|
-
<div class="refsect2"
|
564
|
+
<div class="refsect2">
|
565
565
|
<a name="g-strcmp0"></a><h3>g_strcmp0 ()</h3>
|
566
566
|
<pre class="programlisting"><span class="returnvalue">int</span> g_strcmp0 (<em class="parameter"><code>const <span class="type">char</span> *str1</code></em>,
|
567
567
|
<em class="parameter"><code>const <span class="type">char</span> *str2</code></em>);</pre>
|
568
568
|
<p>
|
569
569
|
Compares <em class="parameter"><code>str1</code></em> and <em class="parameter"><code>str2</code></em> like <code class="function">strcmp()</code>. Handles <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
570
570
|
gracefully by sorting it before non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> strings.
|
571
|
+
Comparing two <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointers returns 0.
|
571
572
|
</p>
|
572
573
|
<div class="variablelist"><table border="0">
|
573
574
|
<col align="left" valign="top">
|
@@ -593,30 +594,30 @@ gracefully by sorting it before non-<a class="link" href="glib-Standard-Macros.h
|
|
593
594
|
<p class="since">Since 2.16</p>
|
594
595
|
</div>
|
595
596
|
<hr>
|
596
|
-
<div class="refsect2"
|
597
|
+
<div class="refsect2">
|
597
598
|
<a name="g-strlcpy"></a><h3>g_strlcpy ()</h3>
|
598
599
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_strlcpy (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
599
600
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
600
601
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> dest_size</code></em>);</pre>
|
601
602
|
<p>
|
602
|
-
Portability wrapper that calls <code class="function">strlcpy()</code> on systems which have it,
|
603
|
-
and emulates <code class="function">strlcpy()</code> otherwise. Copies <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>; <em class="parameter"><code>dest</code></em> is
|
604
|
-
guaranteed to be nul-terminated; <em class="parameter"><code>src</code></em> must be nul-terminated;
|
605
|
-
<em class="parameter"><code>dest_size</code></em> is the buffer size, not the number of chars to copy.
|
603
|
+
Portability wrapper that calls <code class="function">strlcpy()</code> on systems which have it,
|
604
|
+
and emulates <code class="function">strlcpy()</code> otherwise. Copies <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>; <em class="parameter"><code>dest</code></em> is
|
605
|
+
guaranteed to be nul-terminated; <em class="parameter"><code>src</code></em> must be nul-terminated;
|
606
|
+
<em class="parameter"><code>dest_size</code></em> is the buffer size, not the number of chars to copy.
|
606
607
|
</p>
|
607
608
|
<p>
|
608
609
|
At most dest_size - 1 characters will be copied. Always nul-terminates
|
609
|
-
(unless dest_size == 0). This function does <span class="emphasis"><em>not</em></span>
|
610
|
-
allocate memory. Unlike <code class="function">strncpy()</code>, this function doesn't pad dest (so
|
611
|
-
it's often faster). It returns the size of the attempted result,
|
610
|
+
(unless dest_size == 0). This function does <span class="emphasis"><em>not</em></span>
|
611
|
+
allocate memory. Unlike <code class="function">strncpy()</code>, this function doesn't pad dest (so
|
612
|
+
it's often faster). It returns the size of the attempted result,
|
612
613
|
strlen (src), so if <em class="parameter"><code>retval</code></em> >= <em class="parameter"><code>dest_size</code></em>, truncation occurred.
|
613
614
|
</p>
|
614
615
|
<p>
|
615
616
|
</p>
|
616
|
-
<div class="note"
|
617
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
617
618
|
<h3 class="title">Note</h3>
|
618
619
|
<p>Caveat: <code class="function">strlcpy()</code> is supposedly more secure than
|
619
|
-
<code class="function">strcpy()</code> or <code class="function">strncpy()</code>, but if you really want to avoid screwups,
|
620
|
+
<code class="function">strcpy()</code> or <code class="function">strncpy()</code>, but if you really want to avoid screwups,
|
620
621
|
<a class="link" href="glib-String-Utility-Functions.html#g-strdup" title="g_strdup ()"><code class="function">g_strdup()</code></a> is an even better idea.</p>
|
621
622
|
</div>
|
622
623
|
<p>
|
@@ -648,16 +649,16 @@ strlen (src), so if <em class="parameter"><code>retval</code></em> >= <em cla
|
|
648
649
|
</table></div>
|
649
650
|
</div>
|
650
651
|
<hr>
|
651
|
-
<div class="refsect2"
|
652
|
+
<div class="refsect2">
|
652
653
|
<a name="g-strlcat"></a><h3>g_strlcat ()</h3>
|
653
654
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_strlcat (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
654
655
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
655
656
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> dest_size</code></em>);</pre>
|
656
657
|
<p>
|
657
|
-
Portability wrapper that calls <code class="function">strlcat()</code> on systems which have it,
|
658
|
-
and emulates it otherwise. Appends nul-terminated <em class="parameter"><code>src</code></em> string to <em class="parameter"><code>dest</code></em>,
|
659
|
-
guaranteeing nul-termination for <em class="parameter"><code>dest</code></em>. The total size of <em class="parameter"><code>dest</code></em> won't
|
660
|
-
exceed <em class="parameter"><code>dest_size</code></em>.
|
658
|
+
Portability wrapper that calls <code class="function">strlcat()</code> on systems which have it,
|
659
|
+
and emulates it otherwise. Appends nul-terminated <em class="parameter"><code>src</code></em> string to <em class="parameter"><code>dest</code></em>,
|
660
|
+
guaranteeing nul-termination for <em class="parameter"><code>dest</code></em>. The total size of <em class="parameter"><code>dest</code></em> won't
|
661
|
+
exceed <em class="parameter"><code>dest_size</code></em>.
|
661
662
|
</p>
|
662
663
|
<p>
|
663
664
|
At most dest_size - 1 characters will be copied.
|
@@ -668,10 +669,10 @@ in the dest_size characters of dest to start with).
|
|
668
669
|
</p>
|
669
670
|
<p>
|
670
671
|
</p>
|
671
|
-
<div class="note"
|
672
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
672
673
|
<h3 class="title">Note</h3>
|
673
|
-
<p>Caveat: this is supposedly a more secure alternative to
|
674
|
-
<code class="function">strcat()</code> or <code class="function">strncat()</code>, but for real security <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()"><code class="function">g_strconcat()</code></a> is harder
|
674
|
+
<p>Caveat: this is supposedly a more secure alternative to
|
675
|
+
<code class="function">strcat()</code> or <code class="function">strncat()</code>, but for real security <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()"><code class="function">g_strconcat()</code></a> is harder
|
675
676
|
to mess up.</p>
|
676
677
|
</div>
|
677
678
|
<p>
|
@@ -691,29 +692,29 @@ to mess up.</p>
|
|
691
692
|
</tr>
|
692
693
|
<tr>
|
693
694
|
<td><p><span class="term"><em class="parameter"><code>dest_size</code></em> :</span></p></td>
|
694
|
-
<td>length of <em class="parameter"><code>dest</code></em> buffer in bytes (not length of existing string
|
695
|
+
<td>length of <em class="parameter"><code>dest</code></em> buffer in bytes (not length of existing string
|
695
696
|
inside <em class="parameter"><code>dest</code></em>)
|
696
697
|
</td>
|
697
698
|
</tr>
|
698
699
|
<tr>
|
699
700
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
700
|
-
<td>size of attempted result, which is
|
701
|
-
|
702
|
-
|
701
|
+
<td> size of attempted result, which is MIN (dest_size, strlen
|
702
|
+
(original dest)) + strlen (src), so if retval >= dest_size,
|
703
|
+
truncation occurred.
|
703
704
|
</td>
|
704
705
|
</tr>
|
705
706
|
</tbody>
|
706
707
|
</table></div>
|
707
708
|
</div>
|
708
709
|
<hr>
|
709
|
-
<div class="refsect2"
|
710
|
+
<div class="refsect2">
|
710
711
|
<a name="g-strdup-printf"></a><h3>g_strdup_printf ()</h3>
|
711
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
712
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup_printf (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
712
713
|
<em class="parameter"><code>...</code></em>);</pre>
|
713
714
|
<p>
|
714
|
-
Similar to the standard C <code class="function">sprintf()</code> function but safer, since it
|
715
|
-
calculates the maximum space required and allocates memory to hold
|
716
|
-
the result. The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when no
|
715
|
+
Similar to the standard C <code class="function">sprintf()</code> function but safer, since it
|
716
|
+
calculates the maximum space required and allocates memory to hold
|
717
|
+
the result. The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when no
|
717
718
|
longer needed.
|
718
719
|
</p>
|
719
720
|
<div class="variablelist"><table border="0">
|
@@ -739,18 +740,18 @@ longer needed.
|
|
739
740
|
</table></div>
|
740
741
|
</div>
|
741
742
|
<hr>
|
742
|
-
<div class="refsect2"
|
743
|
+
<div class="refsect2">
|
743
744
|
<a name="g-strdup-vprintf"></a><h3>g_strdup_vprintf ()</h3>
|
744
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
745
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup_vprintf (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
745
746
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
746
747
|
<p>
|
747
|
-
Similar to the standard C <code class="function">vsprintf()</code> function but safer, since it
|
748
|
-
calculates the maximum space required and allocates memory to hold
|
749
|
-
the result. The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when
|
748
|
+
Similar to the standard C <code class="function">vsprintf()</code> function but safer, since it
|
749
|
+
calculates the maximum space required and allocates memory to hold
|
750
|
+
the result. The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when
|
750
751
|
no longer needed.
|
751
752
|
</p>
|
752
753
|
<p>
|
753
|
-
See also <a class="link" href="glib-String-Utility-Functions.html#g-vasprintf" title="g_vasprintf ()"><code class="function">g_vasprintf()</code></a>, which offers the same functionality, but
|
754
|
+
See also <a class="link" href="glib-String-Utility-Functions.html#g-vasprintf" title="g_vasprintf ()"><code class="function">g_vasprintf()</code></a>, which offers the same functionality, but
|
754
755
|
additionally returns the length of the allocated string.
|
755
756
|
</p>
|
756
757
|
<div class="variablelist"><table border="0">
|
@@ -776,7 +777,7 @@ additionally returns the length of the allocated string.
|
|
776
777
|
</table></div>
|
777
778
|
</div>
|
778
779
|
<hr>
|
779
|
-
<div class="refsect2"
|
780
|
+
<div class="refsect2">
|
780
781
|
<a name="g-printf"></a><h3>g_printf ()</h3>
|
781
782
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_printf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
782
783
|
<em class="parameter"><code>...</code></em>);</pre>
|
@@ -809,7 +810,7 @@ positional parameters, as specified in the Single Unix Specification.
|
|
809
810
|
<p class="since">Since 2.2</p>
|
810
811
|
</div>
|
811
812
|
<hr>
|
812
|
-
<div class="refsect2"
|
813
|
+
<div class="refsect2">
|
813
814
|
<a name="g-vprintf"></a><h3>g_vprintf ()</h3>
|
814
815
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
815
816
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
@@ -842,7 +843,7 @@ positional parameters, as specified in the Single Unix Specification.
|
|
842
843
|
<p class="since">Since 2.2</p>
|
843
844
|
</div>
|
844
845
|
<hr>
|
845
|
-
<div class="refsect2"
|
846
|
+
<div class="refsect2">
|
846
847
|
<a name="g-fprintf"></a><h3>g_fprintf ()</h3>
|
847
848
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_fprintf (<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
848
849
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -881,7 +882,7 @@ positional parameters, as specified in the Single Unix Specification.
|
|
881
882
|
<p class="since">Since 2.2</p>
|
882
883
|
</div>
|
883
884
|
<hr>
|
884
|
-
<div class="refsect2"
|
885
|
+
<div class="refsect2">
|
885
886
|
<a name="g-vfprintf"></a><h3>g_vfprintf ()</h3>
|
886
887
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vfprintf (<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
887
888
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -920,28 +921,35 @@ positional parameters, as specified in the Single Unix Specification.
|
|
920
921
|
<p class="since">Since 2.2</p>
|
921
922
|
</div>
|
922
923
|
<hr>
|
923
|
-
<div class="refsect2"
|
924
|
+
<div class="refsect2">
|
924
925
|
<a name="g-sprintf"></a><h3>g_sprintf ()</h3>
|
925
926
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_sprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
926
927
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
927
928
|
<em class="parameter"><code>...</code></em>);</pre>
|
928
929
|
<p>
|
929
|
-
An implementation of the standard <code class="function">sprintf()</code> function which supports
|
930
|
+
An implementation of the standard <code class="function">sprintf()</code> function which supports
|
930
931
|
positional parameters, as specified in the Single Unix Specification.
|
931
932
|
</p>
|
933
|
+
<p>
|
934
|
+
Note that it is usually better to use <a class="link" href="glib-String-Utility-Functions.html#g-snprintf" title="g_snprintf ()"><code class="function">g_snprintf()</code></a>, to avoid the
|
935
|
+
risk of buffer overflow.
|
936
|
+
</p>
|
937
|
+
<p>
|
938
|
+
See also <a class="link" href="glib-String-Utility-Functions.html#g-strdup-printf" title="g_strdup_printf ()"><code class="function">g_strdup_printf()</code></a>.
|
939
|
+
</p>
|
932
940
|
<div class="variablelist"><table border="0">
|
933
941
|
<col align="left" valign="top">
|
934
942
|
<tbody>
|
935
943
|
<tr>
|
936
944
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
937
|
-
<td>A pointer to a memory buffer to contain the resulting string. It
|
938
|
-
is up to the caller to ensure that the allocated buffer is large
|
945
|
+
<td>A pointer to a memory buffer to contain the resulting string. It
|
946
|
+
is up to the caller to ensure that the allocated buffer is large
|
939
947
|
enough to hold the formatted result
|
940
948
|
</td>
|
941
949
|
</tr>
|
942
950
|
<tr>
|
943
951
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
944
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
952
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
945
953
|
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.
|
946
954
|
</td>
|
947
955
|
</tr>
|
@@ -961,7 +969,7 @@ positional parameters, as specified in the Single Unix Specification.
|
|
961
969
|
<p class="since">Since 2.2</p>
|
962
970
|
</div>
|
963
971
|
<hr>
|
964
|
-
<div class="refsect2"
|
972
|
+
<div class="refsect2">
|
965
973
|
<a name="g-vsprintf"></a><h3>g_vsprintf ()</h3>
|
966
974
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vsprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
967
975
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -1000,7 +1008,7 @@ positional parameters, as specified in the Single Unix Specification.
|
|
1000
1008
|
<p class="since">Since 2.2</p>
|
1001
1009
|
</div>
|
1002
1010
|
<hr>
|
1003
|
-
<div class="refsect2"
|
1011
|
+
<div class="refsect2">
|
1004
1012
|
<a name="g-snprintf"></a><h3>g_snprintf ()</h3>
|
1005
1013
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_snprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1006
1014
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> n</code></em>,
|
@@ -1008,25 +1016,25 @@ positional parameters, as specified in the Single Unix Specification.
|
|
1008
1016
|
<em class="parameter"><code>...</code></em>);</pre>
|
1009
1017
|
<p>
|
1010
1018
|
A safer form of the standard <code class="function">sprintf()</code> function. The output is guaranteed
|
1011
|
-
to not exceed <em class="parameter"><code>n</code></em> characters (including the terminating nul character), so
|
1019
|
+
to not exceed <em class="parameter"><code>n</code></em> characters (including the terminating nul character), so
|
1012
1020
|
it is easy to ensure that a buffer overflow cannot occur.
|
1013
1021
|
</p>
|
1014
1022
|
<p>
|
1015
1023
|
See also <a class="link" href="glib-String-Utility-Functions.html#g-strdup-printf" title="g_strdup_printf ()"><code class="function">g_strdup_printf()</code></a>.
|
1016
1024
|
</p>
|
1017
1025
|
<p>
|
1018
|
-
In versions of GLib prior to 1.2.3, this function may return -1 if the
|
1019
|
-
output was truncated, and the truncated string may not be nul-terminated.
|
1020
|
-
In versions prior to 1.3.12, this function returns the length of the output
|
1026
|
+
In versions of GLib prior to 1.2.3, this function may return -1 if the
|
1027
|
+
output was truncated, and the truncated string may not be nul-terminated.
|
1028
|
+
In versions prior to 1.3.12, this function returns the length of the output
|
1021
1029
|
string.
|
1022
1030
|
</p>
|
1023
1031
|
<p>
|
1024
1032
|
The return value of <a class="link" href="glib-String-Utility-Functions.html#g-snprintf" title="g_snprintf ()"><code class="function">g_snprintf()</code></a> conforms to the <code class="function">snprintf()</code>
|
1025
|
-
function as standardized in ISO C99. Note that this is different from
|
1033
|
+
function as standardized in ISO C99. Note that this is different from
|
1026
1034
|
traditional <code class="function">snprintf()</code>, which returns the length of the output string.
|
1027
1035
|
</p>
|
1028
1036
|
<p>
|
1029
|
-
The format string may contain positional parameters, as specified in
|
1037
|
+
The format string may contain positional parameters, as specified in
|
1030
1038
|
the Single Unix Specification.
|
1031
1039
|
</p>
|
1032
1040
|
<div class="variablelist"><table border="0">
|
@@ -1039,13 +1047,13 @@ the Single Unix Specification.
|
|
1039
1047
|
</tr>
|
1040
1048
|
<tr>
|
1041
1049
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1042
|
-
<td>the maximum number of bytes to produce (including the
|
1050
|
+
<td>the maximum number of bytes to produce (including the
|
1043
1051
|
terminating nul character).
|
1044
1052
|
</td>
|
1045
1053
|
</tr>
|
1046
1054
|
<tr>
|
1047
1055
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1048
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
1056
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
1049
1057
|
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.
|
1050
1058
|
</td>
|
1051
1059
|
</tr>
|
@@ -1064,7 +1072,7 @@ the Single Unix Specification.
|
|
1064
1072
|
</table></div>
|
1065
1073
|
</div>
|
1066
1074
|
<hr>
|
1067
|
-
<div class="refsect2"
|
1075
|
+
<div class="refsect2">
|
1068
1076
|
<a name="g-vsnprintf"></a><h3>g_vsnprintf ()</h3>
|
1069
1077
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vsnprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1070
1078
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> n</code></em>,
|
@@ -1128,7 +1136,7 @@ the Single Unix Specification.
|
|
1128
1136
|
</table></div>
|
1129
1137
|
</div>
|
1130
1138
|
<hr>
|
1131
|
-
<div class="refsect2"
|
1139
|
+
<div class="refsect2">
|
1132
1140
|
<a name="g-vasprintf"></a><h3>g_vasprintf ()</h3>
|
1133
1141
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vasprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **string</code></em>,
|
1134
1142
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -1170,7 +1178,7 @@ you allocate in advance.
|
|
1170
1178
|
<p class="since">Since 2.4</p>
|
1171
1179
|
</div>
|
1172
1180
|
<hr>
|
1173
|
-
<div class="refsect2"
|
1181
|
+
<div class="refsect2">
|
1174
1182
|
<a name="g-printf-string-upper-bound"></a><h3>g_printf_string_upper_bound ()</h3>
|
1175
1183
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_printf_string_upper_bound (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
1176
1184
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
@@ -1200,7 +1208,7 @@ function.
|
|
1200
1208
|
</table></div>
|
1201
1209
|
</div>
|
1202
1210
|
<hr>
|
1203
|
-
<div class="refsect2"
|
1211
|
+
<div class="refsect2">
|
1204
1212
|
<a name="g-ascii-isalnum"></a><h3>g_ascii_isalnum ()</h3>
|
1205
1213
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isalnum (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1206
1214
|
<p>
|
@@ -1232,7 +1240,7 @@ possibly non-ASCII character in.
|
|
1232
1240
|
</table></div>
|
1233
1241
|
</div>
|
1234
1242
|
<hr>
|
1235
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1236
1244
|
<a name="g-ascii-isalpha"></a><h3>g_ascii_isalpha ()</h3>
|
1237
1245
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isalpha (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1238
1246
|
<p>
|
@@ -1264,7 +1272,7 @@ possibly non-ASCII character in.
|
|
1264
1272
|
</table></div>
|
1265
1273
|
</div>
|
1266
1274
|
<hr>
|
1267
|
-
<div class="refsect2"
|
1275
|
+
<div class="refsect2">
|
1268
1276
|
<a name="g-ascii-iscntrl"></a><h3>g_ascii_iscntrl ()</h3>
|
1269
1277
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_iscntrl (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1270
1278
|
<p>
|
@@ -1296,7 +1304,7 @@ possibly non-ASCII character in.
|
|
1296
1304
|
</table></div>
|
1297
1305
|
</div>
|
1298
1306
|
<hr>
|
1299
|
-
<div class="refsect2"
|
1307
|
+
<div class="refsect2">
|
1300
1308
|
<a name="g-ascii-isdigit"></a><h3>g_ascii_isdigit ()</h3>
|
1301
1309
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isdigit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1302
1310
|
<p>
|
@@ -1326,7 +1334,7 @@ non-ASCII character in.
|
|
1326
1334
|
</table></div>
|
1327
1335
|
</div>
|
1328
1336
|
<hr>
|
1329
|
-
<div class="refsect2"
|
1337
|
+
<div class="refsect2">
|
1330
1338
|
<a name="g-ascii-isgraph"></a><h3>g_ascii_isgraph ()</h3>
|
1331
1339
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isgraph (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1332
1340
|
<p>
|
@@ -1358,7 +1366,7 @@ possibly non-ASCII character in.
|
|
1358
1366
|
</table></div>
|
1359
1367
|
</div>
|
1360
1368
|
<hr>
|
1361
|
-
<div class="refsect2"
|
1369
|
+
<div class="refsect2">
|
1362
1370
|
<a name="g-ascii-islower"></a><h3>g_ascii_islower ()</h3>
|
1363
1371
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_islower (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1364
1372
|
<p>
|
@@ -1390,7 +1398,7 @@ before passing a possibly non-ASCII character in.
|
|
1390
1398
|
</table></div>
|
1391
1399
|
</div>
|
1392
1400
|
<hr>
|
1393
|
-
<div class="refsect2"
|
1401
|
+
<div class="refsect2">
|
1394
1402
|
<a name="g-ascii-isprint"></a><h3>g_ascii_isprint ()</h3>
|
1395
1403
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isprint (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1396
1404
|
<p>
|
@@ -1422,7 +1430,7 @@ possibly non-ASCII character in.
|
|
1422
1430
|
</table></div>
|
1423
1431
|
</div>
|
1424
1432
|
<hr>
|
1425
|
-
<div class="refsect2"
|
1433
|
+
<div class="refsect2">
|
1426
1434
|
<a name="g-ascii-ispunct"></a><h3>g_ascii_ispunct ()</h3>
|
1427
1435
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_ispunct (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1428
1436
|
<p>
|
@@ -1454,7 +1462,7 @@ possibly non-ASCII character in.
|
|
1454
1462
|
</table></div>
|
1455
1463
|
</div>
|
1456
1464
|
<hr>
|
1457
|
-
<div class="refsect2"
|
1465
|
+
<div class="refsect2">
|
1458
1466
|
<a name="g-ascii-isspace"></a><h3>g_ascii_isspace ()</h3>
|
1459
1467
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isspace (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1460
1468
|
<p>
|
@@ -1486,7 +1494,7 @@ possibly non-ASCII character in.
|
|
1486
1494
|
</table></div>
|
1487
1495
|
</div>
|
1488
1496
|
<hr>
|
1489
|
-
<div class="refsect2"
|
1497
|
+
<div class="refsect2">
|
1490
1498
|
<a name="g-ascii-isupper"></a><h3>g_ascii_isupper ()</h3>
|
1491
1499
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isupper (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1492
1500
|
<p>
|
@@ -1518,7 +1526,7 @@ before passing a possibly non-ASCII character in.
|
|
1518
1526
|
</table></div>
|
1519
1527
|
</div>
|
1520
1528
|
<hr>
|
1521
|
-
<div class="refsect2"
|
1529
|
+
<div class="refsect2">
|
1522
1530
|
<a name="g-ascii-isxdigit"></a><h3>g_ascii_isxdigit ()</h3>
|
1523
1531
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isxdigit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1524
1532
|
<p>
|
@@ -1548,7 +1556,7 @@ possibly non-ASCII character in.
|
|
1548
1556
|
</table></div>
|
1549
1557
|
</div>
|
1550
1558
|
<hr>
|
1551
|
-
<div class="refsect2"
|
1559
|
+
<div class="refsect2">
|
1552
1560
|
<a name="g-ascii-digit-value"></a><h3>g_ascii_digit_value ()</h3>
|
1553
1561
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_digit_value (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1554
1562
|
<p>
|
@@ -1575,7 +1583,7 @@ are signed.
|
|
1575
1583
|
</table></div>
|
1576
1584
|
</div>
|
1577
1585
|
<hr>
|
1578
|
-
<div class="refsect2"
|
1586
|
+
<div class="refsect2">
|
1579
1587
|
<a name="g-ascii-xdigit-value"></a><h3>g_ascii_xdigit_value ()</h3>
|
1580
1588
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_xdigit_value (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1581
1589
|
<p>
|
@@ -1602,7 +1610,7 @@ are signed.
|
|
1602
1610
|
</table></div>
|
1603
1611
|
</div>
|
1604
1612
|
<hr>
|
1605
|
-
<div class="refsect2"
|
1613
|
+
<div class="refsect2">
|
1606
1614
|
<a name="g-ascii-strcasecmp"></a><h3>g_ascii_strcasecmp ()</h3>
|
1607
1615
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_strcasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1608
1616
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);</pre>
|
@@ -1638,7 +1646,7 @@ strings using this function, you will get false matches.
|
|
1638
1646
|
</tr>
|
1639
1647
|
<tr>
|
1640
1648
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1641
|
-
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1649
|
+
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1642
1650
|
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.
|
1643
1651
|
</td>
|
1644
1652
|
</tr>
|
@@ -1646,7 +1654,7 @@ strings using this function, you will get false matches.
|
|
1646
1654
|
</table></div>
|
1647
1655
|
</div>
|
1648
1656
|
<hr>
|
1649
|
-
<div class="refsect2"
|
1657
|
+
<div class="refsect2">
|
1650
1658
|
<a name="g-ascii-strncasecmp"></a><h3>g_ascii_strncasecmp ()</h3>
|
1651
1659
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_strncasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1652
1660
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
@@ -1685,7 +1693,7 @@ corresponding to ASCII letters always represent themselves.
|
|
1685
1693
|
</tr>
|
1686
1694
|
<tr>
|
1687
1695
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1688
|
-
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1696
|
+
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1689
1697
|
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.
|
1690
1698
|
</td>
|
1691
1699
|
</tr>
|
@@ -1693,9 +1701,9 @@ corresponding to ASCII letters always represent themselves.
|
|
1693
1701
|
</table></div>
|
1694
1702
|
</div>
|
1695
1703
|
<hr>
|
1696
|
-
<div class="refsect2"
|
1704
|
+
<div class="refsect2">
|
1697
1705
|
<a name="g-ascii-strup"></a><h3>g_ascii_strup ()</h3>
|
1698
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1706
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_strup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
1699
1707
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);</pre>
|
1700
1708
|
<p>
|
1701
1709
|
Converts all lower case ASCII letters to upper case ASCII letters.
|
@@ -1726,9 +1734,9 @@ Converts all lower case ASCII letters to upper case ASCII letters.
|
|
1726
1734
|
</table></div>
|
1727
1735
|
</div>
|
1728
1736
|
<hr>
|
1729
|
-
<div class="refsect2"
|
1737
|
+
<div class="refsect2">
|
1730
1738
|
<a name="g-ascii-strdown"></a><h3>g_ascii_strdown ()</h3>
|
1731
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1739
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_strdown (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
1732
1740
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);</pre>
|
1733
1741
|
<p>
|
1734
1742
|
Converts all upper case ASCII letters to lower case ASCII letters.
|
@@ -1759,7 +1767,7 @@ Converts all upper case ASCII letters to lower case ASCII letters.
|
|
1759
1767
|
</table></div>
|
1760
1768
|
</div>
|
1761
1769
|
<hr>
|
1762
|
-
<div class="refsect2"
|
1770
|
+
<div class="refsect2">
|
1763
1771
|
<a name="g-ascii-tolower"></a><h3>g_ascii_tolower ()</h3>
|
1764
1772
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> g_ascii_tolower (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1765
1773
|
<p>
|
@@ -1793,7 +1801,7 @@ before passing a possibly non-ASCII character in.
|
|
1793
1801
|
</table></div>
|
1794
1802
|
</div>
|
1795
1803
|
<hr>
|
1796
|
-
<div class="refsect2"
|
1804
|
+
<div class="refsect2">
|
1797
1805
|
<a name="g-ascii-toupper"></a><h3>g_ascii_toupper ()</h3>
|
1798
1806
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> g_ascii_toupper (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1799
1807
|
<p>
|
@@ -1827,9 +1835,9 @@ before passing a possibly non-ASCII character in.
|
|
1827
1835
|
</table></div>
|
1828
1836
|
</div>
|
1829
1837
|
<hr>
|
1830
|
-
<div class="refsect2"
|
1838
|
+
<div class="refsect2">
|
1831
1839
|
<a name="g-string-ascii-up"></a><h3>g_string_ascii_up ()</h3>
|
1832
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
1840
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * g_string_ascii_up (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>);</pre>
|
1833
1841
|
<p>
|
1834
1842
|
Converts all lower case ASCII letters to upper case ASCII letters.
|
1835
1843
|
</p>
|
@@ -1852,9 +1860,9 @@ Converts all lower case ASCII letters to upper case ASCII letters.
|
|
1852
1860
|
</table></div>
|
1853
1861
|
</div>
|
1854
1862
|
<hr>
|
1855
|
-
<div class="refsect2"
|
1863
|
+
<div class="refsect2">
|
1856
1864
|
<a name="g-string-ascii-down"></a><h3>g_string_ascii_down ()</h3>
|
1857
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
1865
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a> * g_string_ascii_down (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *string</code></em>);</pre>
|
1858
1866
|
<p>
|
1859
1867
|
Converts all upper case ASCII letters to lower case ASCII letters.
|
1860
1868
|
</p>
|
@@ -1877,12 +1885,12 @@ Converts all upper case ASCII letters to lower case ASCII letters.
|
|
1877
1885
|
</table></div>
|
1878
1886
|
</div>
|
1879
1887
|
<hr>
|
1880
|
-
<div class="refsect2"
|
1888
|
+
<div class="refsect2">
|
1881
1889
|
<a name="g-strup"></a><h3>g_strup ()</h3>
|
1882
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1883
|
-
<div class="warning"
|
1890
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strup (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1891
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1884
1892
|
<h3 class="title">Warning</h3>
|
1885
|
-
<p><code class="literal">g_strup</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1893
|
+
<p><code class="literal">g_strup</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1886
1894
|
in the <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> docs - use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strup" title="g_ascii_strup ()"><code class="function">g_ascii_strup()</code></a> or <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strup" title="g_utf8_strup ()"><code class="function">g_utf8_strup()</code></a> instead.</p>
|
1887
1895
|
</div>
|
1888
1896
|
<p>
|
@@ -1906,13 +1914,13 @@ Converts a string to upper case.
|
|
1906
1914
|
</table></div>
|
1907
1915
|
</div>
|
1908
1916
|
<hr>
|
1909
|
-
<div class="refsect2"
|
1917
|
+
<div class="refsect2">
|
1910
1918
|
<a name="g-strdown"></a><h3>g_strdown ()</h3>
|
1911
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1912
|
-
<div class="warning"
|
1919
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdown (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1920
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1913
1921
|
<h3 class="title">Warning</h3>
|
1914
|
-
<p><code class="literal">g_strdown</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1915
|
-
in the <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> docs - use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strdown" title="g_ascii_strdown ()"><code class="function">g_ascii_strdown()</code></a> or <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strdown" title="g_utf8_strdown ()"><code class="function">g_utf8_strdown()</code></a>
|
1922
|
+
<p><code class="literal">g_strdown</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1923
|
+
in the <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> docs - use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strdown" title="g_ascii_strdown ()"><code class="function">g_ascii_strdown()</code></a> or <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strdown" title="g_utf8_strdown ()"><code class="function">g_utf8_strdown()</code></a>
|
1916
1924
|
instead.</p>
|
1917
1925
|
</div>
|
1918
1926
|
<p>
|
@@ -1928,7 +1936,7 @@ Converts a string to lower case.
|
|
1928
1936
|
</tr>
|
1929
1937
|
<tr>
|
1930
1938
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1931
|
-
<td> the string
|
1939
|
+
<td> the string
|
1932
1940
|
|
1933
1941
|
</td>
|
1934
1942
|
</tr>
|
@@ -1936,13 +1944,13 @@ Converts a string to lower case.
|
|
1936
1944
|
</table></div>
|
1937
1945
|
</div>
|
1938
1946
|
<hr>
|
1939
|
-
<div class="refsect2"
|
1947
|
+
<div class="refsect2">
|
1940
1948
|
<a name="g-strcasecmp"></a><h3>g_strcasecmp ()</h3>
|
1941
1949
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_strcasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1942
1950
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);</pre>
|
1943
|
-
<div class="warning"
|
1951
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1944
1952
|
<h3 class="title">Warning</h3>
|
1945
|
-
<p><code class="literal">g_strcasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. See <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> for a discussion of why this function
|
1953
|
+
<p><code class="literal">g_strcasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. See <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> for a discussion of why this function
|
1946
1954
|
is deprecated and how to replace it.</p>
|
1947
1955
|
</div>
|
1948
1956
|
<p>
|
@@ -1964,7 +1972,7 @@ A case-insensitive string comparison, corresponding to the standard
|
|
1964
1972
|
</tr>
|
1965
1973
|
<tr>
|
1966
1974
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1967
|
-
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1975
|
+
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1968
1976
|
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.
|
1969
1977
|
|
1970
1978
|
</td>
|
@@ -1973,14 +1981,14 @@ A case-insensitive string comparison, corresponding to the standard
|
|
1973
1981
|
</table></div>
|
1974
1982
|
</div>
|
1975
1983
|
<hr>
|
1976
|
-
<div class="refsect2"
|
1984
|
+
<div class="refsect2">
|
1977
1985
|
<a name="g-strncasecmp"></a><h3>g_strncasecmp ()</h3>
|
1978
1986
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_strncasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1979
1987
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
1980
1988
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);</pre>
|
1981
|
-
<div class="warning"
|
1989
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1982
1990
|
<h3 class="title">Warning</h3>
|
1983
|
-
<p><code class="literal">g_strncasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. The problem with <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> is that it does the
|
1991
|
+
<p><code class="literal">g_strncasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. The problem with <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> is that it does the
|
1984
1992
|
comparison by calling <code class="function">toupper()</code>/<code class="function">tolower()</code>. These functions are
|
1985
1993
|
locale-specific and operate on single bytes. However, it is impossible
|
1986
1994
|
to handle things correctly from an I18N standpoint by operating on
|
@@ -1998,7 +2006,7 @@ which only works on ASCII and is not locale-sensitive, and
|
|
1998
2006
|
<p>
|
1999
2007
|
A case-insensitive string comparison, corresponding to the standard
|
2000
2008
|
<code class="function">strncasecmp()</code> function on platforms which support it.
|
2001
|
-
It is similar to <a class="link" href="glib-String-Utility-Functions.html#g-strcasecmp" title="g_strcasecmp ()"><code class="function">g_strcasecmp()</code></a> except it only compares the first <em class="parameter"><code>n</code></em>
|
2009
|
+
It is similar to <a class="link" href="glib-String-Utility-Functions.html#g-strcasecmp" title="g_strcasecmp ()"><code class="function">g_strcasecmp()</code></a> except it only compares the first <em class="parameter"><code>n</code></em>
|
2002
2010
|
characters of the strings.
|
2003
2011
|
</p>
|
2004
2012
|
<div class="variablelist"><table border="0">
|
@@ -2021,7 +2029,7 @@ characters of the strings.
|
|
2021
2029
|
</tr>
|
2022
2030
|
<tr>
|
2023
2031
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2024
|
-
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
2032
|
+
<td> 0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
2025
2033
|
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.
|
2026
2034
|
|
2027
2035
|
</td>
|
@@ -2030,17 +2038,17 @@ characters of the strings.
|
|
2030
2038
|
</table></div>
|
2031
2039
|
</div>
|
2032
2040
|
<hr>
|
2033
|
-
<div class="refsect2"
|
2041
|
+
<div class="refsect2">
|
2034
2042
|
<a name="g-strreverse"></a><h3>g_strreverse ()</h3>
|
2035
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2043
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strreverse (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2036
2044
|
<p>
|
2037
|
-
Reverses all of the bytes in a string. For example,
|
2038
|
-
<code class="literal">g_strreverse ("abcdef")</code> will result
|
2045
|
+
Reverses all of the bytes in a string. For example,
|
2046
|
+
<code class="literal">g_strreverse ("abcdef")</code> will result
|
2039
2047
|
in "fedcba".
|
2040
2048
|
</p>
|
2041
2049
|
<p>
|
2042
|
-
Note that <a class="link" href="glib-String-Utility-Functions.html#g-strreverse" title="g_strreverse ()"><code class="function">g_strreverse()</code></a> doesn't work on UTF-8 strings
|
2043
|
-
containing multibyte characters. For that purpose, use
|
2050
|
+
Note that <a class="link" href="glib-String-Utility-Functions.html#g-strreverse" title="g_strreverse ()"><code class="function">g_strreverse()</code></a> doesn't work on UTF-8 strings
|
2051
|
+
containing multibyte characters. For that purpose, use
|
2044
2052
|
<a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strreverse" title="g_utf8_strreverse ()"><code class="function">g_utf8_strreverse()</code></a>.
|
2045
2053
|
</p>
|
2046
2054
|
<div class="variablelist"><table border="0">
|
@@ -2048,7 +2056,7 @@ containing multibyte characters. For that purpose, use
|
|
2048
2056
|
<tbody>
|
2049
2057
|
<tr>
|
2050
2058
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2051
|
-
<td>the string to reverse
|
2059
|
+
<td>the string to reverse
|
2052
2060
|
</td>
|
2053
2061
|
</tr>
|
2054
2062
|
<tr>
|
@@ -2060,7 +2068,7 @@ containing multibyte characters. For that purpose, use
|
|
2060
2068
|
</table></div>
|
2061
2069
|
</div>
|
2062
2070
|
<hr>
|
2063
|
-
<div class="refsect2"
|
2071
|
+
<div class="refsect2">
|
2064
2072
|
<a name="g-ascii-strtoll"></a><h3>g_ascii_strtoll ()</h3>
|
2065
2073
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_ascii_strtoll (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2066
2074
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -2115,7 +2123,7 @@ in <code class="literal">errno</code>. If the string conversion fails, zero is
|
|
2115
2123
|
<p class="since">Since 2.12</p>
|
2116
2124
|
</div>
|
2117
2125
|
<hr>
|
2118
|
-
<div class="refsect2"
|
2126
|
+
<div class="refsect2">
|
2119
2127
|
<a name="g-ascii-strtoull"></a><h3>g_ascii_strtoull ()</h3>
|
2120
2128
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> g_ascii_strtoull (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2121
2129
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -2170,7 +2178,7 @@ in <code class="literal">errno</code>. If the string conversion fails, zero is
|
|
2170
2178
|
<p class="since">Since 2.2</p>
|
2171
2179
|
</div>
|
2172
2180
|
<hr>
|
2173
|
-
<div class="refsect2"
|
2181
|
+
<div class="refsect2">
|
2174
2182
|
<a name="G-ASCII-DTOSTR-BUF-SIZE:CAPS"></a><h3>G_ASCII_DTOSTR_BUF_SIZE</h3>
|
2175
2183
|
<pre class="programlisting">#define G_ASCII_DTOSTR_BUF_SIZE (29 + 10)
|
2176
2184
|
</pre>
|
@@ -2199,7 +2207,7 @@ The typical usage would be something like:
|
|
2199
2207
|
</p>
|
2200
2208
|
</div>
|
2201
2209
|
<hr>
|
2202
|
-
<div class="refsect2"
|
2210
|
+
<div class="refsect2">
|
2203
2211
|
<a name="g-ascii-strtod"></a><h3>g_ascii_strtod ()</h3>
|
2204
2212
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_ascii_strtod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2205
2213
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
@@ -2208,10 +2216,10 @@ Converts a string to a <a class="link" href="glib-Basic-Types.html#gdouble" titl
|
|
2208
2216
|
</p>
|
2209
2217
|
<p>
|
2210
2218
|
This function behaves like the standard <code class="function">strtod()</code> function
|
2211
|
-
does in the C locale. It does this without actually changing
|
2212
|
-
the current locale, since that would not be thread-safe.
|
2219
|
+
does in the C locale. It does this without actually changing
|
2220
|
+
the current locale, since that would not be thread-safe.
|
2213
2221
|
A limitation of the implementation is that this function
|
2214
|
-
will still accept localized versions of infinities and NANs.
|
2222
|
+
will still accept localized versions of infinities and NANs.
|
2215
2223
|
</p>
|
2216
2224
|
<p>
|
2217
2225
|
This function is typically used when reading configuration
|
@@ -2256,14 +2264,14 @@ you can reliably detect overflow and underflow.
|
|
2256
2264
|
</table></div>
|
2257
2265
|
</div>
|
2258
2266
|
<hr>
|
2259
|
-
<div class="refsect2"
|
2267
|
+
<div class="refsect2">
|
2260
2268
|
<a name="g-ascii-dtostr"></a><h3>g_ascii_dtostr ()</h3>
|
2261
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2269
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_dtostr (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
2262
2270
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
2263
2271
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);</pre>
|
2264
2272
|
<p>
|
2265
2273
|
Converts a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to a string, using the '.' as
|
2266
|
-
decimal point.
|
2274
|
+
decimal point.
|
2267
2275
|
</p>
|
2268
2276
|
<p>
|
2269
2277
|
This functions generates enough precision that converting
|
@@ -2299,9 +2307,9 @@ be larger than <em class="parameter"><code>G_ASCII_DTOSTR_BUF_SIZE</code></em> b
|
|
2299
2307
|
</table></div>
|
2300
2308
|
</div>
|
2301
2309
|
<hr>
|
2302
|
-
<div class="refsect2"
|
2310
|
+
<div class="refsect2">
|
2303
2311
|
<a name="g-ascii-formatd"></a><h3>g_ascii_formatd ()</h3>
|
2304
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2312
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_formatd (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
2305
2313
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
2306
2314
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
2307
2315
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);</pre>
|
@@ -2309,7 +2317,7 @@ be larger than <em class="parameter"><code>G_ASCII_DTOSTR_BUF_SIZE</code></em> b
|
|
2309
2317
|
Converts a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to a string, using the '.' as
|
2310
2318
|
decimal point. To format the number you pass in
|
2311
2319
|
a <code class="function">printf()</code>-style format string. Allowed conversion
|
2312
|
-
specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'.
|
2320
|
+
specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'.
|
2313
2321
|
</p>
|
2314
2322
|
<p>
|
2315
2323
|
If you just want to want to serialize the value into a
|
@@ -2331,7 +2339,7 @@ string, use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-dto
|
|
2331
2339
|
<tr>
|
2332
2340
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
2333
2341
|
<td>The <code class="function">printf()</code>-style format to use for the
|
2334
|
-
code to use for converting.
|
2342
|
+
code to use for converting.
|
2335
2343
|
</td>
|
2336
2344
|
</tr>
|
2337
2345
|
<tr>
|
@@ -2348,7 +2356,7 @@ string, use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-dto
|
|
2348
2356
|
</table></div>
|
2349
2357
|
</div>
|
2350
2358
|
<hr>
|
2351
|
-
<div class="refsect2"
|
2359
|
+
<div class="refsect2">
|
2352
2360
|
<a name="g-strtod"></a><h3>g_strtod ()</h3>
|
2353
2361
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_strtod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2354
2362
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
@@ -2389,9 +2397,9 @@ point in some locales, causing unexpected results.
|
|
2389
2397
|
</table></div>
|
2390
2398
|
</div>
|
2391
2399
|
<hr>
|
2392
|
-
<div class="refsect2"
|
2400
|
+
<div class="refsect2">
|
2393
2401
|
<a name="g-strchug"></a><h3>g_strchug ()</h3>
|
2394
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2402
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strchug (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2395
2403
|
<p>
|
2396
2404
|
Removes leading whitespace from a string, by moving the rest of the
|
2397
2405
|
characters forward.
|
@@ -2421,9 +2429,9 @@ Also see <a class="link" href="glib-String-Utility-Functions.html#g-strchomp" ti
|
|
2421
2429
|
</table></div>
|
2422
2430
|
</div>
|
2423
2431
|
<hr>
|
2424
|
-
<div class="refsect2"
|
2432
|
+
<div class="refsect2">
|
2425
2433
|
<a name="g-strchomp"></a><h3>g_strchomp ()</h3>
|
2426
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2434
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strchomp (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2427
2435
|
<p>
|
2428
2436
|
Removes trailing whitespace from a string.
|
2429
2437
|
</p>
|
@@ -2452,7 +2460,7 @@ Also see <a class="link" href="glib-String-Utility-Functions.html#g-strchug" tit
|
|
2452
2460
|
</table></div>
|
2453
2461
|
</div>
|
2454
2462
|
<hr>
|
2455
|
-
<div class="refsect2"
|
2463
|
+
<div class="refsect2">
|
2456
2464
|
<a name="g-strstrip"></a><h3>g_strstrip()</h3>
|
2457
2465
|
<pre class="programlisting">#define g_strstrip( string )</pre>
|
2458
2466
|
<p>
|
@@ -2469,9 +2477,9 @@ Removes leading and trailing whitespace from a string. See <a class="link" href=
|
|
2469
2477
|
</table></div>
|
2470
2478
|
</div>
|
2471
2479
|
<hr>
|
2472
|
-
<div class="refsect2"
|
2480
|
+
<div class="refsect2">
|
2473
2481
|
<a name="g-strdelimit"></a><h3>g_strdelimit ()</h3>
|
2474
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2482
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdelimit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2475
2483
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
2476
2484
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> new_delimiter</code></em>);</pre>
|
2477
2485
|
<p>
|
@@ -2510,7 +2518,7 @@ standard delimiters defined in <a class="link" href="glib-String-Utility-Functio
|
|
2510
2518
|
</table></div>
|
2511
2519
|
</div>
|
2512
2520
|
<hr>
|
2513
|
-
<div class="refsect2"
|
2521
|
+
<div class="refsect2">
|
2514
2522
|
<a name="G-STR-DELIMITERS:CAPS"></a><h3>G_STR_DELIMITERS</h3>
|
2515
2523
|
<pre class="programlisting">#define G_STR_DELIMITERS "_-|> <."
|
2516
2524
|
</pre>
|
@@ -2519,9 +2527,9 @@ The standard delimiters, used in <a class="link" href="glib-String-Utility-Funct
|
|
2519
2527
|
</p>
|
2520
2528
|
</div>
|
2521
2529
|
<hr>
|
2522
|
-
<div class="refsect2"
|
2530
|
+
<div class="refsect2">
|
2523
2531
|
<a name="g-strescape"></a><h3>g_strescape ()</h3>
|
2524
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2532
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strescape (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>,
|
2525
2533
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exceptions</code></em>);</pre>
|
2526
2534
|
<p>
|
2527
2535
|
Escapes the special characters '\b', '\f', '\n', '\r', '\t', '\' and
|
@@ -2557,9 +2565,9 @@ characters escaped. See above.
|
|
2557
2565
|
</table></div>
|
2558
2566
|
</div>
|
2559
2567
|
<hr>
|
2560
|
-
<div class="refsect2"
|
2568
|
+
<div class="refsect2">
|
2561
2569
|
<a name="g-strcompress"></a><h3>g_strcompress ()</h3>
|
2562
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2570
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strcompress (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>);</pre>
|
2563
2571
|
<p>
|
2564
2572
|
Replaces all escaped characters with their one byte equivalent. It
|
2565
2573
|
does the reverse conversion of <a class="link" href="glib-String-Utility-Functions.html#g-strescape" title="g_strescape ()"><code class="function">g_strescape()</code></a>.
|
@@ -2582,9 +2590,9 @@ character compressed.
|
|
2582
2590
|
</table></div>
|
2583
2591
|
</div>
|
2584
2592
|
<hr>
|
2585
|
-
<div class="refsect2"
|
2593
|
+
<div class="refsect2">
|
2586
2594
|
<a name="g-strcanon"></a><h3>g_strcanon ()</h3>
|
2587
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2595
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strcanon (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2588
2596
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *valid_chars</code></em>,
|
2589
2597
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> substitutor</code></em>);</pre>
|
2590
2598
|
<p>
|
@@ -2621,15 +2629,15 @@ nesting such as <code class="literal">g_ascii_strup (g_strcanon (str, "abc", '?'
|
|
2621
2629
|
</table></div>
|
2622
2630
|
</div>
|
2623
2631
|
<hr>
|
2624
|
-
<div class="refsect2"
|
2632
|
+
<div class="refsect2">
|
2625
2633
|
<a name="g-strsplit"></a><h3>g_strsplit ()</h3>
|
2626
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2634
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strsplit (<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>,
|
2627
2635
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiter</code></em>,
|
2628
2636
|
<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>);</pre>
|
2629
2637
|
<p>
|
2630
2638
|
Splits a string into a maximum of <em class="parameter"><code>max_tokens</code></em> pieces, using the given
|
2631
2639
|
<em class="parameter"><code>delimiter</code></em>. If <em class="parameter"><code>max_tokens</code></em> is reached, the remainder of <em class="parameter"><code>string</code></em> is appended
|
2632
|
-
to the last token.
|
2640
|
+
to the last token.
|
2633
2641
|
</p>
|
2634
2642
|
<p>
|
2635
2643
|
As a special case, the result of splitting the empty string "" is an empty
|
@@ -2662,7 +2670,7 @@ before calling <a class="link" href="glib-String-Utility-Functions.html#g-strspl
|
|
2662
2670
|
</tr>
|
2663
2671
|
<tr>
|
2664
2672
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2665
|
-
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2673
|
+
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2666
2674
|
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
2667
2675
|
</td>
|
2668
2676
|
</tr>
|
@@ -2670,9 +2678,9 @@ before calling <a class="link" href="glib-String-Utility-Functions.html#g-strspl
|
|
2670
2678
|
</table></div>
|
2671
2679
|
</div>
|
2672
2680
|
<hr>
|
2673
|
-
<div class="refsect2"
|
2681
|
+
<div class="refsect2">
|
2674
2682
|
<a name="g-strsplit-set"></a><h3>g_strsplit_set ()</h3>
|
2675
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2683
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strsplit_set (<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>,
|
2676
2684
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
2677
2685
|
<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>);</pre>
|
2678
2686
|
<p>
|
@@ -2683,7 +2691,7 @@ remainder is appended to the last token.
|
|
2683
2691
|
</p>
|
2684
2692
|
<p>
|
2685
2693
|
For example the result of g_strsplit_set ("abc:def/ghi", ":/", -1) is a
|
2686
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated vector containing the three strings "abc", "def",
|
2694
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated vector containing the three strings "abc", "def",
|
2687
2695
|
and "ghi".
|
2688
2696
|
</p>
|
2689
2697
|
<p>
|
@@ -2699,7 +2707,7 @@ to represent empty elements, you'll need to check for the empty string
|
|
2699
2707
|
before calling <a class="link" href="glib-String-Utility-Functions.html#g-strsplit-set" title="g_strsplit_set ()"><code class="function">g_strsplit_set()</code></a>.
|
2700
2708
|
</p>
|
2701
2709
|
<p>
|
2702
|
-
Note that this function works on bytes not characters, so it can't be used
|
2710
|
+
Note that this function works on bytes not characters, so it can't be used
|
2703
2711
|
to delimit UTF-8 strings for anything but ASCII characters.
|
2704
2712
|
</p>
|
2705
2713
|
<div class="variablelist"><table border="0">
|
@@ -2718,13 +2726,13 @@ to delimit UTF-8 strings for anything but ASCII characters.
|
|
2718
2726
|
</tr>
|
2719
2727
|
<tr>
|
2720
2728
|
<td><p><span class="term"><em class="parameter"><code>max_tokens</code></em> :</span></p></td>
|
2721
|
-
<td>The maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
2729
|
+
<td>The maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
2722
2730
|
If this is less than 1, the string is split completely
|
2723
2731
|
</td>
|
2724
2732
|
</tr>
|
2725
2733
|
<tr>
|
2726
2734
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2727
|
-
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2735
|
+
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2728
2736
|
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
2729
2737
|
|
2730
2738
|
</td>
|
@@ -2734,7 +2742,7 @@ to delimit UTF-8 strings for anything but ASCII characters.
|
|
2734
2742
|
<p class="since">Since 2.4</p>
|
2735
2743
|
</div>
|
2736
2744
|
<hr>
|
2737
|
-
<div class="refsect2"
|
2745
|
+
<div class="refsect2">
|
2738
2746
|
<a name="g-strfreev"></a><h3>g_strfreev ()</h3>
|
2739
2747
|
<pre class="programlisting"><span class="returnvalue">void</span> g_strfreev (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2740
2748
|
<p>
|
@@ -2751,19 +2759,24 @@ If called on a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title=
|
|
2751
2759
|
</table></div>
|
2752
2760
|
</div>
|
2753
2761
|
<hr>
|
2754
|
-
<div class="refsect2"
|
2762
|
+
<div class="refsect2">
|
2755
2763
|
<a name="g-strconcat"></a><h3>g_strconcat ()</h3>
|
2756
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2764
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strconcat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string1</code></em>,
|
2757
2765
|
<em class="parameter"><code>...</code></em>);</pre>
|
2758
2766
|
<p>
|
2759
2767
|
Concatenates all of the given strings into one long string.
|
2760
2768
|
The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when no longer needed.
|
2761
2769
|
</p>
|
2762
2770
|
<p>
|
2771
|
+
Note that this function is usually not the right function to use to
|
2772
|
+
assemble a translated message from pieces, since proper translation
|
2773
|
+
often requires the pieces to be reordered.
|
2774
|
+
</p>
|
2775
|
+
<p>
|
2763
2776
|
</p>
|
2764
|
-
<div class="warning"
|
2777
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2765
2778
|
<h3 class="title">Warning</h3>
|
2766
|
-
<p>The variable argument list <span class="emphasis"><em>must</em></span> end
|
2779
|
+
<p>The variable argument list <span class="emphasis"><em>must</em></span> end
|
2767
2780
|
with <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. If you forget the <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()"><code class="function">g_strconcat()</code></a> will start appending
|
2768
2781
|
random memory junk to your string.</p>
|
2769
2782
|
</div>
|
@@ -2791,12 +2804,12 @@ random memory junk to your string.</p>
|
|
2791
2804
|
</table></div>
|
2792
2805
|
</div>
|
2793
2806
|
<hr>
|
2794
|
-
<div class="refsect2"
|
2807
|
+
<div class="refsect2">
|
2795
2808
|
<a name="g-strjoin"></a><h3>g_strjoin ()</h3>
|
2796
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2809
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strjoin (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
2797
2810
|
<em class="parameter"><code>...</code></em>);</pre>
|
2798
2811
|
<p>
|
2799
|
-
Joins a number of strings together to form one long string, with the
|
2812
|
+
Joins a number of strings together to form one long string, with the
|
2800
2813
|
optional <em class="parameter"><code>separator</code></em> inserted between each of them. The returned string
|
2801
2814
|
should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
2802
2815
|
</p>
|
@@ -2823,12 +2836,12 @@ should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" t
|
|
2823
2836
|
</table></div>
|
2824
2837
|
</div>
|
2825
2838
|
<hr>
|
2826
|
-
<div class="refsect2"
|
2839
|
+
<div class="refsect2">
|
2827
2840
|
<a name="g-strjoinv"></a><h3>g_strjoinv ()</h3>
|
2828
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2841
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strjoinv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
2829
2842
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2830
2843
|
<p>
|
2831
|
-
Joins a number of strings together to form one long string, with the
|
2844
|
+
Joins a number of strings together to form one long string, with the
|
2832
2845
|
optional <em class="parameter"><code>separator</code></em> inserted between each of them. The returned string
|
2833
2846
|
should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
2834
2847
|
</p>
|
@@ -2855,11 +2868,11 @@ should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" t
|
|
2855
2868
|
</table></div>
|
2856
2869
|
</div>
|
2857
2870
|
<hr>
|
2858
|
-
<div class="refsect2"
|
2871
|
+
<div class="refsect2">
|
2859
2872
|
<a name="g-strv-length"></a><h3>g_strv_length ()</h3>
|
2860
2873
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_strv_length (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2861
2874
|
<p>
|
2862
|
-
Returns the length of the given <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated
|
2875
|
+
Returns the length of the given <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated
|
2863
2876
|
string array <em class="parameter"><code>str_array</code></em>.
|
2864
2877
|
</p>
|
2865
2878
|
<div class="variablelist"><table border="0">
|
@@ -2881,13 +2894,13 @@ string array <em class="parameter"><code>str_array</code></em>.
|
|
2881
2894
|
<p class="since">Since 2.6</p>
|
2882
2895
|
</div>
|
2883
2896
|
<hr>
|
2884
|
-
<div class="refsect2"
|
2897
|
+
<div class="refsect2">
|
2885
2898
|
<a name="g-strerror"></a><h3>g_strerror ()</h3>
|
2886
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2899
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strerror (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> errnum</code></em>);</pre>
|
2887
2900
|
<p>
|
2888
|
-
Returns a string corresponding to the given error code, e.g.
|
2889
|
-
"no such process". You should use this function in preference to
|
2890
|
-
<code class="function">strerror()</code>, because it returns a string in UTF-8 encoding, and since
|
2901
|
+
Returns a string corresponding to the given error code, e.g.
|
2902
|
+
"no such process". You should use this function in preference to
|
2903
|
+
<code class="function">strerror()</code>, because it returns a string in UTF-8 encoding, and since
|
2891
2904
|
not all platforms support the <code class="function">strerror()</code> function.
|
2892
2905
|
</p>
|
2893
2906
|
<div class="variablelist"><table border="0">
|
@@ -2901,8 +2914,8 @@ not all platforms support the <code class="function">strerror()</code> function.
|
|
2901
2914
|
</tr>
|
2902
2915
|
<tr>
|
2903
2916
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2904
|
-
<td> a UTF-8 string describing the error code. If the error code
|
2905
|
-
is unknown, it returns "unknown error (<code>)". The string
|
2917
|
+
<td> a UTF-8 string describing the error code. If the error code
|
2918
|
+
is unknown, it returns "unknown error (<code>)". The string
|
2906
2919
|
can only be used until the next call to <a class="link" href="glib-String-Utility-Functions.html#g-strerror" title="g_strerror ()"><code class="function">g_strerror()</code></a>
|
2907
2920
|
</td>
|
2908
2921
|
</tr>
|
@@ -2910,12 +2923,12 @@ not all platforms support the <code class="function">strerror()</code> function.
|
|
2910
2923
|
</table></div>
|
2911
2924
|
</div>
|
2912
2925
|
<hr>
|
2913
|
-
<div class="refsect2"
|
2926
|
+
<div class="refsect2">
|
2914
2927
|
<a name="g-strsignal"></a><h3>g_strsignal ()</h3>
|
2915
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2928
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strsignal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> signum</code></em>);</pre>
|
2916
2929
|
<p>
|
2917
2930
|
Returns a string describing the given signal, e.g. "Segmentation fault".
|
2918
|
-
You should use this function in preference to <code class="function">strsignal()</code>, because it
|
2931
|
+
You should use this function in preference to <code class="function">strsignal()</code>, because it
|
2919
2932
|
returns a string in UTF-8 encoding, and since not all platforms support
|
2920
2933
|
the <code class="function">strsignal()</code> function.
|
2921
2934
|
</p>
|
@@ -2931,7 +2944,7 @@ the <code class="function">strsignal()</code> function.
|
|
2931
2944
|
<tr>
|
2932
2945
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2933
2946
|
<td> a UTF-8 string describing the signal. If the signal is unknown,
|
2934
|
-
it returns "unknown signal (<signum>)". The string can only be
|
2947
|
+
it returns "unknown signal (<signum>)". The string can only be
|
2935
2948
|
used until the next call to <a class="link" href="glib-String-Utility-Functions.html#g-strsignal" title="g_strsignal ()"><code class="function">g_strsignal()</code></a>
|
2936
2949
|
</td>
|
2937
2950
|
</tr>
|
@@ -2942,6 +2955,6 @@ the <code class="function">strsignal()</code> function.
|
|
2942
2955
|
</div>
|
2943
2956
|
<div class="footer">
|
2944
2957
|
<hr>
|
2945
|
-
Generated by GTK-Doc V1.
|
2958
|
+
Generated by GTK-Doc V1.15.1</div>
|
2946
2959
|
</body>
|
2947
2960
|
</html>
|