Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ callfunc(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



callfunc(3G)                                                      callfunc(3G)



NAME
     callfunc - 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.

DESCRIPTION
     callfunc 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



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026