pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:3076:    if (TYPEOF(Pike_sp[1-args]) != PIKE_T_TYPE) {    Pike_error("Bad argument 2 to __low_check_call() expected type.\n");    }    if (args > 2) {    if (TYPEOF(Pike_sp[2-args]) != PIKE_T_INT) {    Pike_error("Bad argument 3 to __low_check_call() expected int.\n");    }    flags = Pike_sp[2-args].u.integer ^ CALL_NOT_LAST_ARG;    }    if (args > 3) sval = Pike_sp + 3 - args; -  LOW_INIT_CALL_STATE(cs, 1); +  LOW_INIT_CALL_STATE(cs, 1, NULL);    if (!(res = low_new_check_call(Pike_sp[-args].u.type,    Pike_sp[1-args].u.type,    flags, &cs, sval))) {    pop_n_elems(args);    push_undefined();    } else {    pop_n_elems(args);    push_type_value(res);    }    FREE_CALL_STATE(cs);