aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-08-01 14:33:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-08-01 14:33:08 -0300
commit2be88d50843eafae123c28dfc9750fcf473f28e4 (patch)
tree489cdf215995776425d78665a34dedb09a54c028 /luaconf.h
parentf5c690b684b8503dce9fe9f9e1a956cabd1c8699 (diff)
downloadlua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.gz
lua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.bz2
lua-2be88d50843eafae123c28dfc9750fcf473f28e4.zip
'lua_Ctx' -> 'lua_Kcontext'
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/luaconf.h b/luaconf.h
index 07e98a5d..3b51a1f3 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.211 2014/07/24 14:00:16 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.212 2014/07/24 19:33:29 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*/
@@ -263,19 +263,20 @@
263 263
264 264
265/* 265/*
266@@ LUA_CTXT is the type of the context ('ctx') for continuation functions. 266@@ LUA_KCONTEXT is the type of the context ('ctx') for continuation
267@@ It must be a numerical type; Lua will use 'intptr_t' if available. 267@@ functions. It must be a numerical type; Lua will use 'intptr_t' if
268@@ available.
268*/ 269*/
269#if defined (LUA_USE_C99) 270#if defined (LUA_USE_C99)
270#include <stdint.h> 271#include <stdint.h>
271#if defined (INTPTR_MAX) /* even in C99 this type is optional */ 272#if defined (INTPTR_MAX) /* even in C99 this type is optional */
272#define LUA_CTXT intptr_t 273#define LUA_KCONTEXT intptr_t
273#endif 274#endif
274#endif 275#endif
275 276
276#if !defined(LUA_CTXT) 277#if !defined(LUA_KCONTEXT)
277/* default definition (the nearest thing to 'intptr_t' in C89) */ 278/* default definition (the nearest thing to 'intptr_t' in C89) */
278#define LUA_CTXT ptrdiff_t 279#define LUA_KCONTEXT ptrdiff_t
279#endif 280#endif
280 281
281 282
@@ -305,7 +306,7 @@
305#define LUA_COMPAT_BITLIB 306#define LUA_COMPAT_BITLIB
306 307
307/* 308/*
308@@ LUA_COMPAT_IPAIRS controls the effectivness of the __ipairs metamethod. 309@@ LUA_COMPAT_IPAIRS controls the effectivnness of the __ipairs metamethod.
309*/ 310*/
310#define LUA_COMPAT_IPAIRS 311#define LUA_COMPAT_IPAIRS
311 312