Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kObjectPool.h
Go to the documentation of this file.
1
10 #ifndef K_API_OBJECT_POOL_H
11 #define K_API_OBJECT_POOL_H
12
13 #include <kApi/kApiDef.h>
14
15 kBeginHeader()
16
17
23 //typedef kObject kObjectPool; --forward-declared in kApiDef.x.h
24
25
34 kFx(kStatus) kObjectPool_Reclaim(kObjectPool pool, kObject object);
35
36 kEndHeader()
37
38 #include <kApi/Utils/kObjectPool.x.h>
39
40 #endif
kObjectPool
Supports reclaiming objects upon destruction.
kApiDef.h
Core Zen type declarations.
kObject
Root of all Zen classes.
kStatus
Represents an error code.
kObjectPool::kObjectPool_Reclaim
kStatus kObjectPool_Reclaim(kObjectPool pool, kObject object)
Receives an object just prior to its destruction.