clutter 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -2
- data/lib/clutter.rb +19 -6
- data/lib/clutter/color.rb +33 -5
- data/sample/basic-actor.rb +0 -2
- data/sample/bin-layout.rb +0 -2
- data/sample/box-layout.rb +0 -2
- data/sample/canvas.rb +2 -4
- data/sample/constraints.rb +0 -2
- data/sample/drag-action.rb +0 -2
- data/sample/drop-action.rb +4 -6
- data/sample/easing-modes.rb +0 -2
- data/sample/flow-layout.rb +0 -2
- data/sample/grid-layout.rb +0 -2
- data/sample/image-content.rb +0 -2
- data/sample/pan-action.rb +0 -2
- data/sample/rounded-rectangle.rb +0 -2
- data/sample/scroll-actor.rb +0 -2
- data/test/run-test.rb +7 -3
- data/test/test-clutter-color.rb +42 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +3 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +3 -1
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +29 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +4 -4
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +3 -3
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +1 -1
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +1 -1
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +4 -4
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +2 -2
- data/vendor/local/share/gir-1.0/Json-1.0.gir +224 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -43
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +37 -25
- data/vendor/local/share/gtk-doc/html/clutter/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +69 -27
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +54 -18
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +102 -33
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +23 -8
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +90 -27
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +23 -33
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +10 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +39 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +34 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +31 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +106 -28
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +40 -18
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +490 -44
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +115 -31
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +30 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +9 -6
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +10 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +90 -10
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JSON Array</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Data Types">
|
9
9
|
<link rel="prev" href="json-glib-JSON-Node.html" title="JSON Node">
|
@@ -125,8 +125,11 @@ and should only be accessed by the provided API
|
|
125
125
|
<p>
|
126
126
|
Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
127
127
|
</p>
|
128
|
-
<div class="variablelist"><table border="0">
|
128
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
129
|
+
<colgroup>
|
129
130
|
<col align="left" valign="top">
|
131
|
+
<col>
|
132
|
+
</colgroup>
|
130
133
|
<tbody><tr>
|
131
134
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
132
135
|
<td>the newly created <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
@@ -141,8 +144,11 @@ Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="
|
|
141
144
|
<p>
|
142
145
|
Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> with <em class="parameter"><code>n_elements</code></em> slots already allocated.
|
143
146
|
</p>
|
144
|
-
<div class="variablelist"><table border="0">
|
147
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
148
|
+
<colgroup>
|
145
149
|
<col align="left" valign="top">
|
150
|
+
<col>
|
151
|
+
</colgroup>
|
146
152
|
<tbody>
|
147
153
|
<tr>
|
148
154
|
<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td>
|
@@ -163,8 +169,11 @@ Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="
|
|
163
169
|
<p>
|
164
170
|
Increase by one the reference count of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
165
171
|
</p>
|
166
|
-
<div class="variablelist"><table border="0">
|
172
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
173
|
+
<colgroup>
|
167
174
|
<col align="left" valign="top">
|
175
|
+
<col>
|
176
|
+
</colgroup>
|
168
177
|
<tbody>
|
169
178
|
<tr>
|
170
179
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -188,8 +197,11 @@ Decreases by one the reference count of a <a class="link" href="json-glib-JSON-A
|
|
188
197
|
reference count reaches zero, the array is destroyed and all
|
189
198
|
its allocated resources are freed.
|
190
199
|
</p>
|
191
|
-
<div class="variablelist"><table border="0">
|
200
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
201
|
+
<colgroup>
|
192
202
|
<col align="left" valign="top">
|
203
|
+
<col>
|
204
|
+
</colgroup>
|
193
205
|
<tbody><tr>
|
194
206
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
195
207
|
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
@@ -206,8 +218,11 @@ its allocated resources are freed.
|
|
206
218
|
Appends <em class="parameter"><code>node</code></em> inside <em class="parameter"><code>array</code></em>. The array will take ownership of the
|
207
219
|
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
208
220
|
</p>
|
209
|
-
<div class="variablelist"><table border="0">
|
221
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
222
|
+
<colgroup>
|
210
223
|
<col align="left" valign="top">
|
224
|
+
<col>
|
225
|
+
</colgroup>
|
211
226
|
<tbody>
|
212
227
|
<tr>
|
213
228
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -231,8 +246,11 @@ Appends <em class="parameter"><code>node</code></em> inside <em class="parameter
|
|
231
246
|
Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> containing the value of the element at <em class="parameter"><code>index_</code></em>
|
232
247
|
inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
233
248
|
</p>
|
234
|
-
<div class="variablelist"><table border="0">
|
249
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
250
|
+
<colgroup>
|
235
251
|
<col align="left" valign="top">
|
252
|
+
<col>
|
253
|
+
</colgroup>
|
236
254
|
<tbody>
|
237
255
|
<tr>
|
238
256
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -260,8 +278,11 @@ inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonA
|
|
260
278
|
Retrieves a copy of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> containing the value of the
|
261
279
|
element at <em class="parameter"><code>index_</code></em> inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
262
280
|
</p>
|
263
|
-
<div class="variablelist"><table border="0">
|
281
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
282
|
+
<colgroup>
|
264
283
|
<col align="left" valign="top">
|
284
|
+
<col>
|
285
|
+
</colgroup>
|
265
286
|
<tbody>
|
266
287
|
<tr>
|
267
288
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -289,8 +310,11 @@ index. Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title=
|
|
289
310
|
<p>
|
290
311
|
Gets the elements of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> as a list of <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>s.
|
291
312
|
</p>
|
292
|
-
<div class="variablelist"><table border="0">
|
313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
314
|
+
<colgroup>
|
293
315
|
<col align="left" valign="top">
|
316
|
+
<col>
|
317
|
+
</colgroup>
|
294
318
|
<tbody>
|
295
319
|
<tr>
|
296
320
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -315,8 +339,11 @@ owned by the array and should never be modified or freed. Use
|
|
315
339
|
<p>
|
316
340
|
Retrieves the length of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
317
341
|
</p>
|
318
|
-
<div class="variablelist"><table border="0">
|
342
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
343
|
+
<colgroup>
|
319
344
|
<col align="left" valign="top">
|
345
|
+
<col>
|
346
|
+
</colgroup>
|
320
347
|
<tbody>
|
321
348
|
<tr>
|
322
349
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -339,8 +366,11 @@ Retrieves the length of a <a class="link" href="json-glib-JSON-Array.html#JsonAr
|
|
339
366
|
Removes the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> inside <em class="parameter"><code>array</code></em> at <em class="parameter"><code>index_</code></em> freeing its allocated
|
340
367
|
resources.
|
341
368
|
</p>
|
342
|
-
<div class="variablelist"><table border="0">
|
369
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
370
|
+
<colgroup>
|
343
371
|
<col align="left" valign="top">
|
372
|
+
<col>
|
373
|
+
</colgroup>
|
344
374
|
<tbody>
|
345
375
|
<tr>
|
346
376
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -366,8 +396,11 @@ The function to be passed to <a class="link" href="json-glib-JSON-Array.html#jso
|
|
366
396
|
should not add or remove elements to and from <em class="parameter"><code>array</code></em> within
|
367
397
|
this function. It is safe to change the value of <em class="parameter"><code>element_node</code></em>.
|
368
398
|
</p>
|
369
|
-
<div class="variablelist"><table border="0">
|
399
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
400
|
+
<colgroup>
|
370
401
|
<col align="left" valign="top">
|
402
|
+
<col>
|
403
|
+
</colgroup>
|
371
404
|
<tbody>
|
372
405
|
<tr>
|
373
406
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -406,8 +439,11 @@ It is safe to change the value of a <a class="link" href="json-glib-JSON-Node.ht
|
|
406
439
|
from within the iterator <em class="parameter"><code>func</code></em>, but it is not safe to add or
|
407
440
|
remove elements from the <em class="parameter"><code>array</code></em>.
|
408
441
|
</p>
|
409
|
-
<div class="variablelist"><table border="0">
|
442
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
443
|
+
<colgroup>
|
410
444
|
<col align="left" valign="top">
|
445
|
+
<col>
|
446
|
+
</colgroup>
|
411
447
|
<tbody>
|
412
448
|
<tr>
|
413
449
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -440,8 +476,11 @@ of the newly added <a class="link" href="json-glib-JSON-Array.html#JsonArray" ti
|
|
440
476
|
<p>
|
441
477
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()"><code class="function">json_node_take_array()</code></a>
|
442
478
|
</p>
|
443
|
-
<div class="variablelist"><table border="0">
|
479
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
480
|
+
<colgroup>
|
444
481
|
<col align="left" valign="top">
|
482
|
+
<col>
|
483
|
+
</colgroup>
|
445
484
|
<tbody>
|
446
485
|
<tr>
|
447
486
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -450,7 +489,7 @@ See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element
|
|
450
489
|
</tr>
|
451
490
|
<tr>
|
452
491
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
453
|
-
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
492
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
454
493
|
</td>
|
455
494
|
</tr>
|
456
495
|
</tbody>
|
@@ -469,8 +508,11 @@ inside <em class="parameter"><code>array</code></em>
|
|
469
508
|
<p>
|
470
509
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()"><code class="function">json_node_get_array()</code></a>
|
471
510
|
</p>
|
472
|
-
<div class="variablelist"><table border="0">
|
511
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
512
|
+
<colgroup>
|
473
513
|
<col align="left" valign="top">
|
514
|
+
<col>
|
515
|
+
</colgroup>
|
474
516
|
<tbody>
|
475
517
|
<tr>
|
476
518
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -501,8 +543,11 @@ Conveniently adds a boolean <em class="parameter"><code>value</code></em> into <
|
|
501
543
|
<p>
|
502
544
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()"><code class="function">json_node_set_boolean()</code></a>
|
503
545
|
</p>
|
504
|
-
<div class="variablelist"><table border="0">
|
546
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
547
|
+
<colgroup>
|
505
548
|
<col align="left" valign="top">
|
549
|
+
<col>
|
550
|
+
</colgroup>
|
506
551
|
<tbody>
|
507
552
|
<tr>
|
508
553
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -529,8 +574,11 @@ inside <em class="parameter"><code>array</code></em>
|
|
529
574
|
<p>
|
530
575
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()"><code class="function">json_node_get_boolean()</code></a>
|
531
576
|
</p>
|
532
|
-
<div class="variablelist"><table border="0">
|
577
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
578
|
+
<colgroup>
|
533
579
|
<col align="left" valign="top">
|
580
|
+
<col>
|
581
|
+
</colgroup>
|
534
582
|
<tbody>
|
535
583
|
<tr>
|
536
584
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -560,8 +608,11 @@ Conveniently adds a floating point <em class="parameter"><code>value</code></em>
|
|
560
608
|
<p>
|
561
609
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()"><code class="function">json_node_set_double()</code></a>
|
562
610
|
</p>
|
563
|
-
<div class="variablelist"><table border="0">
|
611
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
612
|
+
<colgroup>
|
564
613
|
<col align="left" valign="top">
|
614
|
+
<col>
|
615
|
+
</colgroup>
|
565
616
|
<tbody>
|
566
617
|
<tr>
|
567
618
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -588,8 +639,11 @@ Conveniently retrieves the floating point value of the element at
|
|
588
639
|
<p>
|
589
640
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()"><code class="function">json_node_get_double()</code></a>
|
590
641
|
</p>
|
591
|
-
<div class="variablelist"><table border="0">
|
642
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
643
|
+
<colgroup>
|
592
644
|
<col align="left" valign="top">
|
645
|
+
<col>
|
646
|
+
</colgroup>
|
593
647
|
<tbody>
|
594
648
|
<tr>
|
595
649
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -619,8 +673,11 @@ Conveniently adds an integer <em class="parameter"><code>value</code></em> into
|
|
619
673
|
<p>
|
620
674
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()"><code class="function">json_node_set_int()</code></a>
|
621
675
|
</p>
|
622
|
-
<div class="variablelist"><table border="0">
|
676
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
677
|
+
<colgroup>
|
623
678
|
<col align="left" valign="top">
|
679
|
+
<col>
|
680
|
+
</colgroup>
|
624
681
|
<tbody>
|
625
682
|
<tr>
|
626
683
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -647,8 +704,11 @@ inside <em class="parameter"><code>array</code></em>
|
|
647
704
|
<p>
|
648
705
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()"><code class="function">json_node_get_int()</code></a>
|
649
706
|
</p>
|
650
|
-
<div class="variablelist"><table border="0">
|
707
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
708
|
+
<colgroup>
|
651
709
|
<col align="left" valign="top">
|
710
|
+
<col>
|
711
|
+
</colgroup>
|
652
712
|
<tbody>
|
653
713
|
<tr>
|
654
714
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -677,8 +737,11 @@ Conveniently adds a null element into <em class="parameter"><code>array</code></
|
|
677
737
|
<p>
|
678
738
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
679
739
|
</p>
|
680
|
-
<div class="variablelist"><table border="0">
|
740
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
741
|
+
<colgroup>
|
681
742
|
<col align="left" valign="top">
|
743
|
+
<col>
|
744
|
+
</colgroup>
|
682
745
|
<tbody><tr>
|
683
746
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
684
747
|
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
@@ -698,8 +761,11 @@ Conveniently retrieves whether the element at <em class="parameter"><code>index_
|
|
698
761
|
<p>
|
699
762
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()"><code class="function">JSON_NODE_TYPE()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
700
763
|
</p>
|
701
|
-
<div class="variablelist"><table border="0">
|
764
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
765
|
+
<colgroup>
|
702
766
|
<col align="left" valign="top">
|
767
|
+
<col>
|
768
|
+
</colgroup>
|
703
769
|
<tbody>
|
704
770
|
<tr>
|
705
771
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -731,8 +797,11 @@ of the newly added <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
|
731
797
|
<p>
|
732
798
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()"><code class="function">json_node_take_object()</code></a>
|
733
799
|
</p>
|
734
|
-
<div class="variablelist"><table border="0">
|
800
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
801
|
+
<colgroup>
|
735
802
|
<col align="left" valign="top">
|
803
|
+
<col>
|
804
|
+
</colgroup>
|
736
805
|
<tbody>
|
737
806
|
<tr>
|
738
807
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -760,8 +829,11 @@ inside <em class="parameter"><code>array</code></em>
|
|
760
829
|
<p>
|
761
830
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()"><code class="function">json_node_get_object()</code></a>
|
762
831
|
</p>
|
763
|
-
<div class="variablelist"><table border="0">
|
832
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
833
|
+
<colgroup>
|
764
834
|
<col align="left" valign="top">
|
835
|
+
<col>
|
836
|
+
</colgroup>
|
765
837
|
<tbody>
|
766
838
|
<tr>
|
767
839
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -792,8 +864,11 @@ Conveniently adds a string <em class="parameter"><code>value</code></em> into <e
|
|
792
864
|
<p>
|
793
865
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()"><code class="function">json_node_set_string()</code></a>
|
794
866
|
</p>
|
795
|
-
<div class="variablelist"><table border="0">
|
867
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
868
|
+
<colgroup>
|
796
869
|
<col align="left" valign="top">
|
870
|
+
<col>
|
871
|
+
</colgroup>
|
797
872
|
<tbody>
|
798
873
|
<tr>
|
799
874
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -820,8 +895,11 @@ inside <em class="parameter"><code>array</code></em>
|
|
820
895
|
<p>
|
821
896
|
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()"><code class="function">json_node_get_string()</code></a>
|
822
897
|
</p>
|
823
|
-
<div class="variablelist"><table border="0">
|
898
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
899
|
+
<colgroup>
|
824
900
|
<col align="left" valign="top">
|
901
|
+
<col>
|
902
|
+
</colgroup>
|
825
903
|
<tbody>
|
826
904
|
<tr>
|
827
905
|
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JSON GVariant Integration</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
9
9
|
<link rel="prev" href="json-glib-Boxed-Types-Serialization.html" title="Boxed Types Serialization">
|
@@ -60,6 +60,8 @@ representation.
|
|
60
60
|
Use <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> and <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize-data" title="json_gvariant_deserialize_data ()"><code class="function">json_gvariant_deserialize_data()</code></a> to
|
61
61
|
obtain the <span class="type">GVariant</span> value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> tree or directly from a JSON
|
62
62
|
string.
|
63
|
+
</p>
|
64
|
+
<p>
|
63
65
|
Since many <span class="type">GVariant</span> data types cannot be directly represented as
|
64
66
|
JSON, a <span class="type">GVariant</span> type string (signature) should be provided to these
|
65
67
|
methods in order to obtain a correct, type-contrained result.
|
@@ -70,7 +72,7 @@ according to the following table:
|
|
70
72
|
<p>
|
71
73
|
</p>
|
72
74
|
<div class="table">
|
73
|
-
<a name="
|
75
|
+
<a name="id-1.5.5.4.5.1"></a><p class="title"><b>Table 2. Default JSON to GVariant conversion (without signature constrains)</b></p>
|
74
76
|
<div class="table-contents"><table summary="Default JSON to GVariant conversion (without signature constrains)" border="1">
|
75
77
|
<colgroup>
|
76
78
|
<col>
|
@@ -123,8 +125,11 @@ according to the following table:
|
|
123
125
|
<p>
|
124
126
|
Converts <em class="parameter"><code>variant</code></em> to a JSON tree.
|
125
127
|
</p>
|
126
|
-
<div class="variablelist"><table border="0">
|
128
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
129
|
+
<colgroup>
|
127
130
|
<col align="left" valign="top">
|
131
|
+
<col>
|
132
|
+
</colgroup>
|
128
133
|
<tbody>
|
129
134
|
<tr>
|
130
135
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
@@ -150,8 +155,11 @@ Converts <em class="parameter"><code>variant</code></em> to its JSON encoded str
|
|
150
155
|
is actually a helper function. It uses <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()"><code class="function">json_gvariant_serialize()</code></a> to obtain the
|
151
156
|
JSON tree, and then <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> to stringify it.
|
152
157
|
</p>
|
153
|
-
<div class="variablelist"><table border="0">
|
158
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
159
|
+
<colgroup>
|
154
160
|
<col align="left" valign="top">
|
161
|
+
<col>
|
162
|
+
</colgroup>
|
155
163
|
<tbody>
|
156
164
|
<tr>
|
157
165
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
@@ -160,7 +168,7 @@ JSON tree, and then <a class="link" href="JsonGenerator.html" title="JsonGenerat
|
|
160
168
|
<tr>
|
161
169
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
162
170
|
<td>Return location for the length of the returned
|
163
|
-
string, or <
|
171
|
+
string, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
164
172
|
</td>
|
165
173
|
</tr>
|
166
174
|
<tr>
|
@@ -185,15 +193,22 @@ resolve ambiguous data types. If no error occurs, the resulting <span class="typ
|
|
185
193
|
is guaranteed to conform to <em class="parameter"><code>signature</code></em>.
|
186
194
|
</p>
|
187
195
|
<p>
|
188
|
-
If <em class="parameter"><code>signature</code></em> is not <
|
189
|
-
string, <
|
196
|
+
If <em class="parameter"><code>signature</code></em> is not <code class="literal">NULL</code> but does not represent a valid GVariant type
|
197
|
+
string, <code class="literal">NULL</code> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code>.
|
190
198
|
If a <em class="parameter"><code>signature</code></em> is provided but the JSON structure cannot be mapped to it,
|
191
|
-
<
|
192
|
-
If <em class="parameter"><code>signature</code></em> is <
|
199
|
+
<code class="literal">NULL</code> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_DATA</code>.
|
200
|
+
If <em class="parameter"><code>signature</code></em> is <code class="literal">NULL</code>, the conversion is done based strictly on the types
|
193
201
|
in the JSON nodes.
|
194
202
|
</p>
|
195
|
-
<
|
203
|
+
<p>
|
204
|
+
The returned variant has a floating reference that will need to be sunk
|
205
|
+
by the caller code.
|
206
|
+
</p>
|
207
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
208
|
+
<colgroup>
|
196
209
|
<col align="left" valign="top">
|
210
|
+
<col>
|
211
|
+
</colgroup>
|
197
212
|
<tbody>
|
198
213
|
<tr>
|
199
214
|
<td><p><span class="term"><em class="parameter"><code>json_node</code></em> :</span></p></td>
|
@@ -201,7 +216,7 @@ in the JSON nodes.
|
|
201
216
|
</tr>
|
202
217
|
<tr>
|
203
218
|
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
204
|
-
<td>A valid <span class="type">GVariant</span> type string, or <
|
219
|
+
<td>A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
205
220
|
</td>
|
206
221
|
</tr>
|
207
222
|
<tr>
|
@@ -211,8 +226,8 @@ in the JSON nodes.
|
|
211
226
|
</tr>
|
212
227
|
<tr>
|
213
228
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
214
|
-
<td>A newly created <span class="type">GVariant</span>
|
215
|
-
<em class="parameter"><code>signature</code></em>, or <
|
229
|
+
<td>A newly created, floating <span class="type">GVariant</span>
|
230
|
+
compliant with <em class="parameter"><code>signature</code></em>, or <code class="literal">NULL</code> on error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
216
231
|
</td>
|
217
232
|
</tr>
|
218
233
|
</tbody>
|
@@ -232,8 +247,15 @@ like <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvarian
|
|
232
247
|
The string is first converted to a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> using <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>, and then
|
233
248
|
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> is called.
|
234
249
|
</p>
|
235
|
-
<
|
250
|
+
<p>
|
251
|
+
The returned variant has a floating reference that will need to be sunk
|
252
|
+
by the caller code.
|
253
|
+
</p>
|
254
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
255
|
+
<colgroup>
|
236
256
|
<col align="left" valign="top">
|
257
|
+
<col>
|
258
|
+
</colgroup>
|
237
259
|
<tbody>
|
238
260
|
<tr>
|
239
261
|
<td><p><span class="term"><em class="parameter"><code>json</code></em> :</span></p></td>
|
@@ -241,11 +263,11 @@ The string is first converted to a <a class="link" href="json-glib-JSON-Node.htm
|
|
241
263
|
</tr>
|
242
264
|
<tr>
|
243
265
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
244
|
-
<td>The length of <em class="parameter"><code>json</code></em>, or -1 if <
|
266
|
+
<td>The length of <em class="parameter"><code>json</code></em>, or -1 if <code class="literal">NULL</code>-terminated</td>
|
245
267
|
</tr>
|
246
268
|
<tr>
|
247
269
|
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
248
|
-
<td>A valid <span class="type">GVariant</span> type string, or <
|
270
|
+
<td>A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
249
271
|
</td>
|
250
272
|
</tr>
|
251
273
|
<tr>
|
@@ -255,8 +277,8 @@ The string is first converted to a <a class="link" href="json-glib-JSON-Node.htm
|
|
255
277
|
</tr>
|
256
278
|
<tr>
|
257
279
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
258
|
-
<td>A newly created <span class="type">GVariant</span> compliant
|
259
|
-
<em class="parameter"><code>signature</code></em>, or <
|
280
|
+
<td>A newly created, floating <span class="type">GVariant</span> compliant
|
281
|
+
with <em class="parameter"><code>signature</code></em>, or <code class="literal">NULL</code> on error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
260
282
|
</td>
|
261
283
|
</tr>
|
262
284
|
</tbody>
|