"lua-5.1.4/test/sort.lua" did not exist on "c653ca2b07a03d3b39e785eb7dd8927c08d2b39a"
Commit 9ec29ad2 authored by Megax's avatar Megax
Browse files

* Kis korrígáció.

parent 1ef714b9
...@@ -183,7 +183,6 @@ namespace KopiLua ...@@ -183,7 +183,6 @@ namespace KopiLua
incr_top(L); incr_top(L);
} }
private static int auxgetinfo (lua_State L, CharPtr what, lua_Debug ar, private static int auxgetinfo (lua_State L, CharPtr what, lua_Debug ar,
Closure f, CallInfo ci) { Closure f, CallInfo ci) {
int status = 1; int status = 1;
......
...@@ -863,16 +863,9 @@ namespace LuaInterface ...@@ -863,16 +863,9 @@ namespace LuaInterface
/// <returns>see lua docs</returns> /// <returns>see lua docs</returns>
/// <author>Reinhard Ostermeier</author> /// <author>Reinhard Ostermeier</author>
public string GetLocal(LuaCore.lua_Debug luaDebug, int n) public string GetLocal(LuaCore.lua_Debug luaDebug, int n)
{
try
{ {
return LuaCore.lua_getlocal(luaState, luaDebug, n).ToString(); return LuaCore.lua_getlocal(luaState, luaDebug, n).ToString();
} }
finally
{
//System.Runtime.InteropServices.Marshal.FreeHGlobal(ld);
}
}
/// <summary> /// <summary>
/// Sets local (see lua docs) /// Sets local (see lua docs)
...@@ -882,16 +875,9 @@ namespace LuaInterface ...@@ -882,16 +875,9 @@ namespace LuaInterface
/// <returns>see lua docs</returns> /// <returns>see lua docs</returns>
/// <author>Reinhard Ostermeier</author> /// <author>Reinhard Ostermeier</author>
public string SetLocal(LuaCore.lua_Debug luaDebug, int n) public string SetLocal(LuaCore.lua_Debug luaDebug, int n)
{
try
{ {
return LuaCore.lua_setlocal(luaState, luaDebug, n).ToString(); return LuaCore.lua_setlocal(luaState, luaDebug, n).ToString();
} }
finally
{
//System.Runtime.InteropServices.Marshal.FreeHGlobal(ld);
}
}
/// <summary> /// <summary>
/// Gets up value (see lua docs) /// Gets up value (see lua docs)
......
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