Remove unneeded code.

This commit is contained in:
Thomas Heller 2009-04-16 06:26:33 +00:00
parent 6076d399b4
commit 4954ffd98d
3 changed files with 0 additions and 18 deletions

View File

@ -5606,11 +5606,6 @@ init_ctypes(void)
Py_INCREF(PyExc_ArgError);
PyModule_AddObject(m, "ArgumentError", PyExc_ArgError);
}
/*************************************************
*
* Others...
*/
init_callbacks_in_module(m);
}
/*****************************************************************

View File

@ -466,17 +466,6 @@ CThunkObject *AllocFunctionCallback(PyObject *callable,
return NULL;
}
/****************************************************************************
*
* callback objects: initialization
*/
void init_callbacks_in_module(PyObject *m)
{
if (PyType_Ready((PyTypeObject *)&PyType_Type) < 0)
return;
}
#ifdef MS_WIN32
static void LoadPython(void)

View File

@ -189,8 +189,6 @@ extern PyTypeObject StructType_Type;
extern PyObject *
CreateArrayType(PyObject *itemtype, Py_ssize_t length);
extern void init_callbacks_in_module(PyObject *m);
extern PyMethodDef module_methods[];
extern CThunkObject *AllocFunctionCallback(PyObject *callable,