HikoGUI
A low latency retained GUI
|
CRT - Main entry point of a hikogui program. More...
Go to the source code of this file.
Macros | |
#define | VMA_IMPLEMENTATION |
#define | hi_main(ARGC, ARGV) |
Main entry-point. | |
CRT - Main entry point of a hikogui program.
This header file will abstract the entry point for a program for different operating systems, and call the hi_main()
function that should be defined as a portable entry point of the program.
This header should be included only once by a only a single translation-unit, as it defines main()
or WinMain()
.
The work done by this abstraction is purposefully very limited, its task it to make sure the command-line arguments are split into tokens according to the rules of the operating system's shell. And that the command line arguments are encoded as UTF-8.
#define hi_main | ( | ARGC, | |
ARGV ) |
Main entry-point.
ARGC | argc type and name |
ARGV | argv type and name |