diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-07-12 13:16:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-07-12 13:16:43 -0300 |
commit | afb5ef72e1974ba6d0fc336637c71f3ee8fb03a2 (patch) | |
tree | 9e7c9bf902a86ae79a0eecb413dfb00ad1250665 /lvm.h | |
parent | 1d8edd347d728ba6b0160359f3c0391e7b1a8a44 (diff) | |
download | lua-afb5ef72e1974ba6d0fc336637c71f3ee8fb03a2.tar.gz lua-afb5ef72e1974ba6d0fc336637c71f3ee8fb03a2.tar.bz2 lua-afb5ef72e1974ba6d0fc336637c71f3ee8fb03a2.zip |
new function "sort" + many small changes
Diffstat (limited to 'lvm.h')
-rw-r--r-- | lvm.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.h,v 1.3 1997/10/16 10:59:34 roberto Exp roberto $ | 2 | ** $Id: lvm.h,v 1.4 1997/12/15 16:17:20 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include "ldo.h" | 11 | #include "ldo.h" |
12 | #include "lobject.h" | 12 | #include "lobject.h" |
13 | #include "ltm.h" | ||
13 | 14 | ||
14 | 15 | ||
15 | #define tonumber(o) ((ttype(o) != LUA_T_NUMBER) && (luaV_tonumber(o) != 0)) | 16 | #define tonumber(o) ((ttype(o) != LUA_T_NUMBER) && (luaV_tonumber(o) != 0)) |
@@ -25,5 +26,7 @@ void luaV_getglobal (TaggedString *ts); | |||
25 | void luaV_setglobal (TaggedString *ts); | 26 | void luaV_setglobal (TaggedString *ts); |
26 | StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base); | 27 | StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base); |
27 | void luaV_closure (int nelems); | 28 | void luaV_closure (int nelems); |
29 | void luaV_comparison (lua_Type ttype_less, lua_Type ttype_equal, | ||
30 | lua_Type ttype_great, IMS op); | ||
28 | 31 | ||
29 | #endif | 32 | #endif |