mirror of
https://github.com/janet-lang/janet
synced 2025-11-20 17:24:48 +00:00
More small changes to help with cross compilation
via makefile. Add option to turn off built in getline via janetconf.
This commit is contained in:
@@ -104,7 +104,7 @@ enum JanetInstructionType janet_instructions[JOP_INSTRUCTION_COUNT] = {
|
||||
};
|
||||
|
||||
/* Verify some bytecode */
|
||||
int32_t janet_verify(JanetFuncDef *def) {
|
||||
int janet_verify(JanetFuncDef *def) {
|
||||
int vargs = !!(def->flags & JANET_FUNCDEF_FLAG_VARARG);
|
||||
int32_t i;
|
||||
int32_t maxslot = def->arity + vargs;
|
||||
|
||||
Reference in New Issue
Block a user