summaryrefslogtreecommitdiff
path: root/lua/lvm.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-03-23 05:09:13 +0000
committerjbj <devnull@localhost>2004-03-23 05:09:13 +0000
commit7b5c3b42c9b847badc5c6f66f054ee536ce82edd (patch)
treee43fbc2496a3485768e5e45fe15f068a456e9a81 /lua/lvm.h
parent9ecefd3901e8d3dc5652247bb4ab02f73a949fb7 (diff)
downloadrpm-7b5c3b42c9b847badc5c6f66f054ee536ce82edd.tar.gz
rpm-7b5c3b42c9b847badc5c6f66f054ee536ce82edd.tar.bz2
rpm-7b5c3b42c9b847badc5c6f66f054ee536ce82edd.zip
Splint annotations.
CVS patchset: 7182 CVS date: 2004/03/23 05:09:13
Diffstat (limited to 'lua/lvm.h')
-rw-r--r--lua/lvm.h29
1 files changed, 20 insertions, 9 deletions
diff --git a/lua/lvm.h b/lua/lvm.h
index a468077f2..2f28114aa 100644
--- a/lua/lvm.h
+++ b/lua/lvm.h
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.h,v 1.1 2004/03/16 21:58:30 niemeyer Exp $
+** $Id: lvm.h,v 1.2 2004/03/23 05:09:14 jbj Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -22,14 +22,25 @@
(ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))
-int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r);
-int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2);
-const TObject *luaV_tonumber (const TObject *obj, TObject *n);
-int luaV_tostring (lua_State *L, StkId obj);
+int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r)
+ /*@modifies L @*/;
+int luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2)
+ /*@modifies L, t1, t2 @*/;
+/*@observer@*/ /*@null@*/
+const TObject *luaV_tonumber (const TObject *obj, TObject *n)
+ /*@modifies n @*/;
+int luaV_tostring (lua_State *L, StkId obj)
+ /*@modifies L, obj @*/;
+/*@observer@*/
const TObject *luaV_gettable (lua_State *L, const TObject *t, TObject *key,
- int loop);
-void luaV_settable (lua_State *L, const TObject *t, TObject *key, StkId val);
-StkId luaV_execute (lua_State *L);
-void luaV_concat (lua_State *L, int total, int last);
+ int loop)
+ /*@modifies L, t @*/;
+void luaV_settable (lua_State *L, const TObject *t, TObject *key, StkId val)
+ /*@modifies L, t @*/;
+/*@null@*/
+StkId luaV_execute (lua_State *L)
+ /*@modifies L @*/;
+void luaV_concat (lua_State *L, int total, int last)
+ /*@modifies L @*/;
#endif