From c100aa6d3f948948ff83c3a845e744a0427caa2a Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 9 Dec 2020 00:39:11 +0000
Subject: [PATCH] removed unused store

---
 src/binary_c_python.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/binary_c_python.c b/src/binary_c_python.c
index 477f3705c..97547ef2c 100644
--- a/src/binary_c_python.c
+++ b/src/binary_c_python.c
@@ -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;
+}
+
 /////////////////////////////////////////////////////////////////////////////////////////////////////////
 
 /************************************************************
-- 
GitLab