Mercurial Hosting > luan
view core/src/luan/LuanFunction.java @ 593:92c9fa5e39e6
remove theme "Get" and "Set", and add "define"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Aug 2015 10:16:57 -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()); } }