add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)

reduce/simplify exceptions more.
This commit is contained in:
2013-10-17 03:18:21 +00:00
parent a619de52cf
commit d3a89fc9b7
2 changed files with 45 additions and 39 deletions

View File

@@ -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);