Commit 93cf684e authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed the build.

parent 1414ef61
...@@ -410,6 +410,11 @@ namespace NLua ...@@ -410,6 +410,11 @@ namespace NLua
return LuaCore.luaL_loadbuffer (luaState, buff, (uint)buff.Length, name); return LuaCore.luaL_loadbuffer (luaState, buff, (uint)buff.Length, name);
} }
public static int luaL_loadbuffer (LuaCore.lua_State luaState, byte [] buff, string name)
{
return LuaCore.luaL_loadbuffer (luaState, buff, (uint)buff.Length, name);
}
public static int luaL_loadfile (LuaCore.lua_State luaState, string filename) public static int luaL_loadfile (LuaCore.lua_State luaState, string filename)
{ {
return LuaCore.luaL_loadfile (luaState, filename); return LuaCore.luaL_loadfile (luaState, filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment