diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-17 07:18:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-17 07:18:21 +0400 |
commit | d3a89fc9b7acbc394799904795e30cbead3a458e (patch) | |
tree | cfeeca8f30febd50e725ab5db0e01b8d9f22fe5c /source/blender/python/generic/idprop_py_api.h | |
parent | a619de52cfc4aaa7371e418730a84d0dbd317673 (diff) |
add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)
reduce/simplify exceptions more.
Diffstat (limited to 'source/blender/python/generic/idprop_py_api.h')
-rw-r--r-- | source/blender/python/generic/idprop_py_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/idprop_py_api.h b/source/blender/python/generic/idprop_py_api.h index cb82676c4d9..279dad40456 100644 --- a/source/blender/python/generic/idprop_py_api.h +++ b/source/blender/python/generic/idprop_py_api.h @@ -71,7 +71,7 @@ int BPy_Wrap_SetMapItem(struct IDProperty *prop, PyObject *key, PyObject *val); PyObject *BPy_IDGroup_WrapData(struct ID *id, struct IDProperty *prop, struct IDProperty *parent); -const char *BPy_IDProperty_Map_ValidateAndCreate(PyObject *key, struct IDProperty *group, PyObject *ob); +bool BPy_IDProperty_Map_ValidateAndCreate(PyObject *key, struct IDProperty *group, PyObject *ob); void IDProp_Init_Types(void); |