diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-30 18:47:58 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-30 18:47:58 -0200 |
| commit | 1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51 (patch) | |
| tree | bdedb3205963f8db43391aaef5be853cdeb59df4 /lua.h | |
| parent | f5133aa1a55cee96b535ff788764437deacdc26a (diff) | |
| download | lua-1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51.tar.gz lua-1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51.tar.bz2 lua-1ea2d20f74cea9c61817d4a5ed67c4fc47cafb51.zip | |
first implementation of '<<', '>>', and '~' (bitwise not)
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.296 2013/12/16 19:06:52 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.297 2013/12/18 14:12:03 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 |
| @@ -192,7 +192,10 @@ LUA_API const void *(lua_topointer) (lua_State *L, int idx); | |||
| 192 | #define LUA_OPBAND 7 | 192 | #define LUA_OPBAND 7 |
| 193 | #define LUA_OPBOR 8 | 193 | #define LUA_OPBOR 8 |
| 194 | #define LUA_OPBXOR 9 | 194 | #define LUA_OPBXOR 9 |
| 195 | #define LUA_OPUNM 10 | 195 | #define LUA_OPSHL 10 |
| 196 | #define LUA_OPSHR 11 | ||
| 197 | #define LUA_OPUNM 12 | ||
| 198 | #define LUA_OPBNOT 13 | ||
| 196 | 199 | ||
| 197 | LUA_API void (lua_arith) (lua_State *L, int op); | 200 | LUA_API void (lua_arith) (lua_State *L, int op); |
| 198 | 201 | ||
