Mercurial Hosting > luan
comparison src/luan/LuaFunction.java @ 40:e3624b7cd603
implement stack trace
git-svn-id: https://luan-java.googlecode.com/svn/trunk@41 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 21 Dec 2012 10:45:54 +0000 |
parents | 9cea1aea5eef |
children |
comparison
equal
deleted
inserted
replaced
39:e5bcb1eeafc1 | 40:e3624b7cd603 |
---|---|
1 package luan; | 1 package luan; |
2 | 2 |
3 | 3 |
4 public abstract class LuaFunction { | 4 public abstract class LuaFunction { |
5 | 5 |
6 public abstract Object[] call(LuaState lua,Object... args) throws LuaException; | 6 public abstract Object[] call(LuaState lua,Object[] args) throws LuaException; |
7 | 7 |
8 public static final Object[] EMPTY_RTN = new Object[0]; | 8 public static final Object[] EMPTY_RTN = 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()); |