Mercurial Hosting > luan
view core/src/luan/LuanFunction.java @ 427:dae264ad6a7b
fix LuanTable.put() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 19:29:07 -0600 |
parents | 1eafb11a150d |
children | 6cc2f047019b |
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]; @Override public String toString() { return "function: " + Integer.toHexString(hashCode()); } }