From 902a81528b9d2edcf93226a2ca13da6fcc1839e5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Dec 2019 08:57:48 +0100 Subject: wip: function pointers and other stuff --- include/program.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/program.h') 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 */ + /* key=((func_index<<32)|funcs_start), value=Buffer */ HashMapType(u64, Buffer) deferred_func_calls; i8 return_values_stack[AMAL_PROGRAM_MAX_RETURN_VALUES]; int return_value_index; -- cgit v1.2.3