diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-04 00:13:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-04 00:13:47 +0300 |
commit | 10232f2c862c373c6d6b67dbb80719425560bd44 (patch) | |
tree | b316e336b394d79f0caf57b6877b48db755dcbd4 /source/blender/makesrna/RNA_define.h | |
parent | e58fab0d49d6556aa050b40822a54725c51c7e81 (diff) |
Forgot this file in my last commit.
Diffstat (limited to 'source/blender/makesrna/RNA_define.h')
-rw-r--r-- | source/blender/makesrna/RNA_define.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/makesrna/RNA_define.h b/source/blender/makesrna/RNA_define.h index 9764a24393c..c437b9a840f 100644 --- a/source/blender/makesrna/RNA_define.h +++ b/source/blender/makesrna/RNA_define.h @@ -49,17 +49,15 @@ void RNA_def_struct_identifier(StructRNA *srna, const char *identifier, const ch /* Property */ -typedef enum EnumPropertyFlag { - PROP_DEF_ENUM_BITFLAGS = 1 -} EnumPropertyFlag; - PropertyRNA *RNA_def_property(StructRNA *srna, const char *identifier, int type, int subtype); void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int bit); +void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int bit); void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname); void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname); void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname); -void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname, EnumPropertyFlag flag); +void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname); +void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname); void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname); void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname); |