Code cleanup: use 'const' for arrays (python)
[blender.git] / source / blender / python / intern / bpy_operator_wrap.c
index efee9b13d58acd42b8996a0761f429e0d368983a..11e27ca3e3c3868d30198299d1f9fcef63300a3e 100644 (file)
@@ -163,7 +163,7 @@ PyObject *PYOP_wrap_macro_define(PyObject *UNUSED(self), PyObject *args)
        PointerRNA ptr_otmacro;
        StructRNA *srna;
 
-       char *opname;
+       const char *opname;
        const char *macroname;
 
        if (!PyArg_ParseTuple(args, "Os:_bpy.ops.macro_define", &macro, &opname))