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:
parent
7910a5feef
commit
944347e828
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user