call_fp
MudOSa4DGD/doc/efun/call_fp · 578 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME
call_fp - call a functionpointer
SYNOPSIS
varargs mixed call_fp(mixed fp, mixed args...)
DESCRIPTION
Calls the object found by _OB(fp) with the function _FUNC(fp)
passing the given extra arguments. You may define a
functionpointer fp by the _FP(object, function) macro.
This makes it convinient to store- and call functionpointers.
This function will only exist if config.h defines MUDOS_FUNCTIONP.
ERRORS
An error will result if the first argument is not a functionpointer.
SEE ALSO
efun/functionp, macros/_FP, macros/_FUNC, macros/_OB