diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-02 01:04:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-02 01:04:33 +0300 |
commit | 039d0871716e2134913b47ec4dbdcebaefb8edcc (patch) | |
tree | 93740bd824d6587f2e61fca1658ed594934964e5 /source/blender/python/intern/bpy_rna.h | |
parent | 26cfe812f8b128bf1b2beaa6b94fb4c840456024 (diff) |
subtype support for properties in bpy.props.
Diffstat (limited to 'source/blender/python/intern/bpy_rna.h')
-rw-r--r-- | source/blender/python/intern/bpy_rna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 284eef2c0e1..b95dfa5d632 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -80,6 +80,7 @@ int pyrna_pydict_to_props(PointerRNA *ptr, PyObject *kw, int all_args, const cha PyObject * pyrna_prop_to_py(PointerRNA *ptr, PropertyRNA *prop); PyObject *pyrna_enum_bitfield_to_py(struct EnumPropertyItem *items, int value); +int pyrna_set_to_enum_bitfield(EnumPropertyItem *items, PyObject *value, int *r_value, const char *error_prefix); /* function for registering types */ PyObject *pyrna_basetype_register(PyObject *self, PyObject *args); |