|
Premake Internals
|
Program-wide constants and definitions. More...
#include "lua.h"#include "lauxlib.h"#include "lualib.h"#include <windows.h>Functions | |
| int | premake_init (lua_State *L) |
| int | premake_locate (lua_State *L, const char *argv0) |
Program-wide constants and definitions.
| 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