Commit cf5113561a2c345f86898476b607d0df9d2b594b

Thomas de Grivel 2023-01-21T08:51:48

wip struct

diff --git a/libc3/types.h b/libc3/types.h
index 5ce58b7..3f4856d 100644
--- a/libc3/types.h
+++ b/libc3/types.h
@@ -102,6 +102,7 @@ typedef struct list                    s_list_map;
 typedef struct log                     s_log;
 typedef struct module                  s_module;
 typedef struct str                     s_str;
+typedef struct struct_                 s_struct;
 typedef struct sym                     s_sym;
 typedef struct sym_list                s_sym_list;
 typedef struct tag                     s_tag;
@@ -174,6 +175,13 @@ union ptr_w {
   u8   *pu8;
 };
 
+struct struct_ {
+  void *data;
+  uw count;
+  s_module *module;
+  s_ident *type;
+};
+
 struct sym_list {
   s_sym *sym;
   s_sym_list *next;