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
Expand all
Hide whitespace changes
Inline
Side-by-side
Core/KopiLua/ldebug.cs
View file @
9ec29ad2
This diff is collapsed.
Click to expand it.
Core/LuaInterface/Lua.cs
View file @
9ec29ad2
...
@@ -864,14 +864,7 @@ namespace LuaInterface
...
@@ -864,14 +864,7 @@ namespace LuaInterface
/// <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>
...
@@ -883,14 +876,7 @@ namespace LuaInterface
...
@@ -883,14 +876,7 @@ namespace LuaInterface
/// <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>
...
...
Core/LuaInterface/LuaLib/LuaTypes.cs
View file @
9ec29ad2
...
@@ -37,7 +37,7 @@ namespace LuaInterface
...
@@ -37,7 +37,7 @@ namespace LuaInterface
None
=
-
1
,
None
=
-
1
,
Nil
=
0
,
Nil
=
0
,
Boolean
=
1
,
Boolean
=
1
,
LightUserdata
=
2
,
LightUserdata
=
2
,
Number
=
3
,
Number
=
3
,
String
=
4
,
String
=
4
,
Table
=
5
,
Table
=
5
,
...
...
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