glib2 0.90.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3115 -0
- data/README +40 -0
- data/Rakefile +69 -0
- data/ext/glib2/depend +10 -0
- data/ext/glib2/extconf.rb +61 -0
- data/ext/glib2/glib2.def +89 -0
- data/ext/glib2/rbgcompat.h +30 -0
- data/ext/glib2/rbglib.c +330 -0
- data/ext/glib2/rbglib.h +96 -0
- data/ext/glib2/rbglib_bookmarkfile.c +595 -0
- data/ext/glib2/rbglib_completion.c +192 -0
- data/ext/glib2/rbglib_convert.c +195 -0
- data/ext/glib2/rbglib_error.c +95 -0
- data/ext/glib2/rbglib_fileutils.c +83 -0
- data/ext/glib2/rbglib_i18n.c +44 -0
- data/ext/glib2/rbglib_int64.c +157 -0
- data/ext/glib2/rbglib_iochannel.c +883 -0
- data/ext/glib2/rbglib_keyfile.c +846 -0
- data/ext/glib2/rbglib_maincontext.c +915 -0
- data/ext/glib2/rbglib_mainloop.c +87 -0
- data/ext/glib2/rbglib_messages.c +150 -0
- data/ext/glib2/rbglib_pollfd.c +111 -0
- data/ext/glib2/rbglib_shell.c +68 -0
- data/ext/glib2/rbglib_source.c +190 -0
- data/ext/glib2/rbglib_spawn.c +345 -0
- data/ext/glib2/rbglib_threads.c +51 -0
- data/ext/glib2/rbglib_timer.c +127 -0
- data/ext/glib2/rbglib_unicode.c +611 -0
- data/ext/glib2/rbglib_utils.c +386 -0
- data/ext/glib2/rbglib_win32.c +136 -0
- data/ext/glib2/rbgobj_boxed.c +251 -0
- data/ext/glib2/rbgobj_closure.c +337 -0
- data/ext/glib2/rbgobj_convert.c +167 -0
- data/ext/glib2/rbgobj_enums.c +961 -0
- data/ext/glib2/rbgobj_fundamental.c +30 -0
- data/ext/glib2/rbgobj_object.c +892 -0
- data/ext/glib2/rbgobj_param.c +390 -0
- data/ext/glib2/rbgobj_paramspecs.c +305 -0
- data/ext/glib2/rbgobj_signal.c +963 -0
- data/ext/glib2/rbgobj_strv.c +61 -0
- data/ext/glib2/rbgobj_type.c +851 -0
- data/ext/glib2/rbgobj_typeinstance.c +121 -0
- data/ext/glib2/rbgobj_typeinterface.c +148 -0
- data/ext/glib2/rbgobj_typemodule.c +66 -0
- data/ext/glib2/rbgobj_typeplugin.c +49 -0
- data/ext/glib2/rbgobj_value.c +313 -0
- data/ext/glib2/rbgobj_valuearray.c +59 -0
- data/ext/glib2/rbgobj_valuetypes.c +298 -0
- data/ext/glib2/rbgobject.c +406 -0
- data/ext/glib2/rbgobject.h +265 -0
- data/ext/glib2/rbgprivate.h +88 -0
- data/ext/glib2/rbgutil.c +316 -0
- data/ext/glib2/rbgutil.h +82 -0
- data/ext/glib2/rbgutil_callback.c +231 -0
- data/extconf.rb +49 -0
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib-mkenums.rb +199 -0
- data/lib/glib2.rb +239 -0
- data/lib/gnome2-win32-binary-downloader.rb +92 -0
- data/lib/mkmf-gnome2.rb +377 -0
- data/sample/bookmarkfile.rb +66 -0
- data/sample/completion.rb +45 -0
- data/sample/idle.rb +41 -0
- data/sample/iochannel.rb +44 -0
- data/sample/keyfile.rb +62 -0
- data/sample/shell.rb +36 -0
- data/sample/spawn.rb +25 -0
- data/sample/timeout.rb +28 -0
- data/sample/timeout2.rb +35 -0
- data/sample/timer.rb +40 -0
- data/sample/type-register.rb +103 -0
- data/sample/type-register2.rb +104 -0
- data/sample/utils.rb +54 -0
- data/test/glib-test-init.rb +6 -0
- data/test/glib-test-utils.rb +12 -0
- data/test/run-test.rb +21 -0
- data/test/test_enum.rb +99 -0
- data/test/test_file_utils.rb +15 -0
- data/test/test_glib2.rb +120 -0
- data/test/test_iochannel.rb +275 -0
- data/test/test_key_file.rb +38 -0
- data/test/test_mkenums.rb +25 -0
- data/test/test_signal.rb +20 -0
- data/test/test_timeout.rb +28 -0
- data/test/test_unicode.rb +369 -0
- data/test/test_utils.rb +37 -0
- data/test/test_win32.rb +13 -0
- data/test-unit/COPYING +56 -0
- data/test-unit/GPL +340 -0
- data/test-unit/History.txt +232 -0
- data/test-unit/Manifest.txt +110 -0
- data/test-unit/PSFL +271 -0
- data/test-unit/README.txt +75 -0
- data/test-unit/Rakefile +53 -0
- data/test-unit/TODO +5 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +153 -0
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +469 -0
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +82 -0
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +393 -0
- data/test-unit/html/index.html +247 -0
- data/test-unit/html/index.html.ja +270 -0
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +636 -0
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +483 -0
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +339 -0
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +559 -0
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
- data/test-unit/lib/test/unit/assertions.rb +1334 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +363 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +144 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/collector.rb +36 -0
- data/test-unit/lib/test/unit/color-scheme.rb +106 -0
- data/test-unit/lib/test/unit/color.rb +96 -0
- data/test-unit/lib/test/unit/diff.rb +740 -0
- data/test-unit/lib/test/unit/error.rb +130 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +136 -0
- data/test-unit/lib/test/unit/fixture.rb +176 -0
- data/test-unit/lib/test/unit/notification.rb +129 -0
- data/test-unit/lib/test/unit/omission.rb +191 -0
- data/test-unit/lib/test/unit/pending.rb +150 -0
- data/test-unit/lib/test/unit/priority.rb +180 -0
- data/test-unit/lib/test/unit/runner/console.rb +52 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/runner/tap.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +483 -0
- data/test-unit/lib/test/unit/testresult.rb +121 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +430 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +82 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +53 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +42 -0
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/output.rb +31 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/lib/test/unit.rb +328 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/test_adder.rb +20 -0
- data/test-unit/sample/test_subtracter.rb +20 -0
- data/test-unit/sample/test_user.rb +23 -0
- data/test-unit/test/collector/test-descendant.rb +133 -0
- data/test-unit/test/collector/test-load.rb +442 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_objectspace.rb +100 -0
- data/test-unit/test/run-test.rb +15 -0
- data/test-unit/test/test-attribute.rb +86 -0
- data/test-unit/test/test-color-scheme.rb +69 -0
- data/test-unit/test/test-color.rb +47 -0
- data/test-unit/test/test-diff.rb +518 -0
- data/test-unit/test/test-emacs-runner.rb +60 -0
- data/test-unit/test/test-fixture.rb +287 -0
- data/test-unit/test/test-notification.rb +33 -0
- data/test-unit/test/test-omission.rb +81 -0
- data/test-unit/test/test-pending.rb +70 -0
- data/test-unit/test/test-priority.rb +119 -0
- data/test-unit/test/test-testcase.rb +544 -0
- data/test-unit/test/test_assertions.rb +1197 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit-test-util.rb +14 -0
- data/test-unit/test/ui/test_tap.rb +33 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test-method-owner-finder.rb +38 -0
- data/test-unit/test/util/test-output.rb +11 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +123 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +188 -0
- data/vendor/local/bin/glib-mkenums +511 -0
- 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 +66 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
- data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
- data/vendor/local/include/glib-2.0/glib-object.h +41 -0
- data/vendor/local/include/glib-2.0/glib.h +97 -0
- data/vendor/local/include/glib-2.0/gmodule.h +101 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +800 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
- data/vendor/local/lib/glib-2.0.def +1381 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.def +11 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +349 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- 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 +31 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
- data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
- data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
- data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
- 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 +893 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
- 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 +257 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- 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/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 +77 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/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 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
- data/vendor/local/share/man/man1/gobject-query.1 +83 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
- metadata +940 -0
@@ -0,0 +1,1451 @@
|
|
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.14 (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" title="Lexical Scanner">
|
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" title="Synopsis">
|
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" title="Description">
|
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" title="Details">
|
128
|
+
<a name="glib-Lexical-Scanner.details"></a><h2>Details</h2>
|
129
|
+
<div class="refsect2" title="GScanner">
|
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" title="GScannerConfig">
|
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" title="g_scanner_new ()">
|
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" title="g_scanner_destroy ()">
|
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" title="g_scanner_input_file ()">
|
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" title="g_scanner_sync_file_offset ()">
|
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" title="g_scanner_input_text ()">
|
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" title="g_scanner_peek_next_token ()">
|
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" title="g_scanner_get_next_token ()">
|
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" title="g_scanner_eof ()">
|
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" title="g_scanner_cur_line ()">
|
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" title="g_scanner_cur_position ()">
|
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" title="g_scanner_cur_token ()">
|
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" title="g_scanner_cur_value ()">
|
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" title="g_scanner_set_scope ()">
|
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" title="g_scanner_scope_add_symbol ()">
|
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" title="g_scanner_scope_foreach_symbol ()">
|
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" title="g_scanner_scope_lookup_symbol ()">
|
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" title="g_scanner_scope_remove_symbol ()">
|
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" title="g_scanner_add_symbol()">
|
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" title="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" title="g_scanner_remove_symbol()">
|
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" title="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" title="g_scanner_foreach_symbol()">
|
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" title="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" title="g_scanner_freeze_symbol_table()">
|
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" title="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" title="g_scanner_thaw_symbol_table()">
|
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" title="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" title="g_scanner_lookup_symbol ()">
|
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" title="g_scanner_warn ()">
|
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" title="g_scanner_error ()">
|
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" title="g_scanner_unexp_token ()">
|
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" title="GScannerMsgFunc ()">
|
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" title="G_CSET_a_2_z">
|
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" title="G_CSET_A_2_Z">
|
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" title="G_CSET_DIGITS">
|
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" title="G_CSET_LATINC">
|
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" title="G_CSET_LATINS">
|
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" title="enum GTokenType">
|
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" title="union GTokenValue">
|
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" title="enum GErrorType">
|
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.14</div>
|
1450
|
+
</body>
|
1451
|
+
</html>
|