HC_Define_Callback_Name

void HC_Define_Callback_Name(char const *name, Void_Routine callback)
void HC_Define_Callback_Name(char const name, Void_Routine callback)

Defines a unique name as a legal callback.

Define_Callback_Name is part of the classic HOOPS Intermediate Mode (I.M.) system. The name is defined in the system as a legal callback and can be used in subsequent calls to Set_Callback() . The name you choose is up to you.

Defining names before using them makes programs more readable. Defining names also allows the system to correctly read and write callback routines to a metafile.

A warning is given for redefining an existing name.

The limit on the length of callback names is large (on the order of 2 16* characters.)

Parameters

name: Name of new callback routine to be added to the system’s list.

callback: Address of new callback routine, a routine returning nothing.