Mercurial Hosting > luan
comparison core/src/luan/LuanState.java @ 430:f28320fd671d
fix LuanTable.toString() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2015 20:35:26 -0600 |
parents | 1eafb11a150d |
children | c6bcb8859b93 |
comparison
equal
deleted
inserted
replaced
429:e3a6d9dbd694 | 430:f28320fd671d |
---|---|
68 | 68 |
69 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { | 69 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { |
70 return JAVA.call(fn,fnName,args); | 70 return JAVA.call(fn,fnName,args); |
71 } | 71 } |
72 | 72 |
73 public String checkString(Object obj) throws LuanException { | |
74 return JAVA.checkString(obj); | |
75 } | |
76 | |
73 public LuanFunction checkFunction(Object obj) throws LuanException { | 77 public LuanFunction checkFunction(Object obj) throws LuanException { |
74 return JAVA.checkFunction(obj); | 78 return JAVA.checkFunction(obj); |
75 } | 79 } |
76 | 80 |
77 public String toString(Object obj) throws LuanException { | 81 public String toString(Object obj) throws LuanException { |