Commit 8732c047652536db4d63c4acd38bc315d3e8ab32

Thomas de Grivel 2023-11-11T16:46:23

wip module defmodule

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/libc3/module.h b/libc3/module.h
index 3e6b233..e3653d4 100644
--- a/libc3/module.h
+++ b/libc3/module.h
@@ -35,4 +35,9 @@ s_str *       module_path (const s_sym *module, const s_str *prefix,
 sw            module_path_size (const s_sym *module, const s_str *prefix);
 const s_sym * module_to_sym (const s_sym *module);
 
+/* Operations */
+bool          module_defmodule (const s_sym *name, const s_quote *block);
+bool          module_def (const s_sym *module, const s_sym *name,
+                          const s_quote *block);
+
 #endif /* MODULE_H */