1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 23:53:02 +00:00

initial slotsyms implementation

This commit is contained in:
Jona Ekenberg
2023-02-01 09:39:24 +01:00
parent dacbe29771
commit 88813c4f87
8 changed files with 162 additions and 1 deletions

View File

@@ -1031,6 +1031,7 @@ struct JanetFuncDef {
JanetSourceMapping *sourcemap;
JanetString source;
JanetString name;
Janet *slotsyms;
int32_t flags;
int32_t slotcount; /* The amount of stack space required for the function */
@@ -1041,6 +1042,7 @@ struct JanetFuncDef {
int32_t bytecode_length;
int32_t environments_length;
int32_t defs_length;
int32_t slotsyms_length;
};
/* A function environment */