clutter 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/clutter.rb +3 -3
- data/sample/bin-layout.rb +1 -1
- data/sample/image-content.rb +1 -1
- data/sample/pan-action.rb +1 -1
- data/test/run-test.rb +6 -1
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- 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/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Json-1.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +29 -29
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +22 -22
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +32 -32
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +25 -25
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +52 -52
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +2 -2
- 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-format-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +16 -16
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +14 -14
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +49 -49
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +10 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +88 -88
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +57 -57
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +17 -17
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +64 -66
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +20 -5
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +2 -2
- 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/json-validate-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +2 -2
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-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/bs/LC_MESSAGES/json-glib-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/json-glib-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/json-glib-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/json-glib-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/json-glib-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/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-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/json-glib-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/json-glib-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/json-glib-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/json-glib-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/ml/LC_MESSAGES/json-glib-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/oc/LC_MESSAGES/json-glib-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/json-glib-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/pt/LC_MESSAGES/json-glib-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/json-glib-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/json-glib-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/json-glib-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/json-glib-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/json-glib-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/json-glib-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/vi/LC_MESSAGES/json-glib-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/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +1 -1
- data/vendor/local/share/man/man1/json-glib-validate.1 +1 -1
- metadata +13 -14
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +0 -394
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437289cc4e7fec0803cc51643a1aed733e657979
|
4
|
+
data.tar.gz: 48908238eb544503c234ad8e744e63a0346679f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3c52b00267ce4eb9850818867064ed8ad767335fce75cf3a261b987d116cd50052205f3092128903303a92bc86e36100734bb7b5fca53f14bf61c473b639c55
|
7
|
+
data.tar.gz: 546b64b79d1538d1b3cd8a72b8696273516361b88efb580754fe38f1a80fb0cfeb81e81b4367e13d36f1bfd4a57ec6a7ed0d54ebd5509d4b21625ea0ca60badb
|
data/Rakefile
CHANGED
@@ -95,7 +95,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
95
95
|
:name => "json-glib",
|
96
96
|
:download_site => :gnome,
|
97
97
|
:label => "JSON-GLib",
|
98
|
-
:version => "1.2.
|
98
|
+
:version => "1.2.2",
|
99
99
|
:compression_method => "xz",
|
100
100
|
:windows => {
|
101
101
|
:configure_args => [
|
data/lib/clutter.rb
CHANGED
@@ -67,10 +67,10 @@ module Clutter
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
class
|
71
|
-
|
72
|
-
end
|
70
|
+
class InitError < StandardError
|
71
|
+
end
|
73
72
|
|
73
|
+
class Loader < GObjectIntrospection::Loader
|
74
74
|
NAMESPACE = "Clutter"
|
75
75
|
|
76
76
|
def initialize(base_module, init_arguments)
|
data/sample/bin-layout.rb
CHANGED
@@ -118,7 +118,7 @@ box.signal_connect("transitions-completed") do |actor|
|
|
118
118
|
canvas.set_size(actor.width, actor.height)
|
119
119
|
end
|
120
120
|
|
121
|
-
pixbuf =
|
121
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
122
122
|
image = Clutter::Image.new
|
123
123
|
image.set_data(pixbuf.pixels,
|
124
124
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/sample/image-content.rb
CHANGED
@@ -48,7 +48,7 @@ box.margin_left = 12
|
|
48
48
|
box.add_constraint(Clutter::BindConstraint.new(stage, :size, 0.0))
|
49
49
|
stage.add_child(box)
|
50
50
|
|
51
|
-
pixbuf =
|
51
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
52
52
|
image = Clutter::Image.new
|
53
53
|
image.set_data(pixbuf.pixels,
|
54
54
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/sample/pan-action.rb
CHANGED
@@ -38,7 +38,7 @@ scroll.add_constraint(Clutter::BindConstraint.new(stage, :size, 0))
|
|
38
38
|
content = Clutter::Actor.new
|
39
39
|
content.set_size(720, 720)
|
40
40
|
|
41
|
-
pixbuf =
|
41
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
42
42
|
image = Clutter::Image.new
|
43
43
|
image.set_data(pixbuf.pixels,
|
44
44
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/test/run-test.rb
CHANGED
@@ -60,6 +60,11 @@ rescue GLib::Error
|
|
60
60
|
exit(true)
|
61
61
|
end
|
62
62
|
|
63
|
-
|
63
|
+
begin
|
64
|
+
Clutter.init
|
65
|
+
rescue Clutter::InitError
|
66
|
+
puts("Omit because initialization is failed: #{$!.message}")
|
67
|
+
exit(true)
|
68
|
+
end
|
64
69
|
|
65
70
|
exit Test::Unit::AutoRunner.run(true, File.join(clutter_base, "test"))
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -55,14 +55,14 @@
|
|
55
55
|
*
|
56
56
|
* Json micro version component (e.g. 3 if %JSON_VERSION is 1.2.3)
|
57
57
|
*/
|
58
|
-
#define JSON_MICRO_VERSION (
|
58
|
+
#define JSON_MICRO_VERSION (2)
|
59
59
|
|
60
60
|
/**
|
61
61
|
* JSON_VERSION
|
62
62
|
*
|
63
63
|
* Json version.
|
64
64
|
*/
|
65
|
-
#define JSON_VERSION (1.2.
|
65
|
+
#define JSON_VERSION (1.2.2)
|
66
66
|
|
67
67
|
/**
|
68
68
|
* JSON_VERSION_S:
|
@@ -70,7 +70,7 @@
|
|
70
70
|
* JSON-GLib version, encoded as a string, useful for printing and
|
71
71
|
* concatenation.
|
72
72
|
*/
|
73
|
-
#define JSON_VERSION_S "1.2.
|
73
|
+
#define JSON_VERSION_S "1.2.2"
|
74
74
|
|
75
75
|
#define JSON_ENCODE_VERSION(major,minor,micro) \
|
76
76
|
((major) << 24 | (minor) << 16 | (micro) << 8)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1245,7 +1245,7 @@ stream.</doc>
|
|
1245
1245
|
<doc xml:space="preserve">Json major version component (e.g. 1 if %JSON_VERSION is 1.2.3)</doc>
|
1246
1246
|
<type name="gint" c:type="gint"/>
|
1247
1247
|
</constant>
|
1248
|
-
<constant name="MICRO_VERSION" value="
|
1248
|
+
<constant name="MICRO_VERSION" value="2" c:type="JSON_MICRO_VERSION">
|
1249
1249
|
<doc xml:space="preserve">Json micro version component (e.g. 3 if %JSON_VERSION is 1.2.3)</doc>
|
1250
1250
|
<type name="gint" c:type="gint"/>
|
1251
1251
|
</constant>
|
@@ -4787,7 +4787,7 @@ sequence.</doc>
|
|
4787
4787
|
</callback>
|
4788
4788
|
</field>
|
4789
4789
|
</record>
|
4790
|
-
<constant name="VERSION_S" value="1.2.
|
4790
|
+
<constant name="VERSION_S" value="1.2.2" c:type="JSON_VERSION_S">
|
4791
4791
|
<doc xml:space="preserve">JSON-GLib version, encoded as a string, useful for printing and
|
4792
4792
|
concatenation.</doc>
|
4793
4793
|
<type name="utf8" c:type="gchar*"/>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="ch03.html" title="Generator">
|
9
9
|
<link rel="prev" href="JsonGenerator.html" title="JsonGenerator">
|
10
10
|
<link rel="next" href="ch04.html" title="General Purpose API">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -223,7 +223,7 @@ json_builder_new (<em class="parameter"><code><span class="type">void</span></co
|
|
223
223
|
<p>Creates a new <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>. You can use this object to generate a
|
224
224
|
JSON tree and obtain the root <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
|
225
225
|
<div class="refsect3">
|
226
|
-
<a name="
|
226
|
+
<a name="json-builder-new.returns"></a><h4>Returns</h4>
|
227
227
|
<p> the newly created <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> instance</p>
|
228
228
|
</div>
|
229
229
|
</div>
|
@@ -235,7 +235,7 @@ json_builder_new_immutable (<em class="parameter"><code><span class="type">void<
|
|
235
235
|
<p>Creates a new <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> instance with its <a class="link" href="JsonBuilder.html#JsonBuilder--immutable" title="The “immutable” property"><span class="type">“immutable”</span></a> property
|
236
236
|
set to <code class="literal">TRUE</code> to create immutable output trees.</p>
|
237
237
|
<div class="refsect3">
|
238
|
-
<a name="
|
238
|
+
<a name="json-builder-new-immutable.returns"></a><h4>Returns</h4>
|
239
239
|
<p> a new <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>. </p>
|
240
240
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
241
241
|
</div>
|
@@ -249,7 +249,7 @@ json_builder_get_root (<em class="parameter"><code><a class="link" href="JsonBui
|
|
249
249
|
<p>Returns the root of the current constructed tree, if the build is complete
|
250
250
|
(ie: all opened objects, object members and arrays are being closed).</p>
|
251
251
|
<div class="refsect3">
|
252
|
-
<a name="
|
252
|
+
<a name="json-builder-get-root.parameters"></a><h4>Parameters</h4>
|
253
253
|
<div class="informaltable"><table width="100%" border="0">
|
254
254
|
<colgroup>
|
255
255
|
<col width="150px" class="parameters_name">
|
@@ -264,7 +264,7 @@ json_builder_get_root (<em class="parameter"><code><a class="link" href="JsonBui
|
|
264
264
|
</table></div>
|
265
265
|
</div>
|
266
266
|
<div class="refsect3">
|
267
|
-
<a name="
|
267
|
+
<a name="json-builder-get-root.returns"></a><h4>Returns</h4>
|
268
268
|
<p> the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code> if the build is not complete.
|
269
269
|
Free the returned value with <a class="link" href="json-glib-JSON-Node.html#json-node-unref" title="json_node_unref ()"><code class="function">json_node_unref()</code></a>. </p>
|
270
270
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -278,7 +278,7 @@ json_builder_reset (<em class="parameter"><code><a class="link" href="JsonBuilde
|
|
278
278
|
<p>Resets the state of the <em class="parameter"><code>builder</code></em>
|
279
279
|
back to its initial state.</p>
|
280
280
|
<div class="refsect3">
|
281
|
-
<a name="
|
281
|
+
<a name="json-builder-reset.parameters"></a><h4>Parameters</h4>
|
282
282
|
<div class="informaltable"><table width="100%" border="0">
|
283
283
|
<colgroup>
|
284
284
|
<col width="150px" class="parameters_name">
|
@@ -304,7 +304,7 @@ the subarray, <a class="link" href="JsonBuilder.html#json-builder-end-array" tit
|
|
304
304
|
<p>Can be called for first or only if the call is associated to an object member
|
305
305
|
or an array element.</p>
|
306
306
|
<div class="refsect3">
|
307
|
-
<a name="
|
307
|
+
<a name="json-builder-begin-array.parameters"></a><h4>Parameters</h4>
|
308
308
|
<div class="informaltable"><table width="100%" border="0">
|
309
309
|
<colgroup>
|
310
310
|
<col width="150px" class="parameters_name">
|
@@ -319,7 +319,7 @@ or an array element.</p>
|
|
319
319
|
</table></div>
|
320
320
|
</div>
|
321
321
|
<div class="refsect3">
|
322
|
-
<a name="
|
322
|
+
<a name="json-builder-begin-array.returns"></a><h4>Returns</h4>
|
323
323
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
324
324
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
325
325
|
</div>
|
@@ -334,7 +334,7 @@ json_builder_end_array (<em class="parameter"><code><a class="link" href="JsonBu
|
|
334
334
|
recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-array" title="json_builder_begin_array ()"><code class="function">json_builder_begin_array()</code></a>.</p>
|
335
335
|
<p>Cannot be called after <a class="link" href="JsonBuilder.html#json-builder-set-member-name" title="json_builder_set_member_name ()"><code class="function">json_builder_set_member_name()</code></a>.</p>
|
336
336
|
<div class="refsect3">
|
337
|
-
<a name="
|
337
|
+
<a name="json-builder-end-array.parameters"></a><h4>Parameters</h4>
|
338
338
|
<div class="informaltable"><table width="100%" border="0">
|
339
339
|
<colgroup>
|
340
340
|
<col width="150px" class="parameters_name">
|
@@ -349,7 +349,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-array"
|
|
349
349
|
</table></div>
|
350
350
|
</div>
|
351
351
|
<div class="refsect3">
|
352
|
-
<a name="
|
352
|
+
<a name="json-builder-end-array.returns"></a><h4>Returns</h4>
|
353
353
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
354
354
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
355
355
|
</div>
|
@@ -365,7 +365,7 @@ the subobject, <a class="link" href="JsonBuilder.html#json-builder-end-object" t
|
|
365
365
|
<p>Can be called for first or only if the call is associated to an object member
|
366
366
|
or an array element.</p>
|
367
367
|
<div class="refsect3">
|
368
|
-
<a name="
|
368
|
+
<a name="json-builder-begin-object.parameters"></a><h4>Parameters</h4>
|
369
369
|
<div class="informaltable"><table width="100%" border="0">
|
370
370
|
<colgroup>
|
371
371
|
<col width="150px" class="parameters_name">
|
@@ -380,7 +380,7 @@ or an array element.</p>
|
|
380
380
|
</table></div>
|
381
381
|
</div>
|
382
382
|
<div class="refsect3">
|
383
|
-
<a name="
|
383
|
+
<a name="json-builder-begin-object.returns"></a><h4>Returns</h4>
|
384
384
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
385
385
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
386
386
|
</div>
|
@@ -395,7 +395,7 @@ json_builder_set_member_name (<em class="parameter"><code><a class="link" href="
|
|
395
395
|
open an object or an array.</p>
|
396
396
|
<p>Can be called only if the call is associated to an object.</p>
|
397
397
|
<div class="refsect3">
|
398
|
-
<a name="
|
398
|
+
<a name="json-builder-set-member-name.parameters"></a><h4>Parameters</h4>
|
399
399
|
<div class="informaltable"><table width="100%" border="0">
|
400
400
|
<colgroup>
|
401
401
|
<col width="150px" class="parameters_name">
|
@@ -417,7 +417,7 @@ open an object or an array.</p>
|
|
417
417
|
</table></div>
|
418
418
|
</div>
|
419
419
|
<div class="refsect3">
|
420
|
-
<a name="
|
420
|
+
<a name="json-builder-set-member-name.returns"></a><h4>Returns</h4>
|
421
421
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
422
422
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
423
423
|
</div>
|
@@ -432,7 +432,7 @@ json_builder_end_object (<em class="parameter"><code><a class="link" href="JsonB
|
|
432
432
|
recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-object" title="json_builder_begin_object ()"><code class="function">json_builder_begin_object()</code></a>.</p>
|
433
433
|
<p>Cannot be called after <a class="link" href="JsonBuilder.html#json-builder-set-member-name" title="json_builder_set_member_name ()"><code class="function">json_builder_set_member_name()</code></a>.</p>
|
434
434
|
<div class="refsect3">
|
435
|
-
<a name="
|
435
|
+
<a name="json-builder-end-object.parameters"></a><h4>Parameters</h4>
|
436
436
|
<div class="informaltable"><table width="100%" border="0">
|
437
437
|
<colgroup>
|
438
438
|
<col width="150px" class="parameters_name">
|
@@ -447,7 +447,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-object"
|
|
447
447
|
</table></div>
|
448
448
|
</div>
|
449
449
|
<div class="refsect3">
|
450
|
-
<a name="
|
450
|
+
<a name="json-builder-end-object.returns"></a><h4>Returns</h4>
|
451
451
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
452
452
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
453
453
|
</div>
|
@@ -465,7 +465,7 @@ most recent opened object, otherwise <em class="parameter"><code>node</code></em
|
|
465
465
|
recent opened array.</p>
|
466
466
|
<p>The builder will take ownership of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
|
467
467
|
<div class="refsect3">
|
468
|
-
<a name="
|
468
|
+
<a name="json-builder-add-value.parameters"></a><h4>Parameters</h4>
|
469
469
|
<div class="informaltable"><table width="100%" border="0">
|
470
470
|
<colgroup>
|
471
471
|
<col width="150px" class="parameters_name">
|
@@ -487,7 +487,7 @@ recent opened array.</p>
|
|
487
487
|
</table></div>
|
488
488
|
</div>
|
489
489
|
<div class="refsect3">
|
490
|
-
<a name="
|
490
|
+
<a name="json-builder-add-value.returns"></a><h4>Returns</h4>
|
491
491
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
492
492
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
493
493
|
</div>
|
@@ -505,7 +505,7 @@ most recent opened object, otherwise <em class="parameter"><code>value</code></e
|
|
505
505
|
recent opened array.</p>
|
506
506
|
<p>See also: <a class="link" href="JsonBuilder.html#json-builder-add-value" title="json_builder_add_value ()"><code class="function">json_builder_add_value()</code></a></p>
|
507
507
|
<div class="refsect3">
|
508
|
-
<a name="
|
508
|
+
<a name="json-builder-add-int-value.parameters"></a><h4>Parameters</h4>
|
509
509
|
<div class="informaltable"><table width="100%" border="0">
|
510
510
|
<colgroup>
|
511
511
|
<col width="150px" class="parameters_name">
|
@@ -527,7 +527,7 @@ recent opened array.</p>
|
|
527
527
|
</table></div>
|
528
528
|
</div>
|
529
529
|
<div class="refsect3">
|
530
|
-
<a name="
|
530
|
+
<a name="json-builder-add-int-value.returns"></a><h4>Returns</h4>
|
531
531
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
532
532
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
533
533
|
</div>
|
@@ -545,7 +545,7 @@ most recent opened object, otherwise <em class="parameter"><code>value</code></e
|
|
545
545
|
recent opened array.</p>
|
546
546
|
<p>See also: <a class="link" href="JsonBuilder.html#json-builder-add-value" title="json_builder_add_value ()"><code class="function">json_builder_add_value()</code></a></p>
|
547
547
|
<div class="refsect3">
|
548
|
-
<a name="
|
548
|
+
<a name="json-builder-add-double-value.parameters"></a><h4>Parameters</h4>
|
549
549
|
<div class="informaltable"><table width="100%" border="0">
|
550
550
|
<colgroup>
|
551
551
|
<col width="150px" class="parameters_name">
|
@@ -567,7 +567,7 @@ recent opened array.</p>
|
|
567
567
|
</table></div>
|
568
568
|
</div>
|
569
569
|
<div class="refsect3">
|
570
|
-
<a name="
|
570
|
+
<a name="json-builder-add-double-value.returns"></a><h4>Returns</h4>
|
571
571
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
572
572
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
573
573
|
</div>
|
@@ -585,7 +585,7 @@ most recent opened object, otherwise <em class="parameter"><code>value</code></e
|
|
585
585
|
recent opened array.</p>
|
586
586
|
<p>See also: <a class="link" href="JsonBuilder.html#json-builder-add-value" title="json_builder_add_value ()"><code class="function">json_builder_add_value()</code></a></p>
|
587
587
|
<div class="refsect3">
|
588
|
-
<a name="
|
588
|
+
<a name="json-builder-add-boolean-value.parameters"></a><h4>Parameters</h4>
|
589
589
|
<div class="informaltable"><table width="100%" border="0">
|
590
590
|
<colgroup>
|
591
591
|
<col width="150px" class="parameters_name">
|
@@ -607,7 +607,7 @@ recent opened array.</p>
|
|
607
607
|
</table></div>
|
608
608
|
</div>
|
609
609
|
<div class="refsect3">
|
610
|
-
<a name="
|
610
|
+
<a name="json-builder-add-boolean-value.returns"></a><h4>Returns</h4>
|
611
611
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
612
612
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
613
613
|
</div>
|
@@ -625,7 +625,7 @@ most recent opened object, otherwise <em class="parameter"><code>value</code></e
|
|
625
625
|
recent opened array.</p>
|
626
626
|
<p>See also: <a class="link" href="JsonBuilder.html#json-builder-add-value" title="json_builder_add_value ()"><code class="function">json_builder_add_value()</code></a></p>
|
627
627
|
<div class="refsect3">
|
628
|
-
<a name="
|
628
|
+
<a name="json-builder-add-string-value.parameters"></a><h4>Parameters</h4>
|
629
629
|
<div class="informaltable"><table width="100%" border="0">
|
630
630
|
<colgroup>
|
631
631
|
<col width="150px" class="parameters_name">
|
@@ -647,7 +647,7 @@ recent opened array.</p>
|
|
647
647
|
</table></div>
|
648
648
|
</div>
|
649
649
|
<div class="refsect3">
|
650
|
-
<a name="
|
650
|
+
<a name="json-builder-add-string-value.returns"></a><h4>Returns</h4>
|
651
651
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
652
652
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
653
653
|
</div>
|
@@ -662,7 +662,7 @@ most recent opened object, otherwise null is added as element of the most
|
|
662
662
|
recent opened array.</p>
|
663
663
|
<p>See also: <a class="link" href="JsonBuilder.html#json-builder-add-value" title="json_builder_add_value ()"><code class="function">json_builder_add_value()</code></a></p>
|
664
664
|
<div class="refsect3">
|
665
|
-
<a name="
|
665
|
+
<a name="json-builder-add-null-value.parameters"></a><h4>Parameters</h4>
|
666
666
|
<div class="informaltable"><table width="100%" border="0">
|
667
667
|
<colgroup>
|
668
668
|
<col width="150px" class="parameters_name">
|
@@ -677,7 +677,7 @@ recent opened array.</p>
|
|
677
677
|
</table></div>
|
678
678
|
</div>
|
679
679
|
<div class="refsect3">
|
680
|
-
<a name="
|
680
|
+
<a name="json-builder-add-null-value.returns"></a><h4>Returns</h4>
|
681
681
|
<p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <code class="literal">NULL</code> if the call was inconsistent. </p>
|
682
682
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
683
683
|
</div>
|
@@ -721,6 +721,6 @@ of traversing it to make it immutable later.</p>
|
|
721
721
|
</div>
|
722
722
|
</div>
|
723
723
|
<div class="footer">
|
724
|
-
<hr>Generated by GTK-Doc V1.
|
724
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
725
725
|
</body>
|
726
726
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="ch03.html" title="Generator">
|
9
9
|
<link rel="prev" href="ch03.html" title="Generator">
|
10
10
|
<link rel="next" href="JsonBuilder.html" title="JsonBuilder">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -211,9 +211,9 @@ put it into a buffer or a file.</p>
|
|
211
211
|
json_generator_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
212
212
|
<p>Creates a new <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a>. You can use this object to generate a
|
213
213
|
JSON data stream starting from a data object model composed by
|
214
|
-
<a href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNodes</span></a>.</p>
|
214
|
+
<a href="json-glib-JSON-Node.html#JsonNode-struct"><span class="type">JsonNodes</span></a>.</p>
|
215
215
|
<div class="refsect3">
|
216
|
-
<a name="
|
216
|
+
<a name="json-generator-new.returns"></a><h4>Returns</h4>
|
217
217
|
<p> the newly created <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> instance</p>
|
218
218
|
</div>
|
219
219
|
</div>
|
@@ -230,7 +230,7 @@ the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class=
|
|
230
230
|
is copied by the generator object, so it can be
|
231
231
|
safely freed after calling this function.</p>
|
232
232
|
<div class="refsect3">
|
233
|
-
<a name="
|
233
|
+
<a name="json-generator-set-root.parameters"></a><h4>Parameters</h4>
|
234
234
|
<div class="informaltable"><table width="100%" border="0">
|
235
235
|
<colgroup>
|
236
236
|
<col width="150px" class="parameters_name">
|
@@ -260,7 +260,7 @@ json_generator_get_root (<em class="parameter"><code><a class="link" href="JsonG
|
|
260
260
|
<p>Retrieves a pointer to the root <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> set using
|
261
261
|
<a class="link" href="JsonGenerator.html#json-generator-set-root" title="json_generator_set_root ()"><code class="function">json_generator_set_root()</code></a>.</p>
|
262
262
|
<div class="refsect3">
|
263
|
-
<a name="
|
263
|
+
<a name="json-generator-get-root.parameters"></a><h4>Parameters</h4>
|
264
264
|
<div class="informaltable"><table width="100%" border="0">
|
265
265
|
<colgroup>
|
266
266
|
<col width="150px" class="parameters_name">
|
@@ -275,7 +275,7 @@ json_generator_get_root (<em class="parameter"><code><a class="link" href="JsonG
|
|
275
275
|
</table></div>
|
276
276
|
</div>
|
277
277
|
<div class="refsect3">
|
278
|
-
<a name="
|
278
|
+
<a name="json-generator-get-root.returns"></a><h4>Returns</h4>
|
279
279
|
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. The returned node
|
280
280
|
is owned by the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> and it should not be freed. </p>
|
281
281
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -292,7 +292,7 @@ json_generator_set_pretty (<em class="parameter"><code><a class="link" href="Jso
|
|
292
292
|
indentation character specified in the <a class="link" href="JsonGenerator.html#JsonGenerator--indent-char" title="The “indent-char” property"><span class="type">“indent-char”</span></a>
|
293
293
|
property and the spacing specified in <a class="link" href="JsonGenerator.html#JsonGenerator--indent" title="The “indent” property"><span class="type">“indent”</span></a> property.</p>
|
294
294
|
<div class="refsect3">
|
295
|
-
<a name="
|
295
|
+
<a name="json-generator-set-pretty.parameters"></a><h4>Parameters</h4>
|
296
296
|
<div class="informaltable"><table width="100%" border="0">
|
297
297
|
<colgroup>
|
298
298
|
<col width="150px" class="parameters_name">
|
@@ -322,7 +322,7 @@ property and the spacing specified in <a class="link" href="JsonGenerator.html#J
|
|
322
322
|
json_generator_get_pretty (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
323
323
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-pretty" title="json_generator_set_pretty ()"><code class="function">json_generator_set_pretty()</code></a>.</p>
|
324
324
|
<div class="refsect3">
|
325
|
-
<a name="
|
325
|
+
<a name="json-generator-get-pretty.parameters"></a><h4>Parameters</h4>
|
326
326
|
<div class="informaltable"><table width="100%" border="0">
|
327
327
|
<colgroup>
|
328
328
|
<col width="150px" class="parameters_name">
|
@@ -337,7 +337,7 @@ json_generator_get_pretty (<em class="parameter"><code><a class="link" href="Jso
|
|
337
337
|
</table></div>
|
338
338
|
</div>
|
339
339
|
<div class="refsect3">
|
340
|
-
<a name="
|
340
|
+
<a name="json-generator-get-pretty.returns"></a><h4>Returns</h4>
|
341
341
|
<p> <code class="literal">TRUE</code> if the generated JSON should be pretty-printed, and
|
342
342
|
<code class="literal">FALSE</code> otherwise</p>
|
343
343
|
</div>
|
@@ -351,7 +351,7 @@ json_generator_set_indent (<em class="parameter"><code><a class="link" href="Jso
|
|
351
351
|
<em class="parameter"><code><span class="type">guint</span> indent_level</code></em>);</pre>
|
352
352
|
<p>Sets the number of repetitions for each indentation level.</p>
|
353
353
|
<div class="refsect3">
|
354
|
-
<a name="
|
354
|
+
<a name="json-generator-set-indent.parameters"></a><h4>Parameters</h4>
|
355
355
|
<div class="informaltable"><table width="100%" border="0">
|
356
356
|
<colgroup>
|
357
357
|
<col width="150px" class="parameters_name">
|
@@ -382,7 +382,7 @@ that should be applied when pretty printing</p></td>
|
|
382
382
|
json_generator_get_indent (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
383
383
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent" title="json_generator_set_indent ()"><code class="function">json_generator_set_indent()</code></a>.</p>
|
384
384
|
<div class="refsect3">
|
385
|
-
<a name="
|
385
|
+
<a name="json-generator-get-indent.parameters"></a><h4>Parameters</h4>
|
386
386
|
<div class="informaltable"><table width="100%" border="0">
|
387
387
|
<colgroup>
|
388
388
|
<col width="150px" class="parameters_name">
|
@@ -397,7 +397,7 @@ json_generator_get_indent (<em class="parameter"><code><a class="link" href="Jso
|
|
397
397
|
</table></div>
|
398
398
|
</div>
|
399
399
|
<div class="refsect3">
|
400
|
-
<a name="
|
400
|
+
<a name="json-generator-get-indent.returns"></a><h4>Returns</h4>
|
401
401
|
<p> the number of repetitions per indentation level</p>
|
402
402
|
</div>
|
403
403
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -410,7 +410,7 @@ json_generator_set_indent_char (<em class="parameter"><code><a class="link" href
|
|
410
410
|
<em class="parameter"><code><span class="type">gunichar</span> indent_char</code></em>);</pre>
|
411
411
|
<p>Sets the character to be used when indenting</p>
|
412
412
|
<div class="refsect3">
|
413
|
-
<a name="
|
413
|
+
<a name="json-generator-set-indent-char.parameters"></a><h4>Parameters</h4>
|
414
414
|
<div class="informaltable"><table width="100%" border="0">
|
415
415
|
<colgroup>
|
416
416
|
<col width="150px" class="parameters_name">
|
@@ -440,7 +440,7 @@ json_generator_set_indent_char (<em class="parameter"><code><a class="link" href
|
|
440
440
|
json_generator_get_indent_char (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
441
441
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent-char" title="json_generator_set_indent_char ()"><code class="function">json_generator_set_indent_char()</code></a>.</p>
|
442
442
|
<div class="refsect3">
|
443
|
-
<a name="
|
443
|
+
<a name="json-generator-get-indent-char.parameters"></a><h4>Parameters</h4>
|
444
444
|
<div class="informaltable"><table width="100%" border="0">
|
445
445
|
<colgroup>
|
446
446
|
<col width="150px" class="parameters_name">
|
@@ -455,7 +455,7 @@ json_generator_get_indent_char (<em class="parameter"><code><a class="link" href
|
|
455
455
|
</table></div>
|
456
456
|
</div>
|
457
457
|
<div class="refsect3">
|
458
|
-
<a name="
|
458
|
+
<a name="json-generator-get-indent-char.returns"></a><h4>Returns</h4>
|
459
459
|
<p> the character to be used when indenting</p>
|
460
460
|
</div>
|
461
461
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -471,7 +471,7 @@ json_generator_to_file (<em class="parameter"><code><a class="link" href="JsonGe
|
|
471
471
|
, overwriting the
|
472
472
|
current file contents. This operation is atomic.</p>
|
473
473
|
<div class="refsect3">
|
474
|
-
<a name="
|
474
|
+
<a name="json-generator-to-file.parameters"></a><h4>Parameters</h4>
|
475
475
|
<div class="informaltable"><table width="100%" border="0">
|
476
476
|
<colgroup>
|
477
477
|
<col width="150px" class="parameters_name">
|
@@ -498,7 +498,7 @@ current file contents. This operation is atomic.</p>
|
|
498
498
|
</table></div>
|
499
499
|
</div>
|
500
500
|
<div class="refsect3">
|
501
|
-
<a name="
|
501
|
+
<a name="json-generator-to-file.returns"></a><h4>Returns</h4>
|
502
502
|
<p> <code class="literal">TRUE</code> if saving was successful.</p>
|
503
503
|
</div>
|
504
504
|
</div>
|
@@ -512,7 +512,7 @@ json_generator_to_data (<em class="parameter"><code><a class="link" href="JsonGe
|
|
512
512
|
and returns it as a
|
513
513
|
buffer.</p>
|
514
514
|
<div class="refsect3">
|
515
|
-
<a name="
|
515
|
+
<a name="json-generator-to-data.parameters"></a><h4>Parameters</h4>
|
516
516
|
<div class="informaltable"><table width="100%" border="0">
|
517
517
|
<colgroup>
|
518
518
|
<col width="150px" class="parameters_name">
|
@@ -535,7 +535,7 @@ buffer, or <code class="literal">NULL</code>. </p></td>
|
|
535
535
|
</table></div>
|
536
536
|
</div>
|
537
537
|
<div class="refsect3">
|
538
|
-
<a name="
|
538
|
+
<a name="json-generator-to-data.returns"></a><h4>Returns</h4>
|
539
539
|
<p> a newly allocated buffer holding a JSON data stream.
|
540
540
|
Use <code class="function">g_free()</code> to free the allocated resources.</p>
|
541
541
|
</div>
|
@@ -551,7 +551,7 @@ json_generator_to_stream (<em class="parameter"><code><a class="link" href="Json
|
|
551
551
|
<p>Outputs JSON data and streams it (synchronously) to <em class="parameter"><code>stream</code></em>
|
552
552
|
.</p>
|
553
553
|
<div class="refsect3">
|
554
|
-
<a name="
|
554
|
+
<a name="json-generator-to-stream.parameters"></a><h4>Parameters</h4>
|
555
555
|
<div class="informaltable"><table width="100%" border="0">
|
556
556
|
<colgroup>
|
557
557
|
<col width="150px" class="parameters_name">
|
@@ -583,7 +583,7 @@ json_generator_to_stream (<em class="parameter"><code><a class="link" href="Json
|
|
583
583
|
</table></div>
|
584
584
|
</div>
|
585
585
|
<div class="refsect3">
|
586
|
-
<a name="
|
586
|
+
<a name="json-generator-to-stream.returns"></a><h4>Returns</h4>
|
587
587
|
<p> <code class="literal">TRUE</code> if the write operation was successful, and <code class="literal">FALSE</code>
|
588
588
|
on failure. In case of error, the <span class="type">GError</span> will be filled accordingly</p>
|
589
589
|
</div>
|
@@ -647,6 +647,6 @@ stream.</p>
|
|
647
647
|
</div>
|
648
648
|
</div>
|
649
649
|
<div class="footer">
|
650
|
-
<hr>Generated by GTK-Doc V1.
|
650
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
651
651
|
</body>
|
652
652
|
</html>
|