libui/doc/init-main.md

28 lines
320 B
Markdown
Raw Normal View History

<!-- 12 april 2019 -->
# Initialization and the Main Loop
## Reference
### `uiInit()`
```c
int uiInit(void *options, uiInitError *err);
```
### `uiUninit()`
```c
void uiUninit(void);
```
### `uiInitError`
```c
typedef struct uiInitError uiInitError;
struct uiInitError {
size_t Size;
char Message[256];
};
```