Skip to content

Commit

Permalink
argsnum bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 14, 2023
1 parent d17c137 commit 593d721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/juvix/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
error_exit(); \
} while (0)

#define JUVIX_ARGS_NUM(var, val) (var = get_closure_largs(val))
#define JUVIX_ARGS_NUM(var, val) (var = make_smallint(get_closure_largs(val)))

#define JUVIX_ALLOC_INT(var, val) (var = make_smallint(val))
// ALLOC_CONSTR_BOXED(var, uid, nargs)
Expand Down

0 comments on commit 593d721

Please sign in to comment.