OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
SdlMain.cpp File Reference
#include <SDL.h>

Functions

int platformMain (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ platformMain()

int platformMain ( int  argc,
char **  argv 
)

Entrypoint for the program that uses the platform lib. Function definition should be provided in user code.

Parameters
argcTotal number of arguments passed.
argvUTF8-encoded program arguments. Note that you're getting UTF8 on ALL platforms, including Windows.
Returns
Program return code.