12 #ifndef K_API_API_LIB_H
13 #define K_API_API_LIB_H
58 #include <kApi/kApiLib.x.h>
kStatus kApiLib_SetMemAllocHandlers(kApiMemAllocFx allocFx, kApiMemFreeFx freeFx, kPointer provider)
Sets handler functions for memory alloc/free operations.
Represents a library of types.
Represents a void pointer.
Represents an unsigned integer that can store a pointer address.
kStatus(kCall * kApiMemAllocFx)(kPointer provider, kSize size, void *mem)
Function signature for memory allocation handler.
Definition: kApiLib.h:18
kStatus(kCall * kApiMemFreeFx)(kPointer provider, void *mem)
Function signature for memory free handler.
Definition: kApiLib.h:21
Essential API declarations.
kStatus kApiLib_Construct(kAssembly *assembly)
Constructs the Zen API type assembly (kApiLib).
Represents an enumeration of error codes.
#define kCall
kApi standard function calling convention.
Definition: kApiDef.h:17