Seg fault in python extension module

sam samschul at pacbell.net
Fri Jun 2 23:38:41 EDT 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