summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/src/host/premake.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/genie/src/host/premake.h')
-rw-r--r--3rdparty/genie/src/host/premake.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/3rdparty/genie/src/host/premake.h b/3rdparty/genie/src/host/premake.h
index 414da1500ff..f0782db41ca 100644
--- a/3rdparty/genie/src/host/premake.h
+++ b/3rdparty/genie/src/host/premake.h
@@ -52,8 +52,17 @@ unsigned long do_hash(const char* str, int seed);
int do_isfile(const char* filename);
+/* Path helper functions */
+#define PATH_BUFSIZE 0x4000
+int is_absolute_path(const char * path);
+char *get_relative_path(const char src[], const char dst[], char *buffer, int bufsize);
+char *get_absolute_path(const char path[], char *buffer, int bufsize);
+
+
/* Built-in functions */
int path_isabsolute(lua_State* L);
+int path_getabsolute(lua_State *L);
+int path_getrelative(lua_State *L);
int os_chdir(lua_State* L);
int os_copyfile(lua_State* L);
int os_getcwd(lua_State* L);