Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary_c-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Izzard, Robert Dr (Maths & Physics)
binary_c-python
Commits
6e980973
Commit
6e980973
authored
5 years ago
by
David Hendriks
Browse files
Options
Downloads
Patches
Plain Diff
renamed function
parent
b0c51327
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
binary_c_python.c
+4
-4
4 additions, 4 deletions
binary_c_python.c
binary_c_python.h
+1
-1
1 addition, 1 deletion
binary_c_python.h
binary_c_python_api.c
+1
-1
1 addition, 1 deletion
binary_c_python_api.c
with
6 additions
and
6 deletions
binary_c_python.c
+
4
−
4
View file @
6e980973
...
@@ -48,7 +48,7 @@ static struct libbinary_c_store_t *store = NULL;
...
@@ -48,7 +48,7 @@ static struct libbinary_c_store_t *store = NULL;
static
PyObject
*
binary_c_create_binary
(
PyObject
*
self
,
PyObject
*
args
);
static
PyObject
*
binary_c_create_binary
(
PyObject
*
self
,
PyObject
*
args
);
#endif
#endif
static
PyObject
*
binary_c_run_binary
(
PyObject
*
self
,
PyObject
*
args
);
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_log
file
(
PyObject
*
self
,
PyObject
*
args
);
static
PyObject
*
binary_c_run_binary_custom_logging
(
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_function_prototype
(
PyObject
*
self
,
PyObject
*
args
);
static
PyObject
*
binary_c_new_binary_system
(
PyObject
*
self
,
PyObject
*
args
);
static
PyObject
*
binary_c_new_binary_system
(
PyObject
*
self
,
PyObject
*
args
);
...
@@ -70,7 +70,7 @@ static PyMethodDef module_methods[] = {
...
@@ -70,7 +70,7 @@ static PyMethodDef module_methods[] = {
},
},
#endif
#endif
{
"run_binary"
,
binary_c_run_binary
,
METH_VARARGS
,
run_binary_docstring
},
{
"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_log
file
"
,
binary_c_run_binary_with_log
file
,
METH_VARARGS
,
run_binary_with_logdocstring
},
{
"run_binary_custom_logging"
,
binary_c_run_binary_custom_logging
,
METH_VARARGS
,
run_binary_custom_loggingdocstring
},
{
"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
},
{
"function_prototype"
,
binary_c_function_prototype
,
METH_VARARGS
,
function_prototype_docstring
},
{
"new_system"
,
binary_c_new_binary_system
,
METH_VARARGS
,
new_binary_system_docstring
},
{
"new_system"
,
binary_c_new_binary_system
,
METH_VARARGS
,
new_binary_system_docstring
},
...
@@ -261,7 +261,7 @@ static PyObject* binary_c_run_binary_custom_logging(PyObject *self, PyObject *ar
...
@@ -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_log
file
(
PyObject
*
self
,
PyObject
*
args
)
{
{
/* Parse the input tuple */
/* Parse the input tuple */
char
*
argstring
;
char
*
argstring
;
...
@@ -275,7 +275,7 @@ static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args)
...
@@ -275,7 +275,7 @@ static PyObject* binary_c_run_binary_with_log(PyObject *self, PyObject *args)
char
*
buffer
;
char
*
buffer
;
char
*
error_buffer
;
char
*
error_buffer
;
size_t
nbytes
;
size_t
nbytes
;
int
out
MAYBE_UNUSED
=
run_binary_with_log
(
argstring
,
int
out
MAYBE_UNUSED
=
run_binary_with_log
file
(
argstring
,
&
buffer
,
&
buffer
,
&
error_buffer
,
&
error_buffer
,
&
nbytes
);
&
nbytes
);
...
...
This diff is collapsed.
Click to expand it.
binary_c_python.h
+
1
−
1
View file @
6e980973
...
@@ -14,7 +14,7 @@ int run_binary (char * argstring,
...
@@ -14,7 +14,7 @@ int run_binary (char * argstring,
char
**
const
errorstring
,
char
**
const
errorstring
,
size_t
*
const
nbytes
);
size_t
*
const
nbytes
);
int
run_binary_with_log
(
char
*
argstring
,
int
run_binary_with_log
file
(
char
*
argstring
,
char
**
const
outstring
,
char
**
const
outstring
,
char
**
const
errorstring
,
char
**
const
errorstring
,
size_t
*
const
nbytes
);
size_t
*
const
nbytes
);
...
...
This diff is collapsed.
Click to expand it.
binary_c_python_api.c
+
1
−
1
View file @
6e980973
...
@@ -200,7 +200,7 @@ int return_arglines(char ** const buffer,
...
@@ -200,7 +200,7 @@ int return_arglines(char ** const buffer,
return
0
;
return
0
;
}
}
int
run_binary_with_log
(
char
*
argstring
,
int
run_binary_with_log
file
(
char
*
argstring
,
char
**
const
buffer
,
char
**
const
buffer
,
char
**
const
error_buffer
,
char
**
const
error_buffer
,
size_t
*
const
nbytes
)
size_t
*
const
nbytes
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment