libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
struct | GblIAllocatorClass |
Macros | |
Type System | |
Type UUID and cast operators | |
#define | GBL_IALLOCATOR_TYPE |
#define | GBL_IALLOCATOR(self) |
#define | GBL_IALLOCATOR_CLASS(klass) |
#define | GBL_IALLOCATOR_GET_CLASS(self) |
Typedefs | |
typedef struct GblIAllocator | GblIAllocator |
Functions | |
GblType | GblIAllocator_type (void) |
GblIAllocator * | GblIAllocator_parent (const GblIAllocator *pSelf) |
Memory Management | |
Memory allocation, reallocation, and freeing entry points | |
GBL_RESULT | GblIAllocator_alloc (GblIAllocator *pSelf, const GblStackFrame *pFrame, size_t size, size_t alignment, const char *pDebugString, void **ppData) |
GBL_RESULT | GblIAllocator_realloc (GblIAllocator *pSelf, const GblStackFrame *pFrame, void *pData, size_t newSize, size_t newAlign, void **ppNewData) |
GBL_RESULT | GblIAllocator_free (GblIAllocator *pSelf, const GblStackFrame *pFrame, void *pData) |
GblIAllocator abstract allocator interface.
Definition in file gimbal_iallocator.h.
#define GBL_IALLOCATOR_TYPE |
Type UUID for GblIAllocator.
Definition at line 21 of file gimbal_iallocator.h.
#define GBL_IALLOCATOR | ( | self | ) |
Casts a GblInstance to GblIAllocator.
Definition at line 22 of file gimbal_iallocator.h.
#define GBL_IALLOCATOR_CLASS | ( | klass | ) |
Casts a GblClass to GblIAllocatorClass.
Definition at line 23 of file gimbal_iallocator.h.
#define GBL_IALLOCATOR_GET_CLASS | ( | self | ) |
Gets a GblIAllocatorClass from a GblInstance.
Definition at line 24 of file gimbal_iallocator.h.
typedef struct GblIAllocator GblIAllocator |
Definition at line 41 of file gimbal_iallocator.h.
GblType GblIAllocator_type | ( | void | ) |
Returns the GblType UUID associated with the GblIAllocator type.