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).