Seg fault in python extension module

sam samschul at pacbell.net
Sat Jun 3 05:38:41 CEST 2006


I recommend that you also replace the NULL after the METH_VARARGS with
a valid documentations string such as:

static PyMethodDef modglMethods[] =
       {
         { (char *)"glVertex4f", _wrap_glVertex4f, METH_VARARGS, "My
Doc String"},
         { NULL, NULL, 0, NULL }

      };

Sam Schulenburg




More information about the Python-list mailing list