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,2355 @@
|
|
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>Closures</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GObject Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
+
<link rel="prev" href="gobject-Signals.html" title="Signals">
|
10
|
+
<link rel="next" href="gobject-Value-arrays.html" title="Value arrays">
|
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="gobject-Signals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="gobject-Value-arrays.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="#gobject-Closures.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#gobject-Closures.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry" title="Closures">
|
30
|
+
<a name="gobject-Closures"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="gobject-Closures.top_of_page"></a>Closures</span></h2>
|
34
|
+
<p>Closures — Functions as first-class objects</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
|
+
<a name="gobject-Closures.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">
|
41
|
+
#include <glib-object.h>
|
42
|
+
|
43
|
+
#define <a class="link" href="gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS" title="G_CLOSURE_NEEDS_MARSHAL()">G_CLOSURE_NEEDS_MARSHAL</a> (closure)
|
44
|
+
#define <a class="link" href="gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS" title="G_CLOSURE_N_NOTIFIERS()">G_CLOSURE_N_NOTIFIERS</a> (cl)
|
45
|
+
#define <a class="link" href="gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS" title="G_CCLOSURE_SWAP_DATA()">G_CCLOSURE_SWAP_DATA</a> (cclosure)
|
46
|
+
#define <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()">G_CALLBACK</a> (f)
|
47
|
+
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()">*GCallback</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure">GClosure</a>;
|
49
|
+
#define <a class="link" href="gobject-Closures.html#G-TYPE-CLOSURE:CAPS" title="G_TYPE_CLOSURE">G_TYPE_CLOSURE</a>
|
50
|
+
<a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure">GCClosure</a>;
|
51
|
+
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()">*GClosureMarshal</a>) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
53
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
54
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
55
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
56
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
57
|
+
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()">*GClosureNotify</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
59
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
60
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);
|
62
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()">g_cclosure_new_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
63
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);
|
65
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-cclosure-new-object" title="g_cclosure_new_object ()">g_cclosure_new_object</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
67
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-cclosure-new-object-swap" title="g_cclosure_new_object_swap ()">g_cclosure_new_object_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
68
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
69
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-closure-new-object" title="g_closure_new_object ()">g_closure_new_object</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
70
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
71
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()">g_closure_ref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()">g_closure_sink</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()">g_closure_unref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()">g_closure_invoke</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
75
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
76
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
77
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
78
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>);
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()">g_closure_invalidate</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()">g_closure_add_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
81
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()">g_closure_add_invalidate_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
84
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
86
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
87
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
88
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a>
|
90
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
91
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
92
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
93
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()">g_closure_new_simple</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
94
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()">g_closure_set_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
96
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()">g_closure_add_marshal_guards</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
98
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>,
|
99
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>,
|
100
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>,
|
101
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()">g_closure_set_meta_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
103
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>,
|
104
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>);
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()">g_source_set_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
107
|
+
#define <a class="link" href="gobject-Closures.html#G-TYPE-IO-CHANNEL:CAPS" title="G_TYPE_IO_CHANNEL">G_TYPE_IO_CHANNEL</a>
|
108
|
+
#define <a class="link" href="gobject-Closures.html#G-TYPE-IO-CONDITION:CAPS" title="G_TYPE_IO_CONDITION">G_TYPE_IO_CONDITION</a>
|
109
|
+
|
110
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOID" title="g_cclosure_marshal_VOID__VOID ()">g_cclosure_marshal_VOID__VOID</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
111
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
112
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
113
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
114
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
115
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
116
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN" title="g_cclosure_marshal_VOID__BOOLEAN ()">g_cclosure_marshal_VOID__BOOLEAN</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
117
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
118
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
119
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
120
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
121
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHAR" title="g_cclosure_marshal_VOID__CHAR ()">g_cclosure_marshal_VOID__CHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
123
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
124
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
125
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
126
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
127
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
128
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR" title="g_cclosure_marshal_VOID__UCHAR ()">g_cclosure_marshal_VOID__UCHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
129
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
130
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
131
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
132
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
133
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
134
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INT" title="g_cclosure_marshal_VOID__INT ()">g_cclosure_marshal_VOID__INT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
135
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
136
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
137
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
138
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
139
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
140
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT" title="g_cclosure_marshal_VOID__UINT ()">g_cclosure_marshal_VOID__UINT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
141
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
142
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
143
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
144
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
145
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
146
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONG" title="g_cclosure_marshal_VOID__LONG ()">g_cclosure_marshal_VOID__LONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
147
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
148
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
149
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
150
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
151
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
152
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONG" title="g_cclosure_marshal_VOID__ULONG ()">g_cclosure_marshal_VOID__ULONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
153
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
154
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
155
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
156
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
157
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
158
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUM" title="g_cclosure_marshal_VOID__ENUM ()">g_cclosure_marshal_VOID__ENUM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
159
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
160
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
161
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
162
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
163
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
164
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS" title="g_cclosure_marshal_VOID__FLAGS ()">g_cclosure_marshal_VOID__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
165
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
166
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
167
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
168
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
169
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
170
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT" title="g_cclosure_marshal_VOID__FLOAT ()">g_cclosure_marshal_VOID__FLOAT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
171
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
172
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
173
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
174
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
175
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
176
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE" title="g_cclosure_marshal_VOID__DOUBLE ()">g_cclosure_marshal_VOID__DOUBLE</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
177
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
178
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
179
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
180
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
181
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
182
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRING" title="g_cclosure_marshal_VOID__STRING ()">g_cclosure_marshal_VOID__STRING</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
183
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
184
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
185
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
186
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
187
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
188
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAM" title="g_cclosure_marshal_VOID__PARAM ()">g_cclosure_marshal_VOID__PARAM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
189
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
190
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
191
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
192
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
193
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
194
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXED" title="g_cclosure_marshal_VOID__BOXED ()">g_cclosure_marshal_VOID__BOXED</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
195
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
196
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
197
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
198
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
199
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
200
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTER" title="g_cclosure_marshal_VOID__POINTER ()">g_cclosure_marshal_VOID__POINTER</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
201
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
202
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
203
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
204
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
205
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
206
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT" title="g_cclosure_marshal_VOID__OBJECT ()">g_cclosure_marshal_VOID__OBJECT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
207
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
208
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
209
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
210
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
211
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
212
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER" title="g_cclosure_marshal_STRING__OBJECT_POINTER ()">g_cclosure_marshal_STRING__OBJECT_POINTER</a>
|
213
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
214
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
215
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
216
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
217
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
218
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
219
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER" title="g_cclosure_marshal_VOID__UINT_POINTER ()">g_cclosure_marshal_VOID__UINT_POINTER</a>
|
220
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
221
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
222
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
223
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
224
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
225
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
226
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()">g_cclosure_marshal_BOOLEAN__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
227
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
228
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
229
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
230
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
231
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
232
|
+
#define <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS" title="g_cclosure_marshal_BOOL__FLAGS">g_cclosure_marshal_BOOL__FLAGS</a>
|
233
|
+
</pre>
|
234
|
+
</div>
|
235
|
+
<div class="refsect1" title="Description">
|
236
|
+
<a name="gobject-Closures.description"></a><h2>Description</h2>
|
237
|
+
<p>
|
238
|
+
A <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer. It
|
239
|
+
will generally comprise a function of some kind and a marshaller
|
240
|
+
used to call it. It is the reponsibility of the marshaller to
|
241
|
+
convert the arguments for the invocation from <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s into
|
242
|
+
a suitable form, perform the callback on the converted arguments,
|
243
|
+
and transform the return value back into a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>.
|
244
|
+
</p>
|
245
|
+
<p>
|
246
|
+
In the case of C programs, a closure usually just holds a pointer
|
247
|
+
to a function and maybe a data argument, and the marshaller
|
248
|
+
converts between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> and native C types. The GObject
|
249
|
+
library provides the <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> type for this purpose. Bindings for
|
250
|
+
other languages need marshallers which convert between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s and suitable representations in the runtime of the language in
|
251
|
+
order to use functions written in that languages as callbacks.
|
252
|
+
</p>
|
253
|
+
<p>
|
254
|
+
Within GObject, closures play an important role in the
|
255
|
+
implementation of signals. When a signal is registered, the
|
256
|
+
<em class="parameter"><code>c_marshaller</code></em> argument to <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> specifies the default C
|
257
|
+
marshaller for any closure which is connected to this
|
258
|
+
signal. GObject provides a number of C marshallers for this
|
259
|
+
purpose, see the g_cclosure_marshal_*() functions. Additional C
|
260
|
+
marshallers can be generated with the <a href="glib-genmarshal.html">glib-genmarshal</a> utility. Closures
|
261
|
+
can be explicitly connected to signals with
|
262
|
+
<a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()"><code class="function">g_signal_connect_closure()</code></a>, but it usually more convenient to let
|
263
|
+
GObject create a closure automatically by using one of the
|
264
|
+
g_signal_connect_*() functions which take a callback function/user
|
265
|
+
data pair.
|
266
|
+
</p>
|
267
|
+
<p>
|
268
|
+
Using closures has a number of important advantages over a simple
|
269
|
+
callback function/data pointer combination:
|
270
|
+
</p>
|
271
|
+
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
272
|
+
<li class="listitem"><p>
|
273
|
+
Closures allow the callee to get the types of the callback parameters,
|
274
|
+
which means that language bindings don't have to write individual glue
|
275
|
+
for each callback type.
|
276
|
+
</p></li>
|
277
|
+
<li class="listitem"><p>
|
278
|
+
The reference counting of <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> makes it easy to handle reentrancy
|
279
|
+
right; if a callback is removed while it is being invoked, the closure
|
280
|
+
and its parameters won't be freed until the invocation finishes.
|
281
|
+
</p></li>
|
282
|
+
<li class="listitem"><p>
|
283
|
+
<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> and invalidation notifiers allow callbacks to be
|
284
|
+
automatically removed when the objects they point to go away.
|
285
|
+
</p></li>
|
286
|
+
</ul></div>
|
287
|
+
<p>
|
288
|
+
</p>
|
289
|
+
</div>
|
290
|
+
<div class="refsect1" title="Details">
|
291
|
+
<a name="gobject-Closures.details"></a><h2>Details</h2>
|
292
|
+
<div class="refsect2" title="G_CLOSURE_NEEDS_MARSHAL()">
|
293
|
+
<a name="G-CLOSURE-NEEDS-MARSHAL:CAPS"></a><h3>G_CLOSURE_NEEDS_MARSHAL()</h3>
|
294
|
+
<pre class="programlisting">#define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
|
295
|
+
</pre>
|
296
|
+
<p>
|
297
|
+
Check if the closure still needs a marshaller. See <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a>.
|
298
|
+
</p>
|
299
|
+
<div class="variablelist"><table border="0">
|
300
|
+
<col align="left" valign="top">
|
301
|
+
<tbody>
|
302
|
+
<tr>
|
303
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
304
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
305
|
+
</td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
309
|
+
<td> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshaller has not yet been set on
|
310
|
+
<em class="parameter"><code>closure</code></em>.
|
311
|
+
</td>
|
312
|
+
</tr>
|
313
|
+
</tbody>
|
314
|
+
</table></div>
|
315
|
+
</div>
|
316
|
+
<hr>
|
317
|
+
<div class="refsect2" title="G_CLOSURE_N_NOTIFIERS()">
|
318
|
+
<a name="G-CLOSURE-N-NOTIFIERS:CAPS"></a><h3>G_CLOSURE_N_NOTIFIERS()</h3>
|
319
|
+
<pre class="programlisting">#define G_CLOSURE_N_NOTIFIERS(cl)</pre>
|
320
|
+
<p>
|
321
|
+
Get the total number of notifiers connected with the closure <em class="parameter"><code>cl</code></em>.
|
322
|
+
The count includes the meta marshaller, the finalize and invalidate notifiers
|
323
|
+
and the marshal guards. Note that each guard counts as two notifiers.
|
324
|
+
See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>, <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a>,
|
325
|
+
<a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a> and <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()"><code class="function">g_closure_add_marshal_guards()</code></a>.
|
326
|
+
</p>
|
327
|
+
<div class="variablelist"><table border="0">
|
328
|
+
<col align="left" valign="top">
|
329
|
+
<tbody>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="parameter"><code>cl</code></em> :</span></p></td>
|
332
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
<tr>
|
336
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
337
|
+
<td> number of notifiers
|
338
|
+
</td>
|
339
|
+
</tr>
|
340
|
+
</tbody>
|
341
|
+
</table></div>
|
342
|
+
</div>
|
343
|
+
<hr>
|
344
|
+
<div class="refsect2" title="G_CCLOSURE_SWAP_DATA()">
|
345
|
+
<a name="G-CCLOSURE-SWAP-DATA:CAPS"></a><h3>G_CCLOSURE_SWAP_DATA()</h3>
|
346
|
+
<pre class="programlisting">#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag)
|
347
|
+
</pre>
|
348
|
+
<p>
|
349
|
+
Checks whether the user data of the <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> should be passed as the
|
350
|
+
first parameter to the callback. See <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a>.
|
351
|
+
</p>
|
352
|
+
<div class="variablelist"><table border="0">
|
353
|
+
<col align="left" valign="top">
|
354
|
+
<tbody>
|
355
|
+
<tr>
|
356
|
+
<td><p><span class="term"><em class="parameter"><code>cclosure</code></em> :</span></p></td>
|
357
|
+
<td>a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
358
|
+
</td>
|
359
|
+
</tr>
|
360
|
+
<tr>
|
361
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
362
|
+
<td> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data has to be swapped.
|
363
|
+
</td>
|
364
|
+
</tr>
|
365
|
+
</tbody>
|
366
|
+
</table></div>
|
367
|
+
</div>
|
368
|
+
<hr>
|
369
|
+
<div class="refsect2" title="G_CALLBACK()">
|
370
|
+
<a name="G-CALLBACK:CAPS"></a><h3>G_CALLBACK()</h3>
|
371
|
+
<pre class="programlisting">#define G_CALLBACK(f) ((GCallback) (f))
|
372
|
+
</pre>
|
373
|
+
<p>
|
374
|
+
Cast a function pointer to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>.
|
375
|
+
</p>
|
376
|
+
<div class="variablelist"><table border="0">
|
377
|
+
<col align="left" valign="top">
|
378
|
+
<tbody><tr>
|
379
|
+
<td><p><span class="term"><em class="parameter"><code>f</code></em> :</span></p></td>
|
380
|
+
<td>a function pointer.
|
381
|
+
</td>
|
382
|
+
</tr></tbody>
|
383
|
+
</table></div>
|
384
|
+
</div>
|
385
|
+
<hr>
|
386
|
+
<div class="refsect2" title="GCallback ()">
|
387
|
+
<a name="GCallback"></a><h3>GCallback ()</h3>
|
388
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GCallback) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
389
|
+
<p>
|
390
|
+
The type used for callback functions in structure definitions and function
|
391
|
+
signatures. This doesn't mean that all callback functions must take no
|
392
|
+
parameters and return void. The required signature of a callback function
|
393
|
+
is determined by the context in which is used (e.g. the signal to which it
|
394
|
+
is connected). Use <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()"><code class="function">G_CALLBACK()</code></a> to cast the callback function to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>.
|
395
|
+
</p>
|
396
|
+
</div>
|
397
|
+
<hr>
|
398
|
+
<div class="refsect2" title="GClosure">
|
399
|
+
<a name="GClosure"></a><h3>GClosure</h3>
|
400
|
+
<pre class="programlisting">typedef struct {
|
401
|
+
volatile guint in_marshal : 1;
|
402
|
+
volatile guint is_invalid : 1;
|
403
|
+
} GClosure;
|
404
|
+
</pre>
|
405
|
+
<p>
|
406
|
+
A <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer.
|
407
|
+
</p>
|
408
|
+
<div class="variablelist"><table border="0">
|
409
|
+
<col align="left" valign="top">
|
410
|
+
<tbody>
|
411
|
+
<tr>
|
412
|
+
<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.in-marshal"></a>in_marshal</code></em> : 1;</span></p></td>
|
413
|
+
<td>Indicates whether the closure is currently being invoked with
|
414
|
+
<a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.is-invalid"></a>is_invalid</code></em> : 1;</span></p></td>
|
419
|
+
<td>Indicates whether the closure has been invalidated by
|
420
|
+
<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>
|
421
|
+
</td>
|
422
|
+
</tr>
|
423
|
+
</tbody>
|
424
|
+
</table></div>
|
425
|
+
</div>
|
426
|
+
<hr>
|
427
|
+
<div class="refsect2" title="G_TYPE_CLOSURE">
|
428
|
+
<a name="G-TYPE-CLOSURE:CAPS"></a><h3>G_TYPE_CLOSURE</h3>
|
429
|
+
<pre class="programlisting">#define G_TYPE_CLOSURE (g_closure_get_type ())
|
430
|
+
</pre>
|
431
|
+
<p>
|
432
|
+
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>.
|
433
|
+
</p>
|
434
|
+
</div>
|
435
|
+
<hr>
|
436
|
+
<div class="refsect2" title="GCClosure">
|
437
|
+
<a name="GCClosure"></a><h3>GCClosure</h3>
|
438
|
+
<pre class="programlisting">typedef struct {
|
439
|
+
GClosure closure;
|
440
|
+
gpointer callback;
|
441
|
+
} GCClosure;
|
442
|
+
</pre>
|
443
|
+
<p>
|
444
|
+
A <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> is a specialization of <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> for C function callbacks.
|
445
|
+
</p>
|
446
|
+
<div class="variablelist"><table border="0">
|
447
|
+
<col align="left" valign="top">
|
448
|
+
<tbody>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> <em class="structfield"><code><a name="GCClosure.closure"></a>closure</code></em>;</span></p></td>
|
451
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
452
|
+
</td>
|
453
|
+
</tr>
|
454
|
+
<tr>
|
455
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GCClosure.callback"></a>callback</code></em>;</span></p></td>
|
456
|
+
<td>the callback function
|
457
|
+
</td>
|
458
|
+
</tr>
|
459
|
+
</tbody>
|
460
|
+
</table></div>
|
461
|
+
</div>
|
462
|
+
<hr>
|
463
|
+
<div class="refsect2" title="GClosureMarshal ()">
|
464
|
+
<a name="GClosureMarshal"></a><h3>GClosureMarshal ()</h3>
|
465
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureMarshal) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
466
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
467
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
468
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
469
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
470
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
471
|
+
<p>
|
472
|
+
The type used for marshaller functions.
|
473
|
+
</p>
|
474
|
+
<div class="variablelist"><table border="0">
|
475
|
+
<col align="left" valign="top">
|
476
|
+
<tbody>
|
477
|
+
<tr>
|
478
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
479
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
480
|
+
</td>
|
481
|
+
</tr>
|
482
|
+
<tr>
|
483
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
484
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
485
|
+
callback of <em class="parameter"><code>closure</code></em> doesn't return a value.
|
486
|
+
</td>
|
487
|
+
</tr>
|
488
|
+
<tr>
|
489
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
490
|
+
<td>the length of the <em class="parameter"><code>param_values</code></em> array
|
491
|
+
</td>
|
492
|
+
</tr>
|
493
|
+
<tr>
|
494
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
495
|
+
<td>an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on
|
496
|
+
which to invoke the callback of <em class="parameter"><code>closure</code></em>
|
497
|
+
</td>
|
498
|
+
</tr>
|
499
|
+
<tr>
|
500
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
501
|
+
<td>the invocation hint given as the last argument
|
502
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
503
|
+
</td>
|
504
|
+
</tr>
|
505
|
+
<tr>
|
506
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
507
|
+
<td>additional data specified when registering the marshaller,
|
508
|
+
see <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a> and <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>
|
509
|
+
</td>
|
510
|
+
</tr>
|
511
|
+
</tbody>
|
512
|
+
</table></div>
|
513
|
+
</div>
|
514
|
+
<hr>
|
515
|
+
<div class="refsect2" title="GClosureNotify ()">
|
516
|
+
<a name="GClosureNotify"></a><h3>GClosureNotify ()</h3>
|
517
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
518
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
519
|
+
<p>
|
520
|
+
The type used for the various notification callbacks which can be registered
|
521
|
+
on closures.
|
522
|
+
</p>
|
523
|
+
<div class="variablelist"><table border="0">
|
524
|
+
<col align="left" valign="top">
|
525
|
+
<tbody>
|
526
|
+
<tr>
|
527
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
528
|
+
<td>data specified when registering the notification callback
|
529
|
+
</td>
|
530
|
+
</tr>
|
531
|
+
<tr>
|
532
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
533
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> on which the notification is emitted
|
534
|
+
</td>
|
535
|
+
</tr>
|
536
|
+
</tbody>
|
537
|
+
</table></div>
|
538
|
+
</div>
|
539
|
+
<hr>
|
540
|
+
<div class="refsect2" title="g_cclosure_new ()">
|
541
|
+
<a name="g-cclosure-new"></a><h3>g_cclosure_new ()</h3>
|
542
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_cclosure_new (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
543
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
544
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre>
|
545
|
+
<p>
|
546
|
+
Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as
|
547
|
+
the last parameter.
|
548
|
+
</p>
|
549
|
+
<div class="variablelist"><table border="0">
|
550
|
+
<col align="left" valign="top">
|
551
|
+
<tbody>
|
552
|
+
<tr>
|
553
|
+
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
554
|
+
<td>the function to invoke
|
555
|
+
</td>
|
556
|
+
</tr>
|
557
|
+
<tr>
|
558
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
559
|
+
<td>user data to pass to <em class="parameter"><code>callback_func</code></em>
|
560
|
+
</td>
|
561
|
+
</tr>
|
562
|
+
<tr>
|
563
|
+
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
564
|
+
<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used
|
565
|
+
</td>
|
566
|
+
</tr>
|
567
|
+
<tr>
|
568
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
569
|
+
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
570
|
+
</td>
|
571
|
+
</tr>
|
572
|
+
</tbody>
|
573
|
+
</table></div>
|
574
|
+
</div>
|
575
|
+
<hr>
|
576
|
+
<div class="refsect2" title="g_cclosure_new_swap ()">
|
577
|
+
<a name="g-cclosure-new-swap"></a><h3>g_cclosure_new_swap ()</h3>
|
578
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_cclosure_new_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
579
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
580
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre>
|
581
|
+
<p>
|
582
|
+
Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as
|
583
|
+
the first parameter.
|
584
|
+
</p>
|
585
|
+
<div class="variablelist"><table border="0">
|
586
|
+
<col align="left" valign="top">
|
587
|
+
<tbody>
|
588
|
+
<tr>
|
589
|
+
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
590
|
+
<td>the function to invoke
|
591
|
+
</td>
|
592
|
+
</tr>
|
593
|
+
<tr>
|
594
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
595
|
+
<td>user data to pass to <em class="parameter"><code>callback_func</code></em>
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
600
|
+
<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used
|
601
|
+
</td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
605
|
+
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
606
|
+
</td>
|
607
|
+
</tr>
|
608
|
+
</tbody>
|
609
|
+
</table></div>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2" title="g_cclosure_new_object ()">
|
613
|
+
<a name="g-cclosure-new-object"></a><h3>g_cclosure_new_object ()</h3>
|
614
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_cclosure_new_object (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
615
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
616
|
+
<p>
|
617
|
+
A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()"><code class="function">g_cclosure_new()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em> and
|
618
|
+
calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created
|
619
|
+
closure. This function is useful when you have a callback closely
|
620
|
+
associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run
|
621
|
+
after the object is is freed.
|
622
|
+
</p>
|
623
|
+
<div class="variablelist"><table border="0">
|
624
|
+
<col align="left" valign="top">
|
625
|
+
<tbody>
|
626
|
+
<tr>
|
627
|
+
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
628
|
+
<td>the function to invoke
|
629
|
+
</td>
|
630
|
+
</tr>
|
631
|
+
<tr>
|
632
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
633
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em>
|
634
|
+
</td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
638
|
+
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
639
|
+
</td>
|
640
|
+
</tr>
|
641
|
+
</tbody>
|
642
|
+
</table></div>
|
643
|
+
</div>
|
644
|
+
<hr>
|
645
|
+
<div class="refsect2" title="g_cclosure_new_object_swap ()">
|
646
|
+
<a name="g-cclosure-new-object-swap"></a><h3>g_cclosure_new_object_swap ()</h3>
|
647
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_cclosure_new_object_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
648
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
649
|
+
<p>
|
650
|
+
A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em>
|
651
|
+
and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created
|
652
|
+
closure. This function is useful when you have a callback closely
|
653
|
+
associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run
|
654
|
+
after the object is is freed.
|
655
|
+
</p>
|
656
|
+
<div class="variablelist"><table border="0">
|
657
|
+
<col align="left" valign="top">
|
658
|
+
<tbody>
|
659
|
+
<tr>
|
660
|
+
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
661
|
+
<td>the function to invoke
|
662
|
+
</td>
|
663
|
+
</tr>
|
664
|
+
<tr>
|
665
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
666
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em>
|
667
|
+
</td>
|
668
|
+
</tr>
|
669
|
+
<tr>
|
670
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
671
|
+
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
</tbody>
|
675
|
+
</table></div>
|
676
|
+
</div>
|
677
|
+
<hr>
|
678
|
+
<div class="refsect2" title="g_closure_new_object ()">
|
679
|
+
<a name="g-closure-new-object"></a><h3>g_closure_new_object ()</h3>
|
680
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_closure_new_object (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
681
|
+
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
682
|
+
<p>
|
683
|
+
A variant of <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()"><code class="function">g_closure_new_simple()</code></a> which stores <em class="parameter"><code>object</code></em> in the
|
684
|
+
<em class="parameter"><code>data</code></em> field of the closure and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on
|
685
|
+
<em class="parameter"><code>object</code></em> and the created closure. This function is mainly useful
|
686
|
+
when implementing new types of closures.
|
687
|
+
</p>
|
688
|
+
<div class="variablelist"><table border="0">
|
689
|
+
<col align="left" valign="top">
|
690
|
+
<tbody>
|
691
|
+
<tr>
|
692
|
+
<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td>
|
693
|
+
<td>the size of the structure to allocate, must be at least
|
694
|
+
<code class="literal">sizeof (GClosure)</code>
|
695
|
+
</td>
|
696
|
+
</tr>
|
697
|
+
<tr>
|
698
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
699
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to store in the <em class="parameter"><code>data</code></em> field of the newly
|
700
|
+
allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
701
|
+
</td>
|
702
|
+
</tr>
|
703
|
+
<tr>
|
704
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
705
|
+
<td> a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
706
|
+
</td>
|
707
|
+
</tr>
|
708
|
+
</tbody>
|
709
|
+
</table></div>
|
710
|
+
</div>
|
711
|
+
<hr>
|
712
|
+
<div class="refsect2" title="g_closure_ref ()">
|
713
|
+
<a name="g-closure-ref"></a><h3>g_closure_ref ()</h3>
|
714
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_closure_ref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
715
|
+
<p>
|
716
|
+
Increments the reference count on a closure to force it staying
|
717
|
+
alive while the caller holds a pointer to it.
|
718
|
+
</p>
|
719
|
+
<div class="variablelist"><table border="0">
|
720
|
+
<col align="left" valign="top">
|
721
|
+
<tbody>
|
722
|
+
<tr>
|
723
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
724
|
+
<td>
|
725
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to increment the reference count on
|
726
|
+
</td>
|
727
|
+
</tr>
|
728
|
+
<tr>
|
729
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
730
|
+
<td> The <em class="parameter"><code>closure</code></em> passed in, for convenience
|
731
|
+
</td>
|
732
|
+
</tr>
|
733
|
+
</tbody>
|
734
|
+
</table></div>
|
735
|
+
</div>
|
736
|
+
<hr>
|
737
|
+
<div class="refsect2" title="g_closure_sink ()">
|
738
|
+
<a name="g-closure-sink"></a><h3>g_closure_sink ()</h3>
|
739
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_sink (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
740
|
+
<p>
|
741
|
+
Takes over the initial ownership of a closure. Each closure is
|
742
|
+
initially created in a <em class="firstterm">floating</em> state, which
|
743
|
+
means that the initial reference count is not owned by any caller.
|
744
|
+
<a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> checks to see if the object is still floating, and
|
745
|
+
if so, unsets the floating state and decreases the reference
|
746
|
+
count. If the closure is not floating, <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> does
|
747
|
+
nothing. The reason for the existance of the floating state is to
|
748
|
+
prevent cumbersome code sequences like:
|
749
|
+
</p>
|
750
|
+
<div class="informalexample">
|
751
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
752
|
+
<tbody>
|
753
|
+
<tr>
|
754
|
+
<td class="listing_lines" align="right"><pre>1
|
755
|
+
2
|
756
|
+
3</pre></td>
|
757
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-cclosure-new">g_cclosure_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cb_func</span><span class="symbol">,</span><span class="normal"> cb_data</span><span class="symbol">);</span>
|
758
|
+
<span class="function"><a href="gobject-Closures.html#g-source-set-closure">g_source_set_closure</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">,</span><span class="normal"> closure</span><span class="symbol">);</span>
|
759
|
+
<span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">// XXX GObject doesn't really need this</span></pre></td>
|
760
|
+
</tr>
|
761
|
+
</tbody>
|
762
|
+
</table>
|
763
|
+
</div>
|
764
|
+
|
765
|
+
<p>
|
766
|
+
Because <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()"><code class="function">g_source_set_closure()</code></a> (and similar functions) take ownership of the
|
767
|
+
initial reference count, if it is unowned, we instead can write:
|
768
|
+
</p>
|
769
|
+
<div class="informalexample">
|
770
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
771
|
+
<tbody>
|
772
|
+
<tr>
|
773
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
774
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-Closures.html#g-source-set-closure">g_source_set_closure</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-cclosure-new">g_cclosure_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cb_func</span><span class="symbol">,</span><span class="normal"> cb_data</span><span class="symbol">));</span></pre></td>
|
775
|
+
</tr>
|
776
|
+
</tbody>
|
777
|
+
</table>
|
778
|
+
</div>
|
779
|
+
|
780
|
+
<p>
|
781
|
+
</p>
|
782
|
+
<p>
|
783
|
+
Generally, this function is used together with <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>. Ane example
|
784
|
+
of storing a closure for later notification looks like:
|
785
|
+
</p>
|
786
|
+
<div class="informalexample">
|
787
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
788
|
+
<tbody>
|
789
|
+
<tr>
|
790
|
+
<td class="listing_lines" align="right"><pre>1
|
791
|
+
2
|
792
|
+
3
|
793
|
+
4
|
794
|
+
5
|
795
|
+
6
|
796
|
+
7
|
797
|
+
8
|
798
|
+
9
|
799
|
+
10
|
800
|
+
11
|
801
|
+
12
|
802
|
+
13</pre></td>
|
803
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">notify_closure </span><span class="symbol">=</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
804
|
+
<span class="type">void</span>
|
805
|
+
<span class="function">foo_notify_set_closure</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">)</span>
|
806
|
+
<span class="cbracket">{</span>
|
807
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">)</span>
|
808
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
809
|
+
<span class="normal"> notify_closure </span><span class="symbol">=</span><span class="normal"> closure</span><span class="symbol">;</span>
|
810
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">)</span>
|
811
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
812
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-ref">g_closure_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
813
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-sink">g_closure_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
814
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
815
|
+
<span class="cbracket">}</span></pre></td>
|
816
|
+
</tr>
|
817
|
+
</tbody>
|
818
|
+
</table>
|
819
|
+
</div>
|
820
|
+
|
821
|
+
<p>
|
822
|
+
</p>
|
823
|
+
<p>
|
824
|
+
Because <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> may decrement the reference count of a closure
|
825
|
+
(if it hasn't been called on <em class="parameter"><code>closure</code></em> yet) just like <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a>,
|
826
|
+
<a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a> should be called prior to this function.
|
827
|
+
</p>
|
828
|
+
<div class="variablelist"><table border="0">
|
829
|
+
<col align="left" valign="top">
|
830
|
+
<tbody><tr>
|
831
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
832
|
+
<td>
|
833
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to decrement the initial reference count on, if it's
|
834
|
+
still being held
|
835
|
+
</td>
|
836
|
+
</tr></tbody>
|
837
|
+
</table></div>
|
838
|
+
</div>
|
839
|
+
<hr>
|
840
|
+
<div class="refsect2" title="g_closure_unref ()">
|
841
|
+
<a name="g-closure-unref"></a><h3>g_closure_unref ()</h3>
|
842
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_unref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
843
|
+
<p>
|
844
|
+
Decrements the reference count of a closure after it was previously
|
845
|
+
incremented by the same caller. If no other callers are using the
|
846
|
+
closure, then the closure will be destroyed and freed.
|
847
|
+
</p>
|
848
|
+
<div class="variablelist"><table border="0">
|
849
|
+
<col align="left" valign="top">
|
850
|
+
<tbody><tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
852
|
+
<td>
|
853
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to decrement the reference count on
|
854
|
+
</td>
|
855
|
+
</tr></tbody>
|
856
|
+
</table></div>
|
857
|
+
</div>
|
858
|
+
<hr>
|
859
|
+
<div class="refsect2" title="g_closure_invoke ()">
|
860
|
+
<a name="g-closure-invoke"></a><h3>g_closure_invoke ()</h3>
|
861
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invoke (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
862
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
863
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
864
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
865
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>);</pre>
|
866
|
+
<p>
|
867
|
+
Invokes the closure, i.e. executes the callback represented by the <em class="parameter"><code>closure</code></em>.
|
868
|
+
</p>
|
869
|
+
<div class="variablelist"><table border="0">
|
870
|
+
<col align="left" valign="top">
|
871
|
+
<tbody>
|
872
|
+
<tr>
|
873
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
874
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
875
|
+
</td>
|
876
|
+
</tr>
|
877
|
+
<tr>
|
878
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
879
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
880
|
+
callback of <em class="parameter"><code>closure</code></em> doesn't return a value.
|
881
|
+
</td>
|
882
|
+
</tr>
|
883
|
+
<tr>
|
884
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
885
|
+
<td>the length of the <em class="parameter"><code>param_values</code></em> array
|
886
|
+
</td>
|
887
|
+
</tr>
|
888
|
+
<tr>
|
889
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
890
|
+
<td>an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on
|
891
|
+
which to invoke the callback of <em class="parameter"><code>closure</code></em>
|
892
|
+
</td>
|
893
|
+
</tr>
|
894
|
+
<tr>
|
895
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
896
|
+
<td>a context-dependent invocation hint
|
897
|
+
</td>
|
898
|
+
</tr>
|
899
|
+
</tbody>
|
900
|
+
</table></div>
|
901
|
+
</div>
|
902
|
+
<hr>
|
903
|
+
<div class="refsect2" title="g_closure_invalidate ()">
|
904
|
+
<a name="g-closure-invalidate"></a><h3>g_closure_invalidate ()</h3>
|
905
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invalidate (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
906
|
+
<p>
|
907
|
+
Sets a flag on the closure to indicate that its calling
|
908
|
+
environment has become invalid, and thus causes any future
|
909
|
+
invocations of <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> on this <em class="parameter"><code>closure</code></em> to be
|
910
|
+
ignored. Also, invalidation notifiers installed on the closure will
|
911
|
+
be called at this point. Note that unless you are holding a
|
912
|
+
reference to the closure yourself, the invalidation notifiers may
|
913
|
+
unref the closure and cause it to be destroyed, so if you need to
|
914
|
+
access the closure after calling <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>, make sure
|
915
|
+
that you've previously called <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>.
|
916
|
+
</p>
|
917
|
+
<p>
|
918
|
+
Note that <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> will also be called when the
|
919
|
+
reference count of a closure drops to zero (unless it has already
|
920
|
+
been invalidated before).
|
921
|
+
</p>
|
922
|
+
<div class="variablelist"><table border="0">
|
923
|
+
<col align="left" valign="top">
|
924
|
+
<tbody><tr>
|
925
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
926
|
+
<td>GClosure to invalidate
|
927
|
+
</td>
|
928
|
+
</tr></tbody>
|
929
|
+
</table></div>
|
930
|
+
</div>
|
931
|
+
<hr>
|
932
|
+
<div class="refsect2" title="g_closure_add_finalize_notifier ()">
|
933
|
+
<a name="g-closure-add-finalize-notifier"></a><h3>g_closure_add_finalize_notifier ()</h3>
|
934
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
935
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
936
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
937
|
+
<p>
|
938
|
+
Registers a finalization notifier which will be called when the
|
939
|
+
reference count of <em class="parameter"><code>closure</code></em> goes down to 0. Multiple finalization
|
940
|
+
notifiers on a single closure are invoked in unspecified order. If
|
941
|
+
a single call to <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a> results in the closure being
|
942
|
+
both invalidated and finalized, then the invalidate notifiers will
|
943
|
+
be run before the finalize notifiers.
|
944
|
+
</p>
|
945
|
+
<div class="variablelist"><table border="0">
|
946
|
+
<col align="left" valign="top">
|
947
|
+
<tbody>
|
948
|
+
<tr>
|
949
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
950
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
951
|
+
</td>
|
952
|
+
</tr>
|
953
|
+
<tr>
|
954
|
+
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
955
|
+
<td>data to pass to <em class="parameter"><code>notify_func</code></em>
|
956
|
+
</td>
|
957
|
+
</tr>
|
958
|
+
<tr>
|
959
|
+
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
960
|
+
<td>the callback function to register
|
961
|
+
</td>
|
962
|
+
</tr>
|
963
|
+
</tbody>
|
964
|
+
</table></div>
|
965
|
+
</div>
|
966
|
+
<hr>
|
967
|
+
<div class="refsect2" title="g_closure_add_invalidate_notifier ()">
|
968
|
+
<a name="g-closure-add-invalidate-notifier"></a><h3>g_closure_add_invalidate_notifier ()</h3>
|
969
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_invalidate_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
970
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
971
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
972
|
+
<p>
|
973
|
+
Registers an invalidation notifier which will be called when the
|
974
|
+
<em class="parameter"><code>closure</code></em> is invalidated with <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>. Invalidation
|
975
|
+
notifiers are invoked before finalization notifiers, in an
|
976
|
+
unspecified order.
|
977
|
+
</p>
|
978
|
+
<div class="variablelist"><table border="0">
|
979
|
+
<col align="left" valign="top">
|
980
|
+
<tbody>
|
981
|
+
<tr>
|
982
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
983
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
984
|
+
</td>
|
985
|
+
</tr>
|
986
|
+
<tr>
|
987
|
+
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
988
|
+
<td>data to pass to <em class="parameter"><code>notify_func</code></em>
|
989
|
+
</td>
|
990
|
+
</tr>
|
991
|
+
<tr>
|
992
|
+
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
993
|
+
<td>the callback function to register
|
994
|
+
</td>
|
995
|
+
</tr>
|
996
|
+
</tbody>
|
997
|
+
</table></div>
|
998
|
+
</div>
|
999
|
+
<hr>
|
1000
|
+
<div class="refsect2" title="g_closure_remove_finalize_notifier ()">
|
1001
|
+
<a name="g-closure-remove-finalize-notifier"></a><h3>g_closure_remove_finalize_notifier ()</h3>
|
1002
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1003
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
1004
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
1005
|
+
<p>
|
1006
|
+
Removes a finalization notifier.
|
1007
|
+
</p>
|
1008
|
+
<p>
|
1009
|
+
Notice that notifiers are automatically removed after they are run.
|
1010
|
+
</p>
|
1011
|
+
<div class="variablelist"><table border="0">
|
1012
|
+
<col align="left" valign="top">
|
1013
|
+
<tbody>
|
1014
|
+
<tr>
|
1015
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1016
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1017
|
+
</td>
|
1018
|
+
</tr>
|
1019
|
+
<tr>
|
1020
|
+
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
1021
|
+
<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a>
|
1022
|
+
when registering <em class="parameter"><code>notify_func</code></em>
|
1023
|
+
</td>
|
1024
|
+
</tr>
|
1025
|
+
<tr>
|
1026
|
+
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
1027
|
+
<td>the callback function to remove
|
1028
|
+
</td>
|
1029
|
+
</tr>
|
1030
|
+
</tbody>
|
1031
|
+
</table></div>
|
1032
|
+
</div>
|
1033
|
+
<hr>
|
1034
|
+
<div class="refsect2" title="g_closure_remove_invalidate_notifier ()">
|
1035
|
+
<a name="g-closure-remove-invalidate-notifier"></a><h3>g_closure_remove_invalidate_notifier ()</h3>
|
1036
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_invalidate_notifier
|
1037
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1038
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
1039
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
1040
|
+
<p>
|
1041
|
+
Removes an invalidation notifier.
|
1042
|
+
</p>
|
1043
|
+
<p>
|
1044
|
+
Notice that notifiers are automatically removed after they are run.
|
1045
|
+
</p>
|
1046
|
+
<div class="variablelist"><table border="0">
|
1047
|
+
<col align="left" valign="top">
|
1048
|
+
<tbody>
|
1049
|
+
<tr>
|
1050
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1051
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1052
|
+
</td>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
1056
|
+
<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a>
|
1057
|
+
when registering <em class="parameter"><code>notify_func</code></em>
|
1058
|
+
</td>
|
1059
|
+
</tr>
|
1060
|
+
<tr>
|
1061
|
+
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
1062
|
+
<td>the callback function to remove
|
1063
|
+
</td>
|
1064
|
+
</tr>
|
1065
|
+
</tbody>
|
1066
|
+
</table></div>
|
1067
|
+
</div>
|
1068
|
+
<hr>
|
1069
|
+
<div class="refsect2" title="g_closure_new_simple ()">
|
1070
|
+
<a name="g-closure-new-simple"></a><h3>g_closure_new_simple ()</h3>
|
1071
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_closure_new_simple (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
1072
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1073
|
+
<p>
|
1074
|
+
Allocates a struct of the given size and initializes the initial
|
1075
|
+
part as a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>. This function is mainly useful when
|
1076
|
+
implementing new types of closures.
|
1077
|
+
</p>
|
1078
|
+
<p>
|
1079
|
+
</p>
|
1080
|
+
<div class="informalexample">
|
1081
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1082
|
+
<tbody>
|
1083
|
+
<tr>
|
1084
|
+
<td class="listing_lines" align="right"><pre>1
|
1085
|
+
2
|
1086
|
+
3
|
1087
|
+
4
|
1088
|
+
5
|
1089
|
+
6
|
1090
|
+
7
|
1091
|
+
8
|
1092
|
+
9
|
1093
|
+
10
|
1094
|
+
11
|
1095
|
+
12
|
1096
|
+
13
|
1097
|
+
14
|
1098
|
+
15
|
1099
|
+
16
|
1100
|
+
17
|
1101
|
+
18
|
1102
|
+
19
|
1103
|
+
20
|
1104
|
+
21
|
1105
|
+
22
|
1106
|
+
23
|
1107
|
+
24
|
1108
|
+
25
|
1109
|
+
26
|
1110
|
+
27
|
1111
|
+
28
|
1112
|
+
29
|
1113
|
+
30</pre></td>
|
1114
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="classname">_MyClosure</span><span class="normal"> MyClosure</span><span class="symbol">;</span>
|
1115
|
+
<span class="keyword">struct</span><span class="normal"> </span><span class="classname">_MyClosure</span>
|
1116
|
+
<span class="cbracket">{</span>
|
1117
|
+
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> closure</span><span class="symbol">;</span>
|
1118
|
+
<span class="normal"> </span><span class="comment">// extra data goes here</span>
|
1119
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
1120
|
+
|
1121
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1122
|
+
<span class="function">my_closure_finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> notify_data</span><span class="symbol">,</span>
|
1123
|
+
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">)</span>
|
1124
|
+
<span class="cbracket">{</span>
|
1125
|
+
<span class="normal"> </span><span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_closure </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure </span><span class="symbol">*)</span><span class="normal">closure</span><span class="symbol">;</span>
|
1126
|
+
|
1127
|
+
<span class="normal"> </span><span class="comment">// free extra data here</span>
|
1128
|
+
<span class="cbracket">}</span>
|
1129
|
+
|
1130
|
+
<span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="function">my_closure_new</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1131
|
+
<span class="cbracket">{</span>
|
1132
|
+
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">;</span>
|
1133
|
+
<span class="normal"> </span><span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_closure</span><span class="symbol">;</span>
|
1134
|
+
|
1135
|
+
<span class="normal"> closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-new-simple">g_closure_new_simple</a></span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">sizeof</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure</span><span class="symbol">),</span><span class="normal"> data</span><span class="symbol">);</span>
|
1136
|
+
<span class="normal"> my_closure </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure </span><span class="symbol">*)</span><span class="normal"> closure</span><span class="symbol">;</span>
|
1137
|
+
|
1138
|
+
<span class="normal"> </span><span class="comment">// initialize extra data here</span>
|
1139
|
+
|
1140
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-add-finalize-notifier">g_closure_add_finalize_notifier</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">,</span><span class="normal"> notify_data</span><span class="symbol">,</span>
|
1141
|
+
<span class="normal"> my_closure_finalize</span><span class="symbol">);</span>
|
1142
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> my_closure</span><span class="symbol">;</span>
|
1143
|
+
<span class="cbracket">}</span></pre></td>
|
1144
|
+
</tr>
|
1145
|
+
</tbody>
|
1146
|
+
</table>
|
1147
|
+
</div>
|
1148
|
+
|
1149
|
+
<p>
|
1150
|
+
</p>
|
1151
|
+
<div class="variablelist"><table border="0">
|
1152
|
+
<col align="left" valign="top">
|
1153
|
+
<tbody>
|
1154
|
+
<tr>
|
1155
|
+
<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td>
|
1156
|
+
<td>the size of the structure to allocate, must be at least
|
1157
|
+
<code class="literal">sizeof (GClosure)</code>
|
1158
|
+
</td>
|
1159
|
+
</tr>
|
1160
|
+
<tr>
|
1161
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1162
|
+
<td>data to store in the <em class="parameter"><code>data</code></em> field of the newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1163
|
+
</td>
|
1164
|
+
</tr>
|
1165
|
+
<tr>
|
1166
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1167
|
+
<td> a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1168
|
+
</td>
|
1169
|
+
</tr>
|
1170
|
+
</tbody>
|
1171
|
+
</table></div>
|
1172
|
+
</div>
|
1173
|
+
<hr>
|
1174
|
+
<div class="refsect2" title="g_closure_set_marshal ()">
|
1175
|
+
<a name="g-closure-set-marshal"></a><h3>g_closure_set_marshal ()</h3>
|
1176
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1177
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>);</pre>
|
1178
|
+
<p>
|
1179
|
+
Sets the marshaller of <em class="parameter"><code>closure</code></em>. The <code class="literal">marshal_data</code>
|
1180
|
+
of <em class="parameter"><code>marshal</code></em> provides a way for a meta marshaller to provide additional
|
1181
|
+
information to the marshaller. (See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>.) For
|
1182
|
+
GObject's C predefined marshallers (the g_cclosure_marshal_*()
|
1183
|
+
functions), what it provides is a callback function to use instead of
|
1184
|
+
<em class="parameter"><code>closure->callback</code></em>.
|
1185
|
+
</p>
|
1186
|
+
<div class="variablelist"><table border="0">
|
1187
|
+
<col align="left" valign="top">
|
1188
|
+
<tbody>
|
1189
|
+
<tr>
|
1190
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1191
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1192
|
+
</td>
|
1193
|
+
</tr>
|
1194
|
+
<tr>
|
1195
|
+
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1196
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function
|
1197
|
+
</td>
|
1198
|
+
</tr>
|
1199
|
+
</tbody>
|
1200
|
+
</table></div>
|
1201
|
+
</div>
|
1202
|
+
<hr>
|
1203
|
+
<div class="refsect2" title="g_closure_add_marshal_guards ()">
|
1204
|
+
<a name="g-closure-add-marshal-guards"></a><h3>g_closure_add_marshal_guards ()</h3>
|
1205
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_marshal_guards (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1206
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>,
|
1207
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>,
|
1208
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>,
|
1209
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>);</pre>
|
1210
|
+
<p>
|
1211
|
+
Adds a pair of notifiers which get invoked before and after the
|
1212
|
+
closure callback, respectively. This is typically used to protect
|
1213
|
+
the extra arguments for the duration of the callback. See
|
1214
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> for an example of marshal guards.
|
1215
|
+
</p>
|
1216
|
+
<div class="variablelist"><table border="0">
|
1217
|
+
<col align="left" valign="top">
|
1218
|
+
<tbody>
|
1219
|
+
<tr>
|
1220
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1221
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1222
|
+
</td>
|
1223
|
+
</tr>
|
1224
|
+
<tr>
|
1225
|
+
<td><p><span class="term"><em class="parameter"><code>pre_marshal_data</code></em> :</span></p></td>
|
1226
|
+
<td>data to pass to <em class="parameter"><code>pre_marshal_notify</code></em>
|
1227
|
+
</td>
|
1228
|
+
</tr>
|
1229
|
+
<tr>
|
1230
|
+
<td><p><span class="term"><em class="parameter"><code>pre_marshal_notify</code></em> :</span></p></td>
|
1231
|
+
<td>a function to call before the closure callback
|
1232
|
+
</td>
|
1233
|
+
</tr>
|
1234
|
+
<tr>
|
1235
|
+
<td><p><span class="term"><em class="parameter"><code>post_marshal_data</code></em> :</span></p></td>
|
1236
|
+
<td>data to pass to <em class="parameter"><code>post_marshal_notify</code></em>
|
1237
|
+
</td>
|
1238
|
+
</tr>
|
1239
|
+
<tr>
|
1240
|
+
<td><p><span class="term"><em class="parameter"><code>post_marshal_notify</code></em> :</span></p></td>
|
1241
|
+
<td>a function to call after the closure callback
|
1242
|
+
</td>
|
1243
|
+
</tr>
|
1244
|
+
</tbody>
|
1245
|
+
</table></div>
|
1246
|
+
</div>
|
1247
|
+
<hr>
|
1248
|
+
<div class="refsect2" title="g_closure_set_meta_marshal ()">
|
1249
|
+
<a name="g-closure-set-meta-marshal"></a><h3>g_closure_set_meta_marshal ()</h3>
|
1250
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_meta_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1251
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>,
|
1252
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>);</pre>
|
1253
|
+
<p>
|
1254
|
+
Sets the meta marshaller of <em class="parameter"><code>closure</code></em>. A meta marshaller wraps
|
1255
|
+
<em class="parameter"><code>closure->marshal</code></em> and modifies the way it is called in some
|
1256
|
+
fashion. The most common use of this facility is for C callbacks.
|
1257
|
+
The same marshallers (generated by <a href="glib-genmarshal.html">glib-genmarshal</a>) are used
|
1258
|
+
everywhere, but the way that we get the callback function
|
1259
|
+
differs. In most cases we want to use <em class="parameter"><code>closure->callback</code></em>, but in
|
1260
|
+
other cases we want to use some different technique to retrieve the
|
1261
|
+
callback function.
|
1262
|
+
</p>
|
1263
|
+
<p>
|
1264
|
+
For example, class closures for signals (see
|
1265
|
+
<a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()"><code class="function">g_signal_type_cclosure_new()</code></a>) retrieve the callback function from a
|
1266
|
+
fixed offset in the class structure. The meta marshaller retrieves
|
1267
|
+
the right callback and passes it to the marshaller as the
|
1268
|
+
<em class="parameter"><code>marshal_data</code></em> argument.
|
1269
|
+
</p>
|
1270
|
+
<div class="variablelist"><table border="0">
|
1271
|
+
<col align="left" valign="top">
|
1272
|
+
<tbody>
|
1273
|
+
<tr>
|
1274
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1275
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1276
|
+
</td>
|
1277
|
+
</tr>
|
1278
|
+
<tr>
|
1279
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1280
|
+
<td>context-dependent data to pass to <em class="parameter"><code>meta_marshal</code></em>
|
1281
|
+
</td>
|
1282
|
+
</tr>
|
1283
|
+
<tr>
|
1284
|
+
<td><p><span class="term"><em class="parameter"><code>meta_marshal</code></em> :</span></p></td>
|
1285
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function
|
1286
|
+
</td>
|
1287
|
+
</tr>
|
1288
|
+
</tbody>
|
1289
|
+
</table></div>
|
1290
|
+
</div>
|
1291
|
+
<hr>
|
1292
|
+
<div class="refsect2" title="g_source_set_closure ()">
|
1293
|
+
<a name="g-source-set-closure"></a><h3>g_source_set_closure ()</h3>
|
1294
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_closure (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
|
1295
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
1296
|
+
<p>
|
1297
|
+
Set the callback for a source as a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>.
|
1298
|
+
</p>
|
1299
|
+
<p>
|
1300
|
+
If the source is not one of the standard GLib types, the <em class="parameter"><code>closure_callback</code></em>
|
1301
|
+
and <em class="parameter"><code>closure_marshal</code></em> fields of the <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSourceFuncs"><span class="type">GSourceFuncs</span></a> structure must have been
|
1302
|
+
filled in with pointers to appropriate functions.
|
1303
|
+
</p>
|
1304
|
+
<div class="variablelist"><table border="0">
|
1305
|
+
<col align="left" valign="top">
|
1306
|
+
<tbody>
|
1307
|
+
<tr>
|
1308
|
+
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
1309
|
+
<td>the source
|
1310
|
+
</td>
|
1311
|
+
</tr>
|
1312
|
+
<tr>
|
1313
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1314
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1315
|
+
</td>
|
1316
|
+
</tr>
|
1317
|
+
</tbody>
|
1318
|
+
</table></div>
|
1319
|
+
</div>
|
1320
|
+
<hr>
|
1321
|
+
<div class="refsect2" title="G_TYPE_IO_CHANNEL">
|
1322
|
+
<a name="G-TYPE-IO-CHANNEL:CAPS"></a><h3>G_TYPE_IO_CHANNEL</h3>
|
1323
|
+
<pre class="programlisting">#define G_TYPE_IO_CHANNEL (g_io_channel_get_type ())
|
1324
|
+
</pre>
|
1325
|
+
<p>
|
1326
|
+
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOChannel"><span class="type">GIOChannel</span></a>.
|
1327
|
+
</p>
|
1328
|
+
</div>
|
1329
|
+
<hr>
|
1330
|
+
<div class="refsect2" title="G_TYPE_IO_CONDITION">
|
1331
|
+
<a name="G-TYPE-IO-CONDITION:CAPS"></a><h3>G_TYPE_IO_CONDITION</h3>
|
1332
|
+
<pre class="programlisting">#define G_TYPE_IO_CONDITION (g_io_condition_get_type ())
|
1333
|
+
</pre>
|
1334
|
+
<p>
|
1335
|
+
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a>.
|
1336
|
+
</p>
|
1337
|
+
</div>
|
1338
|
+
<hr>
|
1339
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__VOID ()">
|
1340
|
+
<a name="g-cclosure-marshal-VOID--VOID"></a><h3>g_cclosure_marshal_VOID__VOID ()</h3>
|
1341
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VOID (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1342
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1343
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1344
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1345
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1346
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1347
|
+
<p>
|
1348
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1349
|
+
<code class="literal">void (*callback) (gpointer instance, gpointer user_data)</code>.
|
1350
|
+
</p>
|
1351
|
+
<div class="variablelist"><table border="0">
|
1352
|
+
<col align="left" valign="top">
|
1353
|
+
<tbody>
|
1354
|
+
<tr>
|
1355
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1356
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1357
|
+
</td>
|
1358
|
+
</tr>
|
1359
|
+
<tr>
|
1360
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1361
|
+
<td>ignored
|
1362
|
+
</td>
|
1363
|
+
</tr>
|
1364
|
+
<tr>
|
1365
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1366
|
+
<td>1
|
1367
|
+
</td>
|
1368
|
+
</tr>
|
1369
|
+
<tr>
|
1370
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1371
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding only the instance
|
1372
|
+
</td>
|
1373
|
+
</tr>
|
1374
|
+
<tr>
|
1375
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1376
|
+
<td>the invocation hint given as the last argument
|
1377
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1378
|
+
</td>
|
1379
|
+
</tr>
|
1380
|
+
<tr>
|
1381
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1382
|
+
<td>additional data specified when registering the marshaller
|
1383
|
+
</td>
|
1384
|
+
</tr>
|
1385
|
+
</tbody>
|
1386
|
+
</table></div>
|
1387
|
+
</div>
|
1388
|
+
<hr>
|
1389
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__BOOLEAN ()">
|
1390
|
+
<a name="g-cclosure-marshal-VOID--BOOLEAN"></a><h3>g_cclosure_marshal_VOID__BOOLEAN ()</h3>
|
1391
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOOLEAN (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1392
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1393
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1394
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1395
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1396
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1397
|
+
<p>
|
1398
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1399
|
+
<code class="literal">void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)</code>.
|
1400
|
+
</p>
|
1401
|
+
<div class="variablelist"><table border="0">
|
1402
|
+
<col align="left" valign="top">
|
1403
|
+
<tbody>
|
1404
|
+
<tr>
|
1405
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1406
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1407
|
+
</td>
|
1408
|
+
</tr>
|
1409
|
+
<tr>
|
1410
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1411
|
+
<td>ignored
|
1412
|
+
</td>
|
1413
|
+
</tr>
|
1414
|
+
<tr>
|
1415
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1416
|
+
<td>2
|
1417
|
+
</td>
|
1418
|
+
</tr>
|
1419
|
+
<tr>
|
1420
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1421
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> parameter
|
1422
|
+
</td>
|
1423
|
+
</tr>
|
1424
|
+
<tr>
|
1425
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1426
|
+
<td>the invocation hint given as the last argument
|
1427
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1428
|
+
</td>
|
1429
|
+
</tr>
|
1430
|
+
<tr>
|
1431
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1432
|
+
<td>additional data specified when registering the marshaller
|
1433
|
+
</td>
|
1434
|
+
</tr>
|
1435
|
+
</tbody>
|
1436
|
+
</table></div>
|
1437
|
+
</div>
|
1438
|
+
<hr>
|
1439
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__CHAR ()">
|
1440
|
+
<a name="g-cclosure-marshal-VOID--CHAR"></a><h3>g_cclosure_marshal_VOID__CHAR ()</h3>
|
1441
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__CHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1442
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1443
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1444
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1445
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1446
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1447
|
+
<p>
|
1448
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1449
|
+
<code class="literal">void (*callback) (gpointer instance, gchar arg1, gpointer user_data)</code>.
|
1450
|
+
</p>
|
1451
|
+
<div class="variablelist"><table border="0">
|
1452
|
+
<col align="left" valign="top">
|
1453
|
+
<tbody>
|
1454
|
+
<tr>
|
1455
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1456
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1457
|
+
</td>
|
1458
|
+
</tr>
|
1459
|
+
<tr>
|
1460
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1461
|
+
<td>ignored
|
1462
|
+
</td>
|
1463
|
+
</tr>
|
1464
|
+
<tr>
|
1465
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1466
|
+
<td>2
|
1467
|
+
</td>
|
1468
|
+
</tr>
|
1469
|
+
<tr>
|
1470
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1471
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> parameter
|
1472
|
+
</td>
|
1473
|
+
</tr>
|
1474
|
+
<tr>
|
1475
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1476
|
+
<td>the invocation hint given as the last argument
|
1477
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1478
|
+
</td>
|
1479
|
+
</tr>
|
1480
|
+
<tr>
|
1481
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1482
|
+
<td>additional data specified when registering the marshaller
|
1483
|
+
</td>
|
1484
|
+
</tr>
|
1485
|
+
</tbody>
|
1486
|
+
</table></div>
|
1487
|
+
</div>
|
1488
|
+
<hr>
|
1489
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__UCHAR ()">
|
1490
|
+
<a name="g-cclosure-marshal-VOID--UCHAR"></a><h3>g_cclosure_marshal_VOID__UCHAR ()</h3>
|
1491
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UCHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1492
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1493
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1494
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1495
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1496
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1497
|
+
<p>
|
1498
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1499
|
+
<code class="literal">void (*callback) (gpointer instance, guchar arg1, gpointer user_data)</code>.
|
1500
|
+
</p>
|
1501
|
+
<div class="variablelist"><table border="0">
|
1502
|
+
<col align="left" valign="top">
|
1503
|
+
<tbody>
|
1504
|
+
<tr>
|
1505
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1506
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1507
|
+
</td>
|
1508
|
+
</tr>
|
1509
|
+
<tr>
|
1510
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1511
|
+
<td>ignored
|
1512
|
+
</td>
|
1513
|
+
</tr>
|
1514
|
+
<tr>
|
1515
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1516
|
+
<td>2
|
1517
|
+
</td>
|
1518
|
+
</tr>
|
1519
|
+
<tr>
|
1520
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1521
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> parameter
|
1522
|
+
</td>
|
1523
|
+
</tr>
|
1524
|
+
<tr>
|
1525
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1526
|
+
<td>the invocation hint given as the last argument
|
1527
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1528
|
+
</td>
|
1529
|
+
</tr>
|
1530
|
+
<tr>
|
1531
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1532
|
+
<td>additional data specified when registering the marshaller
|
1533
|
+
</td>
|
1534
|
+
</tr>
|
1535
|
+
</tbody>
|
1536
|
+
</table></div>
|
1537
|
+
</div>
|
1538
|
+
<hr>
|
1539
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__INT ()">
|
1540
|
+
<a name="g-cclosure-marshal-VOID--INT"></a><h3>g_cclosure_marshal_VOID__INT ()</h3>
|
1541
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__INT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1542
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1543
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1544
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1545
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1546
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1547
|
+
<p>
|
1548
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1549
|
+
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code>.
|
1550
|
+
</p>
|
1551
|
+
<div class="variablelist"><table border="0">
|
1552
|
+
<col align="left" valign="top">
|
1553
|
+
<tbody>
|
1554
|
+
<tr>
|
1555
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1556
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1557
|
+
</td>
|
1558
|
+
</tr>
|
1559
|
+
<tr>
|
1560
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1561
|
+
<td>ignored
|
1562
|
+
</td>
|
1563
|
+
</tr>
|
1564
|
+
<tr>
|
1565
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1566
|
+
<td>2
|
1567
|
+
</td>
|
1568
|
+
</tr>
|
1569
|
+
<tr>
|
1570
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1571
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter
|
1572
|
+
</td>
|
1573
|
+
</tr>
|
1574
|
+
<tr>
|
1575
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1576
|
+
<td>the invocation hint given as the last argument
|
1577
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1578
|
+
</td>
|
1579
|
+
</tr>
|
1580
|
+
<tr>
|
1581
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1582
|
+
<td>additional data specified when registering the marshaller
|
1583
|
+
</td>
|
1584
|
+
</tr>
|
1585
|
+
</tbody>
|
1586
|
+
</table></div>
|
1587
|
+
</div>
|
1588
|
+
<hr>
|
1589
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__UINT ()">
|
1590
|
+
<a name="g-cclosure-marshal-VOID--UINT"></a><h3>g_cclosure_marshal_VOID__UINT ()</h3>
|
1591
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1592
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1593
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1594
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1595
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1596
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1597
|
+
<p>
|
1598
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1599
|
+
<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer user_data)</code>.
|
1600
|
+
</p>
|
1601
|
+
<div class="variablelist"><table border="0">
|
1602
|
+
<col align="left" valign="top">
|
1603
|
+
<tbody>
|
1604
|
+
<tr>
|
1605
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1606
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1607
|
+
</td>
|
1608
|
+
</tr>
|
1609
|
+
<tr>
|
1610
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1611
|
+
<td>ignored
|
1612
|
+
</td>
|
1613
|
+
</tr>
|
1614
|
+
<tr>
|
1615
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1616
|
+
<td>2
|
1617
|
+
</td>
|
1618
|
+
</tr>
|
1619
|
+
<tr>
|
1620
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1621
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> parameter
|
1622
|
+
</td>
|
1623
|
+
</tr>
|
1624
|
+
<tr>
|
1625
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1626
|
+
<td>the invocation hint given as the last argument
|
1627
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1628
|
+
</td>
|
1629
|
+
</tr>
|
1630
|
+
<tr>
|
1631
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1632
|
+
<td>additional data specified when registering the marshaller
|
1633
|
+
</td>
|
1634
|
+
</tr>
|
1635
|
+
</tbody>
|
1636
|
+
</table></div>
|
1637
|
+
</div>
|
1638
|
+
<hr>
|
1639
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__LONG ()">
|
1640
|
+
<a name="g-cclosure-marshal-VOID--LONG"></a><h3>g_cclosure_marshal_VOID__LONG ()</h3>
|
1641
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__LONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1642
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1643
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1644
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1645
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1646
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1647
|
+
<p>
|
1648
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1649
|
+
<code class="literal">void (*callback) (gpointer instance, glong arg1, gpointer user_data)</code>.
|
1650
|
+
</p>
|
1651
|
+
<div class="variablelist"><table border="0">
|
1652
|
+
<col align="left" valign="top">
|
1653
|
+
<tbody>
|
1654
|
+
<tr>
|
1655
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1656
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1657
|
+
</td>
|
1658
|
+
</tr>
|
1659
|
+
<tr>
|
1660
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1661
|
+
<td>ignored
|
1662
|
+
</td>
|
1663
|
+
</tr>
|
1664
|
+
<tr>
|
1665
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1666
|
+
<td>2
|
1667
|
+
</td>
|
1668
|
+
</tr>
|
1669
|
+
<tr>
|
1670
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1671
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> parameter
|
1672
|
+
</td>
|
1673
|
+
</tr>
|
1674
|
+
<tr>
|
1675
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1676
|
+
<td>the invocation hint given as the last argument
|
1677
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1678
|
+
</td>
|
1679
|
+
</tr>
|
1680
|
+
<tr>
|
1681
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1682
|
+
<td>additional data specified when registering the marshaller
|
1683
|
+
</td>
|
1684
|
+
</tr>
|
1685
|
+
</tbody>
|
1686
|
+
</table></div>
|
1687
|
+
</div>
|
1688
|
+
<hr>
|
1689
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__ULONG ()">
|
1690
|
+
<a name="g-cclosure-marshal-VOID--ULONG"></a><h3>g_cclosure_marshal_VOID__ULONG ()</h3>
|
1691
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ULONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1692
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1693
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1694
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1695
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1696
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1697
|
+
<p>
|
1698
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1699
|
+
<code class="literal">void (*callback) (gpointer instance, gulong arg1, gpointer user_data)</code>.
|
1700
|
+
</p>
|
1701
|
+
<div class="variablelist"><table border="0">
|
1702
|
+
<col align="left" valign="top">
|
1703
|
+
<tbody>
|
1704
|
+
<tr>
|
1705
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1706
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1707
|
+
</td>
|
1708
|
+
</tr>
|
1709
|
+
<tr>
|
1710
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1711
|
+
<td>ignored
|
1712
|
+
</td>
|
1713
|
+
</tr>
|
1714
|
+
<tr>
|
1715
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1716
|
+
<td>2
|
1717
|
+
</td>
|
1718
|
+
</tr>
|
1719
|
+
<tr>
|
1720
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1721
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> parameter
|
1722
|
+
</td>
|
1723
|
+
</tr>
|
1724
|
+
<tr>
|
1725
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1726
|
+
<td>the invocation hint given as the last argument
|
1727
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1728
|
+
</td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1732
|
+
<td>additional data specified when registering the marshaller
|
1733
|
+
</td>
|
1734
|
+
</tr>
|
1735
|
+
</tbody>
|
1736
|
+
</table></div>
|
1737
|
+
</div>
|
1738
|
+
<hr>
|
1739
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__ENUM ()">
|
1740
|
+
<a name="g-cclosure-marshal-VOID--ENUM"></a><h3>g_cclosure_marshal_VOID__ENUM ()</h3>
|
1741
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ENUM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1742
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1743
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1744
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1745
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1746
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1747
|
+
<p>
|
1748
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1749
|
+
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes an enumeration type..
|
1750
|
+
</p>
|
1751
|
+
<div class="variablelist"><table border="0">
|
1752
|
+
<col align="left" valign="top">
|
1753
|
+
<tbody>
|
1754
|
+
<tr>
|
1755
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1756
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1757
|
+
</td>
|
1758
|
+
</tr>
|
1759
|
+
<tr>
|
1760
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1761
|
+
<td>ignored
|
1762
|
+
</td>
|
1763
|
+
</tr>
|
1764
|
+
<tr>
|
1765
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1766
|
+
<td>2
|
1767
|
+
</td>
|
1768
|
+
</tr>
|
1769
|
+
<tr>
|
1770
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1771
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the enumeration parameter
|
1772
|
+
</td>
|
1773
|
+
</tr>
|
1774
|
+
<tr>
|
1775
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1776
|
+
<td>the invocation hint given as the last argument
|
1777
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1778
|
+
</td>
|
1779
|
+
</tr>
|
1780
|
+
<tr>
|
1781
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1782
|
+
<td>additional data specified when registering the marshaller
|
1783
|
+
</td>
|
1784
|
+
</tr>
|
1785
|
+
</tbody>
|
1786
|
+
</table></div>
|
1787
|
+
</div>
|
1788
|
+
<hr>
|
1789
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__FLAGS ()">
|
1790
|
+
<a name="g-cclosure-marshal-VOID--FLAGS"></a><h3>g_cclosure_marshal_VOID__FLAGS ()</h3>
|
1791
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1792
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1793
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1794
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1795
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1796
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1797
|
+
<p>
|
1798
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1799
|
+
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes a flags type.
|
1800
|
+
</p>
|
1801
|
+
<div class="variablelist"><table border="0">
|
1802
|
+
<col align="left" valign="top">
|
1803
|
+
<tbody>
|
1804
|
+
<tr>
|
1805
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1806
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1807
|
+
</td>
|
1808
|
+
</tr>
|
1809
|
+
<tr>
|
1810
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1811
|
+
<td>ignored
|
1812
|
+
</td>
|
1813
|
+
</tr>
|
1814
|
+
<tr>
|
1815
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1816
|
+
<td>2
|
1817
|
+
</td>
|
1818
|
+
</tr>
|
1819
|
+
<tr>
|
1820
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1821
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the flags parameter
|
1822
|
+
</td>
|
1823
|
+
</tr>
|
1824
|
+
<tr>
|
1825
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1826
|
+
<td>the invocation hint given as the last argument
|
1827
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1828
|
+
</td>
|
1829
|
+
</tr>
|
1830
|
+
<tr>
|
1831
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1832
|
+
<td>additional data specified when registering the marshaller
|
1833
|
+
</td>
|
1834
|
+
</tr>
|
1835
|
+
</tbody>
|
1836
|
+
</table></div>
|
1837
|
+
</div>
|
1838
|
+
<hr>
|
1839
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__FLOAT ()">
|
1840
|
+
<a name="g-cclosure-marshal-VOID--FLOAT"></a><h3>g_cclosure_marshal_VOID__FLOAT ()</h3>
|
1841
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLOAT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1842
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1843
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1844
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1845
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1846
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1847
|
+
<p>
|
1848
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1849
|
+
<code class="literal">void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)</code>.
|
1850
|
+
</p>
|
1851
|
+
<div class="variablelist"><table border="0">
|
1852
|
+
<col align="left" valign="top">
|
1853
|
+
<tbody>
|
1854
|
+
<tr>
|
1855
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1856
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1857
|
+
</td>
|
1858
|
+
</tr>
|
1859
|
+
<tr>
|
1860
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1861
|
+
<td>ignored
|
1862
|
+
</td>
|
1863
|
+
</tr>
|
1864
|
+
<tr>
|
1865
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1866
|
+
<td>2
|
1867
|
+
</td>
|
1868
|
+
</tr>
|
1869
|
+
<tr>
|
1870
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1871
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> parameter
|
1872
|
+
</td>
|
1873
|
+
</tr>
|
1874
|
+
<tr>
|
1875
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1876
|
+
<td>the invocation hint given as the last argument
|
1877
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1878
|
+
</td>
|
1879
|
+
</tr>
|
1880
|
+
<tr>
|
1881
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1882
|
+
<td>additional data specified when registering the marshaller
|
1883
|
+
</td>
|
1884
|
+
</tr>
|
1885
|
+
</tbody>
|
1886
|
+
</table></div>
|
1887
|
+
</div>
|
1888
|
+
<hr>
|
1889
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__DOUBLE ()">
|
1890
|
+
<a name="g-cclosure-marshal-VOID--DOUBLE"></a><h3>g_cclosure_marshal_VOID__DOUBLE ()</h3>
|
1891
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__DOUBLE (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1892
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1893
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1894
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1895
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1896
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1897
|
+
<p>
|
1898
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1899
|
+
<code class="literal">void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)</code>.
|
1900
|
+
</p>
|
1901
|
+
<div class="variablelist"><table border="0">
|
1902
|
+
<col align="left" valign="top">
|
1903
|
+
<tbody>
|
1904
|
+
<tr>
|
1905
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1906
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1907
|
+
</td>
|
1908
|
+
</tr>
|
1909
|
+
<tr>
|
1910
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1911
|
+
<td>ignored
|
1912
|
+
</td>
|
1913
|
+
</tr>
|
1914
|
+
<tr>
|
1915
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1916
|
+
<td>2
|
1917
|
+
</td>
|
1918
|
+
</tr>
|
1919
|
+
<tr>
|
1920
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1921
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> parameter
|
1922
|
+
</td>
|
1923
|
+
</tr>
|
1924
|
+
<tr>
|
1925
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1926
|
+
<td>the invocation hint given as the last argument
|
1927
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1928
|
+
</td>
|
1929
|
+
</tr>
|
1930
|
+
<tr>
|
1931
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1932
|
+
<td>additional data specified when registering the marshaller
|
1933
|
+
</td>
|
1934
|
+
</tr>
|
1935
|
+
</tbody>
|
1936
|
+
</table></div>
|
1937
|
+
</div>
|
1938
|
+
<hr>
|
1939
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__STRING ()">
|
1940
|
+
<a name="g-cclosure-marshal-VOID--STRING"></a><h3>g_cclosure_marshal_VOID__STRING ()</h3>
|
1941
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__STRING (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1942
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1943
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1944
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1945
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1946
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1947
|
+
<p>
|
1948
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1949
|
+
<code class="literal">void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)</code>.
|
1950
|
+
</p>
|
1951
|
+
<div class="variablelist"><table border="0">
|
1952
|
+
<col align="left" valign="top">
|
1953
|
+
<tbody>
|
1954
|
+
<tr>
|
1955
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1956
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1957
|
+
</td>
|
1958
|
+
</tr>
|
1959
|
+
<tr>
|
1960
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1961
|
+
<td>ignored
|
1962
|
+
</td>
|
1963
|
+
</tr>
|
1964
|
+
<tr>
|
1965
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1966
|
+
<td>2
|
1967
|
+
</td>
|
1968
|
+
</tr>
|
1969
|
+
<tr>
|
1970
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1971
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* parameter
|
1972
|
+
</td>
|
1973
|
+
</tr>
|
1974
|
+
<tr>
|
1975
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1976
|
+
<td>the invocation hint given as the last argument
|
1977
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1978
|
+
</td>
|
1979
|
+
</tr>
|
1980
|
+
<tr>
|
1981
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1982
|
+
<td>additional data specified when registering the marshaller
|
1983
|
+
</td>
|
1984
|
+
</tr>
|
1985
|
+
</tbody>
|
1986
|
+
</table></div>
|
1987
|
+
</div>
|
1988
|
+
<hr>
|
1989
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__PARAM ()">
|
1990
|
+
<a name="g-cclosure-marshal-VOID--PARAM"></a><h3>g_cclosure_marshal_VOID__PARAM ()</h3>
|
1991
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__PARAM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1992
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
1993
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1994
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
1995
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1996
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1997
|
+
<p>
|
1998
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1999
|
+
<code class="literal">void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)</code>.
|
2000
|
+
</p>
|
2001
|
+
<div class="variablelist"><table border="0">
|
2002
|
+
<col align="left" valign="top">
|
2003
|
+
<tbody>
|
2004
|
+
<tr>
|
2005
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2006
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2007
|
+
</td>
|
2008
|
+
</tr>
|
2009
|
+
<tr>
|
2010
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2011
|
+
<td>ignored
|
2012
|
+
</td>
|
2013
|
+
</tr>
|
2014
|
+
<tr>
|
2015
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2016
|
+
<td>2
|
2017
|
+
</td>
|
2018
|
+
</tr>
|
2019
|
+
<tr>
|
2020
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2021
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>* parameter
|
2022
|
+
</td>
|
2023
|
+
</tr>
|
2024
|
+
<tr>
|
2025
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2026
|
+
<td>the invocation hint given as the last argument
|
2027
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2028
|
+
</td>
|
2029
|
+
</tr>
|
2030
|
+
<tr>
|
2031
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2032
|
+
<td>additional data specified when registering the marshaller
|
2033
|
+
</td>
|
2034
|
+
</tr>
|
2035
|
+
</tbody>
|
2036
|
+
</table></div>
|
2037
|
+
</div>
|
2038
|
+
<hr>
|
2039
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__BOXED ()">
|
2040
|
+
<a name="g-cclosure-marshal-VOID--BOXED"></a><h3>g_cclosure_marshal_VOID__BOXED ()</h3>
|
2041
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOXED (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2042
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2043
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2044
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2045
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2046
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2047
|
+
<p>
|
2048
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2049
|
+
<code class="literal">void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)</code>.
|
2050
|
+
</p>
|
2051
|
+
<div class="variablelist"><table border="0">
|
2052
|
+
<col align="left" valign="top">
|
2053
|
+
<tbody>
|
2054
|
+
<tr>
|
2055
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2056
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2057
|
+
</td>
|
2058
|
+
</tr>
|
2059
|
+
<tr>
|
2060
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2061
|
+
<td>ignored
|
2062
|
+
</td>
|
2063
|
+
</tr>
|
2064
|
+
<tr>
|
2065
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2066
|
+
<td>2
|
2067
|
+
</td>
|
2068
|
+
</tr>
|
2069
|
+
<tr>
|
2070
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2071
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <span class="type">GBoxed</span>* parameter
|
2072
|
+
</td>
|
2073
|
+
</tr>
|
2074
|
+
<tr>
|
2075
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2076
|
+
<td>the invocation hint given as the last argument
|
2077
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2078
|
+
</td>
|
2079
|
+
</tr>
|
2080
|
+
<tr>
|
2081
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2082
|
+
<td>additional data specified when registering the marshaller
|
2083
|
+
</td>
|
2084
|
+
</tr>
|
2085
|
+
</tbody>
|
2086
|
+
</table></div>
|
2087
|
+
</div>
|
2088
|
+
<hr>
|
2089
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__POINTER ()">
|
2090
|
+
<a name="g-cclosure-marshal-VOID--POINTER"></a><h3>g_cclosure_marshal_VOID__POINTER ()</h3>
|
2091
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__POINTER (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2092
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2093
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2094
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2095
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2096
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2097
|
+
<p>
|
2098
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2099
|
+
<code class="literal">void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)</code>.
|
2100
|
+
</p>
|
2101
|
+
<div class="variablelist"><table border="0">
|
2102
|
+
<col align="left" valign="top">
|
2103
|
+
<tbody>
|
2104
|
+
<tr>
|
2105
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2106
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2107
|
+
</td>
|
2108
|
+
</tr>
|
2109
|
+
<tr>
|
2110
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2111
|
+
<td>ignored
|
2112
|
+
</td>
|
2113
|
+
</tr>
|
2114
|
+
<tr>
|
2115
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2116
|
+
<td>2
|
2117
|
+
</td>
|
2118
|
+
</tr>
|
2119
|
+
<tr>
|
2120
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2121
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> parameter
|
2122
|
+
</td>
|
2123
|
+
</tr>
|
2124
|
+
<tr>
|
2125
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2126
|
+
<td>the invocation hint given as the last argument
|
2127
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2128
|
+
</td>
|
2129
|
+
</tr>
|
2130
|
+
<tr>
|
2131
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2132
|
+
<td>additional data specified when registering the marshaller
|
2133
|
+
</td>
|
2134
|
+
</tr>
|
2135
|
+
</tbody>
|
2136
|
+
</table></div>
|
2137
|
+
</div>
|
2138
|
+
<hr>
|
2139
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__OBJECT ()">
|
2140
|
+
<a name="g-cclosure-marshal-VOID--OBJECT"></a><h3>g_cclosure_marshal_VOID__OBJECT ()</h3>
|
2141
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__OBJECT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2142
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2143
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2144
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2145
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2146
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2147
|
+
<p>
|
2148
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2149
|
+
<code class="literal">void (*callback) (gpointer instance, GOBject *arg1, gpointer user_data)</code>.
|
2150
|
+
</p>
|
2151
|
+
<div class="variablelist"><table border="0">
|
2152
|
+
<col align="left" valign="top">
|
2153
|
+
<tbody>
|
2154
|
+
<tr>
|
2155
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2156
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2157
|
+
</td>
|
2158
|
+
</tr>
|
2159
|
+
<tr>
|
2160
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2161
|
+
<td>ignored
|
2162
|
+
</td>
|
2163
|
+
</tr>
|
2164
|
+
<tr>
|
2165
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2166
|
+
<td>2
|
2167
|
+
</td>
|
2168
|
+
</tr>
|
2169
|
+
<tr>
|
2170
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2171
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* parameter
|
2172
|
+
</td>
|
2173
|
+
</tr>
|
2174
|
+
<tr>
|
2175
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2176
|
+
<td>the invocation hint given as the last argument
|
2177
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2178
|
+
</td>
|
2179
|
+
</tr>
|
2180
|
+
<tr>
|
2181
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2182
|
+
<td>additional data specified when registering the marshaller
|
2183
|
+
</td>
|
2184
|
+
</tr>
|
2185
|
+
</tbody>
|
2186
|
+
</table></div>
|
2187
|
+
</div>
|
2188
|
+
<hr>
|
2189
|
+
<div class="refsect2" title="g_cclosure_marshal_STRING__OBJECT_POINTER ()">
|
2190
|
+
<a name="g-cclosure-marshal-STRING--OBJECT-POINTER"></a><h3>g_cclosure_marshal_STRING__OBJECT_POINTER ()</h3>
|
2191
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_STRING__OBJECT_POINTER
|
2192
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2193
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2194
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2195
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2196
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2197
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2198
|
+
<p>
|
2199
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2200
|
+
<code class="literal">gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)</code>.
|
2201
|
+
</p>
|
2202
|
+
<div class="variablelist"><table border="0">
|
2203
|
+
<col align="left" valign="top">
|
2204
|
+
<tbody>
|
2205
|
+
<tr>
|
2206
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2207
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2208
|
+
</td>
|
2209
|
+
</tr>
|
2210
|
+
<tr>
|
2211
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2212
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, which can store the returned string
|
2213
|
+
</td>
|
2214
|
+
</tr>
|
2215
|
+
<tr>
|
2216
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2217
|
+
<td>3
|
2218
|
+
</td>
|
2219
|
+
</tr>
|
2220
|
+
<tr>
|
2221
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2222
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2
|
2223
|
+
</td>
|
2224
|
+
</tr>
|
2225
|
+
<tr>
|
2226
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2227
|
+
<td>the invocation hint given as the last argument
|
2228
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2229
|
+
</td>
|
2230
|
+
</tr>
|
2231
|
+
<tr>
|
2232
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2233
|
+
<td>additional data specified when registering the marshaller
|
2234
|
+
</td>
|
2235
|
+
</tr>
|
2236
|
+
</tbody>
|
2237
|
+
</table></div>
|
2238
|
+
</div>
|
2239
|
+
<hr>
|
2240
|
+
<div class="refsect2" title="g_cclosure_marshal_VOID__UINT_POINTER ()">
|
2241
|
+
<a name="g-cclosure-marshal-VOID--UINT-POINTER"></a><h3>g_cclosure_marshal_VOID__UINT_POINTER ()</h3>
|
2242
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT_POINTER
|
2243
|
+
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2244
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2245
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2246
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2247
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2248
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2249
|
+
<p>
|
2250
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2251
|
+
<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)</code>.
|
2252
|
+
</p>
|
2253
|
+
<div class="variablelist"><table border="0">
|
2254
|
+
<col align="left" valign="top">
|
2255
|
+
<tbody>
|
2256
|
+
<tr>
|
2257
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2258
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2259
|
+
</td>
|
2260
|
+
</tr>
|
2261
|
+
<tr>
|
2262
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2263
|
+
<td>ignored
|
2264
|
+
</td>
|
2265
|
+
</tr>
|
2266
|
+
<tr>
|
2267
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2268
|
+
<td>3
|
2269
|
+
</td>
|
2270
|
+
</tr>
|
2271
|
+
<tr>
|
2272
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2273
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2
|
2274
|
+
</td>
|
2275
|
+
</tr>
|
2276
|
+
<tr>
|
2277
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2278
|
+
<td>the invocation hint given as the last argument
|
2279
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2280
|
+
</td>
|
2281
|
+
</tr>
|
2282
|
+
<tr>
|
2283
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2284
|
+
<td>additional data specified when registering the marshaller
|
2285
|
+
</td>
|
2286
|
+
</tr>
|
2287
|
+
</tbody>
|
2288
|
+
</table></div>
|
2289
|
+
</div>
|
2290
|
+
<hr>
|
2291
|
+
<div class="refsect2" title="g_cclosure_marshal_BOOLEAN__FLAGS ()">
|
2292
|
+
<a name="g-cclosure-marshal-BOOLEAN--FLAGS"></a><h3>g_cclosure_marshal_BOOLEAN__FLAGS ()</h3>
|
2293
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2294
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>,
|
2295
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2296
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
2297
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2298
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2299
|
+
<p>
|
2300
|
+
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2301
|
+
<code class="literal">gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter
|
2302
|
+
denotes a flags type.
|
2303
|
+
</p>
|
2304
|
+
<div class="variablelist"><table border="0">
|
2305
|
+
<col align="left" valign="top">
|
2306
|
+
<tbody>
|
2307
|
+
<tr>
|
2308
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2309
|
+
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2310
|
+
</td>
|
2311
|
+
</tr>
|
2312
|
+
<tr>
|
2313
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2314
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> which can store the returned <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>
|
2315
|
+
</td>
|
2316
|
+
</tr>
|
2317
|
+
<tr>
|
2318
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2319
|
+
<td>2
|
2320
|
+
</td>
|
2321
|
+
</tr>
|
2322
|
+
<tr>
|
2323
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2324
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance and arg1
|
2325
|
+
</td>
|
2326
|
+
</tr>
|
2327
|
+
<tr>
|
2328
|
+
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2329
|
+
<td>the invocation hint given as the last argument
|
2330
|
+
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2331
|
+
</td>
|
2332
|
+
</tr>
|
2333
|
+
<tr>
|
2334
|
+
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2335
|
+
<td>additional data specified when registering the marshaller
|
2336
|
+
</td>
|
2337
|
+
</tr>
|
2338
|
+
</tbody>
|
2339
|
+
</table></div>
|
2340
|
+
</div>
|
2341
|
+
<hr>
|
2342
|
+
<div class="refsect2" title="g_cclosure_marshal_BOOL__FLAGS">
|
2343
|
+
<a name="g-cclosure-marshal-BOOL--FLAGS"></a><h3>g_cclosure_marshal_BOOL__FLAGS</h3>
|
2344
|
+
<pre class="programlisting">#define g_cclosure_marshal_BOOL__FLAGS</pre>
|
2345
|
+
<p>
|
2346
|
+
Another name for <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()"><code class="function">g_cclosure_marshal_BOOLEAN__FLAGS()</code></a>.
|
2347
|
+
</p>
|
2348
|
+
</div>
|
2349
|
+
</div>
|
2350
|
+
</div>
|
2351
|
+
<div class="footer">
|
2352
|
+
<hr>
|
2353
|
+
Generated by GTK-Doc V1.14</div>
|
2354
|
+
</body>
|
2355
|
+
</html>
|