|
Banjo API 0.0.1
C99 game development API
|

Functions | |
| int | bj_call_main (int argc, char *argv[], int(*function)(int argc, char *argv[])) |
Platform-specific main function abstraction and callback system.
This module provides a portable entry point system for applications that works across different platforms (Windows, Emscripten, iOS) by wrapping platform-specific initialization code.
Two usage modes are available:
bj_main function.BJ_NO_AUTOMAIN: Define to provide your own main function.BJ_AUTOMAIN_CALLBACKS: Define to use the callback system instead of bj_main.BJ_AUTOMAIN: (Internal) Automatically defined on platforms requiring special setup.
|
extern |