Skip to content

Commit 7eafa19

Browse files
committed
Expose standard io lua module to TSD Lua.
1 parent 94f7283 commit 7eafa19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tsd/src/tsd/scripting/LuaContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ LuaContext::LuaContext() : m_impl(std::make_unique<Impl>())
3232
sol::lib::os,
3333
sol::lib::math,
3434
sol::lib::table,
35+
sol::lib::io,
3536
sol::lib::utf8);
3637

3738
m_impl->lua.set_function("print", [this](sol::variadic_args va) {

0 commit comments

Comments
 (0)