Fix warning in generated C code (#667)
This commit is contained in:
@@ -1139,7 +1139,7 @@ static struct PyModuleDef ModuleDef = {{
|
||||
ModuleMethods
|
||||
}};
|
||||
|
||||
PyMODINIT_FUNC PyInit_{kernel_name}() {{
|
||||
PyMODINIT_FUNC PyInit_{kernel_name}(void) {{
|
||||
PyObject *m = PyModule_Create(&ModuleDef);
|
||||
if(m == NULL) {{
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user