aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-04-26 10:08:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-04-26 10:08:29 -0300
commita2f5c28a802ae99f2045ab96585fade2c65b2037 (patch)
treeeb2ab3d1fc8dc2084505ed4286502ed75b6721ba /lua.h
parenta80a2b5e561b50c1f64e96c3692614611a325aba (diff)
downloadlua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.gz
lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.bz2
lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.zip
new operation '//' (integer division)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lua.h b/lua.h
index c1efd9a1..eecb810c 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.285 2013/03/15 13:04:22 roberto Exp roberto $ 2** $Id: lua.h,v 1.286 2013/04/25 13:52:49 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
@@ -186,9 +186,10 @@ LUA_API const void *(lua_topointer) (lua_State *L, int idx);
186#define LUA_OPSUB 1 186#define LUA_OPSUB 1
187#define LUA_OPMUL 2 187#define LUA_OPMUL 2
188#define LUA_OPDIV 3 188#define LUA_OPDIV 3
189#define LUA_OPMOD 4 189#define LUA_OPIDIV 4
190#define LUA_OPPOW 5 190#define LUA_OPMOD 5
191#define LUA_OPUNM 6 191#define LUA_OPPOW 6
192#define LUA_OPUNM 7
192 193
193LUA_API void (lua_arith) (lua_State *L, int op); 194LUA_API void (lua_arith) (lua_State *L, int op);
194 195