aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-18 12:12:03 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-18 12:12:03 -0200
commitc0edab0f6de39ba5ae2e2f1540fa98f1b507afec (patch)
tree9401b36cf92a0f37ae6a9cf052c99ff11787246e /lua.h
parenta948054a1951cd526c732d6a0e16d99cae837d49 (diff)
downloadlua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.gz
lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.bz2
lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.zip
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index a44a1d9a..bfb713a7 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.295 2013/12/09 14:21:10 roberto Exp roberto $ 2** $Id: lua.h,v 1.296 2013/12/16 19:06:52 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -189,7 +189,10 @@ LUA_API const void *(lua_topointer) (lua_State *L, int idx);
189#define LUA_OPPOW 4 189#define LUA_OPPOW 4
190#define LUA_OPDIV 5 190#define LUA_OPDIV 5
191#define LUA_OPIDIV 6 191#define LUA_OPIDIV 6
192#define LUA_OPUNM 7 192#define LUA_OPBAND 7
193#define LUA_OPBOR 8
194#define LUA_OPBXOR 9
195#define LUA_OPUNM 10
193 196
194LUA_API void (lua_arith) (lua_State *L, int op); 197LUA_API void (lua_arith) (lua_State *L, int op);
195 198