callfunc(3G)callfunc(3G)NAMEcallfunc - calls a function from within an object
C SPECIFICATION
void callfunc(fctn, nargs, arg1, arg2, ..., argn)
void (*fctn)();
long nargs, arg1, arg2, ..., argn;
PARAMETERS
fctn expects a pointer to a function.
nargs expects the number of arguments, excluding itself, that the
function pointed to by fctn is to be called with.
arg1, arg2, ..., argn
expect the arguments to the function pointed to by fctn.
DESCRIPTIONcallfunc is used to call an arbitrary function from within an object.
When callfunc executes in the object, the function call
(*fctn)(nargs, arg1, arg2, ..., argn) is made.
NOTE
This routine does not function in the Distributed Graphics Library (DGL),
and we advise against its use in new development.
Page 1