diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 14:36:24 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 14:36:24 -0300 |
commit | 4e23699aa647fd9dc04933bf5582217ca594c8ce (patch) | |
tree | 03d4f407c2f8974a62837a7d71f417c833aedd99 /lvm.h | |
parent | 1c0ac3c0f53720c53dcfae13308b11b29dca38e4 (diff) | |
download | lua-4e23699aa647fd9dc04933bf5582217ca594c8ce.tar.gz lua-4e23699aa647fd9dc04933bf5582217ca594c8ce.tar.bz2 lua-4e23699aa647fd9dc04933bf5582217ca594c8ce.zip |
new implementation for error handling
Diffstat (limited to '')
-rw-r--r-- | lvm.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.h,v 1.43 2002/06/24 13:08:45 roberto Exp roberto $ | 2 | ** $Id: lvm.h,v 1.44 2002/07/05 18:27:39 roberto Exp $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -22,6 +22,13 @@ | |||
22 | (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) | 22 | (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) |
23 | 23 | ||
24 | 24 | ||
25 | /* | ||
26 | ** dummy addrees, to mark Lua functions calling other Lua functions (and | ||
27 | ** therefore without a valid `pc' | ||
28 | */ | ||
29 | extern Instruction const *luaV_callingmark; | ||
30 | |||
31 | |||
25 | int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r); | 32 | int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r); |
26 | int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2); | 33 | int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2); |
27 | const TObject *luaV_tonumber (const TObject *obj, TObject *n); | 34 | const TObject *luaV_tonumber (const TObject *obj, TObject *n); |