Banjo API 0.0.1
C99 game development API
Loading...
Searching...
No Matches
system.h
Go to the documentation of this file.
1
11#ifndef BJ_SYSTEM_H
12#define BJ_SYSTEM_H
13
14#include <banjo/api.h>
15#include <banjo/error.h>
16
28 bj_error** p_error
29);
30
37 bj_error** p_error
38);
39
69 const char* p_path
70);
71
97 void* p_handle
98);
99
128 void* p_handle,
129 const char* p_name
130);
131
132#endif
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.