2006-07-27 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-private.h: Move clutter_feature_init() declaration here: you shouldn't even need to initialise features yourself. * clutter/clutter-feature.c: call clutter_feature_init() each time you try to access the feature list; add a static lock around the feature flags container; add api documentation. * clutter/clutter-feature.h: Add a type for the feature flags to make bindings happy.
This commit is contained in:
@ -39,19 +39,13 @@
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
enum
|
||||
typedef enum
|
||||
{
|
||||
CLUTTER_FEATURE_TEXTURE_RECTANGLE = (1 << 1)
|
||||
};
|
||||
} ClutterFeatureFlags;
|
||||
|
||||
gboolean
|
||||
clutter_feature_available (gulong query);
|
||||
|
||||
gulong
|
||||
clutter_feature_get_all (void);
|
||||
|
||||
void
|
||||
clutter_feature_init (void);
|
||||
gboolean clutter_feature_available (ClutterFeatureFlags flags);
|
||||
ClutterFeatureFlags clutter_feature_get_all (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user