2007-10-10 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-script-private.h:
	* clutter/clutter-script.c: Parse flags like we parse enums.
This commit is contained in:
Emmanuele Bassi
2007-10-10 13:01:09 +00:00
parent 8b55030c14
commit a4b7abd18e
3 changed files with 131 additions and 5 deletions

View File

@ -53,12 +53,15 @@ typedef struct {
GValue value;
} PropertyInfo;
GObject *clutter_script_construct_object (ClutterScript *script,
ObjectInfo *info);
GObject *clutter_script_construct_object (ClutterScript *script,
ObjectInfo *info);
gboolean clutter_script_enum_from_string (GType gtype,
const gchar *string,
gint *enum_value);
gboolean clutter_script_enum_from_string (GType gtype,
const gchar *string,
gint *enum_value);
gboolean clutter_script_flags_from_string (GType gtype,
const gchar *string,
gint *flags_value);
G_END_DECLS