From baa0e234564a5ceca4211486d1cc70be55a070a2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 24 Jul 2014 11:00:16 -0300 Subject: better support for extra user space associated with a Lua state --- luaconf.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index b477319b..6edc0e4e 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.209 2014/06/26 18:30:27 roberto Exp roberto $ +** $Id: luaconf.h,v 1.210 2014/07/17 13:53:37 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -210,6 +210,14 @@ +/* +@@ LUA_EXTRASPACE defines the size of a raw memory area associated with +** a Lua state with very fast access. +** CHANGE it if you need a different size. +*/ +#define LUA_EXTRASPACE (sizeof(void *)) + + /* @@ LUA_QL describes how error messages quote program elements. ** CHANGE it if you want a different appearance. -- cgit v1.2.3-55-g6feb