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

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2014-09-16 19:40:47 +0400
committerJason Perkins <starkos@industriousone.com>2014-09-16 19:40:47 +0400
commitbecff0191038324799009f8e38a32f711df87b1d (patch)
tree8107af7fd3d7a0964f750ca0f8db8d9275efaed3 /src/host/premake.h
parentfec95a8ace000b2d805bd20c24d28f24b705256b (diff)
Backport native path functions from Premake-dev
Diffstat (limited to 'src/host/premake.h')
-rwxr-xr-xsrc/host/premake.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/host/premake.h b/src/host/premake.h
index 1e69a89..ef7d3fc 100755
--- a/src/host/premake.h
+++ b/src/host/premake.h
@@ -47,11 +47,21 @@
/* Bootstrapping helper functions */
+void do_getabsolute(char* result, const char* value, const char* relative_to);
+int do_getcwd(char* buffer, size_t size);
+int do_isabsolute(const char* path);
int do_isfile(const char* filename);
+void do_normalize(lua_State* L, char* buffer, const char* path);
+void do_translate(char* value, const char sep);
/* Built-in functions */
+int path_getabsolute(lua_State* L);
+int path_getrelative(lua_State* L);
int path_isabsolute(lua_State* L);
+int path_join(lua_State* L);
+int path_normalize(lua_State* L);
+int path_translate(lua_State* L);
int os_chdir(lua_State* L);
int os_copyfile(lua_State* L);
int os_getcwd(lua_State* L);