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
0893940d
Commit
0893940d
authored
Sep 04, 2013
by
Vinicius Jarina
Browse files
Fixed iOS build.
parent
4bb35292
Changes
3
Show whitespace changes
Inline
Side-by-side
Core/NLua/Lua.cs
View file @
0893940d
...
@@ -541,11 +541,15 @@ end
...
@@ -541,11 +541,15 @@ end
string
[]
path
=
fullPath
.
Split
(
new
char
[]
{
'.'
});
string
[]
path
=
fullPath
.
Split
(
new
char
[]
{
'.'
});
LuaLib
.
LuaGetGlobal
(
luaState
,
path
[
0
]);
LuaLib
.
LuaGetGlobal
(
luaState
,
path
[
0
]);
returnValue
=
translator
.
GetObject
(
luaState
,
-
1
);
returnValue
=
translator
.
GetObject
(
luaState
,
-
1
);
LuaBase
dispose
=
null
;
if
(
path
.
Length
>
1
)
{
if
(
path
.
Length
>
1
)
{
dispose
=
returnValue
as
LuaBase
;
string
[]
remainingPath
=
new
string
[
path
.
Length
-
1
];
string
[]
remainingPath
=
new
string
[
path
.
Length
-
1
];
Array
.
Copy
(
path
,
1
,
remainingPath
,
0
,
path
.
Length
-
1
);
Array
.
Copy
(
path
,
1
,
remainingPath
,
0
,
path
.
Length
-
1
);
returnValue
=
GetObject
(
remainingPath
);
returnValue
=
GetObject
(
remainingPath
);
if
(
dispose
!=
null
)
dispose
.
Dispose
();
}
}
LuaLib
.
LuaSetTop
(
luaState
,
oldTop
);
LuaLib
.
LuaSetTop
(
luaState
,
oldTop
);
...
...
ios/NLuaTestsiOS/NLuaTest.csproj
View file @
0893940d
...
@@ -105,12 +105,11 @@
...
@@ -105,12 +105,11 @@
<Reference
Include=
"monotouch"
/>
<Reference
Include=
"monotouch"
/>
<Reference
Include=
"MonoTouch.NUnitLite"
/>
<Reference
Include=
"MonoTouch.NUnitLite"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup
/>
<ItemGroup>
<ItemGroup>
<Folder
Include=
"Resources\"
/>
<BundleResource
Include=
"..\..\tests\test_32.luac"
>
<Folder
Include=
"Icons\"
/>
<Link>
Resources\test_32.luac
</Link>
<Folder
Include=
"LuaTests\"
/>
</BundleResource>
</ItemGroup>
<ItemGroup>
<None
Include=
"Info.plist"
/>
<None
Include=
"Info.plist"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
...
...
run_all.ios.sh
View file @
0893940d
#!/bin/sh
#!/bin/sh
cd
Core/KeraLua
cd
Core/KeraLua
make
-f
Makefile.iOS
make
-f
Makefile.iOS
xbuild KeraLua.sln /p:Configuration
=
Release
cd
../../
cd
../../
make
-f
Makefile.iOS run
make
-f
Makefile.iOS run
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