diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-15 22:20:39 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-15 22:20:39 -0500 |
commit | ae997062bc5e527283ec762085fc780dcdd65ea1 (patch) | |
tree | d73f9d2d1bbfa9ac9cc5b9bc6b927dcb30a80848 | |
parent | b543b9a80fdb15a03d13c863391dbeff46e804d7 (diff) |
fixed disabling foreign
-rw-r--r-- | foreign.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -316,8 +316,9 @@ static bool foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *fn_type, Val } #else -static void ffmgr_create(ForeignFnManager *ffmgr) { +static void ffmgr_create(ForeignFnManager *ffmgr, Allocator *allocr) { (void)ffmgr; + (void)allocr; } static bool foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *fn_type, Value *args, Location call_where, Value *ret) { |