Mercurial Hosting > luan
view core/src/luan/LuanFunction.java @ 750:f172f1dff4b6
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 15 Jul 2016 01:25:08 -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()); } }