diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 10:08:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 10:08:29 -0300 |
commit | a2f5c28a802ae99f2045ab96585fade2c65b2037 (patch) | |
tree | eb2ab3d1fc8dc2084505ed4286502ed75b6721ba /ltm.c | |
parent | a80a2b5e561b50c1f64e96c3692614611a325aba (diff) | |
download | lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.gz lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.bz2 lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.zip |
new operation '//' (integer division)
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 2.16 2013/04/25 15:59:42 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 2.17 2013/04/25 16:07:52 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -35,7 +35,7 @@ void luaT_init (lua_State *L) { | |||
35 | static const char *const luaT_eventname[] = { /* ORDER TM */ | 35 | static const char *const luaT_eventname[] = { /* ORDER TM */ |
36 | "__index", "__newindex", | 36 | "__index", "__newindex", |
37 | "__gc", "__mode", "__len", "__eq", | 37 | "__gc", "__mode", "__len", "__eq", |
38 | "__add", "__sub", "__mul", "__div", "__mod", | 38 | "__add", "__sub", "__mul", "__div", "__idiv", "__mod", |
39 | "__pow", "__unm", "__lt", "__le", | 39 | "__pow", "__unm", "__lt", "__le", |
40 | "__concat", "__call" | 40 | "__concat", "__call" |
41 | }; | 41 | }; |