Important: The information in this document is obsolete and should not be used for new development.
The Application-Defined List Search Function Prototype
In order to use theOTFindLink
function and theOTFindAndRemoveLink
function, you must provide a user-defined function that is used when searching a list for a specific entry. The prototype for this function is as follows:
typedef Boolean (*OTListSearchProcPtr) (const void* ref, OTLink* linkToCheck);
- For information about creating your own list search function, see
MyListSearchFunction
.DISCUSSION
For 68000 code, this routine uses MPW C calling conventions. You should check your development environment documentation for information about defining a function with MPW C calling conventions. This is not an issue for PowerPC code.