[Bf-blender-cvs] [ea3dae7] master: Cleanup: remove redundant __doc__ from bgl

Campbell Barton noreply at git.blender.org
Fri Jul 24 01:50:40 CEST 2015


Commit: ea3dae74d870864f6e9d329056ad2b219ae9f81c
Author: Campbell Barton
Date:   Fri Jul 24 09:45:25 2015 +1000
Branches: master
https://developer.blender.org/rBea3dae74d870864f6e9d329056ad2b219ae9f81c

Cleanup: remove redundant __doc__ from bgl

===================================================================

M	source/blender/python/generic/bgl.c

===================================================================

diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c
index b24a29a..700b821 100644
--- a/source/blender/python/generic/bgl.c
+++ b/source/blender/python/generic/bgl.c
@@ -1425,8 +1425,8 @@ BGLU_Wrap(UnProject,         GLint,      (GLdouble, GLdouble, GLdouble, GLdouble
 /** \name Module Definition
  * \{ */
 
-#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS, "no string"}
-#define MethodDefu(func) {"glu"#func, Method_##func, METH_VARARGS, "no string"}
+#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS, NULL}
+#define MethodDefu(func) {"glu"#func, Method_##func, METH_VARARGS, NULL}
 /* So that MethodDef(Accum) becomes:
  * {"glAccum", Method_Accumfunc, METH_VARARGS} */




More information about the Bf-blender-cvs mailing list