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
d41c103a
Commit
d41c103a
authored
Oct 26, 2014
by
Vinicius Jarina
Browse files
Fixed WinRT build.
parent
fa3a67dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/Metatables.cs
View file @
d41c103a
...
@@ -1037,7 +1037,11 @@ namespace NLua
...
@@ -1037,7 +1037,11 @@ namespace NLua
var
validDelegate
=
new
MethodCache
();
var
validDelegate
=
new
MethodCache
();
Delegate
del
=
(
Delegate
)
objDelegate
;
Delegate
del
=
(
Delegate
)
objDelegate
;
MethodBase
methodDelegate
=
del
.
Method
;
#if NETFX_CORE || WP80 || NET45 || PCL
MethodBase
methodDelegate
=
del
.
GetMethodInfo
();
#else
MethodBase
methodDelegate
=
del
.
Method
;
#endif
bool
isOk
=
MatchParameters
(
luaState
,
methodDelegate
,
ref
validDelegate
);
bool
isOk
=
MatchParameters
(
luaState
,
methodDelegate
,
ref
validDelegate
);
if
(
isOk
)
{
if
(
isOk
)
{
...
...
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