aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-28 18:05:55 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-28 18:05:55 +0300
commit23350cf68d90a715bbd657bbf0f26f581fb93e83 (patch)
treed22fb4f1c430386b2777b47b07a29c60af727979 /examples
parent0f0601d64aee294bcd27c757a0cdf7b1ad0e0ba0 (diff)
downloadcsx-23350cf68d90a715bbd657bbf0f26f581fb93e83.tar
csx-23350cf68d90a715bbd657bbf0f26f581fb93e83.tar.xz
csx-23350cf68d90a715bbd657bbf0f26f581fb93e83.zip
Ackermann fix.
Diffstat (limited to 'examples')
-rw-r--r--examples/ackermann.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/ackermann.c b/examples/ackermann.c
index 08acd4d..97aab40 100644
--- a/examples/ackermann.c
+++ b/examples/ackermann.c
@@ -4,7 +4,7 @@
int main()
{
- init();
+ csxbind_init();
char *m = N("m");
char *n = N("n");
char *ackermann = N("ackermann");
@@ -19,7 +19,8 @@ int main()
0),
0),
0), 0),
- L(ackermann, I(3), I(7), 0),
+ L(ackermann, I(3), I(3), 0),
0)));
+ csxbind_free();
return 0;
}