In INIT, EXIT and some gc callbacks the fun in Pike_fp is set to
FUNCTION_BUILTIN. there are some places in the code (e.g.
ADT.List()->_get_iterator) where ->fun is used in INHERIT_FROM_INT et
al, which segfaults (except with PIKE_DEBUG). I am not sure where to
fix this. Should the *_FROM_INT macros check for FUNCTION_BUILTIN
or is this better to be handled in the individual INIT/EXIT methods ?

does anyone object to making ADT.Stack and ADT.Queue inherit ADT.List?

arne
  • pike_frame->fun = ... Arne Goedeke

Reply via email to