gio2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +41 -0
- data/Rakefile +9 -70
- data/ext/gio2/extconf.rb +9 -9
- data/ext/gio2/gasyncinitable.c +0 -1
- data/ext/gio2/gbufferedinputstream.c +0 -19
- data/ext/gio2/gbufferedoutputstream.c +0 -34
- data/ext/gio2/gcharsetconverter.c +0 -17
- data/ext/gio2/gcontenttype.c +1 -8
- data/ext/gio2/gconverterinputstream.c +0 -7
- data/ext/gio2/gconverteroutputstream.c +0 -7
- data/ext/gio2/gdatainputstream.c +34 -57
- data/ext/gio2/gdataoutputstream.c +0 -18
- data/ext/gio2/gdesktopappinfo.c +0 -2
- data/ext/gio2/gemblem.c +0 -19
- data/ext/gio2/gfile.c +4 -6
- data/ext/gio2/gfileattribute.c +3 -155
- data/ext/gio2/gfileattributeinfo.c +89 -0
- data/ext/gio2/gfileattributeinfolist.c +109 -0
- data/ext/gio2/gfileenumerator.c +0 -2
- data/ext/gio2/gfileicon.c +0 -7
- data/ext/gio2/gfileinfo.c +4 -11
- data/ext/gio2/gfileinputstream.c +0 -2
- data/ext/gio2/gfileiostream.c +0 -2
- data/ext/gio2/gfilemonitor.c +0 -19
- data/ext/gio2/gfileoutputstream.c +1 -5
- data/ext/gio2/gfilterinputstream.c +1 -30
- data/ext/gio2/gfilteroutputstream.c +1 -30
- data/ext/gio2/gicon.c +0 -2
- data/ext/gio2/ginetaddress.c +0 -72
- data/ext/gio2/ginetsocketaddress.c +0 -16
- data/ext/gio2/ginputstream.c +0 -2
- data/ext/gio2/gio2.c +11 -1
- data/ext/gio2/gio2.h +9 -1
- data/ext/gio2/gioerror.c +4 -1
- data/ext/gio2/giomodule.c +2 -2
- data/ext/gio2/gioscheduler.c +4 -6
- data/ext/gio2/giostream.c +0 -23
- data/ext/gio2/gloadableicon.c +0 -1
- data/ext/gio2/gmemoryoutputstream.c +0 -24
- data/ext/gio2/gmount.c +1 -0
- data/ext/gio2/gmountoperation.c +1 -103
- data/ext/gio2/gnetworkaddress.c +0 -14
- data/ext/gio2/gnetworkservice.c +0 -21
- data/ext/gio2/goutputstream.c +8 -18
- data/ext/gio2/gresolver.c +0 -2
- data/ext/gio2/gsocket.c +2 -80
- data/ext/gio2/gsocketaddress.c +1 -13
- data/ext/gio2/gsocketclient.c +0 -68
- data/ext/gio2/gsocketconnection.c +1 -8
- data/ext/gio2/gsocketcontrolmessage.c +0 -2
- data/ext/gio2/gsocketlistener.c +27 -21
- data/ext/gio2/gtcpconnection.c +1 -22
- data/ext/gio2/gthreadedsocketservice.c +6 -5
- data/ext/gio2/gunixfdlist.c +1 -1
- data/ext/gio2/gunixfdmessage.c +0 -9
- data/ext/gio2/gunixinputstream.c +0 -24
- data/ext/gio2/gunixmounts.c +1 -4
- data/ext/gio2/gunixoutputstream.c +0 -24
- data/ext/gio2/gunixsocketaddress.c +5 -17
- data/ext/gio2/gvfs.c +0 -2
- data/ext/gio2/gvolumemonitor.c +0 -2
- data/ext/gio2/gzlibcompressor.c +3 -0
- data/ext/gio2/util.c +3 -0
- data/lib/1.8/gio2.so +0 -0
- data/lib/1.9/gio2.so +0 -0
- data/lib/gio2.rb +19 -1
- data/test/load-test.rb +14 -0
- data/test/test_bufferedinputstream.rb +2 -0
- data/test/test_charsetconverter.rb +2 -0
- data/test/test_datainputstream.rb +7 -0
- data/test/test_fileenumerator.rb +8 -0
- data/test/test_filemonitor.rb +2 -0
- data/test/test_inetaddress.rb +8 -0
- metadata +90 -835
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +0 -123
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +0 -188
- data/vendor/local/bin/glib-mkenums +0 -537
- 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/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.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/ngettext.exe +0 -0
- data/vendor/local/include/autosprintf.h +0 -66
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
- data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
- data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
- data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
- data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
- data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
- data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
- data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
- data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
- data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
- data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
- data/vendor/local/include/glib-2.0/glib-object.h +0 -42
- data/vendor/local/include/glib-2.0/glib.h +0 -99
- data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
- data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
- data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
- data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
- data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
- data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
- data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
- data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
- data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
- data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
- data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
- data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
- data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
- data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
- data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
- data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
- data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
- data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
- data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
- data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
- data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
- data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
- data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
- data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
- data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
- data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
- data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
- data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
- data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
- data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
- data/vendor/local/include/glib-2.0/gmodule.h +0 -101
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
- data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
- data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
- data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
- data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
- data/vendor/local/include/libintl.h +0 -464
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1143
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +0 -1452
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +0 -370
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +0 -3
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.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/libintl.def +0 -31
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
- data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
- data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
- data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
- data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
- data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
- data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
- data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
- data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
- data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
- data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
- data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
- data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
- data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
- data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
- data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- 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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.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/gettext-runtime.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/locale.alias +0 -77
- 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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.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/gettext-runtime.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/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +0 -54
- data/vendor/local/share/man/man1/gettext.1 +0 -69
- data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
- data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
- data/vendor/local/share/man/man1/gobject-query.1 +0 -83
- data/vendor/local/share/man/man1/ngettext.1 +0 -68
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
- data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
- data/vendor/local/share/man/man3/dcgettext.3 +0 -1
- data/vendor/local/share/man/man3/dcngettext.3 +0 -1
- data/vendor/local/share/man/man3/dgettext.3 +0 -1
- data/vendor/local/share/man/man3/dngettext.3 +0 -1
- data/vendor/local/share/man/man3/gettext.3 +0 -99
- data/vendor/local/share/man/man3/ngettext.3 +0 -60
- data/vendor/local/share/man/man3/textdomain.3 +0 -57
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,1105 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Miscellaneous Macros</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
-
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
-
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
|
9
|
-
<link rel="prev" href="glib-Numerical-Definitions.html" title="Numerical Definitions">
|
10
|
-
<link rel="next" href="glib-Atomic-Operations.html" title="Atomic Operations">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
-
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="glib-Numerical-Definitions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="glib-fundamentals.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="glib-Atomic-Operations.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#glib-Miscellaneous-Macros.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#glib-Miscellaneous-Macros.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="glib-Miscellaneous-Macros"></a><div class="titlepage"></div>
|
31
|
-
<div class="refnamediv"><table width="100%"><tr>
|
32
|
-
<td valign="top">
|
33
|
-
<h2><span class="refentrytitle"><a name="glib-Miscellaneous-Macros.top_of_page"></a>Miscellaneous Macros</span></h2>
|
34
|
-
<p>Miscellaneous Macros — specialized macros which are not used often</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="glib-Miscellaneous-Macros.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib.h>
|
42
|
-
|
43
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-INLINE-FUNC:CAPS" title="G_INLINE_FUNC">G_INLINE_FUNC</a>
|
44
|
-
|
45
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STMT-START:CAPS" title="G_STMT_START">G_STMT_START</a>
|
46
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STMT-END:CAPS" title="G_STMT_END">G_STMT_END</a>
|
47
|
-
|
48
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-BEGIN-DECLS:CAPS" title="G_BEGIN_DECLS">G_BEGIN_DECLS</a>
|
49
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-END-DECLS:CAPS" title="G_END_DECLS">G_END_DECLS</a>
|
50
|
-
|
51
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-N-ELEMENTS:CAPS" title="G_N_ELEMENTS()">G_N_ELEMENTS</a> (arr)
|
52
|
-
|
53
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-VA-COPY:CAPS" title="G_VA_COPY()">G_VA_COPY</a> (ap1,
|
54
|
-
ap2)
|
55
|
-
|
56
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STRINGIFY:CAPS" title="G_STRINGIFY()">G_STRINGIFY</a> (macro_or_string)
|
57
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-PASTE:CAPS" title="G_PASTE()">G_PASTE</a> (identifier1,
|
58
|
-
identifier2)
|
59
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STATIC-ASSERT:CAPS" title="G_STATIC_ASSERT()">G_STATIC_ASSERT</a> (expr)
|
60
|
-
|
61
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-EXTENSION:CAPS" title="G_GNUC_EXTENSION">G_GNUC_EXTENSION</a>
|
62
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS" title="G_GNUC_CONST">G_GNUC_CONST</a>
|
63
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-PURE:CAPS" title="G_GNUC_PURE">G_GNUC_PURE</a>
|
64
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-MALLOC:CAPS" title="G_GNUC_MALLOC">G_GNUC_MALLOC</a>
|
65
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-ALLOC-SIZE:CAPS" title="G_GNUC_ALLOC_SIZE()">G_GNUC_ALLOC_SIZE</a> (x)
|
66
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-ALLOC-SIZE2:CAPS" title="G_GNUC_ALLOC_SIZE2()">G_GNUC_ALLOC_SIZE2</a> (x,
|
67
|
-
y)
|
68
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-DEPRECATED:CAPS" title="G_GNUC_DEPRECATED">G_GNUC_DEPRECATED</a>
|
69
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-DEPRECATED-FOR:CAPS" title="G_GNUC_DEPRECATED_FOR()">G_GNUC_DEPRECATED_FOR</a> (f)
|
70
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-NORETURN:CAPS" title="G_GNUC_NORETURN">G_GNUC_NORETURN</a>
|
71
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-UNUSED:CAPS" title="G_GNUC_UNUSED">G_GNUC_UNUSED</a>
|
72
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-PRINTF:CAPS" title="G_GNUC_PRINTF()">G_GNUC_PRINTF</a> (format_idx,
|
73
|
-
arg_idx)
|
74
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-SCANF:CAPS" title="G_GNUC_SCANF()">G_GNUC_SCANF</a> (format_idx,
|
75
|
-
arg_idx)
|
76
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-FORMAT:CAPS" title="G_GNUC_FORMAT()">G_GNUC_FORMAT</a> (arg_idx)
|
77
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-NULL-TERMINATED:CAPS" title="G_GNUC_NULL_TERMINATED">G_GNUC_NULL_TERMINATED</a>
|
78
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-WARN-UNUSED-RESULT:CAPS" title="G_GNUC_WARN_UNUSED_RESULT">G_GNUC_WARN_UNUSED_RESULT</a>
|
79
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-FUNCTION:CAPS" title="G_GNUC_FUNCTION">G_GNUC_FUNCTION</a>
|
80
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-PRETTY-FUNCTION:CAPS" title="G_GNUC_PRETTY_FUNCTION">G_GNUC_PRETTY_FUNCTION</a>
|
81
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-NO-INSTRUMENT:CAPS" title="G_GNUC_NO_INSTRUMENT">G_GNUC_NO_INSTRUMENT</a>
|
82
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-HAVE-GNUC-VISIBILITY:CAPS" title="G_HAVE_GNUC_VISIBILITY">G_HAVE_GNUC_VISIBILITY</a>
|
83
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-INTERNAL:CAPS" title="G_GNUC_INTERNAL">G_GNUC_INTERNAL</a>
|
84
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-MAY-ALIAS:CAPS" title="G_GNUC_MAY_ALIAS">G_GNUC_MAY_ALIAS</a>
|
85
|
-
|
86
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-LIKELY:CAPS" title="G_LIKELY()">G_LIKELY</a> (expr)
|
87
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-UNLIKELY:CAPS" title="G_UNLIKELY()">G_UNLIKELY</a> (expr)
|
88
|
-
|
89
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STRLOC:CAPS" title="G_STRLOC">G_STRLOC</a>
|
90
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-STRFUNC:CAPS" title="G_STRFUNC">G_STRFUNC</a>
|
91
|
-
|
92
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-MODIFIER:CAPS" title="G_GINT16_MODIFIER">G_GINT16_MODIFIER</a>
|
93
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT">G_GINT16_FORMAT</a>
|
94
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GUINT16-FORMAT:CAPS" title="G_GUINT16_FORMAT">G_GUINT16_FORMAT</a>
|
95
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT32-MODIFIER:CAPS" title="G_GINT32_MODIFIER">G_GINT32_MODIFIER</a>
|
96
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT32-FORMAT:CAPS" title="G_GINT32_FORMAT">G_GINT32_FORMAT</a>
|
97
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GUINT32-FORMAT:CAPS" title="G_GUINT32_FORMAT">G_GUINT32_FORMAT</a>
|
98
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-MODIFIER:CAPS" title="G_GINT64_MODIFIER">G_GINT64_MODIFIER</a>
|
99
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-FORMAT:CAPS" title="G_GINT64_FORMAT">G_GINT64_FORMAT</a>
|
100
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GUINT64-FORMAT:CAPS" title="G_GUINT64_FORMAT">G_GUINT64_FORMAT</a>
|
101
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GSIZE-MODIFIER:CAPS" title="G_GSIZE_MODIFIER">G_GSIZE_MODIFIER</a>
|
102
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GSIZE-FORMAT:CAPS" title="G_GSIZE_FORMAT">G_GSIZE_FORMAT</a>
|
103
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GSSIZE-FORMAT:CAPS" title="G_GSSIZE_FORMAT">G_GSSIZE_FORMAT</a>
|
104
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GOFFSET-MODIFIER:CAPS" title="G_GOFFSET_MODIFIER">G_GOFFSET_MODIFIER</a>
|
105
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GOFFSET-FORMAT:CAPS" title="G_GOFFSET_FORMAT">G_GOFFSET_FORMAT</a>
|
106
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINTPTR-MODIFIER:CAPS" title="G_GINTPTR_MODIFIER">G_GINTPTR_MODIFIER</a>
|
107
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GINTPTR-FORMAT:CAPS" title="G_GINTPTR_FORMAT">G_GINTPTR_FORMAT</a>
|
108
|
-
#define <a class="link" href="glib-Miscellaneous-Macros.html#G-GUINTPTR-FORMAT:CAPS" title="G_GUINTPTR_FORMAT">G_GUINTPTR_FORMAT</a>
|
109
|
-
</pre>
|
110
|
-
</div>
|
111
|
-
<div class="refsect1">
|
112
|
-
<a name="glib-Miscellaneous-Macros.description"></a><h2>Description</h2>
|
113
|
-
<p>
|
114
|
-
These macros provide more specialized features which are not needed so often
|
115
|
-
by application programmers.
|
116
|
-
</p>
|
117
|
-
</div>
|
118
|
-
<div class="refsect1">
|
119
|
-
<a name="glib-Miscellaneous-Macros.details"></a><h2>Details</h2>
|
120
|
-
<div class="refsect2">
|
121
|
-
<a name="G-INLINE-FUNC:CAPS"></a><h3>G_INLINE_FUNC</h3>
|
122
|
-
<pre class="programlisting">#define G_INLINE_FUNC</pre>
|
123
|
-
<p>
|
124
|
-
This macro is used to export function prototypes so they can be linked
|
125
|
-
with an external version when no inlining is performed. The file which
|
126
|
-
implements the functions should define <code class="literal">G_IMPLEMENTS_INLINES</code>
|
127
|
-
before including the headers which contain <a class="link" href="glib-Miscellaneous-Macros.html#G-INLINE-FUNC:CAPS" title="G_INLINE_FUNC"><code class="literal">G_INLINE_FUNC</code></a> declarations.
|
128
|
-
Since inlining is very compiler-dependent using these macros correctly
|
129
|
-
is very difficult. Their use is strongly discouraged.
|
130
|
-
</p>
|
131
|
-
<p>
|
132
|
-
This macro is often mistaken for a replacement for the inline keyword;
|
133
|
-
inline is already declared in a portable manner in the glib headers
|
134
|
-
and can be used normally.
|
135
|
-
</p>
|
136
|
-
</div>
|
137
|
-
<hr>
|
138
|
-
<div class="refsect2">
|
139
|
-
<a name="G-STMT-START:CAPS"></a><h3>G_STMT_START</h3>
|
140
|
-
<pre class="programlisting"># define G_STMT_START do
|
141
|
-
</pre>
|
142
|
-
<p>
|
143
|
-
Used within multi-statement macros so that they can be used in places where
|
144
|
-
only one statement is expected by the compiler.
|
145
|
-
</p>
|
146
|
-
</div>
|
147
|
-
<hr>
|
148
|
-
<div class="refsect2">
|
149
|
-
<a name="G-STMT-END:CAPS"></a><h3>G_STMT_END</h3>
|
150
|
-
<pre class="programlisting"># define G_STMT_END while (0)
|
151
|
-
</pre>
|
152
|
-
<p>
|
153
|
-
Used within multi-statement macros so that they can be used in places where
|
154
|
-
only one statement is expected by the compiler.
|
155
|
-
</p>
|
156
|
-
</div>
|
157
|
-
<hr>
|
158
|
-
<div class="refsect2">
|
159
|
-
<a name="G-BEGIN-DECLS:CAPS"></a><h3>G_BEGIN_DECLS</h3>
|
160
|
-
<pre class="programlisting">#define G_BEGIN_DECLS</pre>
|
161
|
-
<p>
|
162
|
-
Used (along with <a class="link" href="glib-Miscellaneous-Macros.html#G-END-DECLS:CAPS" title="G_END_DECLS"><span class="type">G_END_DECLS</span></a>) to bracket header files. If the
|
163
|
-
compiler in use is a C++ compiler, adds <code class="literal">extern "C"</code>
|
164
|
-
around the header.
|
165
|
-
</p>
|
166
|
-
</div>
|
167
|
-
<hr>
|
168
|
-
<div class="refsect2">
|
169
|
-
<a name="G-END-DECLS:CAPS"></a><h3>G_END_DECLS</h3>
|
170
|
-
<pre class="programlisting">#define G_END_DECLS</pre>
|
171
|
-
<p>
|
172
|
-
Used (along with <a class="link" href="glib-Miscellaneous-Macros.html#G-BEGIN-DECLS:CAPS" title="G_BEGIN_DECLS"><span class="type">G_BEGIN_DECLS</span></a>) to bracket header files. If the
|
173
|
-
compiler in use is a C++ compiler, adds <code class="literal">extern "C"</code>
|
174
|
-
around the header.
|
175
|
-
</p>
|
176
|
-
</div>
|
177
|
-
<hr>
|
178
|
-
<div class="refsect2">
|
179
|
-
<a name="G-N-ELEMENTS:CAPS"></a><h3>G_N_ELEMENTS()</h3>
|
180
|
-
<pre class="programlisting">#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
|
181
|
-
</pre>
|
182
|
-
<p>
|
183
|
-
Determines the number of elements in an array. The array must be
|
184
|
-
declared so the compiler knows its size at compile-time; this
|
185
|
-
macro will not work on an array allocated on the heap, only static
|
186
|
-
arrays or arrays on the stack.
|
187
|
-
</p>
|
188
|
-
<div class="variablelist"><table border="0">
|
189
|
-
<col align="left" valign="top">
|
190
|
-
<tbody><tr>
|
191
|
-
<td><p><span class="term"><em class="parameter"><code>arr</code></em> :</span></p></td>
|
192
|
-
<td>the array
|
193
|
-
</td>
|
194
|
-
</tr></tbody>
|
195
|
-
</table></div>
|
196
|
-
</div>
|
197
|
-
<hr>
|
198
|
-
<div class="refsect2">
|
199
|
-
<a name="G-VA-COPY:CAPS"></a><h3>G_VA_COPY()</h3>
|
200
|
-
<pre class="programlisting">#define G_VA_COPY(ap1,ap2)</pre>
|
201
|
-
<p>
|
202
|
-
Portable way to copy <span class="type">va_list</span> variables.
|
203
|
-
</p>
|
204
|
-
<p>
|
205
|
-
In order to use this function, you must include <code class="filename">string.h</code>
|
206
|
-
yourself, because this macro may use <code class="function"><code class="function">memmove()</code></code> and GLib
|
207
|
-
does not include <code class="function">string.h</code> for you.
|
208
|
-
</p>
|
209
|
-
<div class="variablelist"><table border="0">
|
210
|
-
<col align="left" valign="top">
|
211
|
-
<tbody>
|
212
|
-
<tr>
|
213
|
-
<td><p><span class="term"><em class="parameter"><code>ap1</code></em> :</span></p></td>
|
214
|
-
<td>the <span class="type">va_list</span> variable to place a copy of <em class="parameter"><code>ap2</code></em> in.
|
215
|
-
</td>
|
216
|
-
</tr>
|
217
|
-
<tr>
|
218
|
-
<td><p><span class="term"><em class="parameter"><code>ap2</code></em> :</span></p></td>
|
219
|
-
<td>a <span class="type">va_list</span>.
|
220
|
-
</td>
|
221
|
-
</tr>
|
222
|
-
</tbody>
|
223
|
-
</table></div>
|
224
|
-
</div>
|
225
|
-
<hr>
|
226
|
-
<div class="refsect2">
|
227
|
-
<a name="G-STRINGIFY:CAPS"></a><h3>G_STRINGIFY()</h3>
|
228
|
-
<pre class="programlisting">#define G_STRINGIFY(macro_or_string) G_STRINGIFY_ARG (macro_or_string)
|
229
|
-
</pre>
|
230
|
-
<p>
|
231
|
-
Accepts a macro or a string and converts it into a string after
|
232
|
-
preprocessor argument expansion. For example, the following code:
|
233
|
-
</p>
|
234
|
-
<div class="informalexample">
|
235
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
236
|
-
<tbody>
|
237
|
-
<tr>
|
238
|
-
<td class="listing_lines" align="right"><pre>1
|
239
|
-
2</pre></td>
|
240
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> AGE </span><span class="number">27</span>
|
241
|
-
<span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">greeting </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-STRINGIFY:CAPS">G_STRINGIFY</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">AGE</span><span class="symbol">)</span><span class="normal"> </span><span class="string">" today!"</span><span class="symbol">;</span></pre></td>
|
242
|
-
</tr>
|
243
|
-
</tbody>
|
244
|
-
</table>
|
245
|
-
</div>
|
246
|
-
|
247
|
-
<p>
|
248
|
-
is transformed by the preprocessor into (code equivalent to):
|
249
|
-
</p>
|
250
|
-
<div class="informalexample">
|
251
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
252
|
-
<tbody>
|
253
|
-
<tr>
|
254
|
-
<td class="listing_lines" align="right"><pre>1</pre></td>
|
255
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">greeting </span><span class="symbol">=</span><span class="normal"> </span><span class="string">"27 today!"</span><span class="symbol">;</span></pre></td>
|
256
|
-
</tr>
|
257
|
-
</tbody>
|
258
|
-
</table>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
<div class="variablelist"><table border="0">
|
262
|
-
<col align="left" valign="top">
|
263
|
-
<tbody><tr>
|
264
|
-
<td><p><span class="term"><em class="parameter"><code>macro_or_string</code></em> :</span></p></td>
|
265
|
-
<td>a macro or a string.
|
266
|
-
</td>
|
267
|
-
</tr></tbody>
|
268
|
-
</table></div>
|
269
|
-
</div>
|
270
|
-
<hr>
|
271
|
-
<div class="refsect2">
|
272
|
-
<a name="G-PASTE:CAPS"></a><h3>G_PASTE()</h3>
|
273
|
-
<pre class="programlisting">#define G_PASTE(identifier1,identifier2) G_PASTE_ARGS (identifier1, identifier2)
|
274
|
-
</pre>
|
275
|
-
<p>
|
276
|
-
Yields a new preprocessor pasted identifier <code class="code">identifier1identifier2</code>
|
277
|
-
from its expanded arguments <em class="parameter"><code>identifier1</code></em> and <em class="parameter"><code>identifier2</code></em>. For example, the
|
278
|
-
following code:
|
279
|
-
</p>
|
280
|
-
<div class="informalexample">
|
281
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
282
|
-
<tbody>
|
283
|
-
<tr>
|
284
|
-
<td class="listing_lines" align="right"><pre>1
|
285
|
-
2
|
286
|
-
3
|
287
|
-
4</pre></td>
|
288
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">GET</span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">,</span><span class="normal">method</span><span class="symbol">)</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-PASTE:CAPS">G_PASTE</a></span><span class="symbol">(</span><span class="normal">traveller_get_</span><span class="symbol">,</span><span class="normal"> method</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">)</span>
|
289
|
-
<span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
290
|
-
<span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">quest </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">,</span><span class="normal"> quest</span><span class="symbol">);</span>
|
291
|
-
<span class="usertype">GdkColor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">favourite </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">,</span><span class="normal"> favourite_colour</span><span class="symbol">);</span></pre></td>
|
292
|
-
</tr>
|
293
|
-
</tbody>
|
294
|
-
</table>
|
295
|
-
</div>
|
296
|
-
|
297
|
-
<p>
|
298
|
-
is transformed by the preprocessor into:
|
299
|
-
</p>
|
300
|
-
<div class="informalexample">
|
301
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
302
|
-
<tbody>
|
303
|
-
<tr>
|
304
|
-
<td class="listing_lines" align="right"><pre>1
|
305
|
-
2
|
306
|
-
3</pre></td>
|
307
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name </span><span class="symbol">=</span><span class="normal"> </span><span class="function">traveller_get_name</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">);</span>
|
308
|
-
<span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">quest </span><span class="symbol">=</span><span class="normal"> </span><span class="function">traveller_get_quest</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">);</span>
|
309
|
-
<span class="usertype">GdkColor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">favourite </span><span class="symbol">=</span><span class="normal"> </span><span class="function">traveller_get_favourite_colour</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">traveller</span><span class="symbol">);</span></pre></td>
|
310
|
-
</tr>
|
311
|
-
</tbody>
|
312
|
-
</table>
|
313
|
-
</div>
|
314
|
-
|
315
|
-
<div class="variablelist"><table border="0">
|
316
|
-
<col align="left" valign="top">
|
317
|
-
<tbody>
|
318
|
-
<tr>
|
319
|
-
<td><p><span class="term"><em class="parameter"><code>identifier1</code></em> :</span></p></td>
|
320
|
-
<td>an identifier
|
321
|
-
</td>
|
322
|
-
</tr>
|
323
|
-
<tr>
|
324
|
-
<td><p><span class="term"><em class="parameter"><code>identifier2</code></em> :</span></p></td>
|
325
|
-
<td>an identifier
|
326
|
-
</td>
|
327
|
-
</tr>
|
328
|
-
</tbody>
|
329
|
-
</table></div>
|
330
|
-
<p class="since">Since 2.20</p>
|
331
|
-
</div>
|
332
|
-
<hr>
|
333
|
-
<div class="refsect2">
|
334
|
-
<a name="G-STATIC-ASSERT:CAPS"></a><h3>G_STATIC_ASSERT()</h3>
|
335
|
-
<pre class="programlisting">#define G_STATIC_ASSERT(expr) typedef struct { char Compile_Time_Assertion[(expr) ? 1 : -1]; } G_PASTE (_GStaticAssert_, __LINE__)
|
336
|
-
</pre>
|
337
|
-
<p>
|
338
|
-
The G_STATIC_ASSERT macro lets the programmer check a condition at compile time,
|
339
|
-
the condition needs to be compile time computable.
|
340
|
-
The macro can be used in any place where a <code class="literal">typedef</code> is valid.
|
341
|
-
The macro should only be used once per source code line.
|
342
|
-
</p>
|
343
|
-
<div class="variablelist"><table border="0">
|
344
|
-
<col align="left" valign="top">
|
345
|
-
<tbody><tr>
|
346
|
-
<td><p><span class="term"><em class="parameter"><code>expr</code></em> :</span></p></td>
|
347
|
-
<td>a constant expression.
|
348
|
-
</td>
|
349
|
-
</tr></tbody>
|
350
|
-
</table></div>
|
351
|
-
<p class="since">Since 2.20</p>
|
352
|
-
</div>
|
353
|
-
<hr>
|
354
|
-
<div class="refsect2">
|
355
|
-
<a name="G-GNUC-EXTENSION:CAPS"></a><h3>G_GNUC_EXTENSION</h3>
|
356
|
-
<pre class="programlisting">#define G_GNUC_EXTENSION</pre>
|
357
|
-
<p>
|
358
|
-
Expands to <code class="literal">__extension__</code> when <span class="command"><strong>gcc</strong></span> is
|
359
|
-
used as the compiler.
|
360
|
-
This simply tells <span class="command"><strong>gcc</strong></span> not to warn about the following non-standard code
|
361
|
-
when compiling with the <code class="option">-pedantic</code> option.
|
362
|
-
</p>
|
363
|
-
</div>
|
364
|
-
<hr>
|
365
|
-
<div class="refsect2">
|
366
|
-
<a name="G-GNUC-CONST:CAPS"></a><h3>G_GNUC_CONST</h3>
|
367
|
-
<pre class="programlisting">#define G_GNUC_CONST</pre>
|
368
|
-
<p>
|
369
|
-
Expands to the GNU C <code class="literal">const</code> function attribute if the compiler is
|
370
|
-
<span class="command"><strong>gcc</strong></span>. Declaring a function as const enables better optimization of calls
|
371
|
-
to the function. A const function doesn't examine any values except its parameters, and has no
|
372
|
-
effects except its return value. See the GNU C documentation for details.
|
373
|
-
</p>
|
374
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
375
|
-
<h3 class="title">Note</h3>
|
376
|
-
<p>
|
377
|
-
A function that has pointer arguments and examines the data pointed to
|
378
|
-
must <span class="emphasis"><em>not</em></span> be declared const. Likewise, a function that
|
379
|
-
calls a non-const function usually must not be const. It doesn't make sense
|
380
|
-
for a const function to return void.
|
381
|
-
</p>
|
382
|
-
</div>
|
383
|
-
</div>
|
384
|
-
<hr>
|
385
|
-
<div class="refsect2">
|
386
|
-
<a name="G-GNUC-PURE:CAPS"></a><h3>G_GNUC_PURE</h3>
|
387
|
-
<pre class="programlisting">#define G_GNUC_PURE</pre>
|
388
|
-
<p>
|
389
|
-
Expands to the GNU C <code class="literal">pure</code> function attribute if the compiler is
|
390
|
-
<span class="command"><strong>gcc</strong></span>. Declaring a function as pure enables better optimization of
|
391
|
-
calls to the function. A pure function has no effects except its return value and the
|
392
|
-
return value depends only on the parameters and/or global variables.
|
393
|
-
See the GNU C documentation for details.
|
394
|
-
</p>
|
395
|
-
</div>
|
396
|
-
<hr>
|
397
|
-
<div class="refsect2">
|
398
|
-
<a name="G-GNUC-MALLOC:CAPS"></a><h3>G_GNUC_MALLOC</h3>
|
399
|
-
<pre class="programlisting">#define G_GNUC_MALLOC</pre>
|
400
|
-
<p>
|
401
|
-
Expands to the GNU C <code class="literal">malloc</code> function attribute if the
|
402
|
-
compiler is <span class="command"><strong>gcc</strong></span>. Declaring a function as malloc enables
|
403
|
-
better optimization of the function. A function can have the malloc attribute
|
404
|
-
if it returns a pointer which is guaranteed to not alias with any other pointer
|
405
|
-
when the function returns (in practice, this means newly allocated memory).
|
406
|
-
See the GNU C documentation for details.
|
407
|
-
</p>
|
408
|
-
<p class="since">Since 2.6</p>
|
409
|
-
</div>
|
410
|
-
<hr>
|
411
|
-
<div class="refsect2">
|
412
|
-
<a name="G-GNUC-ALLOC-SIZE:CAPS"></a><h3>G_GNUC_ALLOC_SIZE()</h3>
|
413
|
-
<pre class="programlisting">#define G_GNUC_ALLOC_SIZE(x)</pre>
|
414
|
-
<p>
|
415
|
-
Expands to the GNU C <code class="literal">alloc_size</code> function attribute if the
|
416
|
-
compiler is a new enough <span class="command"><strong>gcc</strong></span>. This attribute tells the
|
417
|
-
compiler that the function returns a pointer to memory of a size that is
|
418
|
-
specified by the <em class="parameter"><code>x</code></em>th function parameter.
|
419
|
-
See the GNU C documentation for details.
|
420
|
-
</p>
|
421
|
-
<div class="variablelist"><table border="0">
|
422
|
-
<col align="left" valign="top">
|
423
|
-
<tbody><tr>
|
424
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
425
|
-
<td>the index of the argument specifying the allocation size
|
426
|
-
</td>
|
427
|
-
</tr></tbody>
|
428
|
-
</table></div>
|
429
|
-
<p class="since">Since 2.18</p>
|
430
|
-
</div>
|
431
|
-
<hr>
|
432
|
-
<div class="refsect2">
|
433
|
-
<a name="G-GNUC-ALLOC-SIZE2:CAPS"></a><h3>G_GNUC_ALLOC_SIZE2()</h3>
|
434
|
-
<pre class="programlisting">#define G_GNUC_ALLOC_SIZE2(x,y)</pre>
|
435
|
-
<p>
|
436
|
-
Expands to the GNU C <code class="literal">alloc_size</code> function attribute if the
|
437
|
-
compiler is a new enough <span class="command"><strong>gcc</strong></span>. This attribute tells the
|
438
|
-
compiler that the function returns a pointer to memory of a size that is
|
439
|
-
specified by the product of two function parameters.
|
440
|
-
See the GNU C documentation for details.
|
441
|
-
</p>
|
442
|
-
<div class="variablelist"><table border="0">
|
443
|
-
<col align="left" valign="top">
|
444
|
-
<tbody>
|
445
|
-
<tr>
|
446
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
447
|
-
<td>the index of the argument specifying one factor of the allocation size
|
448
|
-
</td>
|
449
|
-
</tr>
|
450
|
-
<tr>
|
451
|
-
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
452
|
-
<td>the index of the argument specifying the second factor of the allocation size
|
453
|
-
</td>
|
454
|
-
</tr>
|
455
|
-
</tbody>
|
456
|
-
</table></div>
|
457
|
-
<p class="since">Since 2.18</p>
|
458
|
-
</div>
|
459
|
-
<hr>
|
460
|
-
<div class="refsect2">
|
461
|
-
<a name="G-GNUC-DEPRECATED:CAPS"></a><h3>G_GNUC_DEPRECATED</h3>
|
462
|
-
<pre class="programlisting">#define G_GNUC_DEPRECATED</pre>
|
463
|
-
<p>
|
464
|
-
Expands to the GNU C <code class="literal">deprecated</code> attribute if the compiler
|
465
|
-
is <span class="command"><strong>gcc</strong></span>.
|
466
|
-
It can be used to mark typedefs, variables and functions as deprecated.
|
467
|
-
When called with the <code class="option">-Wdeprecated-declarations</code> option, the compiler will
|
468
|
-
generate warnings when deprecated interfaces are used.
|
469
|
-
See the GNU C documentation for details.
|
470
|
-
</p>
|
471
|
-
<p class="since">Since 2.2</p>
|
472
|
-
</div>
|
473
|
-
<hr>
|
474
|
-
<div class="refsect2">
|
475
|
-
<a name="G-GNUC-DEPRECATED-FOR:CAPS"></a><h3>G_GNUC_DEPRECATED_FOR()</h3>
|
476
|
-
<pre class="programlisting">#define G_GNUC_DEPRECATED_FOR(f)</pre>
|
477
|
-
<p>
|
478
|
-
Like <a class="link" href="glib-Miscellaneous-Macros.html#G-GNUC-DEPRECATED:CAPS" title="G_GNUC_DEPRECATED"><code class="literal">G_GNUC_DEPRECATED</code></a>, but names the intended replacement for the
|
479
|
-
deprecated symbol if the version of <span class="command"><strong>gcc</strong></span> in use is
|
480
|
-
new enough to support custom deprecation messages.
|
481
|
-
See the GNU C documentation for details.
|
482
|
-
</p>
|
483
|
-
<div class="variablelist"><table border="0">
|
484
|
-
<col align="left" valign="top">
|
485
|
-
<tbody><tr>
|
486
|
-
<td><p><span class="term"><em class="parameter"><code>f</code></em> :</span></p></td>
|
487
|
-
<td>the intended replacement for the deprecated symbol, such as the name of a
|
488
|
-
function
|
489
|
-
</td>
|
490
|
-
</tr></tbody>
|
491
|
-
</table></div>
|
492
|
-
<p class="since">Since 2.25.3</p>
|
493
|
-
</div>
|
494
|
-
<hr>
|
495
|
-
<div class="refsect2">
|
496
|
-
<a name="G-GNUC-NORETURN:CAPS"></a><h3>G_GNUC_NORETURN</h3>
|
497
|
-
<pre class="programlisting">#define G_GNUC_NORETURN</pre>
|
498
|
-
<p>
|
499
|
-
Expands to the GNU C <code class="literal">noreturn</code> function attribute if the
|
500
|
-
compiler is <span class="command"><strong>gcc</strong></span>. It is used for declaring functions which never return.
|
501
|
-
It enables optimization of the function, and avoids possible compiler
|
502
|
-
warnings. See the GNU C documentation for details.
|
503
|
-
</p>
|
504
|
-
</div>
|
505
|
-
<hr>
|
506
|
-
<div class="refsect2">
|
507
|
-
<a name="G-GNUC-UNUSED:CAPS"></a><h3>G_GNUC_UNUSED</h3>
|
508
|
-
<pre class="programlisting">#define G_GNUC_UNUSED</pre>
|
509
|
-
<p>
|
510
|
-
Expands to the GNU C <code class="literal">unused</code> function attribute if the compiler is
|
511
|
-
<span class="command"><strong>gcc</strong></span>. It is used for declaring functions which may never be used.
|
512
|
-
It avoids possible compiler warnings. See the GNU C documentation for details.
|
513
|
-
</p>
|
514
|
-
</div>
|
515
|
-
<hr>
|
516
|
-
<div class="refsect2">
|
517
|
-
<a name="G-GNUC-PRINTF:CAPS"></a><h3>G_GNUC_PRINTF()</h3>
|
518
|
-
<pre class="programlisting">#define G_GNUC_PRINTF( format_idx, arg_idx )</pre>
|
519
|
-
<p>
|
520
|
-
Expands to the GNU C <code class="literal">format</code> function attribute if the compiler is
|
521
|
-
<span class="command"><strong>gcc</strong></span>. This is used for declaring functions which take a variable number of
|
522
|
-
arguments, with the same syntax as <code class="function"><code class="function">printf()</code></code>.
|
523
|
-
It allows the compiler to type-check the arguments passed to the function.
|
524
|
-
See the GNU C documentation for details.
|
525
|
-
</p>
|
526
|
-
<div class="informalexample">
|
527
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
528
|
-
<tbody>
|
529
|
-
<tr>
|
530
|
-
<td class="listing_lines" align="right"><pre>1
|
531
|
-
2
|
532
|
-
3
|
533
|
-
4</pre></td>
|
534
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">gint</span><span class="normal"> </span><span class="function"><a href="glib-String-Utility-Functions.html#g-snprintf">g_snprintf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">string</span><span class="symbol">,</span>
|
535
|
-
<span class="normal"> </span><span class="usertype">gulong</span><span class="normal"> n</span><span class="symbol">,</span>
|
536
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">format</span><span class="symbol">,</span>
|
537
|
-
<span class="normal"> </span><span class="symbol">...)</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-GNUC-PRINTF:CAPS">G_GNUC_PRINTF</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">4</span><span class="symbol">);</span></pre></td>
|
538
|
-
</tr>
|
539
|
-
</tbody>
|
540
|
-
</table>
|
541
|
-
</div>
|
542
|
-
|
543
|
-
<div class="variablelist"><table border="0">
|
544
|
-
<col align="left" valign="top">
|
545
|
-
<tbody>
|
546
|
-
<tr>
|
547
|
-
<td><p><span class="term"><em class="parameter"><code>format_idx</code></em> :</span></p></td>
|
548
|
-
<td>the index of the argument corresponding to the format string.
|
549
|
-
(The arguments are numbered from 1).
|
550
|
-
</td>
|
551
|
-
</tr>
|
552
|
-
<tr>
|
553
|
-
<td><p><span class="term"><em class="parameter"><code>arg_idx</code></em> :</span></p></td>
|
554
|
-
<td>the index of the first of the format arguments.
|
555
|
-
</td>
|
556
|
-
</tr>
|
557
|
-
</tbody>
|
558
|
-
</table></div>
|
559
|
-
</div>
|
560
|
-
<hr>
|
561
|
-
<div class="refsect2">
|
562
|
-
<a name="G-GNUC-SCANF:CAPS"></a><h3>G_GNUC_SCANF()</h3>
|
563
|
-
<pre class="programlisting">#define G_GNUC_SCANF( format_idx, arg_idx )</pre>
|
564
|
-
<p>
|
565
|
-
Expands to the GNU C <code class="literal">format</code> function attribute if the compiler is <span class="command"><strong>gcc</strong></span>.
|
566
|
-
This is used for declaring functions which take a variable number of
|
567
|
-
arguments, with the same syntax as <code class="function"><code class="function">scanf()</code></code>.
|
568
|
-
It allows the compiler to type-check the arguments passed to the function.
|
569
|
-
See the GNU C documentation for details.
|
570
|
-
</p>
|
571
|
-
<div class="variablelist"><table border="0">
|
572
|
-
<col align="left" valign="top">
|
573
|
-
<tbody>
|
574
|
-
<tr>
|
575
|
-
<td><p><span class="term"><em class="parameter"><code>format_idx</code></em> :</span></p></td>
|
576
|
-
<td>the index of the argument corresponding to the format string.
|
577
|
-
(The arguments are numbered from 1).
|
578
|
-
</td>
|
579
|
-
</tr>
|
580
|
-
<tr>
|
581
|
-
<td><p><span class="term"><em class="parameter"><code>arg_idx</code></em> :</span></p></td>
|
582
|
-
<td>the index of the first of the format arguments.
|
583
|
-
</td>
|
584
|
-
</tr>
|
585
|
-
</tbody>
|
586
|
-
</table></div>
|
587
|
-
</div>
|
588
|
-
<hr>
|
589
|
-
<div class="refsect2">
|
590
|
-
<a name="G-GNUC-FORMAT:CAPS"></a><h3>G_GNUC_FORMAT()</h3>
|
591
|
-
<pre class="programlisting">#define G_GNUC_FORMAT( arg_idx )</pre>
|
592
|
-
<p>
|
593
|
-
Expands to the GNU C <code class="literal">format_arg</code> function attribute if the compiler is <span class="command"><strong>gcc</strong></span>.
|
594
|
-
This function attribute specifies that a function takes a format
|
595
|
-
string for a <code class="function"><code class="function">printf()</code></code>, <code class="function"><code class="function">scanf()</code></code>,
|
596
|
-
<code class="function"><code class="function">strftime()</code></code> or <code class="function"><code class="function">strfmon()</code></code> style
|
597
|
-
function and modifies it, so that the result can be passed to a
|
598
|
-
<code class="function"><code class="function">printf()</code></code>, <code class="function"><code class="function">scanf()</code></code>,
|
599
|
-
<code class="function"><code class="function">strftime()</code></code> or <code class="function"><code class="function">strfmon()</code></code> style
|
600
|
-
function (with the remaining arguments to the format function the same as
|
601
|
-
they would have been for the unmodified string).
|
602
|
-
See the GNU C documentation for details.
|
603
|
-
</p>
|
604
|
-
<div class="informalexample">
|
605
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
606
|
-
<tbody>
|
607
|
-
<tr>
|
608
|
-
<td class="listing_lines" align="right"><pre>1</pre></td>
|
609
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="function"><a href="glib-I18N.html#g-dgettext">g_dgettext</a></span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">domain_name</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">msgid</span><span class="symbol">)</span><span class="normal"> </span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-GNUC-FORMAT:CAPS">G_GNUC_FORMAT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">);</span></pre></td>
|
610
|
-
</tr>
|
611
|
-
</tbody>
|
612
|
-
</table>
|
613
|
-
</div>
|
614
|
-
|
615
|
-
<div class="variablelist"><table border="0">
|
616
|
-
<col align="left" valign="top">
|
617
|
-
<tbody><tr>
|
618
|
-
<td><p><span class="term"><em class="parameter"><code>arg_idx</code></em> :</span></p></td>
|
619
|
-
<td>the index of the argument.
|
620
|
-
</td>
|
621
|
-
</tr></tbody>
|
622
|
-
</table></div>
|
623
|
-
</div>
|
624
|
-
<hr>
|
625
|
-
<div class="refsect2">
|
626
|
-
<a name="G-GNUC-NULL-TERMINATED:CAPS"></a><h3>G_GNUC_NULL_TERMINATED</h3>
|
627
|
-
<pre class="programlisting">#define G_GNUC_NULL_TERMINATED</pre>
|
628
|
-
<p>
|
629
|
-
Expands to the GNU C <code class="literal">sentinel</code> function attribute if the
|
630
|
-
compiler is <span class="command"><strong>gcc</strong></span>, or "" if it isn't. This function attribute
|
631
|
-
only applies to variadic functions and instructs the compiler to check that
|
632
|
-
the argument list is terminated with an explicit <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
633
|
-
See the GNU C documentation for details.
|
634
|
-
</p>
|
635
|
-
Since: 2.8</div>
|
636
|
-
<hr>
|
637
|
-
<div class="refsect2">
|
638
|
-
<a name="G-GNUC-WARN-UNUSED-RESULT:CAPS"></a><h3>G_GNUC_WARN_UNUSED_RESULT</h3>
|
639
|
-
<pre class="programlisting">#define G_GNUC_WARN_UNUSED_RESULT</pre>
|
640
|
-
<p>
|
641
|
-
Expands to the GNU C <code class="literal">warn_unused_result</code> function attribute
|
642
|
-
if the compiler is <span class="command"><strong>gcc</strong></span>, or "" if it isn't. This function
|
643
|
-
attribute makes the compiler emit a warning if the result of a function call
|
644
|
-
is ignored. See the GNU C documentation for details.
|
645
|
-
</p>
|
646
|
-
<p class="since">Since 2.10</p>
|
647
|
-
</div>
|
648
|
-
<hr>
|
649
|
-
<div class="refsect2">
|
650
|
-
<a name="G-GNUC-FUNCTION:CAPS"></a><h3>G_GNUC_FUNCTION</h3>
|
651
|
-
<pre class="programlisting">#define G_GNUC_FUNCTION</pre>
|
652
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
653
|
-
<h3 class="title">Warning</h3>
|
654
|
-
<p><code class="literal">G_GNUC_FUNCTION</code> has been deprecated since version 2.16 and should not be used in newly-written code. Use <a class="link" href="glib-Miscellaneous-Macros.html#G-STRFUNC:CAPS" title="G_STRFUNC"><span class="type">G_STRFUNC</span></a> instead.</p>
|
655
|
-
</div>
|
656
|
-
<p>
|
657
|
-
Expands to "" on all modern compilers, and to <code class="literal">__FUNCTION__</code>
|
658
|
-
on <span class="command"><strong>gcc</strong></span> version 2.x. Don't use it.
|
659
|
-
</p>
|
660
|
-
</div>
|
661
|
-
<hr>
|
662
|
-
<div class="refsect2">
|
663
|
-
<a name="G-GNUC-PRETTY-FUNCTION:CAPS"></a><h3>G_GNUC_PRETTY_FUNCTION</h3>
|
664
|
-
<pre class="programlisting">#define G_GNUC_PRETTY_FUNCTION</pre>
|
665
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
666
|
-
<h3 class="title">Warning</h3>
|
667
|
-
<p><code class="literal">G_GNUC_PRETTY_FUNCTION</code> has been deprecated since version 2.16 and should not be used in newly-written code. Use <a class="link" href="glib-Miscellaneous-Macros.html#G-STRFUNC:CAPS" title="G_STRFUNC"><span class="type">G_STRFUNC</span></a> instead.</p>
|
668
|
-
</div>
|
669
|
-
<p>
|
670
|
-
Expands to "" on all modern compilers, and to
|
671
|
-
<code class="literal">__PRETTY_FUNCTION__</code> on <span class="command"><strong>gcc</strong></span> version 2.x.
|
672
|
-
Don't use it.
|
673
|
-
</p>
|
674
|
-
</div>
|
675
|
-
<hr>
|
676
|
-
<div class="refsect2">
|
677
|
-
<a name="G-GNUC-NO-INSTRUMENT:CAPS"></a><h3>G_GNUC_NO_INSTRUMENT</h3>
|
678
|
-
<pre class="programlisting">#define G_GNUC_NO_INSTRUMENT</pre>
|
679
|
-
<p>
|
680
|
-
Expands to the GNU C <code class="literal">no_instrument_function</code> function
|
681
|
-
attribute if the compiler is <span class="command"><strong>gcc</strong></span>. Functions with this
|
682
|
-
attribute will not be
|
683
|
-
instrumented for profiling, when the compiler is called with the
|
684
|
-
<code class="option">-finstrument-functions</code> option.
|
685
|
-
See the GNU C documentation for details.
|
686
|
-
</p>
|
687
|
-
</div>
|
688
|
-
<hr>
|
689
|
-
<div class="refsect2">
|
690
|
-
<a name="G-HAVE-GNUC-VISIBILITY:CAPS"></a><h3>G_HAVE_GNUC_VISIBILITY</h3>
|
691
|
-
<pre class="programlisting">#define G_HAVE_GNUC_VISIBILITY 1
|
692
|
-
</pre>
|
693
|
-
<p>
|
694
|
-
</p>
|
695
|
-
</div>
|
696
|
-
<hr>
|
697
|
-
<div class="refsect2">
|
698
|
-
<a name="G-GNUC-INTERNAL:CAPS"></a><h3>G_GNUC_INTERNAL</h3>
|
699
|
-
<pre class="programlisting">#define G_GNUC_INTERNAL</pre>
|
700
|
-
<p>
|
701
|
-
This attribute can be used for marking library functions as being used
|
702
|
-
internally to the library only, which may allow the compiler to handle
|
703
|
-
function calls more efficiently.
|
704
|
-
Note that static functions do not need to be marked as internal in this way.
|
705
|
-
See the GNU C documentation for details.
|
706
|
-
</p>
|
707
|
-
<p>
|
708
|
-
When using a compiler that supports the GNU C hidden visibility attribute,
|
709
|
-
this macro expands to <code class="literal">__attribute__((visibility("hidden")))</code>.
|
710
|
-
When using the Sun Studio compiler, it expands to <code class="literal">__hidden</code>.
|
711
|
-
</p>
|
712
|
-
<p>
|
713
|
-
Note that for portability, the attribute should be placed before the
|
714
|
-
function declaration. While GCC allows the macro after the declaration,
|
715
|
-
Sun Studio does not.
|
716
|
-
</p>
|
717
|
-
<div class="informalexample">
|
718
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
719
|
-
<tbody>
|
720
|
-
<tr>
|
721
|
-
<td class="listing_lines" align="right"><pre>1
|
722
|
-
2
|
723
|
-
3
|
724
|
-
4
|
725
|
-
5</pre></td>
|
726
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="glib-Miscellaneous-Macros.html#G-GNUC-INTERNAL:CAPS">G_GNUC_INTERNAL</a></span>
|
727
|
-
<span class="type">void</span><span class="normal"> </span><span class="function">_g_log_fallback_handler</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">log_domain</span><span class="symbol">,</span>
|
728
|
-
<span class="normal"> </span><span class="usertype">GLogLevelFlags</span><span class="normal"> log_level</span><span class="symbol">,</span>
|
729
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
730
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> unused_data</span><span class="symbol">);</span></pre></td>
|
731
|
-
</tr>
|
732
|
-
</tbody>
|
733
|
-
</table>
|
734
|
-
</div>
|
735
|
-
|
736
|
-
Since: 2.6</div>
|
737
|
-
<hr>
|
738
|
-
<div class="refsect2">
|
739
|
-
<a name="G-GNUC-MAY-ALIAS:CAPS"></a><h3>G_GNUC_MAY_ALIAS</h3>
|
740
|
-
<pre class="programlisting">#define G_GNUC_MAY_ALIAS</pre>
|
741
|
-
<p>
|
742
|
-
Expands to the GNU C <code class="literal">may_alias</code> type attribute
|
743
|
-
if the compiler is <span class="command"><strong>gcc</strong></span>. Types with this attribute
|
744
|
-
will not be subjected to type-based alias analysis, but are assumed
|
745
|
-
to alias with any other type, just like char.
|
746
|
-
See the GNU C documentation for details.
|
747
|
-
</p>
|
748
|
-
Since: 2.14</div>
|
749
|
-
<hr>
|
750
|
-
<div class="refsect2">
|
751
|
-
<a name="G-LIKELY:CAPS"></a><h3>G_LIKELY()</h3>
|
752
|
-
<pre class="programlisting">#define G_LIKELY(expr)</pre>
|
753
|
-
<p>
|
754
|
-
Hints the compiler that the expression is likely to evaluate to a true
|
755
|
-
value. The compiler may use this information for optimizations.
|
756
|
-
</p>
|
757
|
-
<div class="informalexample">
|
758
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
759
|
-
<tbody>
|
760
|
-
<tr>
|
761
|
-
<td class="listing_lines" align="right"><pre>1
|
762
|
-
2</pre></td>
|
763
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-LIKELY:CAPS">G_LIKELY</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">random</span><span class="normal"> </span><span class="symbol">()</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> </span><span class="number">1</span><span class="symbol">))</span>
|
764
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"not one"</span><span class="symbol">);</span></pre></td>
|
765
|
-
</tr>
|
766
|
-
</tbody>
|
767
|
-
</table>
|
768
|
-
</div>
|
769
|
-
|
770
|
-
<div class="variablelist"><table border="0">
|
771
|
-
<col align="left" valign="top">
|
772
|
-
<tbody>
|
773
|
-
<tr>
|
774
|
-
<td><p><span class="term"><em class="parameter"><code>expr</code></em> :</span></p></td>
|
775
|
-
<td>the expression
|
776
|
-
</td>
|
777
|
-
</tr>
|
778
|
-
<tr>
|
779
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
780
|
-
<td>the value of <em class="parameter"><code>expr</code></em>
|
781
|
-
</td>
|
782
|
-
</tr>
|
783
|
-
</tbody>
|
784
|
-
</table></div>
|
785
|
-
<p class="since">Since 2.2</p>
|
786
|
-
</div>
|
787
|
-
<hr>
|
788
|
-
<div class="refsect2">
|
789
|
-
<a name="G-UNLIKELY:CAPS"></a><h3>G_UNLIKELY()</h3>
|
790
|
-
<pre class="programlisting">#define G_UNLIKELY(expr)</pre>
|
791
|
-
<p>
|
792
|
-
Hints the compiler that the expression is unlikely to evaluate to a true
|
793
|
-
value. The compiler may use this information for optimizations.
|
794
|
-
</p>
|
795
|
-
<div class="informalexample">
|
796
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
797
|
-
<tbody>
|
798
|
-
<tr>
|
799
|
-
<td class="listing_lines" align="right"><pre>1
|
800
|
-
2</pre></td>
|
801
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-Miscellaneous-Macros.html#G-UNLIKELY:CAPS">G_UNLIKELY</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">random</span><span class="normal"> </span><span class="symbol">()</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">1</span><span class="symbol">))</span>
|
802
|
-
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"a random one"</span><span class="symbol">);</span></pre></td>
|
803
|
-
</tr>
|
804
|
-
</tbody>
|
805
|
-
</table>
|
806
|
-
</div>
|
807
|
-
|
808
|
-
<div class="variablelist"><table border="0">
|
809
|
-
<col align="left" valign="top">
|
810
|
-
<tbody>
|
811
|
-
<tr>
|
812
|
-
<td><p><span class="term"><em class="parameter"><code>expr</code></em> :</span></p></td>
|
813
|
-
<td>the expression
|
814
|
-
</td>
|
815
|
-
</tr>
|
816
|
-
<tr>
|
817
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
818
|
-
<td>the value of <em class="parameter"><code>expr</code></em>
|
819
|
-
</td>
|
820
|
-
</tr>
|
821
|
-
</tbody>
|
822
|
-
</table></div>
|
823
|
-
<p class="since">Since 2.2</p>
|
824
|
-
</div>
|
825
|
-
<hr>
|
826
|
-
<div class="refsect2">
|
827
|
-
<a name="G-STRLOC:CAPS"></a><h3>G_STRLOC</h3>
|
828
|
-
<pre class="programlisting">#define G_STRLOC</pre>
|
829
|
-
<p>
|
830
|
-
Expands to a string identifying the current code position.
|
831
|
-
</p>
|
832
|
-
</div>
|
833
|
-
<hr>
|
834
|
-
<div class="refsect2">
|
835
|
-
<a name="G-STRFUNC:CAPS"></a><h3>G_STRFUNC</h3>
|
836
|
-
<pre class="programlisting">#define G_STRFUNC</pre>
|
837
|
-
<p>
|
838
|
-
Expands to a string identifying the current function.
|
839
|
-
</p>
|
840
|
-
<p class="since">Since 2.4</p>
|
841
|
-
</div>
|
842
|
-
<hr>
|
843
|
-
<div class="refsect2">
|
844
|
-
<a name="G-GINT16-MODIFIER:CAPS"></a><h3>G_GINT16_MODIFIER</h3>
|
845
|
-
<pre class="programlisting">#define G_GINT16_MODIFIER "h"
|
846
|
-
</pre>
|
847
|
-
<p>
|
848
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
849
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> or <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a>. It is a string literal,
|
850
|
-
but doesn't include the percent-sign, such that you can add precision and
|
851
|
-
length modifiers between percent-sign and conversion specifier and append a
|
852
|
-
conversion specifier.
|
853
|
-
</p>
|
854
|
-
<p>
|
855
|
-
The following example prints "0x7b";
|
856
|
-
</p>
|
857
|
-
<div class="informalexample">
|
858
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
859
|
-
<tbody>
|
860
|
-
<tr>
|
861
|
-
<td class="listing_lines" align="right"><pre>1
|
862
|
-
2</pre></td>
|
863
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">gint16</span><span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="number">123</span><span class="symbol">;</span>
|
864
|
-
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%#"</span><span class="normal"> <a href="glib-Miscellaneous-Macros.html#G-GINT16-MODIFIER:CAPS">G_GINT16_MODIFIER</a> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> value</span><span class="symbol">);</span></pre></td>
|
865
|
-
</tr>
|
866
|
-
</tbody>
|
867
|
-
</table>
|
868
|
-
</div>
|
869
|
-
|
870
|
-
<p>
|
871
|
-
</p>
|
872
|
-
<p class="since">Since 2.4</p>
|
873
|
-
</div>
|
874
|
-
<hr>
|
875
|
-
<div class="refsect2">
|
876
|
-
<a name="G-GINT16-FORMAT:CAPS"></a><h3>G_GINT16_FORMAT</h3>
|
877
|
-
<pre class="programlisting">#define G_GINT16_FORMAT "hi"
|
878
|
-
</pre>
|
879
|
-
<p>
|
880
|
-
This is the platform dependent conversion specifier for scanning and
|
881
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a>. It is a string literal, but doesn't
|
882
|
-
include the percent-sign, such that you can add precision and length
|
883
|
-
modifiers between percent-sign and conversion specifier.
|
884
|
-
</p>
|
885
|
-
<p>
|
886
|
-
</p>
|
887
|
-
<div class="informalexample">
|
888
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
889
|
-
<tbody>
|
890
|
-
<tr>
|
891
|
-
<td class="listing_lines" align="right"><pre>1
|
892
|
-
2
|
893
|
-
3
|
894
|
-
4
|
895
|
-
5</pre></td>
|
896
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">gint16</span><span class="normal"> in</span><span class="symbol">;</span>
|
897
|
-
<span class="usertype">gint32</span><span class="normal"> out</span><span class="symbol">;</span>
|
898
|
-
<span class="function">sscanf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"42"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"%"</span><span class="normal"> <a href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS">G_GINT16_FORMAT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">in</span><span class="symbol">)</span>
|
899
|
-
<span class="normal">out </span><span class="symbol">=</span><span class="normal"> in </span><span class="symbol">*</span><span class="normal"> </span><span class="number">1000</span><span class="symbol">;</span>
|
900
|
-
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%"</span><span class="normal"> <a href="glib-Miscellaneous-Macros.html#G-GINT32-FORMAT:CAPS">G_GINT32_FORMAT</a></span><span class="symbol">,</span><span class="normal"> out</span><span class="symbol">);</span></pre></td>
|
901
|
-
</tr>
|
902
|
-
</tbody>
|
903
|
-
</table>
|
904
|
-
</div>
|
905
|
-
|
906
|
-
<p>
|
907
|
-
</p>
|
908
|
-
</div>
|
909
|
-
<hr>
|
910
|
-
<div class="refsect2">
|
911
|
-
<a name="G-GUINT16-FORMAT:CAPS"></a><h3>G_GUINT16_FORMAT</h3>
|
912
|
-
<pre class="programlisting">#define G_GUINT16_FORMAT "hu"
|
913
|
-
</pre>
|
914
|
-
<p>
|
915
|
-
This is the platform dependent conversion specifier for scanning and
|
916
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
917
|
-
</p>
|
918
|
-
</div>
|
919
|
-
<hr>
|
920
|
-
<div class="refsect2">
|
921
|
-
<a name="G-GINT32-MODIFIER:CAPS"></a><h3>G_GINT32_MODIFIER</h3>
|
922
|
-
<pre class="programlisting">#define G_GINT32_MODIFIER ""
|
923
|
-
</pre>
|
924
|
-
<p>
|
925
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
926
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> or <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a>. It is a string literal,
|
927
|
-
See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-MODIFIER:CAPS" title="G_GINT16_MODIFIER"><span class="type">G_GINT16_MODIFIER</span></a>.
|
928
|
-
</p>
|
929
|
-
<p class="since">Since 2.4</p>
|
930
|
-
</div>
|
931
|
-
<hr>
|
932
|
-
<div class="refsect2">
|
933
|
-
<a name="G-GINT32-FORMAT:CAPS"></a><h3>G_GINT32_FORMAT</h3>
|
934
|
-
<pre class="programlisting">#define G_GINT32_FORMAT "i"
|
935
|
-
</pre>
|
936
|
-
<p>
|
937
|
-
This is the platform dependent conversion specifier for scanning and
|
938
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
939
|
-
</p>
|
940
|
-
</div>
|
941
|
-
<hr>
|
942
|
-
<div class="refsect2">
|
943
|
-
<a name="G-GUINT32-FORMAT:CAPS"></a><h3>G_GUINT32_FORMAT</h3>
|
944
|
-
<pre class="programlisting">#define G_GUINT32_FORMAT "u"
|
945
|
-
</pre>
|
946
|
-
<p>
|
947
|
-
This is the platform dependent conversion specifier for scanning and
|
948
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
949
|
-
</p>
|
950
|
-
</div>
|
951
|
-
<hr>
|
952
|
-
<div class="refsect2">
|
953
|
-
<a name="G-GINT64-MODIFIER:CAPS"></a><h3>G_GINT64_MODIFIER</h3>
|
954
|
-
<pre class="programlisting">#define G_GINT64_MODIFIER "l"
|
955
|
-
</pre>
|
956
|
-
<p>
|
957
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
958
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> or <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a>. It is a string literal.
|
959
|
-
</p>
|
960
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
961
|
-
<h3 class="title">Note</h3>
|
962
|
-
<p>
|
963
|
-
Some platforms do not support printing 64 bit integers,
|
964
|
-
even though the types are supported. On such platforms <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-MODIFIER:CAPS" title="G_GINT64_MODIFIER"><span class="type">G_GINT64_MODIFIER</span></a>
|
965
|
-
is not defined.
|
966
|
-
</p>
|
967
|
-
</div>
|
968
|
-
<p class="since">Since 2.4</p>
|
969
|
-
</div>
|
970
|
-
<hr>
|
971
|
-
<div class="refsect2">
|
972
|
-
<a name="G-GINT64-FORMAT:CAPS"></a><h3>G_GINT64_FORMAT</h3>
|
973
|
-
<pre class="programlisting">#define G_GINT64_FORMAT "li"
|
974
|
-
</pre>
|
975
|
-
<p>
|
976
|
-
This is the platform dependent conversion specifier for scanning and
|
977
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
978
|
-
</p>
|
979
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
980
|
-
<h3 class="title">Note</h3>
|
981
|
-
<p>
|
982
|
-
Some platforms do not support scanning and printing 64 bit integers,
|
983
|
-
even though the types are supported. On such platforms <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-FORMAT:CAPS" title="G_GINT64_FORMAT"><span class="type">G_GINT64_FORMAT</span></a>
|
984
|
-
is not defined. Note that <code class="function">scanf()</code> may not support 64 bit integers, even
|
985
|
-
if <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-FORMAT:CAPS" title="G_GINT64_FORMAT"><span class="type">G_GINT64_FORMAT</span></a> is defined. Due to its weak error handling, <code class="function">scanf()</code>
|
986
|
-
is not recommended for parsing anyway; consider using <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtoull" title="g_ascii_strtoull ()"><code class="function">g_ascii_strtoull()</code></a>
|
987
|
-
instead.
|
988
|
-
</p>
|
989
|
-
</div>
|
990
|
-
</div>
|
991
|
-
<hr>
|
992
|
-
<div class="refsect2">
|
993
|
-
<a name="G-GUINT64-FORMAT:CAPS"></a><h3>G_GUINT64_FORMAT</h3>
|
994
|
-
<pre class="programlisting">#define G_GUINT64_FORMAT "lu"
|
995
|
-
</pre>
|
996
|
-
<p>
|
997
|
-
This is the platform dependent conversion specifier for scanning and
|
998
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
999
|
-
</p>
|
1000
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1001
|
-
<h3 class="title">Note</h3>
|
1002
|
-
<p>
|
1003
|
-
Some platforms do not support scanning and printing 64 bit integers,
|
1004
|
-
even though the types are supported. On such platforms <a class="link" href="glib-Miscellaneous-Macros.html#G-GUINT64-FORMAT:CAPS" title="G_GUINT64_FORMAT"><span class="type">G_GUINT64_FORMAT</span></a>
|
1005
|
-
is not defined. Note that <code class="function">scanf()</code> may not support 64 bit integers, even
|
1006
|
-
if <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-FORMAT:CAPS" title="G_GINT64_FORMAT"><span class="type">G_GINT64_FORMAT</span></a> is defined. Due to its weak error handling, <code class="function">scanf()</code> is not
|
1007
|
-
recommended for parsing anyway; consider using <code class="function">g_strtoull()</code> instead.
|
1008
|
-
</p>
|
1009
|
-
</div>
|
1010
|
-
</div>
|
1011
|
-
<hr>
|
1012
|
-
<div class="refsect2">
|
1013
|
-
<a name="G-GSIZE-MODIFIER:CAPS"></a><h3>G_GSIZE_MODIFIER</h3>
|
1014
|
-
<pre class="programlisting">#define G_GSIZE_MODIFIER "l"
|
1015
|
-
</pre>
|
1016
|
-
<p>
|
1017
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
1018
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> or <a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a>. It is a string literal,
|
1019
|
-
</p>
|
1020
|
-
<p class="since">Since 2.6</p>
|
1021
|
-
</div>
|
1022
|
-
<hr>
|
1023
|
-
<div class="refsect2">
|
1024
|
-
<a name="G-GSIZE-FORMAT:CAPS"></a><h3>G_GSIZE_FORMAT</h3>
|
1025
|
-
<pre class="programlisting">#define G_GSIZE_FORMAT "lu"
|
1026
|
-
</pre>
|
1027
|
-
<p>
|
1028
|
-
This is the platform dependent conversion specifier for scanning and
|
1029
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
1030
|
-
</p>
|
1031
|
-
<p class="since">Since 2.6</p>
|
1032
|
-
</div>
|
1033
|
-
<hr>
|
1034
|
-
<div class="refsect2">
|
1035
|
-
<a name="G-GSSIZE-FORMAT:CAPS"></a><h3>G_GSSIZE_FORMAT</h3>
|
1036
|
-
<pre class="programlisting">#define G_GSSIZE_FORMAT "li"
|
1037
|
-
</pre>
|
1038
|
-
<p>
|
1039
|
-
This is the platform dependent conversion specifier for scanning and
|
1040
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT16-FORMAT:CAPS" title="G_GINT16_FORMAT"><span class="type">G_GINT16_FORMAT</span></a>.
|
1041
|
-
</p>
|
1042
|
-
<p class="since">Since 2.6</p>
|
1043
|
-
</div>
|
1044
|
-
<hr>
|
1045
|
-
<div class="refsect2">
|
1046
|
-
<a name="G-GOFFSET-MODIFIER:CAPS"></a><h3>G_GOFFSET_MODIFIER</h3>
|
1047
|
-
<pre class="programlisting">#define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
|
1048
|
-
</pre>
|
1049
|
-
<p>
|
1050
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
1051
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a>. It is a string literal. See also
|
1052
|
-
<a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-MODIFIER:CAPS" title="G_GINT64_MODIFIER"><span class="type">G_GINT64_MODIFIER</span></a>.
|
1053
|
-
</p>
|
1054
|
-
<p class="since">Since 2.20</p>
|
1055
|
-
</div>
|
1056
|
-
<hr>
|
1057
|
-
<div class="refsect2">
|
1058
|
-
<a name="G-GOFFSET-FORMAT:CAPS"></a><h3>G_GOFFSET_FORMAT</h3>
|
1059
|
-
<pre class="programlisting">#define G_GOFFSET_FORMAT G_GINT64_FORMAT
|
1060
|
-
</pre>
|
1061
|
-
<p>
|
1062
|
-
This is the platform dependent conversion specifier for scanning and
|
1063
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a>. See also <a class="link" href="glib-Miscellaneous-Macros.html#G-GINT64-FORMAT:CAPS" title="G_GINT64_FORMAT"><span class="type">G_GINT64_FORMAT</span></a>.
|
1064
|
-
</p>
|
1065
|
-
Since: 2.20</div>
|
1066
|
-
<hr>
|
1067
|
-
<div class="refsect2">
|
1068
|
-
<a name="G-GINTPTR-MODIFIER:CAPS"></a><h3>G_GINTPTR_MODIFIER</h3>
|
1069
|
-
<pre class="programlisting">#define G_GINTPTR_MODIFIER "l"
|
1070
|
-
</pre>
|
1071
|
-
<p>
|
1072
|
-
The platform dependent length modifier for conversion specifiers for scanning
|
1073
|
-
and printing values of type <a class="link" href="glib-Basic-Types.html#gintptr" title="gintptr"><span class="type">gintptr</span></a> or <a class="link" href="glib-Basic-Types.html#guintptr" title="guintptr"><span class="type">guintptr</span></a>. It is a string literal.
|
1074
|
-
</p>
|
1075
|
-
<p class="since">Since 2.22</p>
|
1076
|
-
</div>
|
1077
|
-
<hr>
|
1078
|
-
<div class="refsect2">
|
1079
|
-
<a name="G-GINTPTR-FORMAT:CAPS"></a><h3>G_GINTPTR_FORMAT</h3>
|
1080
|
-
<pre class="programlisting">#define G_GINTPTR_FORMAT "li"
|
1081
|
-
</pre>
|
1082
|
-
<p>
|
1083
|
-
This is the platform dependent conversion specifier for scanning and
|
1084
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#gintptr" title="gintptr"><span class="type">gintptr</span></a>.
|
1085
|
-
</p>
|
1086
|
-
<p class="since">Since 2.22</p>
|
1087
|
-
</div>
|
1088
|
-
<hr>
|
1089
|
-
<div class="refsect2">
|
1090
|
-
<a name="G-GUINTPTR-FORMAT:CAPS"></a><h3>G_GUINTPTR_FORMAT</h3>
|
1091
|
-
<pre class="programlisting">#define G_GUINTPTR_FORMAT "lu"
|
1092
|
-
</pre>
|
1093
|
-
<p>
|
1094
|
-
This is the platform dependent conversion specifier for scanning and
|
1095
|
-
printing values of type <a class="link" href="glib-Basic-Types.html#guintptr" title="guintptr"><span class="type">guintptr</span></a>.
|
1096
|
-
</p>
|
1097
|
-
<p class="since">Since 2.22</p>
|
1098
|
-
</div>
|
1099
|
-
</div>
|
1100
|
-
</div>
|
1101
|
-
<div class="footer">
|
1102
|
-
<hr>
|
1103
|
-
Generated by GTK-Doc V1.15.1</div>
|
1104
|
-
</body>
|
1105
|
-
</html>
|