Your Donations help keep my Software going!
I'm on a short vacation and will be back soon.
I'm selling some Homebrew Game Dev Devices. Check it out.
Table of Contents
Bootstrap
Description
tBootstrap.h Provides the prototype function for the main entry of the program. This is done for two main reasons:
- To provide any platform-specific startup and shutdown routines, which is fairly common
- To provide a programmer the ability to write a true “cross-platform” application devoid of any native code.
Methods
tSInt32 program_main( tUInt32 argc, char **argv );
| parameter | type | description |
|---|---|---|
| argc | tUInt32 | argument count |
| argv | char** | array of argument strings |
| return type | description |
|---|---|
| tSInt32 | Zero - OK |
| - | Negative - FAIL |
Notes
- None