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,1451 +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>Lexical Scanner</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-utilities.html" title="GLib Utilities">
|
9
|
-
<link rel="prev" href="glib-Miscellaneous-Utility-Functions.html" title="Miscellaneous Utility Functions">
|
10
|
-
<link rel="next" href="glib-Automatic-String-Completion.html" title="Automatic String Completion">
|
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-Miscellaneous-Utility-Functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="glib-utilities.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-Automatic-String-Completion.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-Lexical-Scanner.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#glib-Lexical-Scanner.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="glib-Lexical-Scanner"></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-Lexical-Scanner.top_of_page"></a>Lexical Scanner</span></h2>
|
34
|
-
<p>Lexical Scanner — a general purpose lexical scanner</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="glib-Lexical-Scanner.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib.h>
|
42
|
-
|
43
|
-
<a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner">GScanner</a>;
|
44
|
-
<a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig">GScannerConfig</a>;
|
45
|
-
<a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="returnvalue">GScanner</span></a> * <a class="link" href="glib-Lexical-Scanner.html#g-scanner-new" title="g_scanner_new ()">g_scanner_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a> *config_templ</code></em>);
|
46
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-destroy" title="g_scanner_destroy ()">g_scanner_destroy</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
47
|
-
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-input-file" title="g_scanner_input_file ()">g_scanner_input_file</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> input_fd</code></em>);
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-sync-file-offset" title="g_scanner_sync_file_offset ()">g_scanner_sync_file_offset</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
51
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-input-text" title="g_scanner_input_text ()">g_scanner_input_text</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
52
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
53
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> text_len</code></em>);
|
54
|
-
<a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()">g_scanner_peek_next_token</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
55
|
-
<a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()">g_scanner_get_next_token</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
56
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-eof" title="g_scanner_eof ()">g_scanner_eof</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
57
|
-
|
58
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-cur-line" title="g_scanner_cur_line ()">g_scanner_cur_line</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
59
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-cur-position" title="g_scanner_cur_position ()">g_scanner_cur_position</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
60
|
-
<a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-cur-token" title="g_scanner_cur_token ()">g_scanner_cur_token</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
61
|
-
<a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue"><span class="returnvalue">GTokenValue</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-cur-value" title="g_scanner_cur_value ()">g_scanner_cur_value</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);
|
62
|
-
|
63
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-set-scope" title="g_scanner_set_scope ()">g_scanner_set_scope</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>);
|
65
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-add-symbol" title="g_scanner_scope_add_symbol ()">g_scanner_scope_add_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
67
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>,
|
68
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>);
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-foreach-symbol" title="g_scanner_scope_foreach_symbol ()">g_scanner_scope_foreach_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
71
|
-
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHFunc" title="GHFunc ()"><span class="type">GHFunc</span></a> func</code></em>,
|
72
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
73
|
-
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-lookup-symbol" title="g_scanner_scope_lookup_symbol ()">g_scanner_scope_lookup_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
75
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-remove-symbol" title="g_scanner_scope_remove_symbol ()">g_scanner_scope_remove_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
77
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
78
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);
|
79
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#g-scanner-add-symbol" title="g_scanner_add_symbol()">g_scanner_add_symbol</a> (scanner,
|
80
|
-
symbol,
|
81
|
-
value)
|
82
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#g-scanner-remove-symbol" title="g_scanner_remove_symbol()">g_scanner_remove_symbol</a> (scanner,
|
83
|
-
symbol)
|
84
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#g-scanner-foreach-symbol" title="g_scanner_foreach_symbol()">g_scanner_foreach_symbol</a> (scanner,
|
85
|
-
func,
|
86
|
-
data)
|
87
|
-
|
88
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#g-scanner-freeze-symbol-table" title="g_scanner_freeze_symbol_table()">g_scanner_freeze_symbol_table</a> (scanner)
|
89
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#g-scanner-thaw-symbol-table" title="g_scanner_thaw_symbol_table()">g_scanner_thaw_symbol_table</a> (scanner)
|
90
|
-
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-lookup-symbol" title="g_scanner_lookup_symbol ()">g_scanner_lookup_symbol</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
91
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);
|
92
|
-
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-warn" title="g_scanner_warn ()">g_scanner_warn</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
94
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
95
|
-
<em class="parameter"><code>...</code></em>);
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-error" title="g_scanner_error ()">g_scanner_error</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
97
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
98
|
-
<em class="parameter"><code>...</code></em>);
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Lexical-Scanner.html#g-scanner-unexp-token" title="g_scanner_unexp_token ()">g_scanner_unexp_token</a> (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
100
|
-
<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="type">GTokenType</span></a> expected_token</code></em>,
|
101
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier_spec</code></em>,
|
102
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_spec</code></em>,
|
103
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_name</code></em>,
|
104
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
|
105
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> is_error</code></em>);
|
106
|
-
<span class="returnvalue">void</span> (<a class="link" href="glib-Lexical-Scanner.html#GScannerMsgFunc" title="GScannerMsgFunc ()">*GScannerMsgFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
107
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
|
108
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> error</code></em>);
|
109
|
-
|
110
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#G-CSET-a-2-z" title="G_CSET_a_2_z">G_CSET_a_2_z</a>
|
111
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#G-CSET-A-2-Z:CAPS" title="G_CSET_A_2_Z">G_CSET_A_2_Z</a>
|
112
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#G-CSET-DIGITS:CAPS" title="G_CSET_DIGITS">G_CSET_DIGITS</a>
|
113
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#G-CSET-LATINC:CAPS" title="G_CSET_LATINC">G_CSET_LATINC</a>
|
114
|
-
#define <a class="link" href="glib-Lexical-Scanner.html#G-CSET-LATINS:CAPS" title="G_CSET_LATINS">G_CSET_LATINS</a>
|
115
|
-
enum <a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType">GTokenType</a>;
|
116
|
-
union <a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue">GTokenValue</a>;
|
117
|
-
enum <a class="link" href="glib-Lexical-Scanner.html#GErrorType" title="enum GErrorType">GErrorType</a>;
|
118
|
-
</pre>
|
119
|
-
</div>
|
120
|
-
<div class="refsect1">
|
121
|
-
<a name="glib-Lexical-Scanner.description"></a><h2>Description</h2>
|
122
|
-
<p>
|
123
|
-
The <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> and its associated functions provide a general purpose
|
124
|
-
lexical scanner.
|
125
|
-
</p>
|
126
|
-
</div>
|
127
|
-
<div class="refsect1">
|
128
|
-
<a name="glib-Lexical-Scanner.details"></a><h2>Details</h2>
|
129
|
-
<div class="refsect2">
|
130
|
-
<a name="GScanner"></a><h3>GScanner</h3>
|
131
|
-
<pre class="programlisting">typedef struct {
|
132
|
-
/* unused fields */
|
133
|
-
gpointer user_data;
|
134
|
-
guint max_parse_errors;
|
135
|
-
|
136
|
-
/* g_scanner_error() increments this field */
|
137
|
-
guint parse_errors;
|
138
|
-
|
139
|
-
/* name of input stream, featured by the default message handler */
|
140
|
-
const gchar *input_name;
|
141
|
-
|
142
|
-
/* quarked data */
|
143
|
-
GData *qdata;
|
144
|
-
|
145
|
-
/* link into the scanner configuration */
|
146
|
-
GScannerConfig *config;
|
147
|
-
|
148
|
-
/* fields filled in after g_scanner_get_next_token() */
|
149
|
-
GTokenType token;
|
150
|
-
GTokenValue value;
|
151
|
-
guint line;
|
152
|
-
guint position;
|
153
|
-
|
154
|
-
/* fields filled in after g_scanner_peek_next_token() */
|
155
|
-
GTokenType next_token;
|
156
|
-
GTokenValue next_value;
|
157
|
-
guint next_line;
|
158
|
-
guint next_position;
|
159
|
-
|
160
|
-
/* to be considered private */
|
161
|
-
GHashTable *symbol_table;
|
162
|
-
gint input_fd;
|
163
|
-
const gchar *text;
|
164
|
-
const gchar *text_end;
|
165
|
-
gchar *buffer;
|
166
|
-
guint scope_id;
|
167
|
-
|
168
|
-
/* handler function for _warn and _error */
|
169
|
-
GScannerMsgFunc msg_handler;
|
170
|
-
} GScanner;
|
171
|
-
</pre>
|
172
|
-
<p>
|
173
|
-
The data structure representing a lexical scanner.
|
174
|
-
</p>
|
175
|
-
<p>
|
176
|
-
You should set <em class="structfield"><code>input_name</code></em> after creating
|
177
|
-
the scanner, since it is used by the default message handler when
|
178
|
-
displaying warnings and errors. If you are scanning a file, the file
|
179
|
-
name would be a good choice.
|
180
|
-
</p>
|
181
|
-
<p>
|
182
|
-
The <em class="structfield"><code>user_data</code></em> and
|
183
|
-
<em class="structfield"><code>max_parse_errors</code></em> fields are not used.
|
184
|
-
If you need to associate extra data with the scanner you can place them here.
|
185
|
-
</p>
|
186
|
-
<p>
|
187
|
-
If you want to use your own message handler you can set the
|
188
|
-
<em class="structfield"><code>msg_handler</code></em> field. The type of the message
|
189
|
-
handler function is declared by <a class="link" href="glib-Lexical-Scanner.html#GScannerMsgFunc" title="GScannerMsgFunc ()"><span class="type">GScannerMsgFunc</span></a>.
|
190
|
-
</p>
|
191
|
-
<div class="variablelist"><table border="0">
|
192
|
-
<col align="left" valign="top">
|
193
|
-
<tbody>
|
194
|
-
<tr>
|
195
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GScanner.user-data"></a>user_data</code></em>;</span></p></td>
|
196
|
-
<td>
|
197
|
-
</td>
|
198
|
-
</tr>
|
199
|
-
<tr>
|
200
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.max-parse-errors"></a>max_parse_errors</code></em>;</span></p></td>
|
201
|
-
<td>
|
202
|
-
</td>
|
203
|
-
</tr>
|
204
|
-
<tr>
|
205
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.parse-errors"></a>parse_errors</code></em>;</span></p></td>
|
206
|
-
<td>
|
207
|
-
</td>
|
208
|
-
</tr>
|
209
|
-
<tr>
|
210
|
-
<td><p><span class="term">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GScanner.input-name"></a>input_name</code></em>;</span></p></td>
|
211
|
-
<td>
|
212
|
-
</td>
|
213
|
-
</tr>
|
214
|
-
<tr>
|
215
|
-
<td><p><span class="term"><a class="link" href="glib-Keyed-Data-Lists.html#GData" title="GData"><span class="type">GData</span></a> *<em class="structfield"><code><a name="GScanner.qdata"></a>qdata</code></em>;</span></p></td>
|
216
|
-
<td>
|
217
|
-
</td>
|
218
|
-
</tr>
|
219
|
-
<tr>
|
220
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a> *<em class="structfield"><code><a name="GScanner.config"></a>config</code></em>;</span></p></td>
|
221
|
-
<td>
|
222
|
-
</td>
|
223
|
-
</tr>
|
224
|
-
<tr>
|
225
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="type">GTokenType</span></a> <em class="structfield"><code><a name="GScanner.token"></a>token</code></em>;</span></p></td>
|
226
|
-
<td> token parsed by the last <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>
|
227
|
-
</td>
|
228
|
-
</tr>
|
229
|
-
<tr>
|
230
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue"><span class="type">GTokenValue</span></a> <em class="structfield"><code><a name="GScanner.value"></a>value</code></em>;</span></p></td>
|
231
|
-
<td> value of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>
|
232
|
-
</td>
|
233
|
-
</tr>
|
234
|
-
<tr>
|
235
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.line"></a>line</code></em>;</span></p></td>
|
236
|
-
<td> line number of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>
|
237
|
-
</td>
|
238
|
-
</tr>
|
239
|
-
<tr>
|
240
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.position"></a>position</code></em>;</span></p></td>
|
241
|
-
<td> char number of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>
|
242
|
-
</td>
|
243
|
-
</tr>
|
244
|
-
<tr>
|
245
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="type">GTokenType</span></a> <em class="structfield"><code><a name="GScanner.next-token"></a>next_token</code></em>;</span></p></td>
|
246
|
-
<td> token parsed by the last <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a>
|
247
|
-
</td>
|
248
|
-
</tr>
|
249
|
-
<tr>
|
250
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue"><span class="type">GTokenValue</span></a> <em class="structfield"><code><a name="GScanner.next-value"></a>next_value</code></em>;</span></p></td>
|
251
|
-
<td> value of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a>
|
252
|
-
</td>
|
253
|
-
</tr>
|
254
|
-
<tr>
|
255
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.next-line"></a>next_line</code></em>;</span></p></td>
|
256
|
-
<td> line number of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a>
|
257
|
-
</td>
|
258
|
-
</tr>
|
259
|
-
<tr>
|
260
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.next-position"></a>next_position</code></em>;</span></p></td>
|
261
|
-
<td>char number of the last token from <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a>
|
262
|
-
</td>
|
263
|
-
</tr>
|
264
|
-
<tr>
|
265
|
-
<td><p><span class="term"><a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> *<em class="structfield"><code><a name="GScanner.symbol-table"></a>symbol_table</code></em>;</span></p></td>
|
266
|
-
<td>
|
267
|
-
</td>
|
268
|
-
</tr>
|
269
|
-
<tr>
|
270
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GScanner.input-fd"></a>input_fd</code></em>;</span></p></td>
|
271
|
-
<td>
|
272
|
-
</td>
|
273
|
-
</tr>
|
274
|
-
<tr>
|
275
|
-
<td><p><span class="term">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GScanner.text"></a>text</code></em>;</span></p></td>
|
276
|
-
<td>
|
277
|
-
</td>
|
278
|
-
</tr>
|
279
|
-
<tr>
|
280
|
-
<td><p><span class="term">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GScanner.text-end"></a>text_end</code></em>;</span></p></td>
|
281
|
-
<td>
|
282
|
-
</td>
|
283
|
-
</tr>
|
284
|
-
<tr>
|
285
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GScanner.buffer"></a>buffer</code></em>;</span></p></td>
|
286
|
-
<td>
|
287
|
-
</td>
|
288
|
-
</tr>
|
289
|
-
<tr>
|
290
|
-
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GScanner.scope-id"></a>scope_id</code></em>;</span></p></td>
|
291
|
-
<td>
|
292
|
-
</td>
|
293
|
-
</tr>
|
294
|
-
<tr>
|
295
|
-
<td><p><span class="term"><a class="link" href="glib-Lexical-Scanner.html#GScannerMsgFunc" title="GScannerMsgFunc ()"><span class="type">GScannerMsgFunc</span></a> <em class="structfield"><code><a name="GScanner.msg-handler"></a>msg_handler</code></em>;</span></p></td>
|
296
|
-
<td>function to handle GScanner message output
|
297
|
-
</td>
|
298
|
-
</tr>
|
299
|
-
</tbody>
|
300
|
-
</table></div>
|
301
|
-
</div>
|
302
|
-
<hr>
|
303
|
-
<div class="refsect2">
|
304
|
-
<a name="GScannerConfig"></a><h3>GScannerConfig</h3>
|
305
|
-
<pre class="programlisting">typedef struct {
|
306
|
-
/* Character sets
|
307
|
-
*/
|
308
|
-
gchar *cset_skip_characters; /* default: " \t\n" */
|
309
|
-
gchar *cset_identifier_first;
|
310
|
-
gchar *cset_identifier_nth;
|
311
|
-
gchar *cpair_comment_single; /* default: "#\n" */
|
312
|
-
|
313
|
-
/* Should symbol lookup work case sensitive?
|
314
|
-
*/
|
315
|
-
guint case_sensitive : 1;
|
316
|
-
|
317
|
-
/* Boolean values to be adjusted "on the fly"
|
318
|
-
* to configure scanning behaviour.
|
319
|
-
*/
|
320
|
-
guint skip_comment_multi : 1; /* C like comment */
|
321
|
-
guint skip_comment_single : 1; /* single line comment */
|
322
|
-
guint scan_comment_multi : 1; /* scan multi line comments? */
|
323
|
-
guint scan_identifier : 1;
|
324
|
-
guint scan_identifier_1char : 1;
|
325
|
-
guint scan_identifier_NULL : 1;
|
326
|
-
guint scan_symbols : 1;
|
327
|
-
guint scan_binary : 1;
|
328
|
-
guint scan_octal : 1;
|
329
|
-
guint scan_float : 1;
|
330
|
-
guint scan_hex : 1; /* `0x0ff0' */
|
331
|
-
guint scan_hex_dollar : 1; /* `$0ff0' */
|
332
|
-
guint scan_string_sq : 1; /* string: 'anything' */
|
333
|
-
guint scan_string_dq : 1; /* string: "\\-escapes!\n" */
|
334
|
-
guint numbers_2_int : 1; /* bin, octal, hex => int */
|
335
|
-
guint int_2_float : 1; /* int => G_TOKEN_FLOAT? */
|
336
|
-
guint identifier_2_string : 1;
|
337
|
-
guint char_2_token : 1; /* return G_TOKEN_CHAR? */
|
338
|
-
guint symbol_2_token : 1;
|
339
|
-
guint scope_0_fallback : 1; /* try scope 0 on lookups? */
|
340
|
-
guint store_int64 : 1; /* use value.v_int64 rather than v_int */
|
341
|
-
guint padding_dummy;
|
342
|
-
} GScannerConfig;
|
343
|
-
</pre>
|
344
|
-
<p>
|
345
|
-
Specifies the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> parser configuration. Most settings can be changed during
|
346
|
-
the parsing phase and will affect the lexical parsing of the next unpeeked token.
|
347
|
-
</p>
|
348
|
-
<p>
|
349
|
-
<em class="structfield"><code>cset_skip_characters</code></em> specifies which characters
|
350
|
-
should be skipped by the scanner (the default is the whitespace characters:
|
351
|
-
space, tab, carriage-return and line-feed).
|
352
|
-
</p>
|
353
|
-
<p>
|
354
|
-
<em class="structfield"><code>cset_identifier_first</code></em> specifies the characters
|
355
|
-
which can start identifiers (the default is <a class="link" href="glib-Lexical-Scanner.html#G-CSET-a-2-z" title="G_CSET_a_2_z"><span class="type">G_CSET_a_2_z</span></a>, "_", and
|
356
|
-
<a class="link" href="glib-Lexical-Scanner.html#G-CSET-A-2-Z:CAPS" title="G_CSET_A_2_Z"><span class="type">G_CSET_A_2_Z</span></a>).
|
357
|
-
</p>
|
358
|
-
<p>
|
359
|
-
<em class="structfield"><code>cset_identifier_nth</code></em> specifies the characters
|
360
|
-
which can be used in identifiers, after the first character (the default
|
361
|
-
is <a class="link" href="glib-Lexical-Scanner.html#G-CSET-a-2-z" title="G_CSET_a_2_z"><span class="type">G_CSET_a_2_z</span></a>, "_0123456789", <a class="link" href="glib-Lexical-Scanner.html#G-CSET-A-2-Z:CAPS" title="G_CSET_A_2_Z"><span class="type">G_CSET_A_2_Z</span></a>, <a class="link" href="glib-Lexical-Scanner.html#G-CSET-LATINS:CAPS" title="G_CSET_LATINS"><span class="type">G_CSET_LATINS</span></a>,
|
362
|
-
<a class="link" href="glib-Lexical-Scanner.html#G-CSET-LATINC:CAPS" title="G_CSET_LATINC"><span class="type">G_CSET_LATINC</span></a>).
|
363
|
-
</p>
|
364
|
-
<p>
|
365
|
-
<em class="structfield"><code>cpair_comment_single</code></em> specifies the characters
|
366
|
-
at the start and end of single-line comments. The default is "#\n" which
|
367
|
-
means that single-line comments start with a '#' and continue until a '\n'
|
368
|
-
(end of line).
|
369
|
-
</p>
|
370
|
-
<p>
|
371
|
-
<em class="structfield"><code>case_sensitive</code></em> specifies if symbols are
|
372
|
-
case sensitive (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
373
|
-
</p>
|
374
|
-
<p>
|
375
|
-
<em class="structfield"><code>skip_comment_multi</code></em> specifies if multi-line
|
376
|
-
comments are skipped and not returned as tokens (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
377
|
-
</p>
|
378
|
-
<p>
|
379
|
-
<em class="structfield"><code>skip_comment_single</code></em> specifies if single-line
|
380
|
-
comments are skipped and not returned as tokens (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
381
|
-
</p>
|
382
|
-
<p>
|
383
|
-
<em class="structfield"><code>scan_comment_multi</code></em> specifies if multi-line
|
384
|
-
comments are recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
385
|
-
</p>
|
386
|
-
<p>
|
387
|
-
<em class="structfield"><code>scan_identifier</code></em> specifies if identifiers
|
388
|
-
are recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
389
|
-
</p>
|
390
|
-
<p>
|
391
|
-
<em class="structfield"><code>scan_identifier_1char</code></em> specifies if single-character
|
392
|
-
identifiers are recognized (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
393
|
-
</p>
|
394
|
-
<p>
|
395
|
-
<em class="structfield"><code>scan_identifier_NULL</code></em> specifies if
|
396
|
-
<code class="literal">NULL</code> is reported as <span class="type">G_TOKEN_IDENTIFIER_NULL</span>.
|
397
|
-
(the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
398
|
-
</p>
|
399
|
-
<p>
|
400
|
-
<em class="structfield"><code>scan_symbols</code></em> specifies if symbols are
|
401
|
-
recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
402
|
-
</p>
|
403
|
-
<p>
|
404
|
-
<em class="structfield"><code>scan_binary</code></em> specifies if binary numbers
|
405
|
-
are recognized (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
406
|
-
</p>
|
407
|
-
<p>
|
408
|
-
<em class="structfield"><code>scan_octal</code></em> specifies if octal numbers
|
409
|
-
are recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
410
|
-
</p>
|
411
|
-
<p>
|
412
|
-
<em class="structfield"><code>scan_float</code></em> specifies if floating point numbers
|
413
|
-
are recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
414
|
-
</p>
|
415
|
-
<p>
|
416
|
-
<em class="structfield"><code>scan_hex</code></em> specifies if hexadecimal numbers
|
417
|
-
are recognized (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
418
|
-
</p>
|
419
|
-
<p>
|
420
|
-
<em class="structfield"><code>scan_hex_dollar</code></em> specifies if '$' is recognized
|
421
|
-
as a prefix for hexadecimal numbers (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
422
|
-
</p>
|
423
|
-
<p>
|
424
|
-
<em class="structfield"><code>scan_string_sq</code></em> specifies if strings can be
|
425
|
-
enclosed in single quotes (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
426
|
-
</p>
|
427
|
-
<p>
|
428
|
-
<em class="structfield"><code>scan_string_dq</code></em> specifies if strings can be
|
429
|
-
enclosed in double quotes (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
430
|
-
</p>
|
431
|
-
<p>
|
432
|
-
<em class="structfield"><code>numbers_2_int</code></em> specifies if binary, octal and
|
433
|
-
hexadecimal numbers are reported as <span class="type">G_TOKEN_INT</span> (the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
434
|
-
</p>
|
435
|
-
<p>
|
436
|
-
<em class="structfield"><code>int_2_float</code></em> specifies if all numbers are
|
437
|
-
reported as <span class="type">G_TOKEN_FLOAT</span> (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
438
|
-
</p>
|
439
|
-
<p>
|
440
|
-
<em class="structfield"><code>identifier_2_string</code></em> specifies if identifiers
|
441
|
-
are reported as strings (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
442
|
-
</p>
|
443
|
-
<p>
|
444
|
-
<em class="structfield"><code>char_2_token</code></em> specifies if characters
|
445
|
-
are reported by setting <code class="literal">token = ch</code> or as <span class="type">G_TOKEN_CHAR</span>
|
446
|
-
(the default is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>).
|
447
|
-
</p>
|
448
|
-
<p>
|
449
|
-
<em class="structfield"><code>symbol_2_token</code></em> specifies if symbols
|
450
|
-
are reported by setting <code class="literal">token = v_symbol</code> or as
|
451
|
-
<span class="type">G_TOKEN_SYMBOL</span> (the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
452
|
-
</p>
|
453
|
-
<p>
|
454
|
-
<em class="structfield"><code>scope_0_fallback</code></em> specifies if a symbol
|
455
|
-
is searched for in the default scope in addition to the current scope
|
456
|
-
(the default is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>).
|
457
|
-
</p>
|
458
|
-
</div>
|
459
|
-
<hr>
|
460
|
-
<div class="refsect2">
|
461
|
-
<a name="g-scanner-new"></a><h3>g_scanner_new ()</h3>
|
462
|
-
<pre class="programlisting"><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="returnvalue">GScanner</span></a> * g_scanner_new (<em class="parameter"><code>const <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a> *config_templ</code></em>);</pre>
|
463
|
-
<p>
|
464
|
-
Creates a new <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
465
|
-
The <em class="parameter"><code>config_templ</code></em> structure specifies the initial settings of the scanner,
|
466
|
-
which are copied into the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> <em class="structfield"><code>config</code></em> field.
|
467
|
-
If you pass <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the default settings are used.
|
468
|
-
</p>
|
469
|
-
<div class="variablelist"><table border="0">
|
470
|
-
<col align="left" valign="top">
|
471
|
-
<tbody>
|
472
|
-
<tr>
|
473
|
-
<td><p><span class="term"><em class="parameter"><code>config_templ</code></em> :</span></p></td>
|
474
|
-
<td>the initial scanner settings.
|
475
|
-
</td>
|
476
|
-
</tr>
|
477
|
-
<tr>
|
478
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
479
|
-
<td>the new <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
480
|
-
</td>
|
481
|
-
</tr>
|
482
|
-
</tbody>
|
483
|
-
</table></div>
|
484
|
-
</div>
|
485
|
-
<hr>
|
486
|
-
<div class="refsect2">
|
487
|
-
<a name="g-scanner-destroy"></a><h3>g_scanner_destroy ()</h3>
|
488
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_destroy (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
489
|
-
<p>
|
490
|
-
Frees all memory used by the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
491
|
-
</p>
|
492
|
-
<div class="variablelist"><table border="0">
|
493
|
-
<col align="left" valign="top">
|
494
|
-
<tbody><tr>
|
495
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
496
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
497
|
-
</td>
|
498
|
-
</tr></tbody>
|
499
|
-
</table></div>
|
500
|
-
</div>
|
501
|
-
<hr>
|
502
|
-
<div class="refsect2">
|
503
|
-
<a name="g-scanner-input-file"></a><h3>g_scanner_input_file ()</h3>
|
504
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_input_file (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
505
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> input_fd</code></em>);</pre>
|
506
|
-
<p>
|
507
|
-
Prepares to scan a file.
|
508
|
-
</p>
|
509
|
-
<div class="variablelist"><table border="0">
|
510
|
-
<col align="left" valign="top">
|
511
|
-
<tbody>
|
512
|
-
<tr>
|
513
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
514
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
515
|
-
</td>
|
516
|
-
</tr>
|
517
|
-
<tr>
|
518
|
-
<td><p><span class="term"><em class="parameter"><code>input_fd</code></em> :</span></p></td>
|
519
|
-
<td>a file descriptor.
|
520
|
-
</td>
|
521
|
-
</tr>
|
522
|
-
</tbody>
|
523
|
-
</table></div>
|
524
|
-
</div>
|
525
|
-
<hr>
|
526
|
-
<div class="refsect2">
|
527
|
-
<a name="g-scanner-sync-file-offset"></a><h3>g_scanner_sync_file_offset ()</h3>
|
528
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_sync_file_offset (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
529
|
-
<p>
|
530
|
-
Rewinds the filedescriptor to the current buffer position and blows
|
531
|
-
the file read ahead buffer. This is useful for third party uses of
|
532
|
-
the scanners filedescriptor, which hooks onto the current scanning
|
533
|
-
position.
|
534
|
-
</p>
|
535
|
-
<div class="variablelist"><table border="0">
|
536
|
-
<col align="left" valign="top">
|
537
|
-
<tbody><tr>
|
538
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
539
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
540
|
-
</td>
|
541
|
-
</tr></tbody>
|
542
|
-
</table></div>
|
543
|
-
</div>
|
544
|
-
<hr>
|
545
|
-
<div class="refsect2">
|
546
|
-
<a name="g-scanner-input-text"></a><h3>g_scanner_input_text ()</h3>
|
547
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_input_text (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
548
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
549
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> text_len</code></em>);</pre>
|
550
|
-
<p>
|
551
|
-
Prepares to scan a text buffer.
|
552
|
-
</p>
|
553
|
-
<div class="variablelist"><table border="0">
|
554
|
-
<col align="left" valign="top">
|
555
|
-
<tbody>
|
556
|
-
<tr>
|
557
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
558
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
559
|
-
</td>
|
560
|
-
</tr>
|
561
|
-
<tr>
|
562
|
-
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
563
|
-
<td>the text buffer to scan.
|
564
|
-
</td>
|
565
|
-
</tr>
|
566
|
-
<tr>
|
567
|
-
<td><p><span class="term"><em class="parameter"><code>text_len</code></em> :</span></p></td>
|
568
|
-
<td>the length of the text buffer.
|
569
|
-
</td>
|
570
|
-
</tr>
|
571
|
-
</tbody>
|
572
|
-
</table></div>
|
573
|
-
</div>
|
574
|
-
<hr>
|
575
|
-
<div class="refsect2">
|
576
|
-
<a name="g-scanner-peek-next-token"></a><h3>g_scanner_peek_next_token ()</h3>
|
577
|
-
<pre class="programlisting"><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> g_scanner_peek_next_token (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
578
|
-
<p>
|
579
|
-
Parses the next token, without removing it from the input stream.
|
580
|
-
The token data is placed in the
|
581
|
-
<em class="structfield"><code>next_token</code></em>,
|
582
|
-
<em class="structfield"><code>next_value</code></em>,
|
583
|
-
<em class="structfield"><code>next_line</code></em>, and
|
584
|
-
<em class="structfield"><code>next_position</code></em> fields of the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> structure.
|
585
|
-
</p>
|
586
|
-
<p>
|
587
|
-
Note that, while the token is not removed from the input stream (i.e.
|
588
|
-
the next call to <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a> will return the same token),
|
589
|
-
it will not be reevaluated. This can lead to surprising results when
|
590
|
-
changing scope or the scanner configuration after peeking the next token.
|
591
|
-
Getting the next token after switching the scope or configuration will
|
592
|
-
return whatever was peeked before, regardless of any symbols that may
|
593
|
-
have been added or removed in the new scope.
|
594
|
-
</p>
|
595
|
-
<div class="variablelist"><table border="0">
|
596
|
-
<col align="left" valign="top">
|
597
|
-
<tbody>
|
598
|
-
<tr>
|
599
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
600
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
601
|
-
</td>
|
602
|
-
</tr>
|
603
|
-
<tr>
|
604
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
605
|
-
<td>the type of the token.
|
606
|
-
</td>
|
607
|
-
</tr>
|
608
|
-
</tbody>
|
609
|
-
</table></div>
|
610
|
-
</div>
|
611
|
-
<hr>
|
612
|
-
<div class="refsect2">
|
613
|
-
<a name="g-scanner-get-next-token"></a><h3>g_scanner_get_next_token ()</h3>
|
614
|
-
<pre class="programlisting"><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> g_scanner_get_next_token (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
615
|
-
<p>
|
616
|
-
Parses the next token just like <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a> and also
|
617
|
-
removes it from the input stream.
|
618
|
-
The token data is placed in the
|
619
|
-
<em class="structfield"><code>token</code></em>,
|
620
|
-
<em class="structfield"><code>value</code></em>,
|
621
|
-
<em class="structfield"><code>line</code></em>, and
|
622
|
-
<em class="structfield"><code>position</code></em> fields of the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> structure.
|
623
|
-
</p>
|
624
|
-
<div class="variablelist"><table border="0">
|
625
|
-
<col align="left" valign="top">
|
626
|
-
<tbody>
|
627
|
-
<tr>
|
628
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
629
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
630
|
-
</td>
|
631
|
-
</tr>
|
632
|
-
<tr>
|
633
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
634
|
-
<td>the type of the token.
|
635
|
-
</td>
|
636
|
-
</tr>
|
637
|
-
</tbody>
|
638
|
-
</table></div>
|
639
|
-
</div>
|
640
|
-
<hr>
|
641
|
-
<div class="refsect2">
|
642
|
-
<a name="g-scanner-eof"></a><h3>g_scanner_eof ()</h3>
|
643
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_scanner_eof (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
644
|
-
<p>
|
645
|
-
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the scanner has reached the end of the file or text buffer.
|
646
|
-
</p>
|
647
|
-
<div class="variablelist"><table border="0">
|
648
|
-
<col align="left" valign="top">
|
649
|
-
<tbody>
|
650
|
-
<tr>
|
651
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
652
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
653
|
-
</td>
|
654
|
-
</tr>
|
655
|
-
<tr>
|
656
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
657
|
-
<td>
|
658
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the scanner has reached the end of the file or text buffer.
|
659
|
-
</td>
|
660
|
-
</tr>
|
661
|
-
</tbody>
|
662
|
-
</table></div>
|
663
|
-
</div>
|
664
|
-
<hr>
|
665
|
-
<div class="refsect2">
|
666
|
-
<a name="g-scanner-cur-line"></a><h3>g_scanner_cur_line ()</h3>
|
667
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_scanner_cur_line (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
668
|
-
<p>
|
669
|
-
Returns the current line in the input stream (counting from 1).
|
670
|
-
This is the line of the last token parsed via <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>.
|
671
|
-
</p>
|
672
|
-
<div class="variablelist"><table border="0">
|
673
|
-
<col align="left" valign="top">
|
674
|
-
<tbody>
|
675
|
-
<tr>
|
676
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
677
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
678
|
-
</td>
|
679
|
-
</tr>
|
680
|
-
<tr>
|
681
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
682
|
-
<td>the current line.
|
683
|
-
</td>
|
684
|
-
</tr>
|
685
|
-
</tbody>
|
686
|
-
</table></div>
|
687
|
-
</div>
|
688
|
-
<hr>
|
689
|
-
<div class="refsect2">
|
690
|
-
<a name="g-scanner-cur-position"></a><h3>g_scanner_cur_position ()</h3>
|
691
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_scanner_cur_position (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
692
|
-
<p>
|
693
|
-
Returns the current position in the current line (counting from 0).
|
694
|
-
This is the position of the last token parsed via <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>.
|
695
|
-
</p>
|
696
|
-
<div class="variablelist"><table border="0">
|
697
|
-
<col align="left" valign="top">
|
698
|
-
<tbody>
|
699
|
-
<tr>
|
700
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
701
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
702
|
-
</td>
|
703
|
-
</tr>
|
704
|
-
<tr>
|
705
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
706
|
-
<td>the current position on the line.
|
707
|
-
</td>
|
708
|
-
</tr>
|
709
|
-
</tbody>
|
710
|
-
</table></div>
|
711
|
-
</div>
|
712
|
-
<hr>
|
713
|
-
<div class="refsect2">
|
714
|
-
<a name="g-scanner-cur-token"></a><h3>g_scanner_cur_token ()</h3>
|
715
|
-
<pre class="programlisting"><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="returnvalue">GTokenType</span></a> g_scanner_cur_token (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
716
|
-
<p>
|
717
|
-
Gets the current token type.
|
718
|
-
This is simply the <em class="structfield"><code>token</code></em> field in the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>
|
719
|
-
structure.
|
720
|
-
</p>
|
721
|
-
<div class="variablelist"><table border="0">
|
722
|
-
<col align="left" valign="top">
|
723
|
-
<tbody>
|
724
|
-
<tr>
|
725
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
726
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
727
|
-
</td>
|
728
|
-
</tr>
|
729
|
-
<tr>
|
730
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
731
|
-
<td>the current token type.
|
732
|
-
</td>
|
733
|
-
</tr>
|
734
|
-
</tbody>
|
735
|
-
</table></div>
|
736
|
-
</div>
|
737
|
-
<hr>
|
738
|
-
<div class="refsect2">
|
739
|
-
<a name="g-scanner-cur-value"></a><h3>g_scanner_cur_value ()</h3>
|
740
|
-
<pre class="programlisting"><a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue"><span class="returnvalue">GTokenValue</span></a> g_scanner_cur_value (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>);</pre>
|
741
|
-
<p>
|
742
|
-
Gets the current token value.
|
743
|
-
This is simply the <em class="structfield"><code>value</code></em> field in the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>
|
744
|
-
structure.
|
745
|
-
</p>
|
746
|
-
<div class="variablelist"><table border="0">
|
747
|
-
<col align="left" valign="top">
|
748
|
-
<tbody>
|
749
|
-
<tr>
|
750
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
751
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
752
|
-
</td>
|
753
|
-
</tr>
|
754
|
-
<tr>
|
755
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
756
|
-
<td>the current token value.
|
757
|
-
</td>
|
758
|
-
</tr>
|
759
|
-
</tbody>
|
760
|
-
</table></div>
|
761
|
-
</div>
|
762
|
-
<hr>
|
763
|
-
<div class="refsect2">
|
764
|
-
<a name="g-scanner-set-scope"></a><h3>g_scanner_set_scope ()</h3>
|
765
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_scanner_set_scope (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
766
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>);</pre>
|
767
|
-
<p>
|
768
|
-
Sets the current scope.
|
769
|
-
</p>
|
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>scanner</code></em> :</span></p></td>
|
775
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
776
|
-
</td>
|
777
|
-
</tr>
|
778
|
-
<tr>
|
779
|
-
<td><p><span class="term"><em class="parameter"><code>scope_id</code></em> :</span></p></td>
|
780
|
-
<td>the new scope id.
|
781
|
-
</td>
|
782
|
-
</tr>
|
783
|
-
<tr>
|
784
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
785
|
-
<td>the old scope id.
|
786
|
-
</td>
|
787
|
-
</tr>
|
788
|
-
</tbody>
|
789
|
-
</table></div>
|
790
|
-
</div>
|
791
|
-
<hr>
|
792
|
-
<div class="refsect2">
|
793
|
-
<a name="g-scanner-scope-add-symbol"></a><h3>g_scanner_scope_add_symbol ()</h3>
|
794
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_scope_add_symbol (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
795
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
796
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>,
|
797
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> value</code></em>);</pre>
|
798
|
-
<p>
|
799
|
-
Adds a symbol to the given scope.
|
800
|
-
</p>
|
801
|
-
<div class="variablelist"><table border="0">
|
802
|
-
<col align="left" valign="top">
|
803
|
-
<tbody>
|
804
|
-
<tr>
|
805
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
806
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
807
|
-
</td>
|
808
|
-
</tr>
|
809
|
-
<tr>
|
810
|
-
<td><p><span class="term"><em class="parameter"><code>scope_id</code></em> :</span></p></td>
|
811
|
-
<td>the scope id.
|
812
|
-
</td>
|
813
|
-
</tr>
|
814
|
-
<tr>
|
815
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
816
|
-
<td>the symbol to add.
|
817
|
-
</td>
|
818
|
-
</tr>
|
819
|
-
<tr>
|
820
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
821
|
-
<td>the value of the symbol.
|
822
|
-
</td>
|
823
|
-
</tr>
|
824
|
-
</tbody>
|
825
|
-
</table></div>
|
826
|
-
</div>
|
827
|
-
<hr>
|
828
|
-
<div class="refsect2">
|
829
|
-
<a name="g-scanner-scope-foreach-symbol"></a><h3>g_scanner_scope_foreach_symbol ()</h3>
|
830
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_scope_foreach_symbol (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
831
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
832
|
-
<em class="parameter"><code><a class="link" href="glib-Hash-Tables.html#GHFunc" title="GHFunc ()"><span class="type">GHFunc</span></a> func</code></em>,
|
833
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
834
|
-
<p>
|
835
|
-
Calls the given function for each of the symbol/value pairs in the
|
836
|
-
given scope of the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>. The function is passed the symbol and
|
837
|
-
value of each pair, and the given <em class="parameter"><code>user_data</code></em> parameter.
|
838
|
-
</p>
|
839
|
-
<div class="variablelist"><table border="0">
|
840
|
-
<col align="left" valign="top">
|
841
|
-
<tbody>
|
842
|
-
<tr>
|
843
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
844
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
845
|
-
</td>
|
846
|
-
</tr>
|
847
|
-
<tr>
|
848
|
-
<td><p><span class="term"><em class="parameter"><code>scope_id</code></em> :</span></p></td>
|
849
|
-
<td>the scope id.
|
850
|
-
</td>
|
851
|
-
</tr>
|
852
|
-
<tr>
|
853
|
-
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
854
|
-
<td>the function to call for each symbol/value pair.
|
855
|
-
</td>
|
856
|
-
</tr>
|
857
|
-
<tr>
|
858
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
859
|
-
<td>user data to pass to the function.
|
860
|
-
</td>
|
861
|
-
</tr>
|
862
|
-
</tbody>
|
863
|
-
</table></div>
|
864
|
-
</div>
|
865
|
-
<hr>
|
866
|
-
<div class="refsect2">
|
867
|
-
<a name="g-scanner-scope-lookup-symbol"></a><h3>g_scanner_scope_lookup_symbol ()</h3>
|
868
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_scanner_scope_lookup_symbol (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
869
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
870
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
|
871
|
-
<p>
|
872
|
-
Looks up a symbol in a scope and return its value. If the
|
873
|
-
symbol is not bound in the scope, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
|
874
|
-
</p>
|
875
|
-
<div class="variablelist"><table border="0">
|
876
|
-
<col align="left" valign="top">
|
877
|
-
<tbody>
|
878
|
-
<tr>
|
879
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
880
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
881
|
-
</td>
|
882
|
-
</tr>
|
883
|
-
<tr>
|
884
|
-
<td><p><span class="term"><em class="parameter"><code>scope_id</code></em> :</span></p></td>
|
885
|
-
<td>the scope id.
|
886
|
-
</td>
|
887
|
-
</tr>
|
888
|
-
<tr>
|
889
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
890
|
-
<td>the symbol to look up.
|
891
|
-
</td>
|
892
|
-
</tr>
|
893
|
-
<tr>
|
894
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
895
|
-
<td>the value of <em class="parameter"><code>symbol</code></em> in the given scope, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
896
|
-
if <em class="parameter"><code>symbol</code></em> is not bound in the given scope.
|
897
|
-
</td>
|
898
|
-
</tr>
|
899
|
-
</tbody>
|
900
|
-
</table></div>
|
901
|
-
</div>
|
902
|
-
<hr>
|
903
|
-
<div class="refsect2">
|
904
|
-
<a name="g-scanner-scope-remove-symbol"></a><h3>g_scanner_scope_remove_symbol ()</h3>
|
905
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_scope_remove_symbol (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
906
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> scope_id</code></em>,
|
907
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
|
908
|
-
<p>
|
909
|
-
Removes a symbol from a scope.
|
910
|
-
</p>
|
911
|
-
<div class="variablelist"><table border="0">
|
912
|
-
<col align="left" valign="top">
|
913
|
-
<tbody>
|
914
|
-
<tr>
|
915
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
916
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
917
|
-
</td>
|
918
|
-
</tr>
|
919
|
-
<tr>
|
920
|
-
<td><p><span class="term"><em class="parameter"><code>scope_id</code></em> :</span></p></td>
|
921
|
-
<td>the scope id.
|
922
|
-
</td>
|
923
|
-
</tr>
|
924
|
-
<tr>
|
925
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
926
|
-
<td>the symbol to remove.
|
927
|
-
</td>
|
928
|
-
</tr>
|
929
|
-
</tbody>
|
930
|
-
</table></div>
|
931
|
-
</div>
|
932
|
-
<hr>
|
933
|
-
<div class="refsect2">
|
934
|
-
<a name="g-scanner-add-symbol"></a><h3>g_scanner_add_symbol()</h3>
|
935
|
-
<pre class="programlisting">#define g_scanner_add_symbol( scanner, symbol, value )</pre>
|
936
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
937
|
-
<h3 class="title">Warning</h3>
|
938
|
-
<p><code class="literal">g_scanner_add_symbol</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-add-symbol" title="g_scanner_scope_add_symbol ()"><code class="function">g_scanner_scope_add_symbol()</code></a> instead.</p>
|
939
|
-
</div>
|
940
|
-
<p>
|
941
|
-
Adds a symbol to the default scope.
|
942
|
-
</p>
|
943
|
-
<div class="variablelist"><table border="0">
|
944
|
-
<col align="left" valign="top">
|
945
|
-
<tbody>
|
946
|
-
<tr>
|
947
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
948
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
949
|
-
</td>
|
950
|
-
</tr>
|
951
|
-
<tr>
|
952
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
953
|
-
<td>the symbol to add.
|
954
|
-
</td>
|
955
|
-
</tr>
|
956
|
-
<tr>
|
957
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
958
|
-
<td>the value of the symbol.
|
959
|
-
</td>
|
960
|
-
</tr>
|
961
|
-
</tbody>
|
962
|
-
</table></div>
|
963
|
-
</div>
|
964
|
-
<hr>
|
965
|
-
<div class="refsect2">
|
966
|
-
<a name="g-scanner-remove-symbol"></a><h3>g_scanner_remove_symbol()</h3>
|
967
|
-
<pre class="programlisting">#define g_scanner_remove_symbol( scanner, symbol )</pre>
|
968
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
969
|
-
<h3 class="title">Warning</h3>
|
970
|
-
<p><code class="literal">g_scanner_remove_symbol</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-remove-symbol" title="g_scanner_scope_remove_symbol ()"><code class="function">g_scanner_scope_remove_symbol()</code></a> instead.</p>
|
971
|
-
</div>
|
972
|
-
<p>
|
973
|
-
Removes a symbol from the default scope.
|
974
|
-
</p>
|
975
|
-
<div class="variablelist"><table border="0">
|
976
|
-
<col align="left" valign="top">
|
977
|
-
<tbody>
|
978
|
-
<tr>
|
979
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
980
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
981
|
-
</td>
|
982
|
-
</tr>
|
983
|
-
<tr>
|
984
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
985
|
-
<td>the symbol to remove.
|
986
|
-
</td>
|
987
|
-
</tr>
|
988
|
-
</tbody>
|
989
|
-
</table></div>
|
990
|
-
</div>
|
991
|
-
<hr>
|
992
|
-
<div class="refsect2">
|
993
|
-
<a name="g-scanner-foreach-symbol"></a><h3>g_scanner_foreach_symbol()</h3>
|
994
|
-
<pre class="programlisting">#define g_scanner_foreach_symbol( scanner, func, data )</pre>
|
995
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
996
|
-
<h3 class="title">Warning</h3>
|
997
|
-
<p><code class="literal">g_scanner_foreach_symbol</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-Lexical-Scanner.html#g-scanner-scope-foreach-symbol" title="g_scanner_scope_foreach_symbol ()"><code class="function">g_scanner_scope_foreach_symbol()</code></a> instead.</p>
|
998
|
-
</div>
|
999
|
-
<p>
|
1000
|
-
Calls a function for each symbol in the default scope.
|
1001
|
-
</p>
|
1002
|
-
<div class="variablelist"><table border="0">
|
1003
|
-
<col align="left" valign="top">
|
1004
|
-
<tbody>
|
1005
|
-
<tr>
|
1006
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1007
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1008
|
-
</td>
|
1009
|
-
</tr>
|
1010
|
-
<tr>
|
1011
|
-
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1012
|
-
<td>the function to call with each symbol.
|
1013
|
-
</td>
|
1014
|
-
</tr>
|
1015
|
-
<tr>
|
1016
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1017
|
-
<td>data to pass to the function.
|
1018
|
-
</td>
|
1019
|
-
</tr>
|
1020
|
-
</tbody>
|
1021
|
-
</table></div>
|
1022
|
-
</div>
|
1023
|
-
<hr>
|
1024
|
-
<div class="refsect2">
|
1025
|
-
<a name="g-scanner-freeze-symbol-table"></a><h3>g_scanner_freeze_symbol_table()</h3>
|
1026
|
-
<pre class="programlisting">#define g_scanner_freeze_symbol_table(scanner)</pre>
|
1027
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1028
|
-
<h3 class="title">Warning</h3>
|
1029
|
-
<p><code class="literal">g_scanner_freeze_symbol_table</code> has been deprecated since version 2.2 and should not be used in newly-written code. This macro does nothing.</p>
|
1030
|
-
</div>
|
1031
|
-
<p>
|
1032
|
-
There is no reason to use this macro, since it does nothing.
|
1033
|
-
</p>
|
1034
|
-
<div class="variablelist"><table border="0">
|
1035
|
-
<col align="left" valign="top">
|
1036
|
-
<tbody><tr>
|
1037
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1038
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1039
|
-
</td>
|
1040
|
-
</tr></tbody>
|
1041
|
-
</table></div>
|
1042
|
-
</div>
|
1043
|
-
<hr>
|
1044
|
-
<div class="refsect2">
|
1045
|
-
<a name="g-scanner-thaw-symbol-table"></a><h3>g_scanner_thaw_symbol_table()</h3>
|
1046
|
-
<pre class="programlisting">#define g_scanner_thaw_symbol_table(scanner)</pre>
|
1047
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1048
|
-
<h3 class="title">Warning</h3>
|
1049
|
-
<p><code class="literal">g_scanner_thaw_symbol_table</code> has been deprecated since version 2.2 and should not be used in newly-written code. This macro does nothing.</p>
|
1050
|
-
</div>
|
1051
|
-
<p>
|
1052
|
-
There is no reason to use this macro, since it does nothing.
|
1053
|
-
</p>
|
1054
|
-
<div class="variablelist"><table border="0">
|
1055
|
-
<col align="left" valign="top">
|
1056
|
-
<tbody><tr>
|
1057
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1058
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1059
|
-
</td>
|
1060
|
-
</tr></tbody>
|
1061
|
-
</table></div>
|
1062
|
-
</div>
|
1063
|
-
<hr>
|
1064
|
-
<div class="refsect2">
|
1065
|
-
<a name="g-scanner-lookup-symbol"></a><h3>g_scanner_lookup_symbol ()</h3>
|
1066
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_scanner_lookup_symbol (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
1067
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
|
1068
|
-
<p>
|
1069
|
-
Looks up a symbol in the current scope and return its value. If the
|
1070
|
-
symbol is not bound in the current scope, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
|
1071
|
-
</p>
|
1072
|
-
<div class="variablelist"><table border="0">
|
1073
|
-
<col align="left" valign="top">
|
1074
|
-
<tbody>
|
1075
|
-
<tr>
|
1076
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1077
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1078
|
-
</td>
|
1079
|
-
</tr>
|
1080
|
-
<tr>
|
1081
|
-
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
|
1082
|
-
<td>the symbol to look up.
|
1083
|
-
</td>
|
1084
|
-
</tr>
|
1085
|
-
<tr>
|
1086
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1087
|
-
<td>the value of <em class="parameter"><code>symbol</code></em> in the current scope, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1088
|
-
if <em class="parameter"><code>symbol</code></em> is not bound in the current scope.
|
1089
|
-
</td>
|
1090
|
-
</tr>
|
1091
|
-
</tbody>
|
1092
|
-
</table></div>
|
1093
|
-
</div>
|
1094
|
-
<hr>
|
1095
|
-
<div class="refsect2">
|
1096
|
-
<a name="g-scanner-warn"></a><h3>g_scanner_warn ()</h3>
|
1097
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_warn (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
1098
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
1099
|
-
<em class="parameter"><code>...</code></em>);</pre>
|
1100
|
-
<p>
|
1101
|
-
Outputs a warning message, via the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> message handler.
|
1102
|
-
</p>
|
1103
|
-
<div class="variablelist"><table border="0">
|
1104
|
-
<col align="left" valign="top">
|
1105
|
-
<tbody>
|
1106
|
-
<tr>
|
1107
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1108
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1109
|
-
</td>
|
1110
|
-
</tr>
|
1111
|
-
<tr>
|
1112
|
-
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1113
|
-
<td>the message format. See the <code class="function"><code class="function">printf()</code></code>
|
1114
|
-
documentation.
|
1115
|
-
</td>
|
1116
|
-
</tr>
|
1117
|
-
<tr>
|
1118
|
-
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1119
|
-
<td>the parameters to insert into the format string.
|
1120
|
-
</td>
|
1121
|
-
</tr>
|
1122
|
-
</tbody>
|
1123
|
-
</table></div>
|
1124
|
-
</div>
|
1125
|
-
<hr>
|
1126
|
-
<div class="refsect2">
|
1127
|
-
<a name="g-scanner-error"></a><h3>g_scanner_error ()</h3>
|
1128
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_error (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
1129
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
1130
|
-
<em class="parameter"><code>...</code></em>);</pre>
|
1131
|
-
<p>
|
1132
|
-
Outputs an error message, via the <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> message handler.
|
1133
|
-
</p>
|
1134
|
-
<div class="variablelist"><table border="0">
|
1135
|
-
<col align="left" valign="top">
|
1136
|
-
<tbody>
|
1137
|
-
<tr>
|
1138
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1139
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1140
|
-
</td>
|
1141
|
-
</tr>
|
1142
|
-
<tr>
|
1143
|
-
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1144
|
-
<td>the message format. See the <code class="function"><code class="function">printf()</code></code>
|
1145
|
-
documentation.
|
1146
|
-
</td>
|
1147
|
-
</tr>
|
1148
|
-
<tr>
|
1149
|
-
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1150
|
-
<td>the parameters to insert into the format string.
|
1151
|
-
</td>
|
1152
|
-
</tr>
|
1153
|
-
</tbody>
|
1154
|
-
</table></div>
|
1155
|
-
</div>
|
1156
|
-
<hr>
|
1157
|
-
<div class="refsect2">
|
1158
|
-
<a name="g-scanner-unexp-token"></a><h3>g_scanner_unexp_token ()</h3>
|
1159
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_scanner_unexp_token (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
1160
|
-
<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GTokenType" title="enum GTokenType"><span class="type">GTokenType</span></a> expected_token</code></em>,
|
1161
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier_spec</code></em>,
|
1162
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_spec</code></em>,
|
1163
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *symbol_name</code></em>,
|
1164
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
|
1165
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> is_error</code></em>);</pre>
|
1166
|
-
<p>
|
1167
|
-
Outputs a message through the scanner's msg_handler, resulting from an
|
1168
|
-
unexpected token in the input stream.
|
1169
|
-
Note that you should not call <a class="link" href="glib-Lexical-Scanner.html#g-scanner-peek-next-token" title="g_scanner_peek_next_token ()"><code class="function">g_scanner_peek_next_token()</code></a> followed by
|
1170
|
-
<a class="link" href="glib-Lexical-Scanner.html#g-scanner-unexp-token" title="g_scanner_unexp_token ()"><code class="function">g_scanner_unexp_token()</code></a> without an intermediate call to
|
1171
|
-
<a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a>, as <a class="link" href="glib-Lexical-Scanner.html#g-scanner-unexp-token" title="g_scanner_unexp_token ()"><code class="function">g_scanner_unexp_token()</code></a> evaluates the
|
1172
|
-
scanner's current token (not the peeked token) to construct part
|
1173
|
-
of the message.
|
1174
|
-
</p>
|
1175
|
-
<div class="variablelist"><table border="0">
|
1176
|
-
<col align="left" valign="top">
|
1177
|
-
<tbody>
|
1178
|
-
<tr>
|
1179
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1180
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1181
|
-
</td>
|
1182
|
-
</tr>
|
1183
|
-
<tr>
|
1184
|
-
<td><p><span class="term"><em class="parameter"><code>expected_token</code></em> :</span></p></td>
|
1185
|
-
<td>the expected token.
|
1186
|
-
</td>
|
1187
|
-
</tr>
|
1188
|
-
<tr>
|
1189
|
-
<td><p><span class="term"><em class="parameter"><code>identifier_spec</code></em> :</span></p></td>
|
1190
|
-
<td>a string describing how the scanner's user refers to
|
1191
|
-
identifiers (<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> defaults to "identifier").
|
1192
|
-
This is used if <em class="parameter"><code>expected_token</code></em> is <span class="type">G_TOKEN_IDENTIFIER</span>
|
1193
|
-
or <span class="type">G_TOKEN_IDENTIFIER_NULL</span>.
|
1194
|
-
</td>
|
1195
|
-
</tr>
|
1196
|
-
<tr>
|
1197
|
-
<td><p><span class="term"><em class="parameter"><code>symbol_spec</code></em> :</span></p></td>
|
1198
|
-
<td>a string describing how the scanner's user refers to
|
1199
|
-
symbols (<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> defaults to "symbol").
|
1200
|
-
This is used if <em class="parameter"><code>expected_token</code></em> is <span class="type">G_TOKEN_SYMBOL</span> or
|
1201
|
-
any token value greater than <span class="type">G_TOKEN_LAST</span>.
|
1202
|
-
</td>
|
1203
|
-
</tr>
|
1204
|
-
<tr>
|
1205
|
-
<td><p><span class="term"><em class="parameter"><code>symbol_name</code></em> :</span></p></td>
|
1206
|
-
<td>the name of the symbol, if the scanner's current token
|
1207
|
-
is a symbol.
|
1208
|
-
</td>
|
1209
|
-
</tr>
|
1210
|
-
<tr>
|
1211
|
-
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
|
1212
|
-
<td>a message string to output at the end of the warning/error, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1213
|
-
</td>
|
1214
|
-
</tr>
|
1215
|
-
<tr>
|
1216
|
-
<td><p><span class="term"><em class="parameter"><code>is_error</code></em> :</span></p></td>
|
1217
|
-
<td>if <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> it is output as an error. If <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it is output as a
|
1218
|
-
warning.
|
1219
|
-
</td>
|
1220
|
-
</tr>
|
1221
|
-
</tbody>
|
1222
|
-
</table></div>
|
1223
|
-
</div>
|
1224
|
-
<hr>
|
1225
|
-
<div class="refsect2">
|
1226
|
-
<a name="GScannerMsgFunc"></a><h3>GScannerMsgFunc ()</h3>
|
1227
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GScannerMsgFunc) (<em class="parameter"><code><a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
1228
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
|
1229
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> error</code></em>);</pre>
|
1230
|
-
<p>
|
1231
|
-
Specifies the type of the message handler function.
|
1232
|
-
</p>
|
1233
|
-
<div class="variablelist"><table border="0">
|
1234
|
-
<col align="left" valign="top">
|
1235
|
-
<tbody>
|
1236
|
-
<tr>
|
1237
|
-
<td><p><span class="term"><em class="parameter"><code>scanner</code></em> :</span></p></td>
|
1238
|
-
<td>a <a class="link" href="glib-Lexical-Scanner.html#GScanner" title="GScanner"><span class="type">GScanner</span></a>.
|
1239
|
-
</td>
|
1240
|
-
</tr>
|
1241
|
-
<tr>
|
1242
|
-
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
|
1243
|
-
<td>the message.
|
1244
|
-
</td>
|
1245
|
-
</tr>
|
1246
|
-
<tr>
|
1247
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1248
|
-
<td>
|
1249
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the message signals an error, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if it
|
1250
|
-
signals a warning.
|
1251
|
-
</td>
|
1252
|
-
</tr>
|
1253
|
-
</tbody>
|
1254
|
-
</table></div>
|
1255
|
-
</div>
|
1256
|
-
<hr>
|
1257
|
-
<div class="refsect2">
|
1258
|
-
<a name="G-CSET-a-2-z"></a><h3>G_CSET_a_2_z</h3>
|
1259
|
-
<pre class="programlisting">#define G_CSET_a_2_z "abcdefghijklmnopqrstuvwxyz"
|
1260
|
-
</pre>
|
1261
|
-
<p>
|
1262
|
-
The set of lowercase ASCII alphabet characters.
|
1263
|
-
Used for specifying valid identifier characters in <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a>.
|
1264
|
-
</p>
|
1265
|
-
</div>
|
1266
|
-
<hr>
|
1267
|
-
<div class="refsect2">
|
1268
|
-
<a name="G-CSET-A-2-Z:CAPS"></a><h3>G_CSET_A_2_Z</h3>
|
1269
|
-
<pre class="programlisting">#define G_CSET_A_2_Z "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
1270
|
-
</pre>
|
1271
|
-
<p>
|
1272
|
-
The set of uppercase ASCII alphabet characters.
|
1273
|
-
Used for specifying valid identifier characters in <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a>.
|
1274
|
-
</p>
|
1275
|
-
</div>
|
1276
|
-
<hr>
|
1277
|
-
<div class="refsect2">
|
1278
|
-
<a name="G-CSET-DIGITS:CAPS"></a><h3>G_CSET_DIGITS</h3>
|
1279
|
-
<pre class="programlisting">#define G_CSET_DIGITS "0123456789"
|
1280
|
-
</pre>
|
1281
|
-
<p>
|
1282
|
-
The set of digits.
|
1283
|
-
Used for specifying valid identifier characters in <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a>.
|
1284
|
-
</p>
|
1285
|
-
</div>
|
1286
|
-
<hr>
|
1287
|
-
<div class="refsect2">
|
1288
|
-
<a name="G-CSET-LATINC:CAPS"></a><h3>G_CSET_LATINC</h3>
|
1289
|
-
<pre class="programlisting">#define G_CSET_LATINC</pre>
|
1290
|
-
<p>
|
1291
|
-
The set of uppercase ISO 8859-1 alphabet characters which are
|
1292
|
-
not ASCII characters.
|
1293
|
-
Used for specifying valid identifier characters in <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a>.
|
1294
|
-
</p>
|
1295
|
-
</div>
|
1296
|
-
<hr>
|
1297
|
-
<div class="refsect2">
|
1298
|
-
<a name="G-CSET-LATINS:CAPS"></a><h3>G_CSET_LATINS</h3>
|
1299
|
-
<pre class="programlisting">#define G_CSET_LATINS</pre>
|
1300
|
-
<p>
|
1301
|
-
The set of lowercase ISO 8859-1 alphabet characters which are
|
1302
|
-
not ASCII characters.
|
1303
|
-
Used for specifying valid identifier characters in <a class="link" href="glib-Lexical-Scanner.html#GScannerConfig" title="GScannerConfig"><span class="type">GScannerConfig</span></a>.
|
1304
|
-
</p>
|
1305
|
-
</div>
|
1306
|
-
<hr>
|
1307
|
-
<div class="refsect2">
|
1308
|
-
<a name="GTokenType"></a><h3>enum GTokenType</h3>
|
1309
|
-
<pre class="programlisting">typedef enum
|
1310
|
-
{
|
1311
|
-
G_TOKEN_EOF = 0,
|
1312
|
-
|
1313
|
-
G_TOKEN_LEFT_PAREN = '(',
|
1314
|
-
G_TOKEN_RIGHT_PAREN = ')',
|
1315
|
-
G_TOKEN_LEFT_CURLY = '{',
|
1316
|
-
G_TOKEN_RIGHT_CURLY = '}',
|
1317
|
-
G_TOKEN_LEFT_BRACE = '[',
|
1318
|
-
G_TOKEN_RIGHT_BRACE = ']',
|
1319
|
-
G_TOKEN_EQUAL_SIGN = '=',
|
1320
|
-
G_TOKEN_COMMA = ',',
|
1321
|
-
|
1322
|
-
G_TOKEN_NONE = 256,
|
1323
|
-
|
1324
|
-
G_TOKEN_ERROR,
|
1325
|
-
|
1326
|
-
G_TOKEN_CHAR,
|
1327
|
-
G_TOKEN_BINARY,
|
1328
|
-
G_TOKEN_OCTAL,
|
1329
|
-
G_TOKEN_INT,
|
1330
|
-
G_TOKEN_HEX,
|
1331
|
-
G_TOKEN_FLOAT,
|
1332
|
-
G_TOKEN_STRING,
|
1333
|
-
|
1334
|
-
G_TOKEN_SYMBOL,
|
1335
|
-
G_TOKEN_IDENTIFIER,
|
1336
|
-
G_TOKEN_IDENTIFIER_NULL,
|
1337
|
-
|
1338
|
-
G_TOKEN_COMMENT_SINGLE,
|
1339
|
-
G_TOKEN_COMMENT_MULTI,
|
1340
|
-
G_TOKEN_LAST
|
1341
|
-
} GTokenType;
|
1342
|
-
</pre>
|
1343
|
-
<p>
|
1344
|
-
The possible types of token returned from each <a class="link" href="glib-Lexical-Scanner.html#g-scanner-get-next-token" title="g_scanner_get_next_token ()"><code class="function">g_scanner_get_next_token()</code></a> call.
|
1345
|
-
</p>
|
1346
|
-
<div class="variablelist"><table border="0">
|
1347
|
-
<col align="left" valign="top">
|
1348
|
-
<tbody>
|
1349
|
-
<tr>
|
1350
|
-
<td><p><a name="G-TOKEN-EOF:CAPS"></a><span class="term"><code class="literal">G_TOKEN_EOF</code></span></p></td>
|
1351
|
-
<td>the end of the file.
|
1352
|
-
</td>
|
1353
|
-
</tr>
|
1354
|
-
<tr>
|
1355
|
-
<td><p><a name="G-TOKEN-LEFT-PAREN:CAPS"></a><span class="term"><code class="literal">G_TOKEN_LEFT_PAREN</code></span></p></td>
|
1356
|
-
<td>a '(' character.
|
1357
|
-
</td>
|
1358
|
-
</tr>
|
1359
|
-
<tr>
|
1360
|
-
<td><p><a name="G-TOKEN-LEFT-CURLY:CAPS"></a><span class="term"><code class="literal">G_TOKEN_LEFT_CURLY</code></span></p></td>
|
1361
|
-
<td>a '{' character.
|
1362
|
-
</td>
|
1363
|
-
</tr>
|
1364
|
-
<tr>
|
1365
|
-
<td><p><a name="G-TOKEN-RIGHT-CURLY:CAPS"></a><span class="term"><code class="literal">G_TOKEN_RIGHT_CURLY</code></span></p></td>
|
1366
|
-
<td>a '}' character.
|
1367
|
-
</td>
|
1368
|
-
</tr>
|
1369
|
-
</tbody>
|
1370
|
-
</table></div>
|
1371
|
-
</div>
|
1372
|
-
<hr>
|
1373
|
-
<div class="refsect2">
|
1374
|
-
<a name="GTokenValue"></a><h3>union GTokenValue</h3>
|
1375
|
-
<pre class="programlisting"></pre>
|
1376
|
-
<p>
|
1377
|
-
A union holding the value of the token.
|
1378
|
-
</p>
|
1379
|
-
</div>
|
1380
|
-
<hr>
|
1381
|
-
<div class="refsect2">
|
1382
|
-
<a name="GErrorType"></a><h3>enum GErrorType</h3>
|
1383
|
-
<pre class="programlisting">typedef enum
|
1384
|
-
{
|
1385
|
-
G_ERR_UNKNOWN,
|
1386
|
-
G_ERR_UNEXP_EOF,
|
1387
|
-
G_ERR_UNEXP_EOF_IN_STRING,
|
1388
|
-
G_ERR_UNEXP_EOF_IN_COMMENT,
|
1389
|
-
G_ERR_NON_DIGIT_IN_CONST,
|
1390
|
-
G_ERR_DIGIT_RADIX,
|
1391
|
-
G_ERR_FLOAT_RADIX,
|
1392
|
-
G_ERR_FLOAT_MALFORMED
|
1393
|
-
} GErrorType;
|
1394
|
-
</pre>
|
1395
|
-
<p>
|
1396
|
-
The possible errors, used in the <em class="structfield"><code>v_error</code></em> field
|
1397
|
-
of <a class="link" href="glib-Lexical-Scanner.html#GTokenValue" title="union GTokenValue"><span class="type">GTokenValue</span></a>, when the token is a <span class="type">G_TOKEN_ERROR</span>.
|
1398
|
-
</p>
|
1399
|
-
<div class="variablelist"><table border="0">
|
1400
|
-
<col align="left" valign="top">
|
1401
|
-
<tbody>
|
1402
|
-
<tr>
|
1403
|
-
<td><p><a name="G-ERR-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_ERR_UNKNOWN</code></span></p></td>
|
1404
|
-
<td>unknown error.
|
1405
|
-
</td>
|
1406
|
-
</tr>
|
1407
|
-
<tr>
|
1408
|
-
<td><p><a name="G-ERR-UNEXP-EOF:CAPS"></a><span class="term"><code class="literal">G_ERR_UNEXP_EOF</code></span></p></td>
|
1409
|
-
<td>unexpected end of file.
|
1410
|
-
</td>
|
1411
|
-
</tr>
|
1412
|
-
<tr>
|
1413
|
-
<td><p><a name="G-ERR-UNEXP-EOF-IN-STRING:CAPS"></a><span class="term"><code class="literal">G_ERR_UNEXP_EOF_IN_STRING</code></span></p></td>
|
1414
|
-
<td>unterminated string constant.
|
1415
|
-
</td>
|
1416
|
-
</tr>
|
1417
|
-
<tr>
|
1418
|
-
<td><p><a name="G-ERR-UNEXP-EOF-IN-COMMENT:CAPS"></a><span class="term"><code class="literal">G_ERR_UNEXP_EOF_IN_COMMENT</code></span></p></td>
|
1419
|
-
<td>unterminated comment.
|
1420
|
-
</td>
|
1421
|
-
</tr>
|
1422
|
-
<tr>
|
1423
|
-
<td><p><a name="G-ERR-NON-DIGIT-IN-CONST:CAPS"></a><span class="term"><code class="literal">G_ERR_NON_DIGIT_IN_CONST</code></span></p></td>
|
1424
|
-
<td>non-digit character in a number.
|
1425
|
-
</td>
|
1426
|
-
</tr>
|
1427
|
-
<tr>
|
1428
|
-
<td><p><a name="G-ERR-DIGIT-RADIX:CAPS"></a><span class="term"><code class="literal">G_ERR_DIGIT_RADIX</code></span></p></td>
|
1429
|
-
<td>digit beyond radix in a number.
|
1430
|
-
</td>
|
1431
|
-
</tr>
|
1432
|
-
<tr>
|
1433
|
-
<td><p><a name="G-ERR-FLOAT-RADIX:CAPS"></a><span class="term"><code class="literal">G_ERR_FLOAT_RADIX</code></span></p></td>
|
1434
|
-
<td>non-decimal floating point number.
|
1435
|
-
</td>
|
1436
|
-
</tr>
|
1437
|
-
<tr>
|
1438
|
-
<td><p><a name="G-ERR-FLOAT-MALFORMED:CAPS"></a><span class="term"><code class="literal">G_ERR_FLOAT_MALFORMED</code></span></p></td>
|
1439
|
-
<td>malformed floating point number.
|
1440
|
-
</td>
|
1441
|
-
</tr>
|
1442
|
-
</tbody>
|
1443
|
-
</table></div>
|
1444
|
-
</div>
|
1445
|
-
</div>
|
1446
|
-
</div>
|
1447
|
-
<div class="footer">
|
1448
|
-
<hr>
|
1449
|
-
Generated by GTK-Doc V1.15.1</div>
|
1450
|
-
</body>
|
1451
|
-
</html>
|