[json] Update the internal copy of JSON-GLib
JSON-GLib switch to 64 bit integers upstream, to avoid the undefined integer size of the JSON RFC. All integers are automatically promoted to gint64.
This commit is contained in:
@ -241,7 +241,7 @@ json_array_get_element (JsonArray *array,
|
||||
*
|
||||
* Since: 0.8
|
||||
*/
|
||||
gint
|
||||
gint64
|
||||
json_array_get_int_element (JsonArray *array,
|
||||
guint index_)
|
||||
{
|
||||
@ -483,7 +483,7 @@ json_array_add_element (JsonArray *array,
|
||||
*/
|
||||
void
|
||||
json_array_add_int_element (JsonArray *array,
|
||||
gint value)
|
||||
gint64 value)
|
||||
{
|
||||
JsonNode *node;
|
||||
|
||||
|
Reference in New Issue
Block a user