pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2012-05-09
2012-05-09 22:59:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>
458d5522a0f34ea76fa976fde8734d6d6cfb91ef (
8
lines) (+
2
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
ADT.List: Fixed _get_iterator() some more.
4593:
loc.o = Pike_fp->current_object; loc.parent_identifier = Pike_fp->fun;
-
if (
loc.
parent_identifier == FUNCTION_BUILTIN) {
-
loc.
inherit =
loc.o->prog->inherits
-
+ loc.o->prog->num
_
inherits
-
1;
-
} else {
-
loc.inherit = INHERIT_FROM_INT(loc.o-
>
prog, loc.parent_identifier)
;
-
}
+
loc.inherit =
Pike
_
fp
->
context
;
find_external_context(&loc, 1); return (struct List_struct *)(loc.o->storage + loc.inherit->storage_offset);