diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BLua.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index 9bd7828..6494211 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -638,6 +638,10 @@ void Lua::open_dir() { lua_pop(L, 1); } +int Lua::wrap_open(openlualib_t open) { + return open(L); +} + void Lua::declarefunc(const String & name, lua_CFunction f, int i) { lua_pushstring(L, name.to_charp()); lua_pushcfunction(L, f); |