projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup: use 'const' for arrays (python)
[blender.git]
/
source
/
blender
/
python
/
intern
/
bpy_operator_wrap.c
diff --git
a/source/blender/python/intern/bpy_operator_wrap.c
b/source/blender/python/intern/bpy_operator_wrap.c
index efee9b13d58acd42b8996a0761f429e0d368983a..11e27ca3e3c3868d30198299d1f9fcef63300a3e 100644
(file)
--- a/
source/blender/python/intern/bpy_operator_wrap.c
+++ b/
source/blender/python/intern/bpy_operator_wrap.c
@@
-163,7
+163,7
@@
PyObject *PYOP_wrap_macro_define(PyObject *UNUSED(self), PyObject *args)
PointerRNA ptr_otmacro;
StructRNA *srna;
- char *opname;
+ c
onst c
har *opname;
const char *macroname;
if (!PyArg_ParseTuple(args, "Os:_bpy.ops.macro_define", ¯o, &opname))