summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-05-21 17:06:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-05-21 17:06:11 -0300
commit019ebcb85fa5ab03f424e21f6758d8533a5b3126 (patch)
tree9638ae9fc8823c58cbd0ea36536518203fa9fb28 /lua.h
parent889284ebd01dbc923403b0aa38b82dc80ed86af8 (diff)
downloadlua-019ebcb85fa5ab03f424e21f6758d8533a5b3126.tar.gz
lua-019ebcb85fa5ab03f424e21f6758d8533a5b3126.tar.bz2
lua-019ebcb85fa5ab03f424e21f6758d8533a5b3126.zip
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
__gc MetaMethod)
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 fb725765..2836832b 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.235 2009/04/08 18:04:33 roberto Exp roberto $ 2** $Id: lua.h,v 1.236 2009/04/17 14:28:06 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
@@ -45,7 +45,8 @@
45#define LUA_ERRRUN 2 45#define LUA_ERRRUN 2
46#define LUA_ERRSYNTAX 3 46#define LUA_ERRSYNTAX 3
47#define LUA_ERRMEM 4 47#define LUA_ERRMEM 4
48#define LUA_ERRERR 5 48#define LUA_ERRGCMM 5
49#define LUA_ERRERR 6
49 50
50 51
51typedef struct lua_State lua_State; 52typedef struct lua_State lua_State;