mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
void can't return...
This commit is contained in:
parent
e991bbad43
commit
c00900e723
|
@ -122,11 +122,11 @@ initmyextension(void)
|
|||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
module = PyModule_Create(&xlntpyarrow_def);
|
||||
return module;
|
||||
#else
|
||||
module = Py_InitModule("xlntpyarrow", xlntpyarrow_methods);
|
||||
return;
|
||||
#endif
|
||||
|
||||
return module;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
|
Loading…
Reference in New Issue
Block a user