clutter 3.1.1-x86-mingw32 → 3.1.2-x86-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 -10
- data/dependency-check/Rakefile +40 -0
- data/test/clutter-test-utils.rb +0 -4
- data/test/run-test.rb +1 -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-gobject.h +4 -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 +2 -2
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +4 -4
- data/vendor/local/share/gir-1.0/Json-1.0.gir +42 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +43 -38
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +60 -55
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +118 -113
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +28 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +82 -77
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +23 -5
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +58 -53
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +62 -57
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +85 -80
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +56 -51
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +169 -144
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +116 -111
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +66 -61
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +14 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +15 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/{json-glib.html → json-overview.html} +6 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +1 -1
- 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 +2 -2
- data/vendor/local/share/man/man1/json-glib-validate.1 +2 -2
- metadata +15 -14
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Serializable Interface: JSON-GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.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-GObject-Serialization.html" title="GObject Serialization">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr></table></div>
|
35
35
|
<div class="refsect1">
|
36
36
|
<a name="json-glib-Serializable-Interface.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
38
|
<colgroup>
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</tr>
|
51
51
|
<tr>
|
52
52
|
<td class="function_type">
|
53
|
-
<span class="returnvalue">gboolean</span>
|
53
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
54
54
|
</td>
|
55
55
|
<td class="function_name">
|
56
56
|
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-deserialize-property" title="json_serializable_deserialize_property ()">json_serializable_deserialize_property</a> <span class="c_punctuation">()</span>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
</tr>
|
59
59
|
<tr>
|
60
60
|
<td class="function_type">
|
61
|
-
<span class="returnvalue">GParamSpec</span> *
|
61
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
62
62
|
</td>
|
63
63
|
<td class="function_name">
|
64
64
|
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-find-property" title="json_serializable_find_property ()">json_serializable_find_property</a> <span class="c_punctuation">()</span>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
</tr>
|
75
75
|
<tr>
|
76
76
|
<td class="function_type">
|
77
|
-
<span class="returnvalue">GParamSpec</span> **
|
77
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
78
78
|
</td>
|
79
79
|
<td class="function_name">
|
80
80
|
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-list-properties" title="json_serializable_list_properties ()">json_serializable_list_properties</a> <span class="c_punctuation">()</span>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</tr>
|
99
99
|
<tr>
|
100
100
|
<td class="function_type">
|
101
|
-
<span class="returnvalue">gboolean</span>
|
101
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
102
102
|
</td>
|
103
103
|
<td class="function_name">
|
104
104
|
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-default-deserialize-property" title="json_serializable_default_deserialize_property ()">json_serializable_default_deserialize_property</a> <span class="c_punctuation">()</span>
|
@@ -109,7 +109,7 @@
|
|
109
109
|
</div>
|
110
110
|
<a name="JsonSerializable"></a><div class="refsect1">
|
111
111
|
<a name="json-glib-Serializable-Interface.other"></a><h2>Types and Values</h2>
|
112
|
-
<div class="informaltable"><table width="100%" border="0">
|
112
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
113
113
|
<colgroup>
|
114
114
|
<col width="150px" class="name">
|
115
115
|
<col class="description">
|
@@ -122,13 +122,18 @@
|
|
122
122
|
</div>
|
123
123
|
<div class="refsect1">
|
124
124
|
<a name="json-glib-Serializable-Interface.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
125
|
-
<pre class="screen"> GInterface
|
125
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
126
126
|
<span class="lineart">╰──</span> JsonSerializable
|
127
127
|
</pre>
|
128
128
|
</div>
|
129
129
|
<div class="refsect1">
|
130
|
+
<a name="json-glib-Serializable-Interface.includes"></a><h2>Includes</h2>
|
131
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
132
|
+
</pre>
|
133
|
+
</div>
|
134
|
+
<div class="refsect1">
|
130
135
|
<a name="json-glib-Serializable-Interface.description"></a><h2>Description</h2>
|
131
|
-
<p><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> is an interface for <span class="type">GObject</span> classes that
|
136
|
+
<p><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> is an interface for <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> classes that
|
132
137
|
allows controlling how the class is going to be serialized
|
133
138
|
or deserialized by <a class="link" href="json-glib-GObject-Serialization.html#json-construct-gobject" title="json_construct_gobject ()"><code class="function">json_construct_gobject()</code></a> and
|
134
139
|
<a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()"><code class="function">json_serialize_gobject()</code></a> respectively.</p>
|
@@ -139,14 +144,14 @@ or deserialized by <a class="link" href="json-glib-GObject-Serialization.html#js
|
|
139
144
|
<a name="json-serializable-serialize-property"></a><h3>json_serializable_serialize_property ()</h3>
|
140
145
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
141
146
|
json_serializable_serialize_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
142
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
143
|
-
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>,
|
144
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
|
145
|
-
<p>Asks a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> implementation to serialize a <span class="type">GObject</span>
|
147
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
148
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
149
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
150
|
+
<p>Asks a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> implementation to serialize a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>
|
146
151
|
property into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> object.</p>
|
147
152
|
<div class="refsect3">
|
148
153
|
<a name="json-serializable-serialize-property.parameters"></a><h4>Parameters</h4>
|
149
|
-
<div class="informaltable"><table width="100%" border="0">
|
154
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
150
155
|
<colgroup>
|
151
156
|
<col width="150px" class="parameters_name">
|
152
157
|
<col class="parameters_description">
|
@@ -170,7 +175,7 @@ property into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span c
|
|
170
175
|
</tr>
|
171
176
|
<tr>
|
172
177
|
<td class="parameter_name"><p>pspec</p></td>
|
173
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
178
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
174
179
|
<td class="parameter_annotations"> </td>
|
175
180
|
</tr>
|
176
181
|
</tbody>
|
@@ -184,12 +189,12 @@ property into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span c
|
|
184
189
|
<hr>
|
185
190
|
<div class="refsect2">
|
186
191
|
<a name="json-serializable-deserialize-property"></a><h3>json_serializable_deserialize_property ()</h3>
|
187
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
192
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
188
193
|
json_serializable_deserialize_property
|
189
194
|
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
190
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
191
|
-
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
192
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
|
195
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
196
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
197
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
193
198
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *property_node</code></em>);</pre>
|
194
199
|
<p>Asks a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> implementation to deserialize the
|
195
200
|
property contained inside <em class="parameter"><code>property_node</code></em>
|
@@ -197,7 +202,7 @@ property contained inside <em class="parameter"><code>property_node</code></em>
|
|
197
202
|
.</p>
|
198
203
|
<div class="refsect3">
|
199
204
|
<a name="json-serializable-deserialize-property.parameters"></a><h4>Parameters</h4>
|
200
|
-
<div class="informaltable"><table width="100%" border="0">
|
205
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
201
206
|
<colgroup>
|
202
207
|
<col width="150px" class="parameters_name">
|
203
208
|
<col class="parameters_description">
|
@@ -216,12 +221,12 @@ property contained inside <em class="parameter"><code>property_node</code></em>
|
|
216
221
|
</tr>
|
217
222
|
<tr>
|
218
223
|
<td class="parameter_name"><p>value</p></td>
|
219
|
-
<td class="parameter_description"><p> a pointer to an uninitialized <span class="type">GValue</span>. </p></td>
|
224
|
+
<td class="parameter_description"><p> a pointer to an uninitialized <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. </p></td>
|
220
225
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
221
226
|
</tr>
|
222
227
|
<tr>
|
223
228
|
<td class="parameter_name"><p>pspec</p></td>
|
224
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
229
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
225
230
|
<td class="parameter_annotations"> </td>
|
226
231
|
</tr>
|
227
232
|
<tr>
|
@@ -234,13 +239,13 @@ property contained inside <em class="parameter"><code>property_node</code></em>
|
|
234
239
|
</div>
|
235
240
|
<div class="refsect3">
|
236
241
|
<a name="json-serializable-deserialize-property.returns"></a><h4>Returns</h4>
|
237
|
-
<p> <code class="literal">TRUE</code> if the property was successfully deserialized.</p>
|
242
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the property was successfully deserialized.</p>
|
238
243
|
</div>
|
239
244
|
</div>
|
240
245
|
<hr>
|
241
246
|
<div class="refsect2">
|
242
247
|
<a name="json-serializable-find-property"></a><h3>json_serializable_find_property ()</h3>
|
243
|
-
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> *
|
248
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
244
249
|
json_serializable_find_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
245
250
|
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
246
251
|
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.find-property"><code class="function">JsonSerializableIface.find_property()</code></a> implementation on
|
@@ -248,7 +253,7 @@ the <em class="parameter"><code>serializable</code></em>
|
|
248
253
|
instance. *</p>
|
249
254
|
<div class="refsect3">
|
250
255
|
<a name="json-serializable-find-property.parameters"></a><h4>Parameters</h4>
|
251
|
-
<div class="informaltable"><table width="100%" border="0">
|
256
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
252
257
|
<colgroup>
|
253
258
|
<col width="150px" class="parameters_name">
|
254
259
|
<col class="parameters_description">
|
@@ -270,8 +275,8 @@ the <em class="parameter"><code>serializable</code></em>
|
|
270
275
|
</div>
|
271
276
|
<div class="refsect3">
|
272
277
|
<a name="json-serializable-find-property.returns"></a><h4>Returns</h4>
|
273
|
-
<p> the <span class="type">GParamSpec</span> for the property
|
274
|
-
or <code class="literal">NULL</code> if no property was found. </p>
|
278
|
+
<p> the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for the property
|
279
|
+
or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no property was found. </p>
|
275
280
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
276
281
|
</div>
|
277
282
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -281,14 +286,14 @@ or <code class="literal">NULL</code> if no property was found. </p>
|
|
281
286
|
<a name="json-serializable-get-property"></a><h3>json_serializable_get_property ()</h3>
|
282
287
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
283
288
|
json_serializable_get_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
284
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
|
285
|
-
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
289
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
290
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
286
291
|
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.get-property"><code class="function">JsonSerializableIface.get_property()</code></a> implementation
|
287
292
|
on the <em class="parameter"><code>serializable</code></em>
|
288
293
|
instance.</p>
|
289
294
|
<div class="refsect3">
|
290
295
|
<a name="json-serializable-get-property.parameters"></a><h4>Parameters</h4>
|
291
|
-
<div class="informaltable"><table width="100%" border="0">
|
296
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
292
297
|
<colgroup>
|
293
298
|
<col width="150px" class="parameters_name">
|
294
299
|
<col class="parameters_description">
|
@@ -302,7 +307,7 @@ on the <em class="parameter"><code>serializable</code></em>
|
|
302
307
|
</tr>
|
303
308
|
<tr>
|
304
309
|
<td class="parameter_name"><p>pspec</p></td>
|
305
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
310
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
306
311
|
<td class="parameter_annotations"> </td>
|
307
312
|
</tr>
|
308
313
|
<tr>
|
@@ -318,15 +323,15 @@ on the <em class="parameter"><code>serializable</code></em>
|
|
318
323
|
<hr>
|
319
324
|
<div class="refsect2">
|
320
325
|
<a name="json-serializable-list-properties"></a><h3>json_serializable_list_properties ()</h3>
|
321
|
-
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> **
|
326
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
322
327
|
json_serializable_list_properties (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
323
|
-
<em class="parameter"><code><span class="type">guint</span> *n_pspecs</code></em>);</pre>
|
328
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_pspecs</code></em>);</pre>
|
324
329
|
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.list-properties"><code class="function">JsonSerializableIface.list_properties()</code></a> implementation on
|
325
330
|
the <em class="parameter"><code>serializable</code></em>
|
326
331
|
instance.</p>
|
327
332
|
<div class="refsect3">
|
328
333
|
<a name="json-serializable-list-properties.parameters"></a><h4>Parameters</h4>
|
329
|
-
<div class="informaltable"><table width="100%" border="0">
|
334
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
330
335
|
<colgroup>
|
331
336
|
<col width="150px" class="parameters_name">
|
332
337
|
<col class="parameters_description">
|
@@ -341,7 +346,7 @@ the <em class="parameter"><code>serializable</code></em>
|
|
341
346
|
<tr>
|
342
347
|
<td class="parameter_name"><p>n_pspecs</p></td>
|
343
348
|
<td class="parameter_description"><p> return location for the length of the array
|
344
|
-
of <span class="type">GParamSpec</span> returned by the function. </p></td>
|
349
|
+
of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> returned by the function. </p></td>
|
345
350
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
346
351
|
</tr>
|
347
352
|
</tbody>
|
@@ -350,7 +355,7 @@ of <span class="type">GParamSpec</span> returned by the function. </p></td>
|
|
350
355
|
<div class="refsect3">
|
351
356
|
<a name="json-serializable-list-properties.returns"></a><h4>Returns</h4>
|
352
357
|
<p> an array
|
353
|
-
of <span class="type">GParamSpec</span>. Use <code class="function">g_free()</code> to free the array when done. </p>
|
358
|
+
of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>. Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the array when done. </p>
|
354
359
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
355
360
|
</div>
|
356
361
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -360,14 +365,14 @@ of <span class="type">GParamSpec</span>. Use <code class="function">g_free()</co
|
|
360
365
|
<a name="json-serializable-set-property"></a><h3>json_serializable_set_property ()</h3>
|
361
366
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
362
367
|
json_serializable_set_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
363
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
|
364
|
-
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
368
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
369
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
365
370
|
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.set-property"><code class="function">JsonSerializableIface.set_property()</code></a> implementation
|
366
371
|
on the <em class="parameter"><code>serializable</code></em>
|
367
372
|
instance.</p>
|
368
373
|
<div class="refsect3">
|
369
374
|
<a name="json-serializable-set-property.parameters"></a><h4>Parameters</h4>
|
370
|
-
<div class="informaltable"><table width="100%" border="0">
|
375
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
371
376
|
<colgroup>
|
372
377
|
<col width="150px" class="parameters_name">
|
373
378
|
<col class="parameters_description">
|
@@ -381,7 +386,7 @@ on the <em class="parameter"><code>serializable</code></em>
|
|
381
386
|
</tr>
|
382
387
|
<tr>
|
383
388
|
<td class="parameter_name"><p>pspec</p></td>
|
384
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
389
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
385
390
|
<td class="parameter_annotations"> </td>
|
386
391
|
</tr>
|
387
392
|
<tr>
|
@@ -400,15 +405,15 @@ on the <em class="parameter"><code>serializable</code></em>
|
|
400
405
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
401
406
|
json_serializable_default_serialize_property
|
402
407
|
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
403
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
404
|
-
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>,
|
405
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
|
408
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
409
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
410
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
406
411
|
<p>Calls the default implementation of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a>
|
407
412
|
<a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.serialize-property"><code class="function">JsonSerializableIface.serialize_property()</code></a> virtual function.</p>
|
408
413
|
<p>This function can be used inside a custom implementation
|
409
414
|
of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.serialize-property"><code class="function">JsonSerializableIface.serialize_property()</code></a> virtual
|
410
415
|
function in lieu of calling the default implementation
|
411
|
-
through <code class="function">g_type_default_interface_peek()</code>:</p>
|
416
|
+
through <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek"><code class="function">g_type_default_interface_peek()</code></a>:</p>
|
412
417
|
<div class="informalexample">
|
413
418
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
414
419
|
<tbody>
|
@@ -423,7 +428,7 @@ through <code class="function">g_type_default_interface_peek()</code>:</p>
|
|
423
428
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonSerializable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iface</span><span class="symbol">;</span>
|
424
429
|
<span class="usertype">JsonNode</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">node</span><span class="symbol">;</span>
|
425
430
|
|
426
|
-
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_type_default_interface_peek</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
431
|
+
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek">g_type_default_interface_peek</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
427
432
|
<span class="normal">node </span><span class="symbol">=</span><span class="normal"> iface</span><span class="symbol">-></span><span class="function">serialize_property</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">serializable</span><span class="symbol">,</span><span class="normal"> property_name</span><span class="symbol">,</span>
|
428
433
|
<span class="normal"> value</span><span class="symbol">,</span>
|
429
434
|
<span class="normal"> pspec</span><span class="symbol">);</span></pre></td>
|
@@ -435,7 +440,7 @@ through <code class="function">g_type_default_interface_peek()</code>:</p>
|
|
435
440
|
<p></p>
|
436
441
|
<div class="refsect3">
|
437
442
|
<a name="json-serializable-default-serialize-property.parameters"></a><h4>Parameters</h4>
|
438
|
-
<div class="informaltable"><table width="100%" border="0">
|
443
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
439
444
|
<colgroup>
|
440
445
|
<col width="150px" class="parameters_name">
|
441
446
|
<col class="parameters_description">
|
@@ -459,7 +464,7 @@ through <code class="function">g_type_default_interface_peek()</code>:</p>
|
|
459
464
|
</tr>
|
460
465
|
<tr>
|
461
466
|
<td class="parameter_name"><p>pspec</p></td>
|
462
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
467
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
463
468
|
<td class="parameter_annotations"> </td>
|
464
469
|
</tr>
|
465
470
|
</tbody>
|
@@ -476,12 +481,12 @@ property. </p>
|
|
476
481
|
<hr>
|
477
482
|
<div class="refsect2">
|
478
483
|
<a name="json-serializable-default-deserialize-property"></a><h3>json_serializable_default_deserialize_property ()</h3>
|
479
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
484
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
480
485
|
json_serializable_default_deserialize_property
|
481
486
|
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
482
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
483
|
-
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
484
|
-
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
|
487
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
488
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
489
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
485
490
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *property_node</code></em>);</pre>
|
486
491
|
<p>Calls the default implementation of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a>
|
487
492
|
<code class="function">deserialize_property()</code> virtual function</p>
|
@@ -502,7 +507,7 @@ of the <code class="function">deserialize_property()</code> virtual function in
|
|
502
507
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonSerializable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iface</span><span class="symbol">;</span>
|
503
508
|
<span class="usertype">gboolean</span><span class="normal"> res</span><span class="symbol">;</span>
|
504
509
|
|
505
|
-
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_type_default_interface_peek</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
510
|
+
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek">g_type_default_interface_peek</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
506
511
|
<span class="normal">res </span><span class="symbol">=</span><span class="normal"> iface</span><span class="symbol">-></span><span class="function">deserialize_property</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">serializable</span><span class="symbol">,</span><span class="normal"> property_name</span><span class="symbol">,</span>
|
507
512
|
<span class="normal"> value</span><span class="symbol">,</span>
|
508
513
|
<span class="normal"> pspec</span><span class="symbol">,</span>
|
@@ -515,7 +520,7 @@ of the <code class="function">deserialize_property()</code> virtual function in
|
|
515
520
|
<p></p>
|
516
521
|
<div class="refsect3">
|
517
522
|
<a name="json-serializable-default-deserialize-property.parameters"></a><h4>Parameters</h4>
|
518
|
-
<div class="informaltable"><table width="100%" border="0">
|
523
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
519
524
|
<colgroup>
|
520
525
|
<col width="150px" class="parameters_name">
|
521
526
|
<col class="parameters_description">
|
@@ -534,12 +539,12 @@ of the <code class="function">deserialize_property()</code> virtual function in
|
|
534
539
|
</tr>
|
535
540
|
<tr>
|
536
541
|
<td class="parameter_name"><p>value</p></td>
|
537
|
-
<td class="parameter_description"><p>a pointer to an uninitialized <span class="type">GValue</span></p></td>
|
542
|
+
<td class="parameter_description"><p>a pointer to an uninitialized <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a></p></td>
|
538
543
|
<td class="parameter_annotations"> </td>
|
539
544
|
</tr>
|
540
545
|
<tr>
|
541
546
|
<td class="parameter_name"><p>pspec</p></td>
|
542
|
-
<td class="parameter_description"><p>a <span class="type">GParamSpec</span></p></td>
|
547
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
543
548
|
<td class="parameter_annotations"> </td>
|
544
549
|
</tr>
|
545
550
|
<tr>
|
@@ -552,7 +557,7 @@ of the <code class="function">deserialize_property()</code> virtual function in
|
|
552
557
|
</div>
|
553
558
|
<div class="refsect3">
|
554
559
|
<a name="json-serializable-default-deserialize-property.returns"></a><h4>Returns</h4>
|
555
|
-
<p> <code class="literal">TRUE</code> if the property was successfully deserialized.</p>
|
560
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the property was successfully deserialized.</p>
|
556
561
|
</div>
|
557
562
|
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
|
558
563
|
</div>
|
@@ -584,14 +589,14 @@ of the <code class="function">deserialize_property()</code> virtual function in
|
|
584
589
|
GValue *value);
|
585
590
|
};
|
586
591
|
</pre>
|
587
|
-
<p>Interface that allows serializing and deserializing <span class="type">GObject</span> instances
|
592
|
+
<p>Interface that allows serializing and deserializing <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> instances
|
588
593
|
with properties storing complex data types. The <a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()"><code class="function">json_serialize_gobject()</code></a>
|
589
|
-
function will check if the passed <span class="type">GObject</span> implements this interface,
|
594
|
+
function will check if the passed <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> implements this interface,
|
590
595
|
so it can also be used to override the default property serialization
|
591
596
|
sequence.</p>
|
592
597
|
<div class="refsect3">
|
593
598
|
<a name="JsonSerializableIface.members"></a><h4>Members</h4>
|
594
|
-
<div class="informaltable"><table width="100%" border="0">
|
599
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
595
600
|
<colgroup>
|
596
601
|
<col width="300px" class="struct_members_name">
|
597
602
|
<col class="struct_members_description">
|
@@ -600,14 +605,14 @@ sequence.</p>
|
|
600
605
|
<tbody>
|
601
606
|
<tr>
|
602
607
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.serialize-property"></a>serialize_property</code></em> ()</p></td>
|
603
|
-
<td class="struct_member_description"><p>virtual function for serializing a <span class="type">GObject</span> property
|
608
|
+
<td class="struct_member_description"><p>virtual function for serializing a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> property
|
604
609
|
into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
605
610
|
<td class="struct_member_annotations"> </td>
|
606
611
|
</tr>
|
607
612
|
<tr>
|
608
613
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.deserialize-property"></a>deserialize_property</code></em> ()</p></td>
|
609
614
|
<td class="struct_member_description"><p>virtual function for deserializing a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>
|
610
|
-
into a <span class="type">GObject</span> property</p></td>
|
615
|
+
into a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> property</p></td>
|
611
616
|
<td class="struct_member_annotations"> </td>
|
612
617
|
</tr>
|
613
618
|
<tr>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Utility API: JSON-GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch04.html" title="General Purpose API">
|
9
9
|
<link rel="prev" href="ch04.html" title="General Purpose API">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="json-glib-Utility-API.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -59,6 +59,11 @@
|
|
59
59
|
</table></div>
|
60
60
|
</div>
|
61
61
|
<div class="refsect1">
|
62
|
+
<a name="json-glib-Utility-API.includes"></a><h2>Includes</h2>
|
63
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
64
|
+
</pre>
|
65
|
+
</div>
|
66
|
+
<div class="refsect1">
|
62
67
|
<a name="json-glib-Utility-API.description"></a><h2>Description</h2>
|
63
68
|
<p>Various utility functions.</p>
|
64
69
|
</div>
|
@@ -68,16 +73,16 @@
|
|
68
73
|
<a name="json-from-string"></a><h3>json_from_string ()</h3>
|
69
74
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
70
75
|
json_from_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
76
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
72
77
|
<p>Parses the string in <em class="parameter"><code>str</code></em>
|
73
78
|
and returns a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> representing
|
74
79
|
the JSON tree.</p>
|
75
|
-
<p>In case of parsing error, this function returns <code class="literal">NULL</code> and sets
|
80
|
+
<p>In case of parsing error, this function returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and sets
|
76
81
|
<em class="parameter"><code>error</code></em>
|
77
82
|
appropriately.</p>
|
78
83
|
<div class="refsect3">
|
79
84
|
<a name="json-from-string.parameters"></a><h4>Parameters</h4>
|
80
|
-
<div class="informaltable"><table width="100%" border="0">
|
85
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
81
86
|
<colgroup>
|
82
87
|
<col width="150px" class="parameters_name">
|
83
88
|
<col class="parameters_description">
|
@@ -91,7 +96,7 @@ the JSON tree.</p>
|
|
91
96
|
</tr>
|
92
97
|
<tr>
|
93
98
|
<td class="parameter_name"><p>error</p></td>
|
94
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span></p></td>
|
99
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
95
100
|
<td class="parameter_annotations"> </td>
|
96
101
|
</tr>
|
97
102
|
</tbody>
|
@@ -99,7 +104,7 @@ the JSON tree.</p>
|
|
99
104
|
</div>
|
100
105
|
<div class="refsect3">
|
101
106
|
<a name="json-from-string.returns"></a><h4>Returns</h4>
|
102
|
-
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. </p>
|
107
|
+
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
103
108
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
104
109
|
</div>
|
105
110
|
<p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
|
@@ -109,13 +114,13 @@ the JSON tree.</p>
|
|
109
114
|
<a name="json-to-string"></a><h3>json_to_string ()</h3>
|
110
115
|
<pre class="programlisting"><span class="returnvalue">char</span> *
|
111
116
|
json_to_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
112
|
-
<em class="parameter"><code><span class="type">gboolean</span> pretty</code></em>);</pre>
|
117
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> pretty</code></em>);</pre>
|
113
118
|
<p>Generates a stringified JSON representation of the contents of
|
114
119
|
the passed <em class="parameter"><code>node</code></em>
|
115
120
|
.</p>
|
116
121
|
<div class="refsect3">
|
117
122
|
<a name="json-to-string.parameters"></a><h4>Parameters</h4>
|
118
|
-
<div class="informaltable"><table width="100%" border="0">
|
123
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
119
124
|
<colgroup>
|
120
125
|
<col width="150px" class="parameters_name">
|
121
126
|
<col class="parameters_description">
|