pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

function_object()


Method function_object

object function_object(function f)

Description

Return the object the function f is in.

If f is a global function defined in the runtime 0 (zero) will be returned.

Zero will also be returned if f is a constant in the parent class. In that case function_program() can be used to get the parent program.

See also

function_name() , function_program()

Module reference for Pike v7.8 release 116, 2008-12-31