Lua 5.2 compatibility fixes.
This commit is contained in:
12
test/java/Model.java
Normal file
12
test/java/Model.java
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
import org.luaj.vm2.LuaValue;
|
||||
import org.luaj.vm2.lib.VarArgFunction;
|
||||
|
||||
public class Model extends VarArgFunction {
|
||||
LuaValue[] u0;
|
||||
|
||||
public void initupvalue1(LuaValue env) {
|
||||
u0 = this.newupl(env);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user