General-purpose definitions for Banjo API.
Recoverable error handling.
#define BANJO_EXPORT
Definition api.h:139
uint32_t bj_bool
Boolean type used throughout the Banjo API.
Definition api.h:276
Error structure.
Definition error.h:131
void * bj_load_library(const char *p_path)
Load the provided dynamic library and returns and opaque handle to it.
void bj_shutdown(bj_error **p_error)
De-initializes the system.
bj_bool bj_initialize(bj_error **p_error)
Initializes the system.
void bj_unload_library(void *p_handle)
Unload a library loaded with bj_load_library from memory.
void * bj_library_symbol(void *p_handle, const char *p_name)
Get the address of a function exported by p_handle given its name.