From 9ba7349f93aeca1bb45a083235f3576f5096a995 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 27 Jun 2007 07:49:52 +0000 Subject: The dungeon builder now caches compiled Lua chunks instead of Lua source in the .dsc to save on compile time (at the expense of larger .dsc files). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1663 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/clua.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/clua.h') diff --git a/crawl-ref/source/clua.h b/crawl-ref/source/clua.h index 2fd6bf835e..b9190021b6 100644 --- a/crawl-ref/source/clua.h +++ b/crawl-ref/source/clua.h @@ -63,6 +63,7 @@ public: void setregistry(const char *name); void getregistry(const char *name); + int loadbuffer(const char *buf, size_t size, const char *context); int loadstring(const char *str, const char *context); int execstring(const char *str, const char *context = "init.txt"); int execfile(const char *filename, bool trusted = false, -- cgit v1.2.3-54-g00ecf