|
Stardew Engine
|
#include "ObjectPool.h"#include <stdbool.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <assert.h>#include "IntTypes.h"#include "Log.h"
Functions | |
| void * | InitObjectPool (int objectSize, int poolInitialSize) |
| void * | DoubleObjectPoolSize (void *pObjectPool) |
| void * | GetObjectPoolIndex (void *pObjectPool, int *pOutIndex) |
| returns the object pool, possibly resized. returns index of a free space in the pool through pOutIndex | |
| void | FreeObjectPoolIndex (void *pObjectPool, int indexToFree) |
| void * | FreeObjectPool (void *pObjectPool) |
| void * DoubleObjectPoolSize | ( | void * | pObjectPool | ) |
| void * FreeObjectPool | ( | void * | pObjectPool | ) |
| void FreeObjectPoolIndex | ( | void * | pObjectPool, |
| int | indexToFree | ||
| ) |
| void * GetObjectPoolIndex | ( | void * | pObjectPool, |
| int * | pOutIndex | ||
| ) |
returns the object pool, possibly resized. returns index of a free space in the pool through pOutIndex
| void * InitObjectPool | ( | int | objectSize, |
| int | poolInitialSize | ||
| ) |