Mercurial Hosting > luan
comparison src/luan/LuanFunction.java @ 123:d7be9b3abf1a
minor - rename LuanFunction.EMPTY to NOTHING
git-svn-id: https://luan-java.googlecode.com/svn/trunk@124 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 06 Jun 2014 01:14:18 +0000 |
parents | 2428ecfed375 |
children | cc3a0578edac |
comparison
equal
deleted
inserted
replaced
122:d00f41edbbd6 | 123:d7be9b3abf1a |
---|---|
3 | 3 |
4 public abstract class LuanFunction { | 4 public abstract class LuanFunction { |
5 | 5 |
6 public abstract Object call(LuanState luan,Object[] args) throws LuanException; | 6 public abstract Object call(LuanState luan,Object[] args) throws LuanException; |
7 | 7 |
8 public static final Object[] EMPTY = new Object[0]; | 8 public static final Object[] NOTHING = new Object[0]; |
9 | 9 |
10 @Override public String toString() { | 10 @Override public String toString() { |
11 return "function: " + Integer.toHexString(hashCode()); | 11 return "function: " + Integer.toHexString(hashCode()); |
12 } | 12 } |
13 | 13 |