summaryrefslogtreecommitdiff
path: root/indra/llcommon/lua_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/lua_function.h')
-rw-r--r--indra/llcommon/lua_function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/lua_function.h b/indra/llcommon/lua_function.h
index 868c13c3f1..785aadeb0c 100644
--- a/indra/llcommon/lua_function.h
+++ b/indra/llcommon/lua_function.h
@@ -18,6 +18,7 @@
#include "luau/lualib.h"
#include "stringize.h"
#include <exception> // std::uncaught_exceptions()
+#include <filesystem>
#include <memory> // std::shared_ptr
#include <utility> // std::pair
@@ -49,6 +50,8 @@ namespace lluau
// terminated char arrays.
int dostring(lua_State* L, const std::string& desc, const std::string& text);
int loadstring(lua_State* L, const std::string& desc, const std::string& text);
+
+ std::filesystem::path source_path(lua_State* L);
} // namespace lluau
std::string lua_tostdstring(lua_State* L, int index);