diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-18 12:12:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-18 12:12:03 -0200 |
commit | c0edab0f6de39ba5ae2e2f1540fa98f1b507afec (patch) | |
tree | 9401b36cf92a0f37ae6a9cf052c99ff11787246e /ltm.h | |
parent | a948054a1951cd526c732d6a0e16d99cae837d49 (diff) | |
download | lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.gz lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.bz2 lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.zip |
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.16 2013/04/29 16:56:50 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.17 2013/12/16 19:06:52 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -29,6 +29,9 @@ typedef enum { | |||
29 | TM_POW, | 29 | TM_POW, |
30 | TM_DIV, | 30 | TM_DIV, |
31 | TM_IDIV, | 31 | TM_IDIV, |
32 | TM_BAND, | ||
33 | TM_BOR, | ||
34 | TM_BXOR, | ||
32 | TM_UNM, | 35 | TM_UNM, |
33 | TM_LT, | 36 | TM_LT, |
34 | TM_LE, | 37 | TM_LE, |