pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.c:158:
"the NULL value":get_name_of_type(TYPEOF(*what)), ind->u.string); else Pike_error ("Cannot index %s with %s.\n", (TYPEOF(*what) == T_INT && !what->u.integer)? "the NULL value":get_name_of_type(TYPEOF(*what)), get_name_of_type (TYPEOF(*ind))); } }
-
void o_index(void)
+
PMOD_EXPORT
void o_index(void)
{ struct svalue s; index_no_free(&s,sp-2,sp-1); pop_n_elems(2); *sp=s; dmalloc_touch_svalue(sp); sp++; dmalloc_touch_svalue(Pike_sp-1); }