GetODPtrDestructor
Retrieves a destructor for anODPtrobject.
ParamDestructorUPP GetODPtrDestructor ();
- return value
- A pointer to a destructor function that takes two parameters: an environment pointer and a pointer of type
ODPtr*; the function returns no value. The function has the following form:voidODPtrDestructor (Environment* ev,
ODPtr* odPtr);DISCUSSION
You call this method to retrieve a destructor function suitable for anODPtrobject. The destructor function disposes of theODPtrobject, as shown in the following example:
ODPtrDestructor (Environment* ev, ODPtr* odPtr) { ODDisposePtr(odPtr); }If you subclassParameterSet, do not override this method.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help