summaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-05 14:36:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-05 14:36:24 -0300
commit4e23699aa647fd9dc04933bf5582217ca594c8ce (patch)
tree03d4f407c2f8974a62837a7d71f417c833aedd99 /lvm.h
parent1c0ac3c0f53720c53dcfae13308b11b29dca38e4 (diff)
downloadlua-4e23699aa647fd9dc04933bf5582217ca594c8ce.tar.gz
lua-4e23699aa647fd9dc04933bf5582217ca594c8ce.tar.bz2
lua-4e23699aa647fd9dc04933bf5582217ca594c8ce.zip
new implementation for error handling
Diffstat (limited to '')
-rw-r--r--lvm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lvm.h b/lvm.h
index 6b462e09..c1b2c312 100644
--- a/lvm.h
+++ b/lvm.h
@@ -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*/
29extern Instruction const *luaV_callingmark;
30
31
25int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r); 32int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r);
26int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2); 33int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2);
27const TObject *luaV_tonumber (const TObject *obj, TObject *n); 34const TObject *luaV_tonumber (const TObject *obj, TObject *n);