Zen API
|
kStatus kObject_SetPool | ( | kObject | object, |
kObjectPool | pool | ||
) |
Sets the object pool associated with this object.
Object pools can be used to implement custom lifetime management. If an object has an assigned pool, then the kObjectPool_Reclaim method will be called just prior to destruction, to provide an opportunity for the object to be reclaimed.
object | Object. |
pool | Pool object (or kNULL to clear the pool assignment). |