Skip to content

Commit

Permalink
更新tolua#到1.0.5.214版
Browse files Browse the repository at this point in the history
  • Loading branch information
jarjin2000 committed Jul 30, 2016
1 parent dd8ae19 commit 8f24dca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/LuaFramework/ToLua/Core/TypeChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ public static bool CheckTypes(IntPtr L, int begin, Type type0, Type type1, Type
CheckType(L, type5, begin + 5) && CheckType(L, type6, begin + 6) && CheckType(L, type7, begin + 7) && CheckType(L, type8, begin + 8) && CheckType(L, type9, begin + 9);
}

public static bool CheckTypes(IntPtr L, params Type[] types)
public static bool CheckTypes(IntPtr L, int begin, params Type[] types)
{
for (int i = 0; i < types.Length; i++)
{
if (!CheckType(L, types[i], i + 1))
if (!CheckType(L, types[i], i + begin))
{
return false;
}
Expand Down
3 changes: 3 additions & 0 deletions ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ tolua#地址: https://github.com/topameng/tolua
XlsxToLua: https://github.com/zhangqi-ulua/XlsxToLua
UnityHello: https://github.com/woshihuo12/UnityHello

//-------------2016-07-30-------------
(1)更新tolua#到1.0.5.214版

//-------------2016-07-16-------------
(1)更新tolua#到1.0.5.208版
(2)修改资源管理器,减少GC与修正卸载某个AB正处于异步加载中导致崩溃的BUG
Expand Down

0 comments on commit 8f24dca

Please sign in to comment.