Partial implementation of metatables.

This commit is contained in:
James Roseborough
2007-06-16 15:31:27 +00:00
parent 7449605d56
commit 5d3c86e552
10 changed files with 108 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ public class LValue {
}
// perform a lua call, return number of results actually produced
public void luaStackCall(StackState state, int base, int top) {
public void luaStackCall(StackState state, int base, int top, int nresults) {
luaUnsupportedOperation();
}
@@ -111,5 +111,15 @@ public class LValue {
return luaUnsupportedOperation();
}
/** Valid for tables */
public LValue luaGetMetatable() {
return luaUnsupportedOperation();
}
/** Valid for tables */
public void luaSetMetatable(LValue metatable) {
luaUnsupportedOperation();
}
}