diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-04-05 20:50:08 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-04-05 20:50:08 +0400 |
commit | bc060ca26f07135f73b51d93d783a9085889dff5 (patch) | |
tree | 8ab20b0f00b1fcf4b7a4c8ac6907fdd1daca07d3 /source | |
parent | 46527011d2691e1ccf96ac8d1f37ab4540239ab7 (diff) |
remove 6 trillion warnings about missing initializers.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/BGL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/BGL.c b/source/blender/python/api2_2x/BGL.c index 493d658ff4e..d553d077e24 100644 --- a/source/blender/python/api2_2x/BGL.c +++ b/source/blender/python/api2_2x/BGL.c @@ -669,7 +669,7 @@ BGL_Wrap(4, Viewport, void, (GLint, GLint, GLsizei, GLsizei)) /* #endif */ #undef MethodDef -#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS} +#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS, "no string"} /* So that MethodDef(Accum) becomes: * {"glAccum", Method_Accumfunc, METH_VARARGS} */ @@ -995,7 +995,7 @@ static struct PyMethodDef BGL_methods[] = { /* #endif */ - {NULL, NULL} + {NULL, NULL, 0, NULL} }; PyObject *BGL_Init(void) |