Premake Internals
|
Program entry point. More...
Functions | |
int | premake_locate (lua_State *L, const char *argv0) |
int | premake_init (lua_State *L) |
Program entry point.
int premake_init | ( | lua_State * | L | ) |
Initialize the Premake Lua environment.
int premake_locate | ( | lua_State * | L, |
const char * | argv0 ) |
Locate the Premake executable, and push its full path to the Lua stack. Based on: http://sourceforge.net/tracker/index.php?func=detail&aid=3351583&group_id=71616&atid=531880 http://stackoverflow.com/questions/933850/how-to-find-the-location-of-the-executable-in-c http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe