Zen API
 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 #include <kApi/Utils/kObjectPool.x.h>
15 
22 //typedef kObject kObjectPool; --forward-declared in kApiDef.x.h
23 
24 /*
25 * Public
26 */
27 
38 {
39  return xkObjectPool_VTable(pool)->VReclaim(pool, object);
40 }
41 
42 #endif
#define kInlineFx(TYPE)
Inline method declaration helper.
Definition: kApiDef.h:26
Supports reclaiming objects upon destruction.
Core Zen type declarations.
Root of all Zen classes.
Represents an error code.
kStatus kObjectPool_Reclaim(kObjectPool pool, kObject object)
Receives an object just prior to its destruction.
Definition: kObjectPool.h:37