diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-17 16:23:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-17 16:23:12 -0300 |
commit | 62824137d65aec32654f0cd91f900b1d470fa959 (patch) | |
tree | 4ff631e648d4172d7aa958f30085fcb5bc6c880a /lua.h | |
parent | 71219ccc3905931c5afb2646ff8c5de4145428f5 (diff) | |
download | lua-62824137d65aec32654f0cd91f900b1d470fa959.tar.gz lua-62824137d65aec32654f0cd91f900b1d470fa959.tar.bz2 lua-62824137d65aec32654f0cd91f900b1d470fa959.zip |
no more `seterrormethod' function
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.46 2000/04/14 17:46:37 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.47 2000/04/14 17:48:20 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: lua@tecgraf.puc-rio.br | 5 | ** e-mail: lua@tecgraf.puc-rio.br |
@@ -11,7 +11,7 @@ | |||
11 | #ifndef lua_h | 11 | #ifndef lua_h |
12 | #define lua_h | 12 | #define lua_h |
13 | 13 | ||
14 | #define LUA_VERSION "Lua 4.0" | 14 | #define LUA_VERSION "Lua 4.0 (alpha)" |
15 | #define LUA_COPYRIGHT "Copyright (C) 1994-2000 TeCGraf, PUC-Rio" | 15 | #define LUA_COPYRIGHT "Copyright (C) 1994-2000 TeCGraf, PUC-Rio" |
16 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" | 16 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" |
17 | 17 | ||
@@ -112,8 +112,6 @@ lua_Object lua_createtable (lua_State *L); | |||
112 | long lua_collectgarbage (lua_State *L, long limit); | 112 | long lua_collectgarbage (lua_State *L, long limit); |
113 | 113 | ||
114 | 114 | ||
115 | lua_Object lua_seterrormethod (lua_State *L); /* In: new method */ | ||
116 | |||
117 | 115 | ||
118 | /* | 116 | /* |
119 | ** =============================================================== | 117 | ** =============================================================== |
@@ -207,9 +205,8 @@ extern lua_State *lua_state; | |||
207 | #define lua_unref(ref) (lua_unref)(lua_state, ref) | 205 | #define lua_unref(ref) (lua_unref)(lua_state, ref) |
208 | #define lua_createtable() (lua_createtable)(lua_state) | 206 | #define lua_createtable() (lua_createtable)(lua_state) |
209 | #define lua_collectgarbage(limit) (lua_collectgarbage)(lua_state, limit) | 207 | #define lua_collectgarbage(limit) (lua_collectgarbage)(lua_state, limit) |
210 | #define lua_seterrormethod() (lua_seterrormethod)(lua_state) | ||
211 | /* | 208 | /* |
212 | ** the following typecast is a little dirty, but we cannot find another | 209 | ** the following typecast is a little dirty, but we know of no other |
213 | ** way to keep compatibility with old definition of `lua_CFunction' | 210 | ** way to keep compatibility with old definition of `lua_CFunction' |
214 | */ | 211 | */ |
215 | #define lua_pushcclosure(fn,n) \ | 212 | #define lua_pushcclosure(fn,n) \ |