Mercurial Hosting > luan
view src/luan/LuanFunction.java @ 1171:794ddcfbee20
remove http/impl
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 02:41:23 -0700 |
parents | 1a68fc55a80c |
children | 25746915a241 |
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()); } }