aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-05 22:16:50 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-05 22:16:50 +0300
commit1afd0cdc7820d9c3a9ae032ea40545d7d32bf9bf (patch)
tree949ee5d2423088fcda8fc958e31e36f8de727d92 /include
parent5d7eed48337ff1f9a30118f5d8be67c641bbfcf8 (diff)
downloadcsx-1afd0cdc7820d9c3a9ae032ea40545d7d32bf9bf.tar
csx-1afd0cdc7820d9c3a9ae032ea40545d7d32bf9bf.tar.xz
csx-1afd0cdc7820d9c3a9ae032ea40545d7d32bf9bf.zip
String type added.
Diffstat (limited to 'include')
-rw-r--r--include/csx.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/csx.h b/include/csx.h
index 8d1e8f0..20f31fd 100644
--- a/include/csx.h
+++ b/include/csx.h
@@ -5,12 +5,15 @@
typedef void *(csx_list_fn)(void *head, ...);
void *csx_list(void *head, ...);
-typedef void *(csx_dot_fn)(void *a, void *b, void *c, ...);
-void *csx_dot(void *a, void *b, void *c, ...);
+typedef void *(csx_pair_fn)(void *a, void *b, void *c, ...);
+void *csx_pair(void *a, void *b, void *c, ...);
typedef int *(csx_int_fn)(int num);
int *csx_int(int num);
+typedef double *(csx_float_fn)(double num);
+double *csx_float(double num);
+
void *csx_run(void *expression);
typedef void *(*csx_base_data)(void *arg);
@@ -18,7 +21,7 @@ csx_base_data *csx_base(csx_base_data base);
char *csx_name(const char *name);
-void *csx_str(const char *str);
+char *csx_str(const char *str);
#endif