clutter 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -10
  3. data/dependency-check/Rakefile +40 -0
  4. data/test/clutter-test-utils.rb +0 -4
  5. data/test/run-test.rb +1 -1
  6. data/vendor/local/bin/json-glib-format.exe +0 -0
  7. data/vendor/local/bin/json-glib-validate.exe +0 -0
  8. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  9. data/vendor/local/bin/libcogl-20.dll +0 -0
  10. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  11. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  12. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  13. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -0
  14. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
  15. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  16. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  17. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  18. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  19. data/vendor/local/lib/libcogl.dll.a +0 -0
  20. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  21. data/vendor/local/lib/libjson-glib-1.0.la +1 -1
  22. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +2 -2
  23. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1 -1
  24. data/vendor/local/share/gir-1.0/Cogl-2.0.gir +4 -4
  25. data/vendor/local/share/gir-1.0/Json-1.0.gir +42 -23
  26. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +43 -38
  27. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +60 -55
  28. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +118 -113
  29. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +28 -23
  30. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +82 -77
  31. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +1 -1
  32. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +1 -1
  33. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +1 -1
  34. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +1 -1
  35. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +1 -1
  36. data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +4 -4
  37. data/vendor/local/share/gtk-doc/html/json-glib/index.html +23 -5
  38. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +1 -1
  39. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +1 -1
  40. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +1 -1
  41. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +1 -1
  42. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +1 -1
  43. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +1 -1
  44. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +1 -1
  45. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +1 -1
  46. data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +1 -1
  47. data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +1 -1
  48. data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +1 -1
  49. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +1 -1
  50. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +3 -3
  51. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +1 -1
  52. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +58 -53
  53. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +62 -57
  54. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +85 -80
  55. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +56 -51
  56. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +169 -144
  57. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +116 -111
  58. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +66 -61
  59. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +14 -9
  60. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +15 -10
  61. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +1 -1
  62. data/vendor/local/share/gtk-doc/html/json-glib/{json-glib.html → json-overview.html} +6 -2
  63. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +1 -1
  64. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +1 -1
  65. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +1 -1
  66. data/vendor/local/share/gtk-doc/html/json-glib/license.html +1 -1
  67. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +1 -1
  68. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  69. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  70. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  71. data/vendor/local/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  72. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  73. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  74. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  75. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  76. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  77. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  78. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  79. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  80. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  81. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  82. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  83. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  84. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  85. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  86. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  87. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  88. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  89. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  90. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  91. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  92. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  93. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  94. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  95. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  96. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  97. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  98. data/vendor/local/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo +0 -0
  99. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  100. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  101. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  102. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  103. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  104. data/vendor/local/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo +0 -0
  105. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  106. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  107. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  108. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  109. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  110. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  111. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  112. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  113. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  114. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  115. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  116. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  117. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  118. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  119. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  120. data/vendor/local/share/man/man1/json-glib-format.1 +2 -2
  121. data/vendor/local/share/man/man1/json-glib-validate.1 +2 -2
  122. metadata +15 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e31f224c2868e9ceb869bdc0eccd74c4978c86d6
4
- data.tar.gz: efd6ad48f9665d5933493a85f0ae11a37aff7492
3
+ metadata.gz: 54c50e696cd809b01250ac3ec9fcff16417d1f9e
4
+ data.tar.gz: 91fd2e692f37957eb1d47d868146265d40d53674
5
5
  SHA512:
6
- metadata.gz: 7858b75b9417a08a0228bfacc786ffed7b3e3b4f1551ce3c591a07a712340367ba616c904e32205e28ce2f5d52215f049516363be283847ac69cf03245d60a4a
7
- data.tar.gz: f935049db8e86e84ae3b0e8386a404eb472c92a86fbc766106d3a00e062e45c47405ad585173b3b3c7c111f6169dae11eddad76a7be57d2c1797989e7a5551cf
6
+ metadata.gz: c395d3cc0d3de43ec9526ae0c756e96c58af5d0ff3309b842578ca5eac7fa8ed87be02464d2943f7959e2497a7ffc2907520577c30f54a6646247e0c7d5ec437
7
+ data.tar.gz: 25364f3dd7d3e494eda4e7e5bb74eb6bac07ade2c14c3314f01c634bd5af0cf527e3b03890ad339b77d709650b1ae649fd8f625b03d46bba04443b4b571ff1d9
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.2",
98
+ :version => "1.2.8",
99
99
  :compression_method => "xz",
100
100
  :windows => {
101
101
  :configure_args => [
@@ -135,12 +135,3 @@ package_task.define
135
135
  if Rake::Task.task_defined?("native:clutter:i386-mingw32")
136
136
  Rake::Task["native:clutter:i386-mingw32"].prerequisites.clear
137
137
  end
138
-
139
- namespace :dependency do
140
- desc "Install depenencies"
141
- task :install do
142
- # TODO: Install gir1.2-clutter-1.0 on Debian.
143
- end
144
- end
145
-
146
- task :build => "dependency:install"
@@ -0,0 +1,40 @@
1
+ # Copyright (C) 2017 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "pkg-config"
18
+ require "native-package-installer"
19
+
20
+ case RUBY_PLATFORM
21
+ when /mingw|mswin/
22
+ task :default => "nothing"
23
+ else
24
+ task :default => "dependency:check"
25
+ end
26
+
27
+ task :nothing do
28
+ end
29
+
30
+ namespace :dependency do
31
+ desc "Check dependency"
32
+ task :check do
33
+ unless PKGConfig.check_version?("clutter-1.0")
34
+ unless NativePackageInstaller.install(:debian => "libclutter-1.0-dev",
35
+ :homebrew => "clutter")
36
+ exit(false)
37
+ end
38
+ end
39
+ end
40
+ end
@@ -30,8 +30,4 @@ module ClutterTestUtils
30
30
  omit("This test can't be run on this environment.")
31
31
  end
32
32
  end
33
-
34
- def omit_on_travis_ci
35
- omit("This test can't be run on Travis CI") if ENV["CI"]
36
- end
37
33
  end
@@ -55,7 +55,7 @@ require "clutter"
55
55
  repository = GObjectIntrospection::Repository.default
56
56
  begin
57
57
  repository.require(Clutter::Loader::NAMESPACE)
58
- rescue GLib::Error
58
+ rescue GObjectIntrospection::RepositoryError
59
59
  puts("Omit because typelib file doesn't exist: #{$!.message}")
60
60
  exit(true)
61
61
  end
@@ -194,6 +194,10 @@ JSON_DEPRECATED_IN_1_0_FOR(json_gobject_to_data)
194
194
  gchar * json_serialize_gobject (GObject *gobject,
195
195
  gsize *length) G_GNUC_MALLOC;
196
196
 
197
+ #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
198
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonSerializable, g_object_unref)
199
+ #endif
200
+
197
201
  G_END_DECLS
198
202
 
199
203
  #endif /* __JSON_GOBJECT_H__ */
@@ -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 (2)
58
+ #define JSON_MICRO_VERSION (8)
59
59
 
60
60
  /**
61
61
  * JSON_VERSION
62
62
  *
63
63
  * Json version.
64
64
  */
65
- #define JSON_VERSION (1.2.2)
65
+ #define JSON_VERSION (1.2.8)
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.2"
73
+ #define JSON_VERSION_S "1.2.8"
74
74
 
75
75
  #define JSON_ENCODE_VERSION(major,minor,micro) \
76
76
  ((major) << 24 | (minor) << 16 | (micro) << 8)
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libjson-glib-1.0.
26
26
  current=200
27
27
  age=200
28
- revision=2
28
+ revision=8
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: JSON-GLib
7
7
  Description: JSON Parser for GLib
8
- Version: 1.2.2
8
+ Version: 1.2.8
9
9
  Libs: -L${libdir} -ljson-glib-1.0
10
10
  Cflags: -I${includedir}/json-glib-1.0
11
- Requires: gobject-2.0 gio-2.0
11
+ Requires: gio-2.0
@@ -29,7 +29,7 @@ setting and testing boolean values.</doc>
29
29
  <alias name="Handle" c:type="CoglHandle">
30
30
  <doc xml:space="preserve">Type used for storing references to cogl objects, the CoglHandle is
31
31
  a fully opaque type without any public data members.</doc>
32
- <type name="gpointer" c:type="gpointer"/>
32
+ <type name="gpointer" c:type="void*"/>
33
33
  </alias>
34
34
  <constant name="AFIRST_BIT" value="64" c:type="COGL_AFIRST_BIT">
35
35
  <type name="gint" c:type="gint"/>
@@ -27,18 +27,18 @@ setting and testing boolean values.</doc>
27
27
  <type name="gint" c:type="int"/>
28
28
  </alias>
29
29
  <alias name="Buffer" c:type="CoglBuffer">
30
- <type name="gpointer" c:type="gpointer"/>
30
+ <type name="none" c:type="void"/>
31
31
  </alias>
32
32
  <alias name="Handle" c:type="CoglHandle">
33
33
  <doc xml:space="preserve">Type used for storing references to cogl objects, the CoglHandle is
34
34
  a fully opaque type without any public data members.</doc>
35
- <type name="gpointer" c:type="gpointer"/>
35
+ <type name="gpointer" c:type="void*"/>
36
36
  </alias>
37
37
  <alias name="MetaTexture" c:type="CoglMetaTexture">
38
- <type name="gpointer" c:type="gpointer"/>
38
+ <type name="none" c:type="void"/>
39
39
  </alias>
40
40
  <alias name="PrimitiveTexture" c:type="CoglPrimitiveTexture">
41
- <type name="gpointer" c:type="gpointer"/>
41
+ <type name="none" c:type="void"/>
42
42
  </alias>
43
43
  <alias name="UserDataDestroyCallback" c:type="CoglUserDataDestroyCallback">
44
44
  <doc xml:space="preserve">When associating private data with a #CoglObject a callback can be
@@ -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="2" c:type="JSON_MICRO_VERSION">
1248
+ <constant name="MICRO_VERSION" value="8" 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>
@@ -1310,8 +1310,9 @@ there should be no need to copy an immutable node.</doc>
1310
1310
  </method>
1311
1311
  <method name="dup_array" c:identifier="json_node_dup_array">
1312
1312
  <doc xml:space="preserve">Retrieves the #JsonArray stored inside a #JsonNode and returns it
1313
- with its reference count increased by one.</doc>
1314
- <return-value transfer-ownership="full">
1313
+ with its reference count increased by one. If the node does not hold an
1314
+ array value, %NULL is returned.</doc>
1315
+ <return-value transfer-ownership="full" nullable="1">
1315
1316
  <doc xml:space="preserve">the #JsonArray with its reference
1316
1317
  count increased.</doc>
1317
1318
  <type name="Array" c:type="JsonArray*"/>
@@ -1325,8 +1326,9 @@ with its reference count increased by one.</doc>
1325
1326
  </method>
1326
1327
  <method name="dup_object" c:identifier="json_node_dup_object">
1327
1328
  <doc xml:space="preserve">Retrieves the #JsonObject inside @node. The reference count of
1328
- the returned object is increased.</doc>
1329
- <return-value transfer-ownership="full">
1329
+ the returned object is increased. If the node does not hold an object value,
1330
+ %NULL is returned.</doc>
1331
+ <return-value transfer-ownership="full" nullable="1">
1330
1332
  <doc xml:space="preserve">the #JsonObject</doc>
1331
1333
  <type name="Object" c:type="JsonObject*"/>
1332
1334
  </return-value>
@@ -1338,10 +1340,12 @@ the returned object is increased.</doc>
1338
1340
  </parameters>
1339
1341
  </method>
1340
1342
  <method name="dup_string" c:identifier="json_node_dup_string">
1341
- <doc xml:space="preserve">Gets a copy of the string value stored inside a #JsonNode</doc>
1342
- <return-value transfer-ownership="full">
1343
- <doc xml:space="preserve">a newly allocated string containing a copy
1344
- of the #JsonNode contents. Use g_free() to free the allocated resources</doc>
1343
+ <doc xml:space="preserve">Gets a copy of the string value stored inside a #JsonNode. If the node does
1344
+ not hold a string value, %NULL is returned.</doc>
1345
+ <return-value transfer-ownership="full" nullable="1">
1346
+ <doc xml:space="preserve">a newly allocated string
1347
+ containing a copy of the #JsonNode contents. Use g_free() to free the
1348
+ allocated resources</doc>
1345
1349
  <type name="utf8" c:type="gchar*"/>
1346
1350
  </return-value>
1347
1351
  <parameters>
@@ -1384,8 +1388,9 @@ integer value 4.</doc>
1384
1388
  </parameters>
1385
1389
  </method>
1386
1390
  <method name="get_array" c:identifier="json_node_get_array">
1387
- <doc xml:space="preserve">Retrieves the #JsonArray stored inside a #JsonNode</doc>
1388
- <return-value transfer-ownership="none">
1391
+ <doc xml:space="preserve">Retrieves the #JsonArray stored inside a #JsonNode. If the node does not
1392
+ hold an array value, %NULL is returned.</doc>
1393
+ <return-value transfer-ownership="none" nullable="1">
1389
1394
  <doc xml:space="preserve">the #JsonArray</doc>
1390
1395
  <type name="Array" c:type="JsonArray*"/>
1391
1396
  </return-value>
@@ -1397,7 +1402,10 @@ integer value 4.</doc>
1397
1402
  </parameters>
1398
1403
  </method>
1399
1404
  <method name="get_boolean" c:identifier="json_node_get_boolean">
1400
- <doc xml:space="preserve">Gets the boolean value stored inside a #JsonNode</doc>
1405
+ <doc xml:space="preserve">Gets the boolean value stored inside a #JsonNode. If the node holds an
1406
+ integer or double value which is zero, %FALSE is returned; otherwise %TRUE
1407
+ is returned. If the node holds a %JSON_NODE_NULL value or a value of another
1408
+ non-boolean type, %FALSE is returned.</doc>
1401
1409
  <return-value transfer-ownership="none">
1402
1410
  <doc xml:space="preserve">a boolean value.</doc>
1403
1411
  <type name="gboolean" c:type="gboolean"/>
@@ -1410,7 +1418,11 @@ integer value 4.</doc>
1410
1418
  </parameters>
1411
1419
  </method>
1412
1420
  <method name="get_double" c:identifier="json_node_get_double">
1413
- <doc xml:space="preserve">Gets the double value stored inside a #JsonNode</doc>
1421
+ <doc xml:space="preserve">Gets the double value stored inside a #JsonNode. If the node holds an integer
1422
+ value, it is returned as a double. If the node holds a %FALSE boolean value,
1423
+ `0.0` is returned; otherwise a non-zero double is returned. If the node holds
1424
+ a %JSON_NODE_NULL value or a value of another non-double type, `0.0` is
1425
+ returned.</doc>
1414
1426
  <return-value transfer-ownership="none">
1415
1427
  <doc xml:space="preserve">a double value.</doc>
1416
1428
  <type name="gdouble" c:type="gdouble"/>
@@ -1423,7 +1435,11 @@ integer value 4.</doc>
1423
1435
  </parameters>
1424
1436
  </method>
1425
1437
  <method name="get_int" c:identifier="json_node_get_int">
1426
- <doc xml:space="preserve">Gets the integer value stored inside a #JsonNode</doc>
1438
+ <doc xml:space="preserve">Gets the integer value stored inside a #JsonNode. If the node holds a double
1439
+ value, its integer component is returned. If the node holds a %FALSE boolean
1440
+ value, `0` is returned; otherwise a non-zero integer is returned. If the
1441
+ node holds a %JSON_NODE_NULL value or a value of another non-integer type,
1442
+ `0` is returned.</doc>
1427
1443
  <return-value transfer-ownership="none">
1428
1444
  <doc xml:space="preserve">an integer value.</doc>
1429
1445
  <type name="gint64" c:type="gint64"/>
@@ -1451,8 +1467,9 @@ integer value 4.</doc>
1451
1467
  </parameters>
1452
1468
  </method>
1453
1469
  <method name="get_object" c:identifier="json_node_get_object">
1454
- <doc xml:space="preserve">Retrieves the #JsonObject stored inside a #JsonNode</doc>
1455
- <return-value transfer-ownership="none">
1470
+ <doc xml:space="preserve">Retrieves the #JsonObject stored inside a #JsonNode. If the node does not
1471
+ hold an object value, %NULL is returned.</doc>
1472
+ <return-value transfer-ownership="none" nullable="1">
1456
1473
  <doc xml:space="preserve">the #JsonObject</doc>
1457
1474
  <type name="Object" c:type="JsonObject*"/>
1458
1475
  </return-value>
@@ -1465,9 +1482,9 @@ integer value 4.</doc>
1465
1482
  </method>
1466
1483
  <method name="get_parent" c:identifier="json_node_get_parent">
1467
1484
  <doc xml:space="preserve">Retrieves the parent #JsonNode of @node.</doc>
1468
- <return-value transfer-ownership="none">
1469
- <doc xml:space="preserve">the parent node, or %NULL if @node is
1470
- the root node</doc>
1485
+ <return-value transfer-ownership="none" nullable="1">
1486
+ <doc xml:space="preserve">the parent node, or %NULL if @node
1487
+ is the root node</doc>
1471
1488
  <type name="Node" c:type="JsonNode*"/>
1472
1489
  </return-value>
1473
1490
  <parameters>
@@ -1478,8 +1495,9 @@ integer value 4.</doc>
1478
1495
  </parameters>
1479
1496
  </method>
1480
1497
  <method name="get_string" c:identifier="json_node_get_string">
1481
- <doc xml:space="preserve">Gets the string value stored inside a #JsonNode</doc>
1482
- <return-value transfer-ownership="none">
1498
+ <doc xml:space="preserve">Gets the string value stored inside a #JsonNode. If the node does not hold a
1499
+ string value, %NULL is returned.</doc>
1500
+ <return-value transfer-ownership="none" nullable="1">
1483
1501
  <doc xml:space="preserve">a string value.</doc>
1484
1502
  <type name="utf8" c:type="const gchar*"/>
1485
1503
  </return-value>
@@ -1492,7 +1510,8 @@ integer value 4.</doc>
1492
1510
  </method>
1493
1511
  <method name="get_value" c:identifier="json_node_get_value">
1494
1512
  <doc xml:space="preserve">Retrieves a value from a #JsonNode and copies into @value. When done
1495
- using it, call g_value_unset() on the #GValue.</doc>
1513
+ using it, call g_value_unset() on the #GValue. If the node does not hold a
1514
+ scalar value, @value is not modified.</doc>
1496
1515
  <return-value transfer-ownership="none">
1497
1516
  <type name="none" c:type="void"/>
1498
1517
  </return-value>
@@ -4787,7 +4806,7 @@ sequence.</doc>
4787
4806
  </callback>
4788
4807
  </field>
4789
4808
  </record>
4790
- <constant name="VERSION_S" value="1.2.2" c:type="JSON_VERSION_S">
4809
+ <constant name="VERSION_S" value="1.2.8" c:type="JSON_VERSION_S">
4791
4810
  <doc xml:space="preserve">JSON-GLib version, encoded as a string, useful for printing and
4792
4811
  concatenation.</doc>
4793
4812
  <type name="utf8" c:type="gchar*"/>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>JsonBuilder: JSON-GLib Reference Manual</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
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="ch03.html" title="Generator">
9
9
  <link rel="prev" href="JsonGenerator.html" title="JsonGenerator">
@@ -35,7 +35,7 @@
35
35
  </tr></table></div>
36
36
  <div class="refsect1">
37
37
  <a name="JsonBuilder.functions"></a><h2>Functions</h2>
38
- <div class="informaltable"><table width="100%" border="0">
38
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
39
39
  <colgroup>
40
40
  <col width="150px" class="functions_return">
41
41
  <col class="functions_name">
@@ -166,14 +166,14 @@
166
166
  </div>
167
167
  <div class="refsect1">
168
168
  <a name="JsonBuilder.properties"></a><h2>Properties</h2>
169
- <div class="informaltable"><table border="0">
169
+ <div class="informaltable"><table class="informaltable" border="0">
170
170
  <colgroup>
171
171
  <col width="150px" class="properties_type">
172
172
  <col width="300px" class="properties_name">
173
173
  <col width="200px" class="properties_flags">
174
174
  </colgroup>
175
175
  <tbody><tr>
176
- <td class="property_type"><span class="type">gboolean</span></td>
176
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
177
177
  <td class="property_name"><a class="link" href="JsonBuilder.html#JsonBuilder--immutable" title="The “immutable” property">immutable</a></td>
178
178
  <td class="property_flags">Read / Write / Construct Only</td>
179
179
  </tr></tbody>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
  <div class="refsect1">
183
183
  <a name="JsonBuilder.other"></a><h2>Types and Values</h2>
184
- <div class="informaltable"><table width="100%" border="0">
184
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
185
185
  <colgroup>
186
186
  <col width="150px" class="name">
187
187
  <col class="description">
@@ -200,11 +200,16 @@
200
200
  </div>
201
201
  <div class="refsect1">
202
202
  <a name="JsonBuilder.object-hierarchy"></a><h2>Object Hierarchy</h2>
203
- <pre class="screen"> GObject
203
+ <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
204
204
  <span class="lineart">╰──</span> JsonBuilder
205
205
  </pre>
206
206
  </div>
207
207
  <div class="refsect1">
208
+ <a name="JsonBuilder.includes"></a><h2>Includes</h2>
209
+ <pre class="synopsis">#include &lt;json-glib/json-glib.h&gt;
210
+ </pre>
211
+ </div>
212
+ <div class="refsect1">
208
213
  <a name="JsonBuilder.description"></a><h2>Description</h2>
209
214
  <p><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> provides an object for generating a JSON tree.
210
215
  You can generate only one tree with one <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> instance.</p>
@@ -233,7 +238,7 @@ JSON tree and obtain the root <a class="link" href="json-glib-JSON-Node.html#Jso
233
238
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
234
239
  json_builder_new_immutable (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
235
240
  <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
- set to <code class="literal">TRUE</code> to create immutable output trees.</p>
241
+ set to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to create immutable output trees.</p>
237
242
  <div class="refsect3">
238
243
  <a name="json-builder-new-immutable.returns"></a><h4>Returns</h4>
239
244
  <p> a new <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>. </p>
@@ -250,7 +255,7 @@ json_builder_get_root (<em class="parameter"><code><a class="link" href="JsonBui
250
255
  (ie: all opened objects, object members and arrays are being closed).</p>
251
256
  <div class="refsect3">
252
257
  <a name="json-builder-get-root.parameters"></a><h4>Parameters</h4>
253
- <div class="informaltable"><table width="100%" border="0">
258
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
254
259
  <colgroup>
255
260
  <col width="150px" class="parameters_name">
256
261
  <col class="parameters_description">
@@ -265,7 +270,7 @@ json_builder_get_root (<em class="parameter"><code><a class="link" href="JsonBui
265
270
  </div>
266
271
  <div class="refsect3">
267
272
  <a name="json-builder-get-root.returns"></a><h4>Returns</h4>
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.
273
+ <p> the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the build is not complete.
269
274
  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
275
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
271
276
  </div>
@@ -279,7 +284,7 @@ json_builder_reset (<em class="parameter"><code><a class="link" href="JsonBuilde
279
284
  back to its initial state.</p>
280
285
  <div class="refsect3">
281
286
  <a name="json-builder-reset.parameters"></a><h4>Parameters</h4>
282
- <div class="informaltable"><table width="100%" border="0">
287
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
283
288
  <colgroup>
284
289
  <col width="150px" class="parameters_name">
285
290
  <col class="parameters_description">
@@ -305,7 +310,7 @@ the subarray, <a class="link" href="JsonBuilder.html#json-builder-end-array" tit
305
310
  or an array element.</p>
306
311
  <div class="refsect3">
307
312
  <a name="json-builder-begin-array.parameters"></a><h4>Parameters</h4>
308
- <div class="informaltable"><table width="100%" border="0">
313
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
309
314
  <colgroup>
310
315
  <col width="150px" class="parameters_name">
311
316
  <col class="parameters_description">
@@ -320,7 +325,7 @@ or an array element.</p>
320
325
  </div>
321
326
  <div class="refsect3">
322
327
  <a name="json-builder-begin-array.returns"></a><h4>Returns</h4>
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>
328
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
324
329
  <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
330
  </div>
326
331
  </div>
@@ -335,7 +340,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-array"
335
340
  <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
341
  <div class="refsect3">
337
342
  <a name="json-builder-end-array.parameters"></a><h4>Parameters</h4>
338
- <div class="informaltable"><table width="100%" border="0">
343
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
339
344
  <colgroup>
340
345
  <col width="150px" class="parameters_name">
341
346
  <col class="parameters_description">
@@ -350,7 +355,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-array"
350
355
  </div>
351
356
  <div class="refsect3">
352
357
  <a name="json-builder-end-array.returns"></a><h4>Returns</h4>
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>
358
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
354
359
  <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
360
  </div>
356
361
  </div>
@@ -366,7 +371,7 @@ the subobject, <a class="link" href="JsonBuilder.html#json-builder-end-object" t
366
371
  or an array element.</p>
367
372
  <div class="refsect3">
368
373
  <a name="json-builder-begin-object.parameters"></a><h4>Parameters</h4>
369
- <div class="informaltable"><table width="100%" border="0">
374
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
370
375
  <colgroup>
371
376
  <col width="150px" class="parameters_name">
372
377
  <col class="parameters_description">
@@ -381,7 +386,7 @@ or an array element.</p>
381
386
  </div>
382
387
  <div class="refsect3">
383
388
  <a name="json-builder-begin-object.returns"></a><h4>Returns</h4>
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>
389
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
385
390
  <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
391
  </div>
387
392
  </div>
@@ -390,13 +395,13 @@ or an array element.</p>
390
395
  <a name="json-builder-set-member-name"></a><h3>json_builder_set_member_name ()</h3>
391
396
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
392
397
  json_builder_set_member_name (<em class="parameter"><code><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> *builder</code></em>,
393
- <em class="parameter"><code>const <span class="type">gchar</span> *member_name</code></em>);</pre>
398
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *member_name</code></em>);</pre>
394
399
  <p>Set the name of the next member in an object. The next call must add a value,
395
400
  open an object or an array.</p>
396
401
  <p>Can be called only if the call is associated to an object.</p>
397
402
  <div class="refsect3">
398
403
  <a name="json-builder-set-member-name.parameters"></a><h4>Parameters</h4>
399
- <div class="informaltable"><table width="100%" border="0">
404
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
400
405
  <colgroup>
401
406
  <col width="150px" class="parameters_name">
402
407
  <col class="parameters_description">
@@ -418,7 +423,7 @@ open an object or an array.</p>
418
423
  </div>
419
424
  <div class="refsect3">
420
425
  <a name="json-builder-set-member-name.returns"></a><h4>Returns</h4>
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>
426
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
422
427
  <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
428
  </div>
424
429
  </div>
@@ -433,7 +438,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-object"
433
438
  <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
439
  <div class="refsect3">
435
440
  <a name="json-builder-end-object.parameters"></a><h4>Parameters</h4>
436
- <div class="informaltable"><table width="100%" border="0">
441
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
437
442
  <colgroup>
438
443
  <col width="150px" class="parameters_name">
439
444
  <col class="parameters_description">
@@ -448,7 +453,7 @@ recent call to <a class="link" href="JsonBuilder.html#json-builder-begin-object"
448
453
  </div>
449
454
  <div class="refsect3">
450
455
  <a name="json-builder-end-object.returns"></a><h4>Returns</h4>
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>
456
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
452
457
  <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
458
  </div>
454
459
  </div>
@@ -466,7 +471,7 @@ recent opened array.</p>
466
471
  <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
472
  <div class="refsect3">
468
473
  <a name="json-builder-add-value.parameters"></a><h4>Parameters</h4>
469
- <div class="informaltable"><table width="100%" border="0">
474
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
470
475
  <colgroup>
471
476
  <col width="150px" class="parameters_name">
472
477
  <col class="parameters_description">
@@ -488,7 +493,7 @@ recent opened array.</p>
488
493
  </div>
489
494
  <div class="refsect3">
490
495
  <a name="json-builder-add-value.returns"></a><h4>Returns</h4>
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>
496
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
492
497
  <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
498
  </div>
494
499
  </div>
@@ -497,7 +502,7 @@ recent opened array.</p>
497
502
  <a name="json-builder-add-int-value"></a><h3>json_builder_add_int_value ()</h3>
498
503
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
499
504
  json_builder_add_int_value (<em class="parameter"><code><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> *builder</code></em>,
500
- <em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
505
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> value</code></em>);</pre>
501
506
  <p>If 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>, sets <em class="parameter"><code>value</code></em>
502
507
  as member of the
503
508
  most recent opened object, otherwise <em class="parameter"><code>value</code></em>
@@ -506,7 +511,7 @@ recent opened array.</p>
506
511
  <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
512
  <div class="refsect3">
508
513
  <a name="json-builder-add-int-value.parameters"></a><h4>Parameters</h4>
509
- <div class="informaltable"><table width="100%" border="0">
514
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
510
515
  <colgroup>
511
516
  <col width="150px" class="parameters_name">
512
517
  <col class="parameters_description">
@@ -528,7 +533,7 @@ recent opened array.</p>
528
533
  </div>
529
534
  <div class="refsect3">
530
535
  <a name="json-builder-add-int-value.returns"></a><h4>Returns</h4>
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>
536
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
532
537
  <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
538
  </div>
534
539
  </div>
@@ -537,7 +542,7 @@ recent opened array.</p>
537
542
  <a name="json-builder-add-double-value"></a><h3>json_builder_add_double_value ()</h3>
538
543
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
539
544
  json_builder_add_double_value (<em class="parameter"><code><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> *builder</code></em>,
540
- <em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
545
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
541
546
  <p>If 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>, sets <em class="parameter"><code>value</code></em>
542
547
  as member of the
543
548
  most recent opened object, otherwise <em class="parameter"><code>value</code></em>
@@ -546,7 +551,7 @@ recent opened array.</p>
546
551
  <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
552
  <div class="refsect3">
548
553
  <a name="json-builder-add-double-value.parameters"></a><h4>Parameters</h4>
549
- <div class="informaltable"><table width="100%" border="0">
554
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
550
555
  <colgroup>
551
556
  <col width="150px" class="parameters_name">
552
557
  <col class="parameters_description">
@@ -568,7 +573,7 @@ recent opened array.</p>
568
573
  </div>
569
574
  <div class="refsect3">
570
575
  <a name="json-builder-add-double-value.returns"></a><h4>Returns</h4>
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>
576
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
572
577
  <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
578
  </div>
574
579
  </div>
@@ -577,7 +582,7 @@ recent opened array.</p>
577
582
  <a name="json-builder-add-boolean-value"></a><h3>json_builder_add_boolean_value ()</h3>
578
583
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
579
584
  json_builder_add_boolean_value (<em class="parameter"><code><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> *builder</code></em>,
580
- <em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
585
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
581
586
  <p>If 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>, sets <em class="parameter"><code>value</code></em>
582
587
  as member of the
583
588
  most recent opened object, otherwise <em class="parameter"><code>value</code></em>
@@ -586,7 +591,7 @@ recent opened array.</p>
586
591
  <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
592
  <div class="refsect3">
588
593
  <a name="json-builder-add-boolean-value.parameters"></a><h4>Parameters</h4>
589
- <div class="informaltable"><table width="100%" border="0">
594
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
590
595
  <colgroup>
591
596
  <col width="150px" class="parameters_name">
592
597
  <col class="parameters_description">
@@ -608,7 +613,7 @@ recent opened array.</p>
608
613
  </div>
609
614
  <div class="refsect3">
610
615
  <a name="json-builder-add-boolean-value.returns"></a><h4>Returns</h4>
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>
616
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
612
617
  <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
618
  </div>
614
619
  </div>
@@ -617,7 +622,7 @@ recent opened array.</p>
617
622
  <a name="json-builder-add-string-value"></a><h3>json_builder_add_string_value ()</h3>
618
623
  <pre class="programlisting"><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="returnvalue">JsonBuilder</span></a> *
619
624
  json_builder_add_string_value (<em class="parameter"><code><a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> *builder</code></em>,
620
- <em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
625
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
621
626
  <p>If 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>, sets <em class="parameter"><code>value</code></em>
622
627
  as member of the
623
628
  most recent opened object, otherwise <em class="parameter"><code>value</code></em>
@@ -626,7 +631,7 @@ recent opened array.</p>
626
631
  <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
632
  <div class="refsect3">
628
633
  <a name="json-builder-add-string-value.parameters"></a><h4>Parameters</h4>
629
- <div class="informaltable"><table width="100%" border="0">
634
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
630
635
  <colgroup>
631
636
  <col width="150px" class="parameters_name">
632
637
  <col class="parameters_description">
@@ -648,7 +653,7 @@ recent opened array.</p>
648
653
  </div>
649
654
  <div class="refsect3">
650
655
  <a name="json-builder-add-string-value.returns"></a><h4>Returns</h4>
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>
656
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
652
657
  <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
658
  </div>
654
659
  </div>
@@ -663,7 +668,7 @@ recent opened array.</p>
663
668
  <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
669
  <div class="refsect3">
665
670
  <a name="json-builder-add-null-value.parameters"></a><h4>Parameters</h4>
666
- <div class="informaltable"><table width="100%" border="0">
671
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
667
672
  <colgroup>
668
673
  <col width="150px" class="parameters_name">
669
674
  <col class="parameters_description">
@@ -678,7 +683,7 @@ recent opened array.</p>
678
683
  </div>
679
684
  <div class="refsect3">
680
685
  <a name="json-builder-add-null-value.returns"></a><h4>Returns</h4>
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>
686
+ <p> the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the call was inconsistent. </p>
682
687
  <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
688
  </div>
684
689
  </div>
@@ -706,7 +711,7 @@ accessed using the provided API</p>
706
711
  <a name="JsonBuilder.property-details"></a><h2>Property Details</h2>
707
712
  <div class="refsect2">
708
713
  <a name="JsonBuilder--immutable"></a><h3>The <code class="literal">“immutable”</code> property</h3>
709
- <pre class="programlisting"> “immutable” <span class="type">gboolean</span></pre>
714
+ <pre class="programlisting"> “immutable” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
710
715
  <p>Whether the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> tree built by the <a class="link" href="JsonBuilder.html" title="JsonBuilder"><span class="type">JsonBuilder</span></a> should be immutable
711
716
  when created. Making the output immutable on creation avoids the expense
712
717
  of traversing it to make it immutable later.</p>