Browse Source

python-libburn now imports successfully

master
Aren Olson 13 years ago
parent
commit
cead9a6032
  1. 13
      python-libburn/pyburn.cpp

13
python-libburn/pyburn.cpp

@ -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;
}

Loading…
Cancel
Save