|
Kiwi Engine
VM for interpreter
|
Define KEValueTablePool class. More...
Go to the source code of this file.
Data Structures | |
| struct | KEValueTablePool |
| KEProgram class. More... | |
Macros | |
| #define | KEValueTablePoolNum 32 |
Functions | |
| void | KEInitValueTablePool (struct KEValueTablePool *dst, struct CNResource *resource) |
| Allocate value table pool. More... | |
| void | KEDestroyValueTablePool (struct KEValueTablePool *dst) |
| Destroy value table pool. More... | |
| struct KEValueTable * | KEAllocateValueTableFromPool (struct KEValueTablePool *pool, uint64_t valnum) |
| Allocate KEValueTable object from the pool. More... | |
| void | KEReleaseValueTableIntoPool (struct KEValueTablePool *pool, struct KEValueTable *dst) |
| Release KEValueTable object into the pool. More... | |
| void | KEDumpValueTablePool (struct CNText *buf, const struct KEValueTablePool *src) |
| Dump the content of KEValueTablePool. More... | |
Define KEValueTablePool class.
| #define KEValueTablePoolNum 32 |
Default number of hash array for the value table pool
| struct KEValueTable* KEAllocateValueTableFromPool | ( | struct KEValueTablePool * | pool, |
| uint64_t | valnum | ||
| ) |
Allocate KEValueTable object from the pool.
| pool | Pool of the value table |
| valnum | Number of values in the table |
| void KEDestroyValueTablePool | ( | struct KEValueTablePool * | dst | ) |
Destroy value table pool.
| dst | Destination value table pool |
| void KEDumpValueTablePool | ( | struct CNText * | buf, |
| const struct KEValueTablePool * | src | ||
| ) |
Dump the content of KEValueTablePool.
| buf | Output buffer |
| src | Source value table pool |
| void KEInitValueTablePool | ( | struct KEValueTablePool * | dst, |
| struct CNResource * | resource | ||
| ) |
Allocate value table pool.
| dst | Destination value table pool |
| resource | Resouce to allocate value table |
| void KEReleaseValueTableIntoPool | ( | struct KEValueTablePool * | pool, |
| struct KEValueTable * | dst | ||
| ) |
Release KEValueTable object into the pool.
| pool | Pool to release the value table |
| dst | Destination value table |
1.8.5