view core/src/luan/LuanFunction.java @ 433:c6bcb8859b93

make LuanState.registry a Map; remove generics from DeepCloneable; add Map support to DeepCloner;
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 03 May 2015 15:45:39 -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());
	}

}