Skip to content

Commit

Permalink
* Fixed missing public methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusjarina committed Jan 26, 2019
1 parent 9de1b59 commit fd58a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lua.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// </summary>
/// <returns></returns>
int Error()
public int Error()
{
return NativeMethods.lua_error(_luaState);
}
Expand Down Expand Up @@ -1997,7 +1997,7 @@ public T TestObject<T>(int argument, string typeName, bool freeGCHandle = true)
/// <param name="argument"></param>
/// <param name="typeName"></param>
/// <returns></returns>
IntPtr TestUserData(int argument, string typeName)
public IntPtr TestUserData(int argument, string typeName)
{
return NativeMethods.luaL_testudata(_luaState, argument, typeName);
}
Expand Down

0 comments on commit fd58a39

Please sign in to comment.