python-libburn now imports successfully
This commit is contained in:
parent
b8ec7cb960
commit
f3194a853f
@ -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…
Reference in New Issue
Block a user