Mercurial Hosting > luan
comparison core/src/luan/LuanFunction.java @ 574:6cc2f047019b
remove LuanState.call()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 13 Jul 2015 12:31:53 -0600 |
parents | 1eafb11a150d |
children |
comparison
equal
deleted
inserted
replaced
573:894f991baac5 | 574:6cc2f047019b |
---|---|
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[] NOTHING = new Object[0]; | 8 public static final Object[] NOTHING = new Object[0]; |
9 | 9 |
10 public final Object call(LuanState luan) throws LuanException { | |
11 return call(luan,NOTHING); | |
12 } | |
13 | |
10 @Override public String toString() { | 14 @Override public String toString() { |
11 return "function: " + Integer.toHexString(hashCode()); | 15 return "function: " + Integer.toHexString(hashCode()); |
12 } | 16 } |
13 | 17 |
14 } | 18 } |