aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-24 11:00:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-24 11:00:16 -0300
commitbaa0e234564a5ceca4211486d1cc70be55a070a2 (patch)
tree3531beba9d415363ff80140b68c369a5646d75ff /luaconf.h
parent55a710545c811f3ccb6aea6232657015f474139f (diff)
downloadlua-baa0e234564a5ceca4211486d1cc70be55a070a2.tar.gz
lua-baa0e234564a5ceca4211486d1cc70be55a070a2.tar.bz2
lua-baa0e234564a5ceca4211486d1cc70be55a070a2.zip
better support for extra user space associated with a Lua state
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index b477319b..6edc0e4e 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.209 2014/06/26 18:30:27 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.210 2014/07/17 13:53:37 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -211,6 +211,14 @@
211 211
212 212
213/* 213/*
214@@ LUA_EXTRASPACE defines the size of a raw memory area associated with
215** a Lua state with very fast access.
216** CHANGE it if you need a different size.
217*/
218#define LUA_EXTRASPACE (sizeof(void *))
219
220
221/*
214@@ LUA_QL describes how error messages quote program elements. 222@@ LUA_QL describes how error messages quote program elements.
215** CHANGE it if you want a different appearance. 223** CHANGE it if you want a different appearance.
216*/ 224*/