(RealStatePtr L,int oldTop)
| 1441 | #endif |
| 1442 | |
| 1443 | internal object[] popValues(RealStatePtr L,int oldTop) |
| 1444 | { |
| 1445 | int newTop=LuaAPI.lua_gettop(L); |
| 1446 | if(oldTop==newTop) |
| 1447 | { |
| 1448 | return null; |
| 1449 | } |
| 1450 | else |
| 1451 | { |
| 1452 | ArrayList returnValues=new ArrayList(); |
| 1453 | for(int i=oldTop+1;i<=newTop;i++) |
| 1454 | { |
| 1455 | returnValues.Add(GetObject(L,i)); |
| 1456 | } |
| 1457 | LuaAPI.lua_settop(L,oldTop); |
| 1458 | return returnValues.ToArray(); |
| 1459 | } |
| 1460 | } |
| 1461 | |
| 1462 | internal object[] popValues(RealStatePtr L,int oldTop,Type[] popTypes) |
| 1463 | { |
no test coverage detected