NAME

<user-supplied> - user function within a module

C SPECIFICATION

long <user-supplied>()

FORTRAN SPECIFICATION

integer function <user-supplied>()

DESCRIPTION

This function is called by the MCW of each module. There are no function arguments.

The MCW calls the user function or MDW based on function pointers in the table:

cxFuncTable cx_FuncTable[] = { <user-supplied function pointer>, <user-supplied function pointer 2>, NULL };

The MCW also requires a table of function pointers for hook functions (to be invoked on module startup, exit, or other conditions; see Appendix B), with syntax:

cxHookTable cx_HookTable[] = { cx_func_<op>, <user-supplied function pointer> . . . cx_func_last };

where <op> may be one of init, load, save, removed, linked, or delinked.


Last modified: Mon Nov 18 13:53:55 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996