Support for iterator-style for loops, and "pairs" builting function

This commit is contained in:
James Roseborough
2007-06-10 22:53:09 +00:00
parent e1e6625aa1
commit de763e0a1e
8 changed files with 98 additions and 20 deletions

View File

@@ -15,7 +15,7 @@ public class LValue {
}
// perform a lua call
public void luaStackCall(StackState state, int base, int nresults) {
public void luaStackCall(StackState state, int base, int nargs) {
luaUnsupportedOperation();
}
@@ -91,5 +91,10 @@ public class LValue {
return luaUnsupportedOperation();
}
/** Valid for tables */
public LValue luaPairs() {
return luaUnsupportedOperation();
}
}