From fd58a39a248ddb1283759eee71bc676928018c66 Mon Sep 17 00:00:00 2001 From: Vinicius Jarina Date: Sat, 26 Jan 2019 00:01:10 -0500 Subject: [PATCH] * Fixed missing `public` methods. --- src/Lua.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lua.cs b/src/Lua.cs index 2e44a1a..701a8b2 100644 --- a/src/Lua.cs +++ b/src/Lua.cs @@ -255,7 +255,7 @@ public int Dump(LuaWriter writer, IntPtr data, bool stripDebug) /// Generates a Lua error, using the value at the top of the stack as the error object. This function does a long jump /// /// - int Error() + public int Error() { return NativeMethods.lua_error(_luaState); } @@ -1997,7 +1997,7 @@ public T TestObject(int argument, string typeName, bool freeGCHandle = true) /// /// /// - IntPtr TestUserData(int argument, string typeName) + public IntPtr TestUserData(int argument, string typeName) { return NativeMethods.luaL_testudata(_luaState, argument, typeName); }