summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 11:00:14 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 11:00:14 +0000
commitec5b5dfca31a3c2ec1a101e38f57f47c3952acb8 (patch)
treed4161725fc218e93d7cc7042253fc4fa77bf476c /crawl-ref/source/clua.h
parenta54e6bb23df5211c2a5b59037f355c43e795fa05 (diff)
downloadcrawl-ref-ec5b5dfca31a3c2ec1a101e38f57f47c3952acb8.tar.gz
crawl-ref-ec5b5dfca31a3c2ec1a101e38f57f47c3952acb8.zip
Include the Lua stack trace and currently acting monsters in the crash report.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8694 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.h')
-rw-r--r--crawl-ref/source/clua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.h b/crawl-ref/source/clua.h
index 7880eabcb6..2f8416adf2 100644
--- a/crawl-ref/source/clua.h
+++ b/crawl-ref/source/clua.h
@@ -319,6 +319,8 @@ void clua_register_metatable(lua_State *ls, const char *tn,
const luaL_reg *lr,
int (*gcfn)(lua_State *ls) = NULL);
+void print_clua_stack();
+
#define MAP_METATABLE "dgn.mtmap"
#define DEVENT_METATABLE "dgn.devent"
#define MAPMARK_METATABLE "dgn.mapmark"