[NOTHING CHANGED] Assorted fixes #48
@@ -122,11 +122,11 @@ public class LuaClosure extends LuaFunction {
|
||||
public LuaClosure checkclosure() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public String tojstring() {
|
||||
return "function: " + p.toString();
|
||||
}
|
||||
|
||||
|
||||
private LuaValue[] getNewStack() {
|
||||
int max = p.maxstacksize;
|
||||
LuaValue[] stack = new LuaValue[max];
|
||||
|
||||
@@ -529,7 +529,7 @@ public class LuaValue extends Varargs {
|
||||
* @see #isstring()
|
||||
* @see #TSTRING
|
||||
*/
|
||||
public String tojstring() { return typename() + ": " + Integer.toHexString(hashCode()); }
|
||||
public String tojstring() { return typename() + ": 0x" + Integer.toHexString(hashCode()); }
|
||||
|
||||
/** Convert to userdata instance, or null.
|
||||
* @return userdata instance if userdata, or null if not {@link LuaUserdata}
|
||||
|
||||
Reference in New Issue
Block a user