-
-
Notifications
You must be signed in to change notification settings - Fork 0
Entry Point
Ravi Mohan edited this page Nov 27, 2020
·
4 revisions
An entry point in a program is basically piece of code which which is executed when OS passes the control to the program. Generally, the entry point has access to commandline arguments.
In Karma engine, the entry point is dealt with in the engine itself. This is done in order to provide a systematic handling of memory (allocating memory on heap and freeing it etc), OS specific instructions and avoid abuse. The entry point in Karma can be seen here.
The client is responsible to implement the function Karma::CreateApplication() by inheriting the class Application as done here.