Method lfun::create()

Method create

void lfun:create(__unknown__ ... args)


Object creation callback.

This function is called right after lfun::__INIT().

args are the arguments passed when the program was called.


If there exists an implicitly created lfun::__create__() its arguments will be prepended to args (affecting the prototype for lfun::create()), and a call to it will be prepended to the code of lfun::create().


In Pike 8.0 and earlier the code equivalent to lfun::__create__() was inlined at the beginning of lfun::create().


If this function does not exist, but lfun::__create__() does, it will instead be called directly.

See also

lfun::__create__(), lfun::__INIT(), lfun::_destruct()