Define RNA_STACK_ARRAY (usable everywhere in RNA), and make PYRNA_STACK_ARRAY use it.
This commit is contained in:
@@ -108,6 +108,8 @@ typedef enum PropertyUnit {
|
|||||||
|
|
||||||
#define RNA_TRANSLATION_PREC_DEFAULT 5
|
#define RNA_TRANSLATION_PREC_DEFAULT 5
|
||||||
|
|
||||||
|
#define RNA_STACK_ARRAY 32
|
||||||
|
|
||||||
/* also update enums in bpy_props.c when adding items here
|
/* also update enums in bpy_props.c when adding items here
|
||||||
* watch it: these values are written to files as part of
|
* watch it: these values are written to files as part of
|
||||||
* node socket button subtypes!
|
* node socket button subtypes!
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw);
|
|||||||
PyObject *BPy_CollectionProperty(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);
|
StructRNA *pointer_type_from_py(PyObject *value, const char *error_prefix);
|
||||||
|
|
||||||
#define PYRNA_STACK_ARRAY 32
|
#define PYRNA_STACK_ARRAY RNA_STACK_ARRAY
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user