glib2 3.1.8-x64-mingw32 → 3.1.9-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +4 -4
- data/ext/glib2/rbglib.h +1 -1
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/2.4/glib2.so +0 -0
- data/lib/gnome2/rake/external-package.rb +5 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +82 -12
- data/test/run-test.rb +1 -1
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +10 -6
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/gio.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal +1056 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +694 -579
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.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/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.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/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +1 -1
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gaction.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gbytesicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gconverter.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdatagrambased.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdrive.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gemblem.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfile.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +1 -1
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/ginitable.h +3 -2
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +7 -2
- data/vendor/local/include/glib-2.0/gio/gioerror.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +4 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +1 -1
- data/vendor/local/include/glib-2.0/gio/glistmodel.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gliststore.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gmenu.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gmount.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gnotification.h +1 -1
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpermission.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpropertyaction.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gproxy.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gresolver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gresource.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gseekable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleiostream.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsubprocess.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsubprocesslauncher.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtask.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gvfs.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gvolume.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +1 -1
- data/vendor/local/include/glib-2.0/glib-object.h +1 -1
- data/vendor/local/include/glib-2.0/glib-unix.h +5 -5
- data/vendor/local/include/glib-2.0/glib.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +1 -1
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- data/vendor/local/include/glib-2.0/glib/galloca.h +1 -1
- data/vendor/local/include/glib-2.0/glib/garray.h +10 -1
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gatomic.h +4 -4
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbase64.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +4 -4
- data/vendor/local/include/glib-2.0/glib/gbytes.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gcharset.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gconvert.h +1 -31
- data/vendor/local/include/glib-2.0/glib/gdataset.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gdate.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gdir.h +1 -15
- data/vendor/local/include/glib-2.0/glib/genviron.h +1 -17
- data/vendor/local/include/glib-2.0/glib/gerror.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +1 -28
- data/vendor/local/include/glib-2.0/glib/ggettext.h +1 -1
- data/vendor/local/include/glib-2.0/glib/ghash.h +1 -1
- data/vendor/local/include/glib-2.0/glib/ghmac.h +5 -5
- data/vendor/local/include/glib-2.0/glib/ghook.h +1 -1
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gi18n.h +1 -1
- data/vendor/local/include/glib-2.0/glib/giochannel.h +1 -12
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +1 -1
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +1 -1
- data/vendor/local/include/glib-2.0/glib/glist.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmacros.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmain.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +1 -1
- data/vendor/local/include/glib-2.0/glib/goption.h +6 -6
- data/vendor/local/include/glib-2.0/glib/gpattern.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gpoll.h +6 -6
- data/vendor/local/include/glib-2.0/glib/gprimes.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gprintf.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gqsort.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gquark.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gqueue.h +1 -1
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gscanner.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gshell.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gslice.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gslist.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gspawn.h +1 -54
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +48 -1
- data/vendor/local/include/glib-2.0/glib/gstring.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gthread.h +4 -4
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtimer.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +4 -4
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtree.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +12 -2
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +5 -4
- data/vendor/local/include/glib-2.0/glib/gversion.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gwin32.h +1 -20
- data/vendor/local/include/glib-2.0/gmodule.h +15 -15
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/genums.h +7 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +17 -2
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
- data/vendor/local/include/glib-2.0/gobject/gparam.h +3 -1
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gtype.h +15 -3
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +3 -3
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +3 -3
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.5200.3-gdb.py → libglib-2.0.so.0.5400.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.5200.3-gdb.py → libgobject-2.0.so.0.5400.1-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +11 -11
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +2 -5
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/glib-2.0/valgrind/glib.supp +10 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +12 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +3 -2
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +9 -7
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +23 -5
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +3 -0
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +23 -11
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +1 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +6 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +10 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +5 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +2 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +8 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +138 -64
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +3 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +7 -4
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +24 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +5 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +10 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +7 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +11 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +5 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +9 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +30 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +43 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +146 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +38 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +4 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +103 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +254 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +34 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -7
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +13 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +94 -39
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +20 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +81 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +95 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +191 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +7 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +1 -1
- data/vendor/local/share/license/glib/COPYING +118 -98
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +66 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/gio.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +99 -19
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +9 -7
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
@@ -1238,7 +1238,10 @@ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code
|
|
1238
1238
|
<div class="refsect2">
|
1239
1239
|
<a name="g-slist-next"></a><h3>g_slist_next()</h3>
|
1240
1240
|
<pre class="programlisting">#define g_slist_next(slist)</pre>
|
1241
|
-
<p>A convenience macro to get the next element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a
|
1241
|
+
<p>A convenience macro to get the next element in a <a class="link" href="glib-Singly-Linked-Lists.html#GSList" title="struct GSList"><span class="type">GSList</span></a>.
|
1242
|
+
Note that it is considered perfectly acceptable to access
|
1243
|
+
<em class="parameter"><code>slist->next</code></em>
|
1244
|
+
directly.</p>
|
1242
1245
|
<div class="refsect3">
|
1243
1246
|
<a name="g-slist-next.parameters"></a><h4>Parameters</h4>
|
1244
1247
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -148,6 +148,95 @@ as well as convenience variants that take a complete shell-like
|
|
148
148
|
commandline (<a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-sync" title="g_spawn_command_line_sync ()"><code class="function">g_spawn_command_line_sync()</code></a>, <a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-async" title="g_spawn_command_line_async ()"><code class="function">g_spawn_command_line_async()</code></a>).</p>
|
149
149
|
<p>See <a href="../gio/GSubprocess.html#GSubprocess-struct"><span class="type">GSubprocess</span></a> in GIO for a higher-level API that provides
|
150
150
|
stream interfaces for communication with child processes.</p>
|
151
|
+
<p>An example of using <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>:</p>
|
152
|
+
<div class="informalexample">
|
153
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
154
|
+
<tbody>
|
155
|
+
<tr>
|
156
|
+
<td class="listing_lines" align="right"><pre>1
|
157
|
+
2
|
158
|
+
3
|
159
|
+
4
|
160
|
+
5
|
161
|
+
6
|
162
|
+
7
|
163
|
+
8
|
164
|
+
9
|
165
|
+
10
|
166
|
+
11
|
167
|
+
12
|
168
|
+
13
|
169
|
+
14
|
170
|
+
15
|
171
|
+
16
|
172
|
+
17
|
173
|
+
18
|
174
|
+
19
|
175
|
+
20
|
176
|
+
21
|
177
|
+
22
|
178
|
+
23
|
179
|
+
24
|
180
|
+
25
|
181
|
+
26
|
182
|
+
27
|
183
|
+
28
|
184
|
+
29
|
185
|
+
30
|
186
|
+
31
|
187
|
+
32
|
188
|
+
33
|
189
|
+
34
|
190
|
+
35
|
191
|
+
36
|
192
|
+
37
|
193
|
+
38
|
194
|
+
39</pre></td>
|
195
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span> <span class="gtkdoc kwb">const</span> argv<span class="gtkdoc opt">[] = {</span> <span class="string">"my-favourite-program"</span><span class="gtkdoc opt">,</span> <span class="string">"--args"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">};</span>
|
196
|
+
gint child_stdout<span class="gtkdoc opt">,</span> child_stderr<span class="gtkdoc opt">;</span>
|
197
|
+
GPid child_pid<span class="gtkdoc opt">;</span>
|
198
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GError<span class="gtkdoc opt">)</span> error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
199
|
+
|
200
|
+
<span class="gtkdoc slc">// Spawn child process.</span>
|
201
|
+
<span class="function"><a href="glib-Spawning-Processes.html#g-spawn-async-with-pipes">g_spawn_async_with_pipes</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">,</span> argv<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> G_SPAWN_DO_NOT_REAP_CHILD<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span>
|
202
|
+
NULL<span class="gtkdoc opt">, &</span>child_pid<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &</span>child_stdout<span class="gtkdoc opt">,</span>
|
203
|
+
<span class="gtkdoc opt">&</span>child_stderr<span class="gtkdoc opt">, &</span>error<span class="gtkdoc opt">);</span>
|
204
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>error <span class="gtkdoc opt">!=</span> NULL<span class="gtkdoc opt">)</span>
|
205
|
+
<span class="gtkdoc opt">{</span>
|
206
|
+
<span class="function"><a href="glib-Message-Logging.html#g-error">g_error</a></span> <span class="gtkdoc opt">(</span><span class="string">"Spawning child failed: %s"</span><span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">-></span>message<span class="gtkdoc opt">);</span>
|
207
|
+
<span class="keyword">return</span><span class="gtkdoc opt">;</span>
|
208
|
+
<span class="gtkdoc opt">}</span>
|
209
|
+
|
210
|
+
<span class="gtkdoc slc">// Add a child watch function which will be called when the child process</span>
|
211
|
+
<span class="gtkdoc slc">// exits.</span>
|
212
|
+
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-child-watch-add">g_child_watch_add</a></span> <span class="gtkdoc opt">(</span>child_pid<span class="gtkdoc opt">,</span> child_watch_cb<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
213
|
+
|
214
|
+
<span class="gtkdoc slc">// You could watch for output on @child_stdout and @child_stderr using</span>
|
215
|
+
<span class="gtkdoc slc">// #GUnixInputStream or #GIOChannel here.</span>
|
216
|
+
|
217
|
+
<span class="gtkdoc kwb">static void</span>
|
218
|
+
<span class="function">child_watch_cb</span> <span class="gtkdoc opt">(</span>GPid pid<span class="gtkdoc opt">,</span>
|
219
|
+
gint status<span class="gtkdoc opt">,</span>
|
220
|
+
gpointer user_data<span class="gtkdoc opt">)</span>
|
221
|
+
<span class="gtkdoc opt">{</span>
|
222
|
+
<span class="function"><a href="glib-Message-Logging.html#g-message">g_message</a></span> <span class="gtkdoc opt">(</span><span class="string">"Child %"</span> G_PID_FORMAT <span class="string">" exited %s"</span><span class="gtkdoc opt">,</span> pid<span class="gtkdoc opt">,</span>
|
223
|
+
<span class="function"><a href="glib-Spawning-Processes.html#g-spawn-check-exit-status">g_spawn_check_exit_status</a></span> <span class="gtkdoc opt">(</span>status<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">) ?</span> <span class="string">"normally"</span> <span class="gtkdoc opt">:</span> <span class="string">"abnormally"</span><span class="gtkdoc opt">);</span>
|
224
|
+
|
225
|
+
<span class="gtkdoc slc">// Free any resources associated with the child here, such as I/O channels</span>
|
226
|
+
<span class="gtkdoc slc">// on its stdout and stderr FDs. If you have no code to put in the</span>
|
227
|
+
<span class="gtkdoc slc">// child_watch_cb() callback, you can remove it and the g_child_watch_add()</span>
|
228
|
+
<span class="gtkdoc slc">// call, but you must also remove the G_SPAWN_DO_NOT_REAP_CHILD flag,</span>
|
229
|
+
<span class="gtkdoc slc">// otherwise the child process will stay around as a zombie until this</span>
|
230
|
+
<span class="gtkdoc slc">// process exits.</span>
|
231
|
+
|
232
|
+
<span class="function"><a href="glib-Spawning-Processes.html#g-spawn-close-pid">g_spawn_close_pid</a></span> <span class="gtkdoc opt">(</span>pid<span class="gtkdoc opt">);</span>
|
233
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
234
|
+
</tr>
|
235
|
+
</tbody>
|
236
|
+
</table>
|
237
|
+
</div>
|
238
|
+
|
239
|
+
<p></p>
|
151
240
|
</div>
|
152
241
|
<div class="refsect1">
|
153
242
|
<a name="glib-Spawning-Processes.functions_details"></a><h2>Functions</h2>
|
@@ -275,11 +364,12 @@ If <em class="parameter"><code>envp</code></em>
|
|
275
364
|
<p><em class="parameter"><code>flags</code></em>
|
276
365
|
should be the bitwise OR of any flags you want to affect the
|
277
366
|
function's behaviour. The <a class="link" href="glib-Spawning-Processes.html#G-SPAWN-DO-NOT-REAP-CHILD:CAPS"><code class="literal">G_SPAWN_DO_NOT_REAP_CHILD</code></a> means that the
|
278
|
-
child will not automatically be reaped; you must use a child watch
|
279
|
-
be notified about the death of the child process
|
280
|
-
|
281
|
-
|
282
|
-
|
367
|
+
child will not automatically be reaped; you must use a child watch
|
368
|
+
(<a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add" title="g_child_watch_add ()"><code class="function">g_child_watch_add()</code></a>) to be notified about the death of the child process,
|
369
|
+
otherwise it will stay around as a zombie process until this process exits.
|
370
|
+
Eventually you must call <a class="link" href="glib-Spawning-Processes.html#g-spawn-close-pid" title="g_spawn_close_pid ()"><code class="function">g_spawn_close_pid()</code></a> on the <em class="parameter"><code>child_pid</code></em>
|
371
|
+
, in order to
|
372
|
+
free resources which may be associated with the child process. (On Unix,
|
283
373
|
using a child watch is equivalent to calling <code class="function">waitpid()</code> or handling
|
284
374
|
the <code class="literal">SIGCHLD</code> signal manually. On Windows, calling <a class="link" href="glib-Spawning-Processes.html#g-spawn-close-pid" title="g_spawn_close_pid ()"><code class="function">g_spawn_close_pid()</code></a>
|
285
375
|
is equivalent to calling <code class="function">CloseHandle()</code> on the process handle returned
|
@@ -380,10 +470,10 @@ and <em class="parameter"><code>standard_error</code></em>
|
|
380
470
|
<p>If <em class="parameter"><code>child_pid</code></em>
|
381
471
|
is not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> and an error does not occur then the returned
|
382
472
|
process reference must be closed using <a class="link" href="glib-Spawning-Processes.html#g-spawn-close-pid" title="g_spawn_close_pid ()"><code class="function">g_spawn_close_pid()</code></a>.</p>
|
383
|
-
<p>If you are writing a GTK+ application, and the program you
|
384
|
-
|
385
|
-
want to use <
|
386
|
-
|
473
|
+
<p>If you are writing a GTK+ application, and the program you are spawning is a
|
474
|
+
graphical application too, then to ensure that the spawned program opens its
|
475
|
+
windows on the right screen, you may want to use <a href="../gdk4/gdk4-Application-launching.html#GdkAppLaunchContext-struct"><span class="type">GdkAppLaunchContext</span></a>,
|
476
|
+
<span class="type">GAppLaunchcontext</span>, or set the <code class="literal">DISPLAY</code> environment variable.</p>
|
387
477
|
<div class="refsect3">
|
388
478
|
<a name="g-spawn-async-with-pipes.parameters"></a><h4>Parameters</h4>
|
389
479
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -473,10 +563,10 @@ g_spawn_async (<em class="parameter"><code>const <a class="link" href="glib-Basi
|
|
473
563
|
simply calls the <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a> without any pipes.</p>
|
474
564
|
<p>You should call <a class="link" href="glib-Spawning-Processes.html#g-spawn-close-pid" title="g_spawn_close_pid ()"><code class="function">g_spawn_close_pid()</code></a> on the returned child process
|
475
565
|
reference when you don't need it any more.</p>
|
476
|
-
<p>If you are writing a GTK+ application, and the program you are
|
477
|
-
|
478
|
-
use <
|
479
|
-
|
566
|
+
<p>If you are writing a GTK+ application, and the program you are spawning is a
|
567
|
+
graphical application too, then to ensure that the spawned program opens its
|
568
|
+
windows on the right screen, you may want to use <a href="../gdk4/gdk4-Application-launching.html#GdkAppLaunchContext-struct"><span class="type">GdkAppLaunchContext</span></a>,
|
569
|
+
<span class="type">GAppLaunchcontext</span>, or set the <code class="literal">DISPLAY</code> environment variable.</p>
|
480
570
|
<p>Note that the returned <em class="parameter"><code>child_pid</code></em>
|
481
571
|
on Windows is a handle to the child
|
482
572
|
process and not its identifier. Process handles and process identifiers
|
@@ -529,6 +529,22 @@
|
|
529
529
|
</tr>
|
530
530
|
<tr>
|
531
531
|
<td class="function_type">
|
532
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
533
|
+
</td>
|
534
|
+
<td class="function_name">
|
535
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-string-to-signed" title="g_ascii_string_to_signed ()">g_ascii_string_to_signed</a> <span class="c_punctuation">()</span>
|
536
|
+
</td>
|
537
|
+
</tr>
|
538
|
+
<tr>
|
539
|
+
<td class="function_type">
|
540
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
541
|
+
</td>
|
542
|
+
<td class="function_name">
|
543
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-string-to-unsigned" title="g_ascii_string_to_unsigned ()">g_ascii_string_to_unsigned</a> <span class="c_punctuation">()</span>
|
544
|
+
</td>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
547
|
+
<td class="function_type">
|
532
548
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
533
549
|
</td>
|
534
550
|
<td class="function_name">
|
@@ -675,6 +691,14 @@
|
|
675
691
|
<td class="function_name"><a class="link" href="glib-String-Utility-Functions.html#G-ASCII-DTOSTR-BUF-SIZE:CAPS" title="G_ASCII_DTOSTR_BUF_SIZE">G_ASCII_DTOSTR_BUF_SIZE</a></td>
|
676
692
|
</tr>
|
677
693
|
<tr>
|
694
|
+
<td class="datatype_keyword">enum</td>
|
695
|
+
<td class="function_name"><a class="link" href="glib-String-Utility-Functions.html#GNumberParserError" title="enum GNumberParserError">GNumberParserError</a></td>
|
696
|
+
</tr>
|
697
|
+
<tr>
|
698
|
+
<td class="define_keyword">#define</td>
|
699
|
+
<td class="function_name"><a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR:CAPS" title="G_NUMBER_PARSER_ERROR">G_NUMBER_PARSER_ERROR</a></td>
|
700
|
+
</tr>
|
701
|
+
<tr>
|
678
702
|
<td class="define_keyword">#define</td>
|
679
703
|
<td class="function_name"><a class="link" href="glib-String-Utility-Functions.html#G-STR-DELIMITERS:CAPS" title="G_STR_DELIMITERS">G_STR_DELIMITERS</a></td>
|
680
704
|
</tr>
|
@@ -3304,6 +3328,170 @@ character after the last character used in the conversion. </p></td>
|
|
3304
3328
|
</div>
|
3305
3329
|
<hr>
|
3306
3330
|
<div class="refsect2">
|
3331
|
+
<a name="g-ascii-string-to-signed"></a><h3>g_ascii_string_to_signed ()</h3>
|
3332
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
3333
|
+
g_ascii_string_to_signed (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
3334
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> base</code></em>,
|
3335
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> min</code></em>,
|
3336
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> max</code></em>,
|
3337
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> *out_num</code></em>,
|
3338
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3339
|
+
<p>A convenience function for converting a string to a signed number.</p>
|
3340
|
+
<p>This function assumes that <em class="parameter"><code>str</code></em>
|
3341
|
+
contains only a number of the given
|
3342
|
+
<em class="parameter"><code>base</code></em>
|
3343
|
+
that is within inclusive bounds limited by <em class="parameter"><code>min</code></em>
|
3344
|
+
and <em class="parameter"><code>max</code></em>
|
3345
|
+
. If
|
3346
|
+
this is true, then the converted number is stored in <em class="parameter"><code>out_num</code></em>
|
3347
|
+
. An
|
3348
|
+
empty string is not a valid input. A string with leading or
|
3349
|
+
trailing whitespace is also an invalid input.</p>
|
3350
|
+
<p><em class="parameter"><code>base</code></em>
|
3351
|
+
can be between 2 and 36 inclusive. Hexadecimal numbers must
|
3352
|
+
not be prefixed with "0x" or "0X". Such a problem does not exist
|
3353
|
+
for octal numbers, since they were usually prefixed with a zero
|
3354
|
+
which does not change the value of the parsed number.</p>
|
3355
|
+
<p>Parsing failures result in an error with the <a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR:CAPS" title="G_NUMBER_PARSER_ERROR"><code class="literal">G_NUMBER_PARSER_ERROR</code></a>
|
3356
|
+
domain. If the input is invalid, the error code will be
|
3357
|
+
<a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR-INVALID:CAPS"><code class="literal">G_NUMBER_PARSER_ERROR_INVALID</code></a>. If the parsed number is out of
|
3358
|
+
bounds - <a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR-OUT-OF-BOUNDS:CAPS"><code class="literal">G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS</code></a>.</p>
|
3359
|
+
<p>See <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtoll" title="g_ascii_strtoll ()"><code class="function">g_ascii_strtoll()</code></a> if you have more complex needs such as
|
3360
|
+
parsing a string which starts with a number, but then has other
|
3361
|
+
characters.</p>
|
3362
|
+
<div class="refsect3">
|
3363
|
+
<a name="g-ascii-string-to-signed.parameters"></a><h4>Parameters</h4>
|
3364
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3365
|
+
<colgroup>
|
3366
|
+
<col width="150px" class="parameters_name">
|
3367
|
+
<col class="parameters_description">
|
3368
|
+
<col width="200px" class="parameters_annotations">
|
3369
|
+
</colgroup>
|
3370
|
+
<tbody>
|
3371
|
+
<tr>
|
3372
|
+
<td class="parameter_name"><p>str</p></td>
|
3373
|
+
<td class="parameter_description"><p>a string</p></td>
|
3374
|
+
<td class="parameter_annotations"> </td>
|
3375
|
+
</tr>
|
3376
|
+
<tr>
|
3377
|
+
<td class="parameter_name"><p>base</p></td>
|
3378
|
+
<td class="parameter_description"><p>base of a parsed number</p></td>
|
3379
|
+
<td class="parameter_annotations"> </td>
|
3380
|
+
</tr>
|
3381
|
+
<tr>
|
3382
|
+
<td class="parameter_name"><p>min</p></td>
|
3383
|
+
<td class="parameter_description"><p>a lower bound (inclusive)</p></td>
|
3384
|
+
<td class="parameter_annotations"> </td>
|
3385
|
+
</tr>
|
3386
|
+
<tr>
|
3387
|
+
<td class="parameter_name"><p>max</p></td>
|
3388
|
+
<td class="parameter_description"><p>an upper bound (inclusive)</p></td>
|
3389
|
+
<td class="parameter_annotations"> </td>
|
3390
|
+
</tr>
|
3391
|
+
<tr>
|
3392
|
+
<td class="parameter_name"><p>out_num</p></td>
|
3393
|
+
<td class="parameter_description"><p> a return location for a number. </p></td>
|
3394
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
3395
|
+
</tr>
|
3396
|
+
<tr>
|
3397
|
+
<td class="parameter_name"><p>error</p></td>
|
3398
|
+
<td class="parameter_description"><p>a return location for <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a></p></td>
|
3399
|
+
<td class="parameter_annotations"> </td>
|
3400
|
+
</tr>
|
3401
|
+
</tbody>
|
3402
|
+
</table></div>
|
3403
|
+
</div>
|
3404
|
+
<div class="refsect3">
|
3405
|
+
<a name="g-ascii-string-to-signed.returns"></a><h4>Returns</h4>
|
3406
|
+
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
3407
|
+
was a number, otherwise <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.</p>
|
3408
|
+
</div>
|
3409
|
+
<p class="since">Since: <a class="link" href="api-index-2-54.html#api-index-2.54">2.54</a></p>
|
3410
|
+
</div>
|
3411
|
+
<hr>
|
3412
|
+
<div class="refsect2">
|
3413
|
+
<a name="g-ascii-string-to-unsigned"></a><h3>g_ascii_string_to_unsigned ()</h3>
|
3414
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
3415
|
+
g_ascii_string_to_unsigned (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
3416
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> base</code></em>,
|
3417
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> min</code></em>,
|
3418
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> max</code></em>,
|
3419
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> *out_num</code></em>,
|
3420
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3421
|
+
<p>A convenience function for converting a string to an unsigned number.</p>
|
3422
|
+
<p>This function assumes that <em class="parameter"><code>str</code></em>
|
3423
|
+
contains only a number of the given
|
3424
|
+
<em class="parameter"><code>base</code></em>
|
3425
|
+
that is within inclusive bounds limited by <em class="parameter"><code>min</code></em>
|
3426
|
+
and <em class="parameter"><code>max</code></em>
|
3427
|
+
. If
|
3428
|
+
this is true, then the converted number is stored in <em class="parameter"><code>out_num</code></em>
|
3429
|
+
. An
|
3430
|
+
empty string is not a valid input. A string with leading or
|
3431
|
+
trailing whitespace is also an invalid input.</p>
|
3432
|
+
<p><em class="parameter"><code>base</code></em>
|
3433
|
+
can be between 2 and 36 inclusive. Hexadecimal numbers must
|
3434
|
+
not be prefixed with "0x" or "0X". Such a problem does not exist
|
3435
|
+
for octal numbers, since they were usually prefixed with a zero
|
3436
|
+
which does not change the value of the parsed number.</p>
|
3437
|
+
<p>Parsing failures result in an error with the <a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR:CAPS" title="G_NUMBER_PARSER_ERROR"><code class="literal">G_NUMBER_PARSER_ERROR</code></a>
|
3438
|
+
domain. If the input is invalid, the error code will be
|
3439
|
+
<a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR-INVALID:CAPS"><code class="literal">G_NUMBER_PARSER_ERROR_INVALID</code></a>. If the parsed number is out of
|
3440
|
+
bounds - <a class="link" href="glib-String-Utility-Functions.html#G-NUMBER-PARSER-ERROR-OUT-OF-BOUNDS:CAPS"><code class="literal">G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS</code></a>.</p>
|
3441
|
+
<p>See <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtoull" title="g_ascii_strtoull ()"><code class="function">g_ascii_strtoull()</code></a> if you have more complex needs such as
|
3442
|
+
parsing a string which starts with a number, but then has other
|
3443
|
+
characters.</p>
|
3444
|
+
<div class="refsect3">
|
3445
|
+
<a name="g-ascii-string-to-unsigned.parameters"></a><h4>Parameters</h4>
|
3446
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3447
|
+
<colgroup>
|
3448
|
+
<col width="150px" class="parameters_name">
|
3449
|
+
<col class="parameters_description">
|
3450
|
+
<col width="200px" class="parameters_annotations">
|
3451
|
+
</colgroup>
|
3452
|
+
<tbody>
|
3453
|
+
<tr>
|
3454
|
+
<td class="parameter_name"><p>str</p></td>
|
3455
|
+
<td class="parameter_description"><p>a string</p></td>
|
3456
|
+
<td class="parameter_annotations"> </td>
|
3457
|
+
</tr>
|
3458
|
+
<tr>
|
3459
|
+
<td class="parameter_name"><p>base</p></td>
|
3460
|
+
<td class="parameter_description"><p>base of a parsed number</p></td>
|
3461
|
+
<td class="parameter_annotations"> </td>
|
3462
|
+
</tr>
|
3463
|
+
<tr>
|
3464
|
+
<td class="parameter_name"><p>min</p></td>
|
3465
|
+
<td class="parameter_description"><p>a lower bound (inclusive)</p></td>
|
3466
|
+
<td class="parameter_annotations"> </td>
|
3467
|
+
</tr>
|
3468
|
+
<tr>
|
3469
|
+
<td class="parameter_name"><p>max</p></td>
|
3470
|
+
<td class="parameter_description"><p>an upper bound (inclusive)</p></td>
|
3471
|
+
<td class="parameter_annotations"> </td>
|
3472
|
+
</tr>
|
3473
|
+
<tr>
|
3474
|
+
<td class="parameter_name"><p>out_num</p></td>
|
3475
|
+
<td class="parameter_description"><p> a return location for a number. </p></td>
|
3476
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
3477
|
+
</tr>
|
3478
|
+
<tr>
|
3479
|
+
<td class="parameter_name"><p>error</p></td>
|
3480
|
+
<td class="parameter_description"><p>a return location for <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a></p></td>
|
3481
|
+
<td class="parameter_annotations"> </td>
|
3482
|
+
</tr>
|
3483
|
+
</tbody>
|
3484
|
+
</table></div>
|
3485
|
+
</div>
|
3486
|
+
<div class="refsect3">
|
3487
|
+
<a name="g-ascii-string-to-unsigned.returns"></a><h4>Returns</h4>
|
3488
|
+
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
3489
|
+
was a number, otherwise <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.</p>
|
3490
|
+
</div>
|
3491
|
+
<p class="since">Since: <a class="link" href="api-index-2-54.html#api-index-2.54">2.54</a></p>
|
3492
|
+
</div>
|
3493
|
+
<hr>
|
3494
|
+
<div class="refsect2">
|
3307
3495
|
<a name="g-strchug"></a><h3>g_strchug ()</h3>
|
3308
3496
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
3309
3497
|
g_strchug (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
@@ -3956,7 +4144,31 @@ such process". Unlike <code class="function">strerror()</code>, this always retu
|
|
3956
4144
|
UTF-8 encoding, and the pointer is guaranteed to remain valid for
|
3957
4145
|
the lifetime of the process.</p>
|
3958
4146
|
<p>Note that the string may be translated according to the current locale.</p>
|
3959
|
-
<p>The value of <code class="literal">errno</code> will not be changed by this function
|
4147
|
+
<p>The value of <code class="literal">errno</code> will not be changed by this function. However, it may
|
4148
|
+
be changed by intermediate function calls, so you should save its value
|
4149
|
+
as soon as the call returns:</p>
|
4150
|
+
<div class="informalexample">
|
4151
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
4152
|
+
<tbody>
|
4153
|
+
<tr>
|
4154
|
+
<td class="listing_lines" align="right"><pre>1
|
4155
|
+
2
|
4156
|
+
3
|
4157
|
+
4
|
4158
|
+
5
|
4159
|
+
6</pre></td>
|
4160
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span> saved_errno<span class="gtkdoc opt">;</span>
|
4161
|
+
|
4162
|
+
ret <span class="gtkdoc opt">=</span> <span class="function">read</span> <span class="gtkdoc opt">(</span>blah<span class="gtkdoc opt">);</span>
|
4163
|
+
saved_errno <span class="gtkdoc opt">=</span> errno<span class="gtkdoc opt">;</span>
|
4164
|
+
|
4165
|
+
<span class="function"><a href="glib-String-Utility-Functions.html#g-strerror">g_strerror</a></span> <span class="gtkdoc opt">(</span>saved_errno<span class="gtkdoc opt">);</span></pre></td>
|
4166
|
+
</tr>
|
4167
|
+
</tbody>
|
4168
|
+
</table>
|
4169
|
+
</div>
|
4170
|
+
|
4171
|
+
<p></p>
|
3960
4172
|
<div class="refsect3">
|
3961
4173
|
<a name="g-strerror.parameters"></a><h4>Parameters</h4>
|
3962
4174
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -4039,6 +4251,47 @@ on systems with 64bit IEEE-compatible doubles.</p>
|
|
4039
4251
|
</div>
|
4040
4252
|
<hr>
|
4041
4253
|
<div class="refsect2">
|
4254
|
+
<a name="GNumberParserError"></a><h3>enum GNumberParserError</h3>
|
4255
|
+
<p>Error codes returned by functions converting a string to a number.</p>
|
4256
|
+
<div class="refsect3">
|
4257
|
+
<a name="GNumberParserError.members"></a><h4>Members</h4>
|
4258
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4259
|
+
<colgroup>
|
4260
|
+
<col width="300px" class="enum_members_name">
|
4261
|
+
<col class="enum_members_description">
|
4262
|
+
<col width="200px" class="enum_members_annotations">
|
4263
|
+
</colgroup>
|
4264
|
+
<tbody>
|
4265
|
+
<tr>
|
4266
|
+
<td class="enum_member_name"><p><a name="G-NUMBER-PARSER-ERROR-INVALID:CAPS"></a>G_NUMBER_PARSER_ERROR_INVALID</p></td>
|
4267
|
+
<td class="enum_member_description">
|
4268
|
+
<p>String was not a valid number.</p>
|
4269
|
+
</td>
|
4270
|
+
<td class="enum_member_annotations"> </td>
|
4271
|
+
</tr>
|
4272
|
+
<tr>
|
4273
|
+
<td class="enum_member_name"><p><a name="G-NUMBER-PARSER-ERROR-OUT-OF-BOUNDS:CAPS"></a>G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS</p></td>
|
4274
|
+
<td class="enum_member_description">
|
4275
|
+
<p>String was a number, but out of bounds.</p>
|
4276
|
+
</td>
|
4277
|
+
<td class="enum_member_annotations"> </td>
|
4278
|
+
</tr>
|
4279
|
+
</tbody>
|
4280
|
+
</table></div>
|
4281
|
+
</div>
|
4282
|
+
<p class="since">Since: <a class="link" href="api-index-2-54.html#api-index-2.54">2.54</a></p>
|
4283
|
+
</div>
|
4284
|
+
<hr>
|
4285
|
+
<div class="refsect2">
|
4286
|
+
<a name="G-NUMBER-PARSER-ERROR:CAPS"></a><h3>G_NUMBER_PARSER_ERROR</h3>
|
4287
|
+
<pre class="programlisting">#define G_NUMBER_PARSER_ERROR (g_number_parser_error_quark ())
|
4288
|
+
</pre>
|
4289
|
+
<p>Domain for errors returned by functions converting a string to a
|
4290
|
+
number.</p>
|
4291
|
+
<p class="since">Since: <a class="link" href="api-index-2-54.html#api-index-2.54">2.54</a></p>
|
4292
|
+
</div>
|
4293
|
+
<hr>
|
4294
|
+
<div class="refsect2">
|
4042
4295
|
<a name="G-STR-DELIMITERS:CAPS"></a><h3>G_STR_DELIMITERS</h3>
|
4043
4296
|
<pre class="programlisting">#define G_STR_DELIMITERS "_-|> <."
|
4044
4297
|
</pre>
|
@@ -345,7 +345,7 @@ g_unix_signal_source_new (<em class="parameter"><code><a class="link" href="glib
|
|
345
345
|
signal <em class="parameter"><code>signum</code></em>
|
346
346
|
. In GLib versions before 2.36, only <code class="literal">SIGHUP</code>, <code class="literal">SIGINT</code>,
|
347
347
|
<code class="literal">SIGTERM</code> can be monitored. In GLib 2.36, <code class="literal">SIGUSR1</code> and <code class="literal">SIGUSR2</code>
|
348
|
-
were added.</p>
|
348
|
+
were added. In GLib 2.54, <code class="literal">SIGWINCH</code> was added.</p>
|
349
349
|
<p>Note that unlike the UNIX default, all sources which have created a
|
350
350
|
watch will be dispatched, regardless of which underlying thread
|
351
351
|
invoked <a class="link" href="glib-UNIX-specific-utilities-and-integration.html#g-unix-signal-source-new" title="g_unix_signal_source_new ()"><code class="function">g_unix_signal_source_new()</code></a>.</p>
|