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:
@ -120,7 +120,7 @@ guint clutter_script_load_from_file (ClutterScript *script,
|
||||
GError **error);
|
||||
guint clutter_script_load_from_data (ClutterScript *script,
|
||||
const gchar *data,
|
||||
gsize length,
|
||||
gssize length,
|
||||
GError **error);
|
||||
GObject * clutter_script_get_object (ClutterScript *script,
|
||||
const gchar *name);
|
||||
|
Reference in New Issue
Block a user