Loading src/binary_c_python.c +6 −6 Original line number Diff line number Diff line Loading @@ -129,18 +129,18 @@ static PyMethodDef module_methods[] = { /* Initialise the module. Removed the part which supports python 2 here on 17-03-2020 */ /* Python 3+ */ static struct PyModuleDef Py_binary_c_python_api = static struct PyModuleDef Py__binary_c_bindings = { PyModuleDef_HEAD_INIT, "binary_c_python_api", /* name of module */ "binary_c_python_api docs", /* module documentation, may be NULL */ "_binary_c_bindings", /* name of module */ "TODO", /* module documentation, may be NULL */ -1, /* size of per-interpreter state of the module, or -1 if the module keeps state in global variables. */ module_methods }; PyMODINIT_FUNC PyInit_binary_c_python_api(void) PyMODINIT_FUNC PyInit__binary_c_bindings(void) { return PyModule_Create(&Py_binary_c_python_api); return PyModule_Create(&Py__binary_c_bindings); } /* ============================================================================== */ Loading Loading
src/binary_c_python.c +6 −6 Original line number Diff line number Diff line Loading @@ -129,18 +129,18 @@ static PyMethodDef module_methods[] = { /* Initialise the module. Removed the part which supports python 2 here on 17-03-2020 */ /* Python 3+ */ static struct PyModuleDef Py_binary_c_python_api = static struct PyModuleDef Py__binary_c_bindings = { PyModuleDef_HEAD_INIT, "binary_c_python_api", /* name of module */ "binary_c_python_api docs", /* module documentation, may be NULL */ "_binary_c_bindings", /* name of module */ "TODO", /* module documentation, may be NULL */ -1, /* size of per-interpreter state of the module, or -1 if the module keeps state in global variables. */ module_methods }; PyMODINIT_FUNC PyInit_binary_c_python_api(void) PyMODINIT_FUNC PyInit__binary_c_bindings(void) { return PyModule_Create(&Py_binary_c_python_api); return PyModule_Create(&Py__binary_c_bindings); } /* ============================================================================== */ Loading