Define RNA_STACK_ARRAY (usable everywhere in RNA), and make PYRNA_STACK_ARRAY use it.

This commit is contained in:
2017-11-29 15:16:12 +01:00
parent 39b8a33068
commit 6d003ef812
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,6 @@ PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw);
PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw);
StructRNA *pointer_type_from_py(PyObject *value, const char *error_prefix);
#define PYRNA_STACK_ARRAY 32
#define PYRNA_STACK_ARRAY RNA_STACK_ARRAY
#endif