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
d2c92961
Commit
d2c92961
authored
Sep 23, 2013
by
Vinicius Jarina
Browse files
Fixed build. (vargs error)
parent
dec87218
Changes
1
Show whitespace changes
Inline
Side-by-side
Core/NLua/Method/LuaMethodWrapper.cs
View file @
d2c92961
...
...
@@ -158,7 +158,7 @@ namespace NLua.Method
};
if
(
_LastCalledMethod
.
argTypes
[
i
].
isParamsArray
)
{
int
count
=
_LastCalledMethod
.
argTypes
.
Length
-
index
;
int
count
=
index
-
_LastCalledMethod
.
argTypes
.
Length
;
Array
paramArray
=
_Translator
.
TableToArray
(
valueExtractor
,
type
.
paramsArrayType
,
index
,
count
);
args
[
_LastCalledMethod
.
argTypes
[
i
].
index
]
=
paramArray
;
}
else
{
...
...
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