aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-28 17:56:24 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-28 17:56:24 +0300
commit0f0601d64aee294bcd27c757a0cdf7b1ad0e0ba0 (patch)
tree736255d6a983bd03a0ba985541d78bdfc41a062e /src
parent9756ebfe2e6270514f4eb4afb4f9867ae7589e36 (diff)
downloadcsx-0f0601d64aee294bcd27c757a0cdf7b1ad0e0ba0.tar
csx-0f0601d64aee294bcd27c757a0cdf7b1ad0e0ba0.tar.xz
csx-0f0601d64aee294bcd27c757a0cdf7b1ad0e0ba0.zip
csxbind free added.
Diffstat (limited to 'src')
-rw-r--r--src/csxbind.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/csxbind.c b/src/csxbind.c
index 8e31585..a668dbf 100644
--- a/src/csxbind.c
+++ b/src/csxbind.c
@@ -38,12 +38,10 @@ char *_exit;
static csxi csx;
-static int initialised = 0;
-void init()
+void csxbind_init()
{
- initialised = 1;
csx_init(&csx);
csxbasenames *n = &csx.basenames;
name = n->name;
@@ -80,6 +78,11 @@ void init()
_exit = n->_exit;
}
+void csxbind_free()
+{
+ csx_free(&csx);
+}
+
csxpair *L(void *head, ...)
{