summaryrefslogtreecommitdiff
path: root/lisp_api.h
diff options
context:
space:
mode:
authorFelix Perktold <Felix.Perktold@student.uibk.ac.at>2026-01-18 15:47:48 +0100
committerFelix Perktold <Felix.Perktold@student.uibk.ac.at>2026-01-18 15:47:48 +0100
commitdb3fdda53f16644181a6c68b3e9152af9b300066 (patch)
treef9d3c5c9d9f9752582d162d08c9b0d025a6c6ceb /lisp_api.h
parentb86d3361836935297c6aedb0318ed8a34e4c52f0 (diff)
add module system to load .so with load_module builtin
Diffstat (limited to 'lisp_api.h')
-rw-r--r--lisp_api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp_api.h b/lisp_api.h
index 70d317b..6361031 100644
--- a/lisp_api.h
+++ b/lisp_api.h
@@ -49,4 +49,11 @@ value *car(value *cons);
value *cdr(value *cons);
value *reverse(value *list);
+typedef struct {
+ const char *name;
+ value *v;
+} module_export;
+
+module_export *module_init();
+
#endif