summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 56d1b5f1..f8331b4e 100644
--- a/lib.h
+++ b/lib.h
@@ -99,10 +99,16 @@ struct string {
val alloc;
};
+#define SLOT_CACHE_SIZE 32
+
+typedef cnum slot_cache_line_t[2];
+typedef slot_cache_line_t *slot_cache_t;
+
struct sym {
obj_common;
val name;
val package;
+ slot_cache_t slot_cache;
};
struct package {