pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:2760:    call_lfun: {    int lfun;   #ifdef PIKE_DEBUG    if(fun < 0 || fun >= NUM_LFUNS)    Pike_fatal("Apply lfun on illegal value!\n");   #endif    if(!o->prog)    PIKE_ERROR("destructed object", "Apply on destructed object.\n", Pike_sp, args);    lfun = FIND_LFUN(o->prog, fun);    if (lfun < 0) -  Pike_error ("Cannot call undefined lfun %s.\n", lfun_names[fun]); +  Pike_error ("Cannot call undefined lfun %S.\n", lfun_strings[fun]);    fun = lfun;    goto apply_low;    }       case APPLY_LOW:    o = (struct object *)arg1;    fun = PTR_TO_INT(arg2);    if(o->prog == pike_trampoline_program &&    fun == QUICK_FIND_LFUN(pike_trampoline_program, LFUN_CALL))    {
pike.git/src/interpret.c:3449:   }      PMOD_EXPORT void apply_lfun(struct object *o, int lfun, int args)   {    int fun;    if(!o->prog)    PIKE_ERROR("destructed object", "Apply on destructed object.\n",    Pike_sp, args);       if ((fun = (int)FIND_LFUN(o->prog, lfun)) < 0) -  Pike_error("Calling undefined lfun::%s.\n", lfun_names[lfun]); +  Pike_error("Calling undefined lfun::%S.\n", lfun_strings[lfun]);       apply_low(o, fun, args);   }      PMOD_EXPORT void apply_shared(struct object *o,    struct pike_string *fun,    int args)   {    int id = find_shared_string_identifier(fun, o->prog);    if (id >= 0)