mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3: Fix no init func in chmlib module
This commit is contained in:
parent
34192f9bf9
commit
237c64b9da
@ -3749,10 +3749,10 @@ static swig_module_info swig_module = {swig_types, 8, 0, 0, 0, 0};
|
|||||||
@(target):= _chmlib.so
|
@(target):= _chmlib.so
|
||||||
------------------------------------------------*/
|
------------------------------------------------*/
|
||||||
#if PY_VERSION_HEX >= 0x03000000
|
#if PY_VERSION_HEX >= 0x03000000
|
||||||
# define SWIG_init PyInit__chmlib
|
# define SWIG_init PyInit_chmlib
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# define SWIG_init init_chmlib
|
# define SWIG_init initchmlib
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#define SWIG_name "chmlib"
|
#define SWIG_name "chmlib"
|
||||||
@ -5754,7 +5754,7 @@ PyObject*
|
|||||||
#else
|
#else
|
||||||
void
|
void
|
||||||
#endif
|
#endif
|
||||||
initchmlib(void) {
|
SWIG_init(void) {
|
||||||
PyObject *m, *d, *md;
|
PyObject *m, *d, *md;
|
||||||
#if PY_VERSION_HEX >= 0x03000000
|
#if PY_VERSION_HEX >= 0x03000000
|
||||||
static struct PyModuleDef SWIG_module = {
|
static struct PyModuleDef SWIG_module = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user