org.rococoa.cocoa.carboncore
Interface CarbonCoreLibrary.AVLDisposeItemProcPtr
- All Superinterfaces:
- Callback
- Enclosing interface:
- CarbonCoreLibrary
public static interface CarbonCoreLibrary.AVLDisposeItemProcPtr
- extends Callback
AVLDisposeItemProcPtr
Summary:
Dispose of any additional memory associated with an item in the
tree.
Discussion:
A tree may have an optional disposeItemProc, which gets called
whenever an item is removed from the tree ( via AVLRemove() or
when AVLDispose() deletes all of the items in the tree ). This
might be useful if the nodes in the tree own 'resources' ( like,
open files ) which should be released before the item is removed.
Parameters:
tree:
The tree containing the item being disposed.
dataP:
A pointer to the data for the item being disposed.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/AVLTree.h
invoke
void invoke(AVLTreeStruct tree,
Pointer dataP)
Copyright © 2009. All Rights Reserved.