glib2 0.90.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,408 @@
|
|
1
|
+
/* GLIB - Library of useful routines for C programming
|
2
|
+
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Lesser General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Lesser General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Lesser General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
22
|
+
* file for a list of people on the GLib Team. See the ChangeLog
|
23
|
+
* files for a list of changes. These files are distributed with
|
24
|
+
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
25
|
+
*/
|
26
|
+
|
27
|
+
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
28
|
+
#error "Only <glib.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef __G_THREAD_H__
|
32
|
+
#define __G_THREAD_H__
|
33
|
+
|
34
|
+
#include <glib/gerror.h>
|
35
|
+
#include <glib/gtypes.h>
|
36
|
+
#include <glib/gutils.h> /* for G_INLINE_FUNC */
|
37
|
+
#include <glib/gatomic.h> /* for g_atomic_pointer_get */
|
38
|
+
|
39
|
+
G_BEGIN_DECLS
|
40
|
+
|
41
|
+
/* GLib Thread support
|
42
|
+
*/
|
43
|
+
|
44
|
+
extern GQuark g_thread_error_quark (void);
|
45
|
+
#define G_THREAD_ERROR g_thread_error_quark ()
|
46
|
+
|
47
|
+
typedef enum
|
48
|
+
{
|
49
|
+
G_THREAD_ERROR_AGAIN /* Resource temporarily unavailable */
|
50
|
+
} GThreadError;
|
51
|
+
|
52
|
+
typedef gpointer (*GThreadFunc) (gpointer data);
|
53
|
+
|
54
|
+
typedef enum
|
55
|
+
{
|
56
|
+
G_THREAD_PRIORITY_LOW,
|
57
|
+
G_THREAD_PRIORITY_NORMAL,
|
58
|
+
G_THREAD_PRIORITY_HIGH,
|
59
|
+
G_THREAD_PRIORITY_URGENT
|
60
|
+
} GThreadPriority;
|
61
|
+
|
62
|
+
typedef struct _GThread GThread;
|
63
|
+
struct _GThread
|
64
|
+
{
|
65
|
+
/*< private >*/
|
66
|
+
GThreadFunc func;
|
67
|
+
gpointer data;
|
68
|
+
gboolean joinable;
|
69
|
+
GThreadPriority priority;
|
70
|
+
};
|
71
|
+
|
72
|
+
typedef struct _GMutex GMutex;
|
73
|
+
typedef struct _GCond GCond;
|
74
|
+
typedef struct _GPrivate GPrivate;
|
75
|
+
typedef struct _GStaticPrivate GStaticPrivate;
|
76
|
+
|
77
|
+
typedef struct _GThreadFunctions GThreadFunctions;
|
78
|
+
struct _GThreadFunctions
|
79
|
+
{
|
80
|
+
GMutex* (*mutex_new) (void);
|
81
|
+
void (*mutex_lock) (GMutex *mutex);
|
82
|
+
gboolean (*mutex_trylock) (GMutex *mutex);
|
83
|
+
void (*mutex_unlock) (GMutex *mutex);
|
84
|
+
void (*mutex_free) (GMutex *mutex);
|
85
|
+
GCond* (*cond_new) (void);
|
86
|
+
void (*cond_signal) (GCond *cond);
|
87
|
+
void (*cond_broadcast) (GCond *cond);
|
88
|
+
void (*cond_wait) (GCond *cond,
|
89
|
+
GMutex *mutex);
|
90
|
+
gboolean (*cond_timed_wait) (GCond *cond,
|
91
|
+
GMutex *mutex,
|
92
|
+
GTimeVal *end_time);
|
93
|
+
void (*cond_free) (GCond *cond);
|
94
|
+
GPrivate* (*private_new) (GDestroyNotify destructor);
|
95
|
+
gpointer (*private_get) (GPrivate *private_key);
|
96
|
+
void (*private_set) (GPrivate *private_key,
|
97
|
+
gpointer data);
|
98
|
+
void (*thread_create) (GThreadFunc func,
|
99
|
+
gpointer data,
|
100
|
+
gulong stack_size,
|
101
|
+
gboolean joinable,
|
102
|
+
gboolean bound,
|
103
|
+
GThreadPriority priority,
|
104
|
+
gpointer thread,
|
105
|
+
GError **error);
|
106
|
+
void (*thread_yield) (void);
|
107
|
+
void (*thread_join) (gpointer thread);
|
108
|
+
void (*thread_exit) (void);
|
109
|
+
void (*thread_set_priority)(gpointer thread,
|
110
|
+
GThreadPriority priority);
|
111
|
+
void (*thread_self) (gpointer thread);
|
112
|
+
gboolean (*thread_equal) (gpointer thread1,
|
113
|
+
gpointer thread2);
|
114
|
+
};
|
115
|
+
|
116
|
+
GLIB_VAR GThreadFunctions g_thread_functions_for_glib_use;
|
117
|
+
GLIB_VAR gboolean g_thread_use_default_impl;
|
118
|
+
GLIB_VAR gboolean g_threads_got_initialized;
|
119
|
+
|
120
|
+
GLIB_VAR guint64 (*g_thread_gettime) (void);
|
121
|
+
|
122
|
+
/* initializes the mutex/cond/private implementation for glib, might
|
123
|
+
* only be called once, and must not be called directly or indirectly
|
124
|
+
* from another glib-function, e.g. as a callback.
|
125
|
+
*/
|
126
|
+
void g_thread_init (GThreadFunctions *vtable);
|
127
|
+
|
128
|
+
/* Errorcheck mutexes. If you define G_ERRORCHECK_MUTEXES, then all
|
129
|
+
* mutexes will check for re-locking and re-unlocking */
|
130
|
+
|
131
|
+
/* Initialize thread system with errorcheck mutexes. vtable must be
|
132
|
+
* NULL. Do not call directly. Use #define G_ERRORCHECK_MUTEXES
|
133
|
+
* instead.
|
134
|
+
*/
|
135
|
+
void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
|
136
|
+
|
137
|
+
/* Checks if thread support is initialized. Identical to the
|
138
|
+
* g_thread_supported macro but provided for language bindings.
|
139
|
+
*/
|
140
|
+
gboolean g_thread_get_initialized (void);
|
141
|
+
|
142
|
+
/* A random number to recognize debug calls to g_mutex_... */
|
143
|
+
#define G_MUTEX_DEBUG_MAGIC 0xf8e18ad7
|
144
|
+
|
145
|
+
#ifdef G_ERRORCHECK_MUTEXES
|
146
|
+
#define g_thread_init(vtable) g_thread_init_with_errorcheck_mutexes (vtable)
|
147
|
+
#endif
|
148
|
+
|
149
|
+
/* internal function for fallback static mutex implementation */
|
150
|
+
GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
|
151
|
+
|
152
|
+
#define g_static_mutex_get_mutex_impl_shortcut(mutex) \
|
153
|
+
(g_atomic_pointer_get (mutex) ? *(mutex) : \
|
154
|
+
g_static_mutex_get_mutex_impl (mutex))
|
155
|
+
|
156
|
+
/* shorthands for conditional and unconditional function calls */
|
157
|
+
|
158
|
+
#define G_THREAD_UF(op, arglist) \
|
159
|
+
(*g_thread_functions_for_glib_use . op) arglist
|
160
|
+
#define G_THREAD_CF(op, fail, arg) \
|
161
|
+
(g_thread_supported () ? G_THREAD_UF (op, arg) : (fail))
|
162
|
+
#define G_THREAD_ECF(op, fail, mutex, type) \
|
163
|
+
(g_thread_supported () ? \
|
164
|
+
((type(*)(GMutex*, const gulong, gchar const*)) \
|
165
|
+
(*g_thread_functions_for_glib_use . op)) \
|
166
|
+
(mutex, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : (fail))
|
167
|
+
|
168
|
+
#ifndef G_ERRORCHECK_MUTEXES
|
169
|
+
# define g_mutex_lock(mutex) \
|
170
|
+
G_THREAD_CF (mutex_lock, (void)0, (mutex))
|
171
|
+
# define g_mutex_trylock(mutex) \
|
172
|
+
G_THREAD_CF (mutex_trylock, TRUE, (mutex))
|
173
|
+
# define g_mutex_unlock(mutex) \
|
174
|
+
G_THREAD_CF (mutex_unlock, (void)0, (mutex))
|
175
|
+
# define g_mutex_free(mutex) \
|
176
|
+
G_THREAD_CF (mutex_free, (void)0, (mutex))
|
177
|
+
# define g_cond_wait(cond, mutex) \
|
178
|
+
G_THREAD_CF (cond_wait, (void)0, (cond, mutex))
|
179
|
+
# define g_cond_timed_wait(cond, mutex, abs_time) \
|
180
|
+
G_THREAD_CF (cond_timed_wait, TRUE, (cond, mutex, abs_time))
|
181
|
+
#else /* G_ERRORCHECK_MUTEXES */
|
182
|
+
# define g_mutex_lock(mutex) \
|
183
|
+
G_THREAD_ECF (mutex_lock, (void)0, (mutex), void)
|
184
|
+
# define g_mutex_trylock(mutex) \
|
185
|
+
G_THREAD_ECF (mutex_trylock, TRUE, (mutex), gboolean)
|
186
|
+
# define g_mutex_unlock(mutex) \
|
187
|
+
G_THREAD_ECF (mutex_unlock, (void)0, (mutex), void)
|
188
|
+
# define g_mutex_free(mutex) \
|
189
|
+
G_THREAD_ECF (mutex_free, (void)0, (mutex), void)
|
190
|
+
# define g_cond_wait(cond, mutex) \
|
191
|
+
(g_thread_supported () ? ((void(*)(GCond*, GMutex*, gulong, gchar*))\
|
192
|
+
g_thread_functions_for_glib_use.cond_wait) \
|
193
|
+
(cond, mutex, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : (void) 0)
|
194
|
+
# define g_cond_timed_wait(cond, mutex, abs_time) \
|
195
|
+
(g_thread_supported () ? \
|
196
|
+
((gboolean(*)(GCond*, GMutex*, GTimeVal*, gulong, gchar*)) \
|
197
|
+
g_thread_functions_for_glib_use.cond_timed_wait) \
|
198
|
+
(cond, mutex, abs_time, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : TRUE)
|
199
|
+
#endif /* G_ERRORCHECK_MUTEXES */
|
200
|
+
|
201
|
+
#if defined(G_THREADS_ENABLED) && defined(G_THREADS_MANDATORY)
|
202
|
+
#define g_thread_supported() 1
|
203
|
+
#else
|
204
|
+
#define g_thread_supported() (g_threads_got_initialized)
|
205
|
+
#endif
|
206
|
+
#define g_mutex_new() G_THREAD_UF (mutex_new, ())
|
207
|
+
#define g_cond_new() G_THREAD_UF (cond_new, ())
|
208
|
+
#define g_cond_signal(cond) G_THREAD_CF (cond_signal, (void)0, (cond))
|
209
|
+
#define g_cond_broadcast(cond) G_THREAD_CF (cond_broadcast, (void)0, (cond))
|
210
|
+
#define g_cond_free(cond) G_THREAD_CF (cond_free, (void)0, (cond))
|
211
|
+
#define g_private_new(destructor) G_THREAD_UF (private_new, (destructor))
|
212
|
+
#define g_private_get(private_key) G_THREAD_CF (private_get, \
|
213
|
+
((gpointer)private_key), \
|
214
|
+
(private_key))
|
215
|
+
#define g_private_set(private_key, value) G_THREAD_CF (private_set, \
|
216
|
+
(void) (private_key = \
|
217
|
+
(GPrivate*) (value)), \
|
218
|
+
(private_key, value))
|
219
|
+
#define g_thread_yield() G_THREAD_CF (thread_yield, (void)0, ())
|
220
|
+
|
221
|
+
#define g_thread_create(func, data, joinable, error) \
|
222
|
+
(g_thread_create_full (func, data, 0, joinable, FALSE, \
|
223
|
+
G_THREAD_PRIORITY_NORMAL, error))
|
224
|
+
|
225
|
+
GThread* g_thread_create_full (GThreadFunc func,
|
226
|
+
gpointer data,
|
227
|
+
gulong stack_size,
|
228
|
+
gboolean joinable,
|
229
|
+
gboolean bound,
|
230
|
+
GThreadPriority priority,
|
231
|
+
GError **error);
|
232
|
+
GThread* g_thread_self (void);
|
233
|
+
void g_thread_exit (gpointer retval);
|
234
|
+
gpointer g_thread_join (GThread *thread);
|
235
|
+
|
236
|
+
void g_thread_set_priority (GThread *thread,
|
237
|
+
GThreadPriority priority);
|
238
|
+
|
239
|
+
/* GStaticMutexes can be statically initialized with the value
|
240
|
+
* G_STATIC_MUTEX_INIT, and then they can directly be used, that is
|
241
|
+
* much easier, than having to explicitly allocate the mutex before
|
242
|
+
* use
|
243
|
+
*/
|
244
|
+
#define g_static_mutex_lock(mutex) \
|
245
|
+
g_mutex_lock (g_static_mutex_get_mutex (mutex))
|
246
|
+
#define g_static_mutex_trylock(mutex) \
|
247
|
+
g_mutex_trylock (g_static_mutex_get_mutex (mutex))
|
248
|
+
#define g_static_mutex_unlock(mutex) \
|
249
|
+
g_mutex_unlock (g_static_mutex_get_mutex (mutex))
|
250
|
+
void g_static_mutex_init (GStaticMutex *mutex);
|
251
|
+
void g_static_mutex_free (GStaticMutex *mutex);
|
252
|
+
|
253
|
+
struct _GStaticPrivate
|
254
|
+
{
|
255
|
+
/*< private >*/
|
256
|
+
guint index;
|
257
|
+
};
|
258
|
+
#define G_STATIC_PRIVATE_INIT { 0 }
|
259
|
+
void g_static_private_init (GStaticPrivate *private_key);
|
260
|
+
gpointer g_static_private_get (GStaticPrivate *private_key);
|
261
|
+
void g_static_private_set (GStaticPrivate *private_key,
|
262
|
+
gpointer data,
|
263
|
+
GDestroyNotify notify);
|
264
|
+
void g_static_private_free (GStaticPrivate *private_key);
|
265
|
+
|
266
|
+
typedef struct _GStaticRecMutex GStaticRecMutex;
|
267
|
+
struct _GStaticRecMutex
|
268
|
+
{
|
269
|
+
/*< private >*/
|
270
|
+
GStaticMutex mutex;
|
271
|
+
guint depth;
|
272
|
+
GSystemThread owner;
|
273
|
+
};
|
274
|
+
|
275
|
+
#define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }
|
276
|
+
void g_static_rec_mutex_init (GStaticRecMutex *mutex);
|
277
|
+
void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
|
278
|
+
gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
|
279
|
+
void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
|
280
|
+
void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
|
281
|
+
guint depth);
|
282
|
+
guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
|
283
|
+
void g_static_rec_mutex_free (GStaticRecMutex *mutex);
|
284
|
+
|
285
|
+
typedef struct _GStaticRWLock GStaticRWLock;
|
286
|
+
struct _GStaticRWLock
|
287
|
+
{
|
288
|
+
/*< private >*/
|
289
|
+
GStaticMutex mutex;
|
290
|
+
GCond *read_cond;
|
291
|
+
GCond *write_cond;
|
292
|
+
guint read_counter;
|
293
|
+
gboolean have_writer;
|
294
|
+
guint want_to_read;
|
295
|
+
guint want_to_write;
|
296
|
+
};
|
297
|
+
|
298
|
+
#define G_STATIC_RW_LOCK_INIT { G_STATIC_MUTEX_INIT, NULL, NULL, 0, FALSE, 0, 0 }
|
299
|
+
|
300
|
+
void g_static_rw_lock_init (GStaticRWLock* lock);
|
301
|
+
void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
|
302
|
+
gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
|
303
|
+
void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
|
304
|
+
void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
|
305
|
+
gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
|
306
|
+
void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
|
307
|
+
void g_static_rw_lock_free (GStaticRWLock* lock);
|
308
|
+
|
309
|
+
void g_thread_foreach (GFunc thread_func,
|
310
|
+
gpointer user_data);
|
311
|
+
|
312
|
+
typedef enum
|
313
|
+
{
|
314
|
+
G_ONCE_STATUS_NOTCALLED,
|
315
|
+
G_ONCE_STATUS_PROGRESS,
|
316
|
+
G_ONCE_STATUS_READY
|
317
|
+
} GOnceStatus;
|
318
|
+
|
319
|
+
typedef struct _GOnce GOnce;
|
320
|
+
struct _GOnce
|
321
|
+
{
|
322
|
+
volatile GOnceStatus status;
|
323
|
+
volatile gpointer retval;
|
324
|
+
};
|
325
|
+
|
326
|
+
#define G_ONCE_INIT { G_ONCE_STATUS_NOTCALLED, NULL }
|
327
|
+
|
328
|
+
gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
|
329
|
+
|
330
|
+
#ifdef G_ATOMIC_OP_MEMORY_BARRIER_NEEDED
|
331
|
+
# define g_once(once, func, arg) g_once_impl ((once), (func), (arg))
|
332
|
+
#else /* !G_ATOMIC_OP_MEMORY_BARRIER_NEEDED*/
|
333
|
+
# define g_once(once, func, arg) \
|
334
|
+
(((once)->status == G_ONCE_STATUS_READY) ? \
|
335
|
+
(once)->retval : \
|
336
|
+
g_once_impl ((once), (func), (arg)))
|
337
|
+
#endif /* G_ATOMIC_OP_MEMORY_BARRIER_NEEDED */
|
338
|
+
|
339
|
+
/* initialize-once guards, keyed by value_location */
|
340
|
+
G_INLINE_FUNC gboolean g_once_init_enter (volatile gsize *value_location);
|
341
|
+
gboolean g_once_init_enter_impl (volatile gsize *value_location);
|
342
|
+
void g_once_init_leave (volatile gsize *value_location,
|
343
|
+
gsize initialization_value);
|
344
|
+
#if defined (G_CAN_INLINE) || defined (__G_THREAD_C__)
|
345
|
+
G_INLINE_FUNC gboolean
|
346
|
+
g_once_init_enter (volatile gsize *value_location)
|
347
|
+
{
|
348
|
+
if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL)
|
349
|
+
return FALSE;
|
350
|
+
else
|
351
|
+
return g_once_init_enter_impl (value_location);
|
352
|
+
}
|
353
|
+
#endif /* G_CAN_INLINE || __G_THREAD_C__ */
|
354
|
+
|
355
|
+
/* these are some convenience macros that expand to nothing if GLib
|
356
|
+
* was configured with --disable-threads. for using StaticMutexes,
|
357
|
+
* you define them with G_LOCK_DEFINE_STATIC (name) or G_LOCK_DEFINE (name)
|
358
|
+
* if you need to export the mutex. With G_LOCK_EXTERN (name) you can
|
359
|
+
* declare such an globally defined lock. name is a unique identifier
|
360
|
+
* for the protected varibale or code portion. locking, testing and
|
361
|
+
* unlocking of such mutexes can be done with G_LOCK(), G_UNLOCK() and
|
362
|
+
* G_TRYLOCK() respectively.
|
363
|
+
*/
|
364
|
+
extern void glib_dummy_decl (void);
|
365
|
+
#define G_LOCK_NAME(name) g__ ## name ## _lock
|
366
|
+
#ifdef G_THREADS_ENABLED
|
367
|
+
# define G_LOCK_DEFINE_STATIC(name) static G_LOCK_DEFINE (name)
|
368
|
+
# define G_LOCK_DEFINE(name) \
|
369
|
+
GStaticMutex G_LOCK_NAME (name) = G_STATIC_MUTEX_INIT
|
370
|
+
# define G_LOCK_EXTERN(name) extern GStaticMutex G_LOCK_NAME (name)
|
371
|
+
|
372
|
+
# ifdef G_DEBUG_LOCKS
|
373
|
+
# define G_LOCK(name) G_STMT_START{ \
|
374
|
+
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
375
|
+
"file %s: line %d (%s): locking: %s ", \
|
376
|
+
__FILE__, __LINE__, G_STRFUNC, \
|
377
|
+
#name); \
|
378
|
+
g_static_mutex_lock (&G_LOCK_NAME (name)); \
|
379
|
+
}G_STMT_END
|
380
|
+
# define G_UNLOCK(name) G_STMT_START{ \
|
381
|
+
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
382
|
+
"file %s: line %d (%s): unlocking: %s ", \
|
383
|
+
__FILE__, __LINE__, G_STRFUNC, \
|
384
|
+
#name); \
|
385
|
+
g_static_mutex_unlock (&G_LOCK_NAME (name)); \
|
386
|
+
}G_STMT_END
|
387
|
+
# define G_TRYLOCK(name) \
|
388
|
+
(g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
389
|
+
"file %s: line %d (%s): try locking: %s ", \
|
390
|
+
__FILE__, __LINE__, G_STRFUNC, \
|
391
|
+
#name), g_static_mutex_trylock (&G_LOCK_NAME (name)))
|
392
|
+
# else /* !G_DEBUG_LOCKS */
|
393
|
+
# define G_LOCK(name) g_static_mutex_lock (&G_LOCK_NAME (name))
|
394
|
+
# define G_UNLOCK(name) g_static_mutex_unlock (&G_LOCK_NAME (name))
|
395
|
+
# define G_TRYLOCK(name) g_static_mutex_trylock (&G_LOCK_NAME (name))
|
396
|
+
# endif /* !G_DEBUG_LOCKS */
|
397
|
+
#else /* !G_THREADS_ENABLED */
|
398
|
+
# define G_LOCK_DEFINE_STATIC(name) extern void glib_dummy_decl (void)
|
399
|
+
# define G_LOCK_DEFINE(name) extern void glib_dummy_decl (void)
|
400
|
+
# define G_LOCK_EXTERN(name) extern void glib_dummy_decl (void)
|
401
|
+
# define G_LOCK(name)
|
402
|
+
# define G_UNLOCK(name)
|
403
|
+
# define G_TRYLOCK(name) (TRUE)
|
404
|
+
#endif /* !G_THREADS_ENABLED */
|
405
|
+
|
406
|
+
G_END_DECLS
|
407
|
+
|
408
|
+
#endif /* __G_THREAD_H__ */
|
@@ -0,0 +1,114 @@
|
|
1
|
+
/* GLIB - Library of useful routines for C programming
|
2
|
+
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Lesser General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Lesser General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Lesser General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
22
|
+
* file for a list of people on the GLib Team. See the ChangeLog
|
23
|
+
* files for a list of changes. These files are distributed with
|
24
|
+
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
25
|
+
*/
|
26
|
+
|
27
|
+
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
28
|
+
#error "Only <glib.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef __G_THREADPOOL_H__
|
32
|
+
#define __G_THREADPOOL_H__
|
33
|
+
|
34
|
+
#include <glib/gthread.h>
|
35
|
+
|
36
|
+
G_BEGIN_DECLS
|
37
|
+
|
38
|
+
typedef struct _GThreadPool GThreadPool;
|
39
|
+
|
40
|
+
/* Thread Pools
|
41
|
+
*/
|
42
|
+
|
43
|
+
/* The real GThreadPool is bigger, so you may only create a thread
|
44
|
+
* pool with the constructor function */
|
45
|
+
struct _GThreadPool
|
46
|
+
{
|
47
|
+
GFunc func;
|
48
|
+
gpointer user_data;
|
49
|
+
gboolean exclusive;
|
50
|
+
};
|
51
|
+
|
52
|
+
/* Get a thread pool with the function func, at most max_threads may
|
53
|
+
* run at a time (max_threads == -1 means no limit), exclusive == TRUE
|
54
|
+
* means, that the threads shouldn't be shared and that they will be
|
55
|
+
* prestarted (otherwise they are started as needed) user_data is the
|
56
|
+
* 2nd argument to the func */
|
57
|
+
GThreadPool* g_thread_pool_new (GFunc func,
|
58
|
+
gpointer user_data,
|
59
|
+
gint max_threads,
|
60
|
+
gboolean exclusive,
|
61
|
+
GError **error);
|
62
|
+
|
63
|
+
/* Push new data into the thread pool. This task is assigned to a thread later
|
64
|
+
* (when the maximal number of threads is reached for that pool) or now
|
65
|
+
* (otherwise). If necessary a new thread will be started. The function
|
66
|
+
* returns immediatly */
|
67
|
+
void g_thread_pool_push (GThreadPool *pool,
|
68
|
+
gpointer data,
|
69
|
+
GError **error);
|
70
|
+
|
71
|
+
/* Set the number of threads, which can run concurrently for that pool, -1
|
72
|
+
* means no limit. 0 means has the effect, that the pool won't process
|
73
|
+
* requests until the limit is set higher again */
|
74
|
+
void g_thread_pool_set_max_threads (GThreadPool *pool,
|
75
|
+
gint max_threads,
|
76
|
+
GError **error);
|
77
|
+
gint g_thread_pool_get_max_threads (GThreadPool *pool);
|
78
|
+
|
79
|
+
/* Get the number of threads assigned to that pool. This number doesn't
|
80
|
+
* necessarily represent the number of working threads in that pool */
|
81
|
+
guint g_thread_pool_get_num_threads (GThreadPool *pool);
|
82
|
+
|
83
|
+
/* Get the number of unprocessed items in the pool */
|
84
|
+
guint g_thread_pool_unprocessed (GThreadPool *pool);
|
85
|
+
|
86
|
+
/* Free the pool, immediate means, that all unprocessed items in the queue
|
87
|
+
* wont be processed, wait means, that the function doesn't return immediatly,
|
88
|
+
* but after all threads in the pool are ready processing items. immediate
|
89
|
+
* does however not mean, that threads are killed. */
|
90
|
+
void g_thread_pool_free (GThreadPool *pool,
|
91
|
+
gboolean immediate,
|
92
|
+
gboolean wait_);
|
93
|
+
|
94
|
+
/* Set the maximal number of unused threads before threads will be stopped by
|
95
|
+
* GLib, -1 means no limit */
|
96
|
+
void g_thread_pool_set_max_unused_threads (gint max_threads);
|
97
|
+
gint g_thread_pool_get_max_unused_threads (void);
|
98
|
+
guint g_thread_pool_get_num_unused_threads (void);
|
99
|
+
|
100
|
+
/* Stop all currently unused threads, but leave the limit untouched */
|
101
|
+
void g_thread_pool_stop_unused_threads (void);
|
102
|
+
|
103
|
+
/* Set sort function for priority threading */
|
104
|
+
void g_thread_pool_set_sort_function (GThreadPool *pool,
|
105
|
+
GCompareDataFunc func,
|
106
|
+
gpointer user_data);
|
107
|
+
|
108
|
+
/* Set maximum time a thread can be idle in the pool before it is stopped */
|
109
|
+
void g_thread_pool_set_max_idle_time (guint interval);
|
110
|
+
guint g_thread_pool_get_max_idle_time (void);
|
111
|
+
|
112
|
+
G_END_DECLS
|
113
|
+
|
114
|
+
#endif /* __G_THREADPOOL_H__ */
|
@@ -0,0 +1,65 @@
|
|
1
|
+
/* GLIB - Library of useful routines for C programming
|
2
|
+
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Lesser General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Lesser General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Lesser General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
22
|
+
* file for a list of people on the GLib Team. See the ChangeLog
|
23
|
+
* files for a list of changes. These files are distributed with
|
24
|
+
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
25
|
+
*/
|
26
|
+
|
27
|
+
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
28
|
+
#error "Only <glib.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef __G_TIMER_H__
|
32
|
+
#define __G_TIMER_H__
|
33
|
+
|
34
|
+
#include <glib/gtypes.h>
|
35
|
+
|
36
|
+
G_BEGIN_DECLS
|
37
|
+
|
38
|
+
/* Timer
|
39
|
+
*/
|
40
|
+
|
41
|
+
/* microseconds per second */
|
42
|
+
typedef struct _GTimer GTimer;
|
43
|
+
|
44
|
+
#define G_USEC_PER_SEC 1000000
|
45
|
+
|
46
|
+
GTimer* g_timer_new (void);
|
47
|
+
void g_timer_destroy (GTimer *timer);
|
48
|
+
void g_timer_start (GTimer *timer);
|
49
|
+
void g_timer_stop (GTimer *timer);
|
50
|
+
void g_timer_reset (GTimer *timer);
|
51
|
+
void g_timer_continue (GTimer *timer);
|
52
|
+
gdouble g_timer_elapsed (GTimer *timer,
|
53
|
+
gulong *microseconds);
|
54
|
+
|
55
|
+
void g_usleep (gulong microseconds);
|
56
|
+
|
57
|
+
void g_time_val_add (GTimeVal *time_,
|
58
|
+
glong microseconds);
|
59
|
+
gboolean g_time_val_from_iso8601 (const gchar *iso_date,
|
60
|
+
GTimeVal *time_);
|
61
|
+
gchar* g_time_val_to_iso8601 (GTimeVal *time_) G_GNUC_MALLOC;
|
62
|
+
|
63
|
+
G_END_DECLS
|
64
|
+
|
65
|
+
#endif /* __G_TIMER_H__ */
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/* GLIB - Library of useful routines for C programming
|
2
|
+
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
3
|
+
*
|
4
|
+
* This library is free software; you can redistribute it and/or
|
5
|
+
* modify it under the terms of the GNU Lesser General Public
|
6
|
+
* License as published by the Free Software Foundation; either
|
7
|
+
* version 2 of the License, or (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This library is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
* Lesser General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Lesser General Public
|
15
|
+
* License along with this library; if not, write to the
|
16
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
+
* Boston, MA 02111-1307, USA.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
22
|
+
* file for a list of people on the GLib Team. See the ChangeLog
|
23
|
+
* files for a list of changes. These files are distributed with
|
24
|
+
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
25
|
+
*/
|
26
|
+
|
27
|
+
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
28
|
+
#error "Only <glib.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef __G_TREE_H__
|
32
|
+
#define __G_TREE_H__
|
33
|
+
|
34
|
+
#include <glib/gnode.h>
|
35
|
+
|
36
|
+
G_BEGIN_DECLS
|
37
|
+
|
38
|
+
typedef struct _GTree GTree;
|
39
|
+
|
40
|
+
typedef gboolean (*GTraverseFunc) (gpointer key,
|
41
|
+
gpointer value,
|
42
|
+
gpointer data);
|
43
|
+
|
44
|
+
/* Balanced binary trees
|
45
|
+
*/
|
46
|
+
GTree* g_tree_new (GCompareFunc key_compare_func);
|
47
|
+
GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
|
48
|
+
gpointer key_compare_data);
|
49
|
+
GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
|
50
|
+
gpointer key_compare_data,
|
51
|
+
GDestroyNotify key_destroy_func,
|
52
|
+
GDestroyNotify value_destroy_func);
|
53
|
+
GTree* g_tree_ref (GTree *tree);
|
54
|
+
void g_tree_unref (GTree *tree);
|
55
|
+
void g_tree_destroy (GTree *tree);
|
56
|
+
void g_tree_insert (GTree *tree,
|
57
|
+
gpointer key,
|
58
|
+
gpointer value);
|
59
|
+
void g_tree_replace (GTree *tree,
|
60
|
+
gpointer key,
|
61
|
+
gpointer value);
|
62
|
+
gboolean g_tree_remove (GTree *tree,
|
63
|
+
gconstpointer key);
|
64
|
+
gboolean g_tree_steal (GTree *tree,
|
65
|
+
gconstpointer key);
|
66
|
+
gpointer g_tree_lookup (GTree *tree,
|
67
|
+
gconstpointer key);
|
68
|
+
gboolean g_tree_lookup_extended (GTree *tree,
|
69
|
+
gconstpointer lookup_key,
|
70
|
+
gpointer *orig_key,
|
71
|
+
gpointer *value);
|
72
|
+
void g_tree_foreach (GTree *tree,
|
73
|
+
GTraverseFunc func,
|
74
|
+
gpointer user_data);
|
75
|
+
|
76
|
+
#ifndef G_DISABLE_DEPRECATED
|
77
|
+
void g_tree_traverse (GTree *tree,
|
78
|
+
GTraverseFunc traverse_func,
|
79
|
+
GTraverseType traverse_type,
|
80
|
+
gpointer user_data);
|
81
|
+
#endif /* G_DISABLE_DEPRECATED */
|
82
|
+
|
83
|
+
gpointer g_tree_search (GTree *tree,
|
84
|
+
GCompareFunc search_func,
|
85
|
+
gconstpointer user_data);
|
86
|
+
gint g_tree_height (GTree *tree);
|
87
|
+
gint g_tree_nnodes (GTree *tree);
|
88
|
+
|
89
|
+
G_END_DECLS
|
90
|
+
|
91
|
+
#endif /* __G_TREE_H__ */
|