Mercurial Hosting > luan
comparison src/luan/LuanFunction.java @ 86:6db8f286fa6c
_ENV is per module, not global
git-svn-id: https://luan-java.googlecode.com/svn/trunk@87 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 27 Feb 2013 08:03:51 +0000 |
parents | 8ede219cd111 |
children | 2428ecfed375 |
comparison
equal
deleted
inserted
replaced
85:b2551f00bc51 | 86:6db8f286fa6c |
---|---|
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_RTN = new Object[0]; | 8 public static final Object[] EMPTY = 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 |