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
6f64ba16
Commit
6f64ba16
authored
Mar 05, 2016
by
Kalin Toshev
Browse files
Fixed some whitespaces
parent
8095cc63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/ObjectTranslatorPool.cs
View file @
6f64ba16
...
...
@@ -31,21 +31,21 @@ using System.Collections.Concurrent;
namespace
NLua
{
#if USE_KOPILUA
#
if
USE_KOPILUA
using
LuaCore
=
KopiLua
.
Lua
;
using
LuaState
=
KopiLua
.
LuaState
;
#else
#
else
using
LuaCore
=
KeraLua
.
Lua
;
using
LuaState
=
KeraLua
.
LuaState
;
#endif
#
endif
internal
class
ObjectTranslatorPool
{
private
static
volatile
ObjectTranslatorPool
instance
=
new
ObjectTranslatorPool
();
private
static
volatile
ObjectTranslatorPool
instance
=
new
ObjectTranslatorPool
();
#if WINDOWS_PHONE || NET_3_5
private
Dictionary
<
LuaState
,
ObjectTranslator
>
translators
=
new
Dictionary
<
LuaState
,
ObjectTranslator
>();
#else
private
ConcurrentDictionary
<
LuaState
,
ObjectTranslator
>
translators
=
new
ConcurrentDictionary
<
LuaState
,
ObjectTranslator
>();
private
ConcurrentDictionary
<
LuaState
,
ObjectTranslator
>
translators
=
new
ConcurrentDictionary
<
LuaState
,
ObjectTranslator
>();
#endif
public
static
ObjectTranslatorPool
Instance
...
...
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