Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 6 - Types, Constants, and Global Functions / Programmer-Defined Functions


MyParamDestructor

Destroys a parameter.

void MyParamDestructor (Environment* ev, 
void* param);
ev
A pointer to the SOM environment parameter used to pass exceptions.
param
A pointer to the parameter to be destroyed.
DISCUSSION
Your parameter destructor function should destroy a parameter when it is removed from a parameter set. You add a parameter and an associated destructor function to a parameter set by calling the ParameterSet::PutParameter method. Your destructor function is called either when you call the ParameterSet::RemoveParameter method to remove the parameter from the parameter set or when the parameter set is destroyed.

SEE ALSO
The ParameterSet::PutParameter method (page 397).
The ParameterSet::RemoveParameter method (page 398).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996