diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-12-23 08:57:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:37:00 +0200 |
commit | 902a81528b9d2edcf93226a2ca13da6fcc1839e5 (patch) | |
tree | ea868fae662aab61f1caa50b16a8b02fe1e6836b /include/program.h | |
parent | 111bd0c7cb4b446c4bfe192b1df82845de17c005 (diff) |
wip: function pointers and other stuff
Diffstat (limited to 'include/program.h')
-rw-r--r-- | include/program.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/program.h b/include/program.h index dc65cb7..9104898 100644 --- a/include/program.h +++ b/include/program.h @@ -68,7 +68,7 @@ typedef struct { ArenaAllocator allocator; /* Owned. Used by @extern_funcs_map */ HashMapType(BufferView, ProgramExternFunc) extern_funcs_map; - /* key=((func_index<<32)&funcs_start), value=Buffer<u32=current_code_index> */ + /* key=((func_index<<32)|funcs_start), value=Buffer<u32=current_code_index> */ HashMapType(u64, Buffer) deferred_func_calls; i8 return_values_stack[AMAL_PROGRAM_MAX_RETURN_VALUES]; int return_value_index; |