Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
9ec29ad2
Commit
9ec29ad2
authored
Oct 08, 2012
by
Megax
Browse files
* Kis korrígáció.
parent
1ef714b9
Changes
3
Show whitespace changes
Inline
Side-by-side
Core/KopiLua/ldebug.cs
View file @
9ec29ad2
...
@@ -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
;
...
...
Core/LuaInterface/Lua.cs
View file @
9ec29ad2
...
@@ -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)
...
...
Core/LuaInterface/LuaLib/LuaTypes.cs
View file @
9ec29ad2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment