185 #include <kApi/kApiLib.x.h>
Represents a 32-bit unsigned integer.
kStatus(kCall * kApiMemFreeFx)(kPointer provider, void *mem)
Function signature for memory free handler.
Definition: kApiLib.h:25
Represents a library of types.
kStatus(kCall * kApiMemAllocFx)(kPointer provider, kSize size, void *mem)
Function signature for memory allocation handler.
Definition: kApiLib.h:19
Represents a void pointer.
kStatus kApiLib_SetMemAllocHandlers(kApiMemAllocFx allocFx, kApiMemFreeFx freeFx, kPointer provider)
Sets handler functions for memory alloc/free operations.
kStatus kApiLib_SetAssertHandler(kApiAssertFx function)
Sets a handler function for debug assertions.
Represents an unsigned integer that can store a pointer address.
kStatus kApiLib_SetLogfHandler(kApiLogfFx function)
Sets a handler function for debug logging operations.
kStatus(kCall * kApiAssertFx)(const kChar *file, k32u line)
Function signature for debug assertion handler.
Definition: kApiLib.h:31
#define kInlineFx(TYPE)
Inline method declaration helper.
Definition: kApiDef.h:26
Represents a single unit (byte) in a UTF-8 character.
typedef kStatus(kCall *kMsgQueueDropFx)(kPointer receiver
Defines the signature of a callback function to handle dropped items.
kSize kApiLib_LeaksDetected()
Reports memory leaks that occurred during use of this library.
kStatus kApiLib_EnableSymbolInitialization(kBool enable)
Enables or disables initialization of symbol table resources by this library.
k32u(kCall * kApiUnlockFx)(kPointer provider)
Function signature for an unlock (exclusive access) operation.
Definition: kApiLib.h:49
Core Zen type declarations.
kStatus kApiLib_EnableNetworkInitialization(kBool enable)
Enables or disables initialization of network services by this library.
kStatus kApiLib_Construct(kAssembly *assembly)
Constructs the Zen API type assembly (kApiLib).
kStatus(kCall * kApiLogfFx)(const kChar *format, va_list args)
Function signature for debug log handler.
Definition: kApiLib.h:37
Represents an error code.
kStatus kApiLib_SetSymbolLockHandlers(kApiLockFx lockFx, kApiUnlockFx unlockFx, kPointer provider)
Sets handler functions for symbol table lock/unlock operations.
#define kCall
kApi standard function calling convention.
Definition: kApiDef.h:15
Represents a boolean value.
k32u(kCall * kApiLockFx)(kPointer provider)
Function signature for a lock (exclusive access) operation.
Definition: kApiLib.h:43