1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-27 05:10:03 +00:00

Fix formatting.

Run make format.
This commit is contained in:
Calvin Rose 2019-09-30 19:59:35 -05:00
parent 7910a5feef
commit 944347e828
2 changed files with 38 additions and 39 deletions

View File

@ -422,8 +422,7 @@ static JanetSlot janetc_call(JanetFopts opts, JanetSlot *slots, JanetSlot fun) {
/* Check for bad arity type if fun is a constant */ /* Check for bad arity type if fun is a constant */
switch (janet_type(fun.constant)) { switch (janet_type(fun.constant)) {
case JANET_FUNCTION: case JANET_FUNCTION: {
{
JanetFunction *f = janet_unwrap_function(fun.constant); JanetFunction *f = janet_unwrap_function(fun.constant);
int32_t min = f->def->min_arity; int32_t min = f->def->min_arity;
int32_t max = f->def->max_arity; int32_t max = f->def->max_arity;