summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-30 18:47:58 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-30 18:47:58 -0200
commit1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51 (patch)
treebdedb3205963f8db43391aaef5be853cdeb59df4 /lua.h
parentf5133aa1a55cee96b535ff788764437deacdc26a (diff)
downloadlua-github-1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51.tar.gz
first implementation of '<<', '>>', and '~' (bitwise not)
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 bfb713a7..d40d1956 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
/*
-** $Id: lua.h,v 1.296 2013/12/16 19:06:52 roberto Exp roberto $
+** $Id: lua.h,v 1.297 2013/12/18 14:12:03 roberto Exp roberto $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
@@ -192,7 +192,10 @@ LUA_API const void *(lua_topointer) (lua_State *L, int idx);
#define LUA_OPBAND 7
#define LUA_OPBOR 8
#define LUA_OPBXOR 9
-#define LUA_OPUNM 10
+#define LUA_OPSHL 10
+#define LUA_OPSHR 11
+#define LUA_OPUNM 12
+#define LUA_OPBNOT 13
LUA_API void (lua_arith) (lua_State *L, int op);