Extracted from Pike v7.3 release 16 at 2002-03-05.
pike.roxen.com
[Top]
/master

Method /master()->handle_inherit()


Method handle_inherit

program /master()->handle_inherit(string pname, string current_file, object|void handler)

Description

This function is called whenever a inherit is called for. It is supposed to return the program to inherit. The first argument is the argument given to inherit, and the second is the file name of the program currently compiling. Note that the file name can be changed with #line, or set by compile_string, so it can not be 100% trusted to be a filename. previous_object(), can be virtually anything in this function, as it is called from the compiler.