[NOTHING CHANGED] Assorted fixes #48

Closed
asiekierka wants to merge 61 commits from asiekierka/master into master
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 2bccb4670e - Show all commits

View File

@@ -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];

View File

@@ -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}