Mercurial Hosting > luan
view core/src/luan/LuanFunction.java @ 701:d0280c7fdc3a
add Io.ip()
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 04 May 2016 17:49:41 -0600 |
| parents | 6cc2f047019b |
| children |
line wrap: on
line source
package luan; public abstract class LuanFunction { public abstract Object call(LuanState luan,Object[] args) throws LuanException; public static final Object[] NOTHING = new Object[0]; public final Object call(LuanState luan) throws LuanException { return call(luan,NOTHING); } @Override public String toString() { return "function: " + Integer.toHexString(hashCode()); } }
