pike.git / src / backend.cmod

version» Context lines:

pike.git/src/backend.cmod:978:    *! @seealso    *! @[remove_call_out()], @[find_call_out()], @[call_out_info()],    *! @[CallOut]    */    PIKEFUN array call_out(mixed f, int|float t, mixed ... rest)    {    struct svalue tmp;    struct object *co;    struct Backend_CallOut_struct *c;    -  if(args<2) -  SIMPLE_WRONG_NUM_ARGS_ERROR("call_out", 2); -  +     if(TYPEOF(*t) != T_INT && TYPEOF(*t) != T_FLOAT)    SIMPLE_ARG_TYPE_ERROR("call_out", 2, "int|float");       /* Swap, for compatibility */    tmp = Pike_sp[-args];    Pike_sp[-args] = Pike_sp[1-args];    Pike_sp[1-args] = tmp;       apply_current(Backend_CallOut_program_fun_num, args);    args = 1;