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

removed unused store

parent 90d656ec
No related branches found
No related tags found
No related merge requests found
......@@ -82,8 +82,8 @@ static char free_persistent_data_memaddr_and_return_json_output_docstring[] =
"Frees the persistent_data memory and returns the json output";
static char free_store_memaddr_docstring[] =
"Frees the store memaddr";
static struct libbinary_c_store_t *store = NULL;
static char test_func_docstring[] =
"Function that contains random snippets. Do not expect this to remain available, or reliable. i.e. dont use it. ";
/* Initialize pyobjects */
......@@ -103,6 +103,9 @@ static PyObject* binary_c_return_persistent_data_memaddr(PyObject *self, PyObjec
// Free functions
static PyObject* binary_c_free_persistent_data_memaddr_and_return_json_output(PyObject *self, PyObject *args);
static PyObject* binary_c_free_store_memaddr(PyObject *self, PyObject *args);
static PyObject* binary_c_test_func(PyObject *self, PyObject *args);
/* Set the module functions */
static PyMethodDef module_methods[] = {
......@@ -122,6 +125,7 @@ static PyMethodDef module_methods[] = {
//
{"free_persistent_data_memaddr_and_return_json_output", binary_c_free_persistent_data_memaddr_and_return_json_output, METH_VARARGS, free_persistent_data_memaddr_and_return_json_output_docstring},
{"free_store_memaddr", binary_c_free_store_memaddr, METH_VARARGS, free_store_memaddr_docstring},
{"test_func", binary_c_test_func, METH_NOARGS, test_func_docstring},
//
{NULL, NULL, 0, NULL}
......@@ -477,6 +481,15 @@ static PyObject* binary_c_free_store_memaddr(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
static PyObject* binary_c_test_func(PyObject *self, PyObject *args)
{
// function to see if we can access the stability string
printf("%s", RLOF_stability_string(1));
Py_RETURN_NONE;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
/************************************************************
......
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