From c0edab0f6de39ba5ae2e2f1540fa98f1b507afec Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 18 Dec 2013 12:12:03 -0200 Subject: first implementation of bitwise operators '&' (band), '|' (bor), and '~' (bxor) --- ltm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index 8eb504d1..6ca7e9d3 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.22 2013/08/27 18:53:35 roberto Exp roberto $ +** $Id: ltm.c,v 2.23 2013/12/16 19:06:52 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -38,6 +38,7 @@ void luaT_init (lua_State *L) { "__gc", "__mode", "__len", "__eq", "__add", "__sub", "__mul", "__mod", "__pow", "__div", "__idiv", + "__band", "__bor", "__bxor", "__unm", "__lt", "__le", "__concat", "__call" }; -- cgit v1.2.3-55-g6feb