aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-03 23:38:47 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-03 23:38:47 +0300
commit76ad99e0aa3fc5dd079dcf1b2f232c2a5f390372 (patch)
treed4f0d7b5a14042e8ff4667e3278890737be0db51 /include
parentfdb7b619342067116618abd68f83dd7ff1b0e033 (diff)
downloadcsx-76ad99e0aa3fc5dd079dcf1b2f232c2a5f390372.tar
csx-76ad99e0aa3fc5dd079dcf1b2f232c2a5f390372.tar.xz
csx-76ad99e0aa3fc5dd079dcf1b2f232c2a5f390372.zip
.
Diffstat (limited to 'include')
-rw-r--r--include/csx.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/csx.h b/include/csx.h
index 836ee6a..56a0114 100644
--- a/include/csx.h
+++ b/include/csx.h
@@ -5,13 +5,16 @@
typedef void *(csx_list_fn)(void *head, ...);
void *csx_list(void *head, ...);
-typedef int *(csx_num_fn)(int num);
-int *csx_num(int num);
+typedef void *(csx_dot_fn)(void *a, void *b, void *c, ...);
+void *csx_dot(void *a, void *b, void *c, ...);
-void *csx_eval(void *expression);
+typedef int *(csx_int_fn)(int num);
+int *csx_int(int num);
+
+void *csx_run(void *expression);
typedef void *(*csx_base_data)(void *arg);
-void *csx_base(csx_base_data base);
+csx_base_data *csx_base(csx_base_data base);
char *csx_name(const char *name);