summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lua/src/lvm.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lua/src/lvm.h')
-rw-r--r--3rdparty/lua/src/lvm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/3rdparty/lua/src/lvm.h b/3rdparty/lua/src/lvm.h
index 1bc16f3a50b..dba1ad27702 100644
--- a/3rdparty/lua/src/lvm.h
+++ b/3rdparty/lua/src/lvm.h
@@ -110,6 +110,11 @@ typedef enum {
luaC_barrierback(L, gcvalue(t), v); }
+/*
+** Shift right is the same as shift left with a negative 'y'
+*/
+#define luaV_shiftr(x,y) luaV_shiftl(x,intop(-, 0, y))
+
LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2);