1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 04:19:55 +00:00

Update marshal to take 3 arguments.

This commit is contained in:
Calvin Rose 2020-02-15 10:04:44 -06:00
parent b9a2bb8104
commit a360cb7922

View File

@ -1274,7 +1274,7 @@ static Janet cfun_env_lookup(int32_t argc, Janet *argv) {
} }
static Janet cfun_marshal(int32_t argc, Janet *argv) { static Janet cfun_marshal(int32_t argc, Janet *argv) {
janet_arity(argc, 1, 2); janet_arity(argc, 1, 3);
JanetBuffer *buffer; JanetBuffer *buffer;
JanetTable *rreg = NULL; JanetTable *rreg = NULL;
if (argc > 1) { if (argc > 1) {