pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
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); } }