Skip to content
Snippets Groups Projects
Commit 5f6f9f6b authored by David Hendriks's avatar David Hendriks
Browse files

adjusted the c_bindings to a different name

parent e6950ba4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/* ============================================================================== */
......@@ -276,7 +276,7 @@ static PyObject* binary_c_run_system(PyObject *self, PyObject *args, PyObject *k
"Error (in function: binary_c_run_system): %s\n",
error_buffer);
}
Safe_free(buffer);
Safe_free(error_buffer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment