support python 2.4
This commit is contained in:
parent
923c9929a1
commit
83155fc832
|
|
@ -444,7 +444,7 @@ void Dtool_PyModuleInitHelper( LibrayDef *defs[], const char * modulename)
|
|||
newdef[offset].ml_meth = NULL;
|
||||
newdef[offset].ml_flags = 0;
|
||||
|
||||
PyObject * module = Py_InitModule(modulename,newdef);
|
||||
PyObject * module = Py_InitModule((char *)modulename,newdef);
|
||||
|
||||
if(module == NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue