Loading binary_c_python.c +4 −4 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ static struct libbinary_c_store_t *store = NULL; static PyObject* binary_c_create_binary(PyObject *self, PyObject *args); #endif static PyObject* binary_c_run_binary(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_with_logfile(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_custom_logging(PyObject *self, PyObject *args); static PyObject* binary_c_function_prototype(PyObject *self, PyObject *args); static PyObject* binary_c_new_binary_system(PyObject *self, PyObject *args); Loading @@ -70,7 +70,7 @@ static PyMethodDef module_methods[] = { }, #endif {"run_binary", binary_c_run_binary, METH_VARARGS, run_binary_docstring}, {"run_binary_with_log", binary_c_run_binary_with_log, METH_VARARGS, run_binary_with_logdocstring}, {"run_binary_with_logfile", binary_c_run_binary_with_logfile, METH_VARARGS, run_binary_with_logdocstring}, {"run_binary_custom_logging", binary_c_run_binary_custom_logging, METH_VARARGS, run_binary_custom_loggingdocstring}, {"function_prototype", binary_c_function_prototype, METH_VARARGS, function_prototype_docstring}, {"new_system", binary_c_new_binary_system, METH_VARARGS, new_binary_system_docstring}, Loading Loading @@ -261,7 +261,7 @@ static PyObject* binary_c_run_binary_custom_logging(PyObject *self, PyObject *ar } } static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args) static PyObject* binary_c_run_binary_with_logfile(PyObject *self, PyObject *args) { /* Parse the input tuple */ char *argstring; Loading @@ -275,7 +275,7 @@ static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args) char * buffer; char * error_buffer; size_t nbytes; int out MAYBE_UNUSED = run_binary_with_log(argstring, int out MAYBE_UNUSED = run_binary_with_logfile(argstring, &buffer, &error_buffer, &nbytes); Loading binary_c_python.h +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ int run_binary (char * argstring, char ** const errorstring, size_t * const nbytes); int run_binary_with_log (char * argstring, int run_binary_with_logfile (char * argstring, char ** const outstring, char ** const errorstring, size_t * const nbytes); Loading binary_c_python_api.c +1 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ int return_arglines(char ** const buffer, return 0; } int run_binary_with_log(char * argstring, int run_binary_with_logfile(char * argstring, char ** const buffer, char ** const error_buffer, size_t * const nbytes) Loading Loading
binary_c_python.c +4 −4 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ static struct libbinary_c_store_t *store = NULL; static PyObject* binary_c_create_binary(PyObject *self, PyObject *args); #endif static PyObject* binary_c_run_binary(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_with_logfile(PyObject *self, PyObject *args); static PyObject* binary_c_run_binary_custom_logging(PyObject *self, PyObject *args); static PyObject* binary_c_function_prototype(PyObject *self, PyObject *args); static PyObject* binary_c_new_binary_system(PyObject *self, PyObject *args); Loading @@ -70,7 +70,7 @@ static PyMethodDef module_methods[] = { }, #endif {"run_binary", binary_c_run_binary, METH_VARARGS, run_binary_docstring}, {"run_binary_with_log", binary_c_run_binary_with_log, METH_VARARGS, run_binary_with_logdocstring}, {"run_binary_with_logfile", binary_c_run_binary_with_logfile, METH_VARARGS, run_binary_with_logdocstring}, {"run_binary_custom_logging", binary_c_run_binary_custom_logging, METH_VARARGS, run_binary_custom_loggingdocstring}, {"function_prototype", binary_c_function_prototype, METH_VARARGS, function_prototype_docstring}, {"new_system", binary_c_new_binary_system, METH_VARARGS, new_binary_system_docstring}, Loading Loading @@ -261,7 +261,7 @@ static PyObject* binary_c_run_binary_custom_logging(PyObject *self, PyObject *ar } } static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args) static PyObject* binary_c_run_binary_with_logfile(PyObject *self, PyObject *args) { /* Parse the input tuple */ char *argstring; Loading @@ -275,7 +275,7 @@ static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args) char * buffer; char * error_buffer; size_t nbytes; int out MAYBE_UNUSED = run_binary_with_log(argstring, int out MAYBE_UNUSED = run_binary_with_logfile(argstring, &buffer, &error_buffer, &nbytes); Loading
binary_c_python.h +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ int run_binary (char * argstring, char ** const errorstring, size_t * const nbytes); int run_binary_with_log (char * argstring, int run_binary_with_logfile (char * argstring, char ** const outstring, char ** const errorstring, size_t * const nbytes); Loading
binary_c_python_api.c +1 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ int return_arglines(char ** const buffer, return 0; } int run_binary_with_log(char * argstring, int run_binary_with_logfile(char * argstring, char ** const buffer, char ** const error_buffer, size_t * const nbytes) Loading