summaryrefslogtreecommitdiff
path: root/indra/llcommon/lua_function.h
diff options
context:
space:
mode:
authorNicky Dasmijn <nicky.dasmijn@posteo.nl>2024-04-03 21:36:43 +0200
committerGitHub <noreply@github.com>2024-04-03 21:36:43 +0200
commit6b8f86885b500555ec4f2bb06db8fc9020b723cd (patch)
tree41a91394ea2d30164fb674ffe3e10c6f26250a6c /indra/llcommon/lua_function.h
parentc8f7e9d0256cec90d509b0cf0109c2c7479100d0 (diff)
parentf069543328efc441673db9877c97ae2201b86e91 (diff)
Merge branch 'release/luau-scripting' into release/luau-scripting
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..ec1e6cdb10 100644
--- a/indra/llcommon/lua_function.h
+++ b/indra/llcommon/lua_function.h
@@ -16,6 +16,7 @@
#include "luau/lua.h"
#include "luau/luaconf.h"
#include "luau/lualib.h"
+#include "fsyspath.h"
#include "stringize.h"
#include <exception> // std::uncaught_exceptions()
#include <memory> // std::shared_ptr
@@ -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);
+
+ fsyspath source_path(lua_State* L);
} // namespace lluau
std::string lua_tostdstring(lua_State* L, int index);