Partial implementation of metatables.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user