Commit 5f6f9f6b authored by David Hendriks's avatar David Hendriks
Browse files

adjusted the c_bindings to a different name

parent e6950ba4
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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);
}

/* ============================================================================== */