Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/premake.c')
-rwxr-xr-xsrc/host/premake.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/premake.c b/src/host/premake.c
index 8b9d550..df4d004 100755
--- a/src/host/premake.c
+++ b/src/host/premake.c
@@ -360,6 +360,10 @@ static int load_file_scripts(lua_State* L)
}
}
+extern const char* builtin_script_fnames[];
+
+#define luaL_dobuffer(L, s, n) \
+ (luaL_loadbuffer(L, s, strlen(s), n) || lua_pcall(L, 0, LUA_MULTRET, 0))
/**
* When running in release mode, the scripts are loaded from a static data