Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kApiLib Class Reference

Description

Collection of library management functions.

Public Member Functions

kStatus kApiLib_Construct (kAssembly *assembly)
 Constructs the Zen API type assembly (kApiLib). More...
 
kStatus kApiLib_EnableNetworkInitialization (kBool enable)
 Enables or disables initialization of network services by this library. More...
 
kStatus kApiLib_EnableSymbolInitialization (kBool enable)
 Enables or disables initialization of symbol table resources by this library. More...
 
kSize kApiLib_LeaksDetected ()
 Reports memory leaks that occurred during use of this library. More...
 
kStatus kApiLib_SetAssertHandler (kApiAssertFx function)
 Sets a handler function for debug assertions. More...
 
kStatus kApiLib_SetLogfHandler (kApiLogfFx function)
 Sets a handler function for debug logging operations. More...
 
kStatus kApiLib_SetMemAllocHandlers (kApiMemAllocFx allocFx, kApiMemFreeFx freeFx, kPointer provider)
 Sets handler functions for memory alloc/free operations. More...
 
kStatus kApiLib_SetSymbolLockHandlers (kApiLockFx lockFx, kApiUnlockFx unlockFx, kPointer provider)
 Sets handler functions for symbol table lock/unlock operations. More...
 

Related

typedef kStatus(kCallkApiAssertFx )(const kChar *file, k32u line)
 Function signature for debug assertion handler.
 
typedef k32u(kCallkApiLockFx )(kPointer provider)
 Function signature for a lock (exclusive access) operation.
 
typedef kStatus(kCallkApiLogfFx )(const kChar *format, va_list args)
 Function signature for debug log handler.
 
typedef kStatus(kCallkApiMemAllocFx )(kPointer provider, kSize size, void *mem)
 Function signature for memory allocation handler.
 
typedef kStatus(kCallkApiMemFreeFx )(kPointer provider, void *mem)
 Function signature for memory free handler.
 
typedef k32u(kCallkApiUnlockFx )(kPointer provider)
 Function signature for an unlock (exclusive access) operation.
 

The documentation for this class was generated from the following file: