summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-21 09:09:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-21 09:09:52 -0300
commita650378822f48e81978e626329bbd96373035eb2 (patch)
tree67a2595d55e90b0c13db752f70d19b3731e90566 /lua.h
parent99182c6872f173e8e91426a0dba1468769818681 (diff)
downloadlua-a650378822f48e81978e626329bbd96373035eb2.tar.gz
lua-a650378822f48e81978e626329bbd96373035eb2.tar.bz2
lua-a650378822f48e81978e626329bbd96373035eb2.zip
'cpcall' reimplemented as a predefined value in the registry
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index e87a9450..e440e30c 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.242 2009/09/14 14:30:39 roberto Exp roberto $ 2** $Id: lua.h,v 1.243 2009/09/17 18:04:21 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -91,7 +91,8 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
91 91
92/* predefined values in the registry */ 92/* predefined values in the registry */
93#define LUA_RIDX_MAINTHREAD 1 93#define LUA_RIDX_MAINTHREAD 1
94#define LUA_RIDX_LAST LUA_RIDX_MAINTHREAD 94#define LUA_RIDX_CPCALL 2
95#define LUA_RIDX_LAST LUA_RIDX_CPCALL
95 96
96 97
97 98