pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:2613:    *!    *! @seealso    *! @[lfun::_random()]    */    PIKEFUN mixed random(object o)    {    int f = low_find_lfun(o->prog, LFUN__RANDOM);    struct object *co;       if (f < 0) -  Pike_error("Calling undefined lfun::%s.\n", lfun_names[LFUN__RANDOM]); +  Pike_error("Calling undefined lfun::%S.\n", lfun_strings[LFUN__RANDOM]);       co = Pike_fp->current_object;    ref_push_function(co, f_RandomInterface_random_string_fun_num);    /* FIXME: precompiler doesn't generate usable fun_nums for variant    symbols. */    ref_push_function(co, find_shared_string_identifier(MK_STRING("random"),    co->prog));    apply_low(o, f, 2);    }   }