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
597c83f8
Commit
597c83f8
authored
Jun 06, 2013
by
Vinicius Jarina
Browse files
Fixed LuaIndexes
parent
08a713a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
KeraLua
@
d53ed613
Compare
f5d36378
...
d53ed613
Subproject commit
f5d3637885508dddd297e12e4b07d527a2279900
Subproject commit
d53ed613f1133f100020cf22438086c5b5844b42
KopiLua
@
b4fe1b0b
Compare
b96b5855
...
b4fe1b0b
Subproject commit b
96b5855e7ce151a10ccab1a2f9e9fc1747e2
02
9
Subproject commit b
4fe1b0b6e822083d27d21de374cc0674fd8f3
02
Core/NLua/LuaLib/LuaIndexes.cs
View file @
597c83f8
...
...
@@ -28,9 +28,22 @@ using System;
namespace
NLua
{
public
enum
LuaIndexes
:
int
#if USE_KOPILUA
using
LuaCore
=
KopiLua
.
Lua
;
#else
using
LuaCore
=
KeraLua
.
Lua
;
#endif
public
class
LuaIndexes
{
Registry
=
(-
10000
),
Environment
=
(-
10001
),
static
int
registryIndex
=
0
;
public
static
int
Registry
{
get
{
if
(
registryIndex
!=
0
)
return
registryIndex
;
registryIndex
=
LuaCore
.
luanet_registryindex
();
return
registryIndex
;
}
}
}
}
\ No newline at end of file
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