diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-25 16:12:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-25 16:12:41 -0300 |
commit | e381c582de1b80a5f3df2c0d36fc25b415b48de0 (patch) | |
tree | 348d30377bfa6e89c1fb5bc1b8b7805bc4a82eb7 /lvm.h | |
parent | 9600c60df3e5a971ca642734470901775ef67ff9 (diff) | |
download | lua-e381c582de1b80a5f3df2c0d36fc25b415b48de0.tar.gz lua-e381c582de1b80a5f3df2c0d36fc25b415b48de0.tar.bz2 lua-e381c582de1b80a5f3df2c0d36fc25b415b48de0.zip |
integer handling for order comparisons, power, and modulo operations
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 2.17 2011/05/31 18:27:56 roberto Exp $ | 2 | ** $Id: lvm.h,v 2.19 2013/04/15 15:44:46 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 | */ |
@@ -33,6 +33,9 @@ LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, | |||
33 | LUAI_FUNC void luaV_finishOp (lua_State *L); | 33 | LUAI_FUNC void luaV_finishOp (lua_State *L); |
34 | LUAI_FUNC void luaV_execute (lua_State *L); | 34 | LUAI_FUNC void luaV_execute (lua_State *L); |
35 | LUAI_FUNC void luaV_concat (lua_State *L, int total); | 35 | LUAI_FUNC void luaV_concat (lua_State *L, int total); |
36 | LUAI_FUNC lua_Integer luaV_div (lua_State *L, lua_Integer x, lua_Integer y); | ||
37 | LUAI_FUNC lua_Integer luaV_mod (lua_State *L, lua_Integer x, lua_Integer y); | ||
38 | LUAI_FUNC lua_Integer luaV_pow (lua_Integer x, lua_Integer y); | ||
36 | LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb, | 39 | LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb, |
37 | const TValue *rc, TMS op); | 40 | const TValue *rc, TMS op); |
38 | LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb); | 41 | LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb); |