mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-12-06 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/json/json-parser.[ch]: Use gssize, size we allow -1 as a length (meaning "use the whole string"). (json_parser_load_from_data): Use the passed length instead of using strlen() all the time. * clutter/clutter-script.[ch]: Ditto as above.
This commit is contained in:
@ -135,7 +135,7 @@ gboolean json_parser_load_from_file (JsonParser *parser,
|
||||
GError **error);
|
||||
gboolean json_parser_load_from_data (JsonParser *parser,
|
||||
const gchar *data,
|
||||
gsize length,
|
||||
gssize length,
|
||||
GError **error);
|
||||
JsonNode * json_parser_get_root (JsonParser *parser);
|
||||
|
||||
|
Reference in New Issue
Block a user