python-libburn now imports successfully

This commit is contained in:
Aren Olson 2009-06-09 22:46:02 +00:00
parent ccf0b07927
commit cead9a6032
1 changed files with 7 additions and 6 deletions

View File

@ -3069,10 +3069,10 @@ PyTypeObject PyBurnBurn_toc_entry_Type = {
static PyObject *
initburn_burn(void)
initpyburn_burn(void)
{
PyObject *m;
m = Py_InitModule3((char *) "burn.burn", burn_burn_functions, NULL);
m = Py_InitModule3((char *) "pyburn.burn", burn_burn_functions, NULL);
if (m == NULL) {
return NULL;
}
@ -3156,26 +3156,27 @@ static PyObject *
initburn_std(void)
{
PyObject *m;
m = Py_InitModule3((char *) "burn.std", burn_std_functions, NULL);
m = Py_InitModule3((char *) "pyburn.std", burn_std_functions, NULL);
if (m == NULL) {
return NULL;
}
return m;
}
static PyMethodDef burn_functions[] = {
{NULL, NULL, 0, NULL}
};
PyMODINIT_FUNC
initburn(void)
initpyburn(void)
{
PyObject *m;
PyObject *submodule;
m = Py_InitModule3((char *) "burn", burn_functions, NULL);
m = Py_InitModule3((char *) "pyburn", burn_functions, NULL);
if (m == NULL) {
return;
}
submodule = initburn_burn();
submodule = initpyburn_burn();
if (submodule == NULL) {
return;
}