aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-01 17:23:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-01 17:23:27 -0300
commitdad85e41311646e37d995d677156d6b5daeff329 (patch)
treedaf0defde41b2e26941688ab0062d7be31851540 /lvm.h
parentb029e7ea2070b834e1061492367faa11a1d54e3c (diff)
downloadlua-dad85e41311646e37d995d677156d6b5daeff329.tar.gz
lua-dad85e41311646e37d995d677156d6b5daeff329.tar.bz2
lua-dad85e41311646e37d995d677156d6b5daeff329.zip
macro 'setobj2t' may not be an expression
Diffstat (limited to 'lvm.h')
-rw-r--r--lvm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lvm.h b/lvm.h
index 17be5842..d682a7a2 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 2.41 2016/12/22 13:08:50 roberto Exp roberto $ 2** $Id: lvm.h,v 2.42 2017/05/11 18:57:46 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -79,7 +79,8 @@
79** 'slot' points to the place to put the value. 79** 'slot' points to the place to put the value.
80*/ 80*/
81#define luaV_finishfastset(L,t,slot,v) \ 81#define luaV_finishfastset(L,t,slot,v) \
82 (setobj2t(L, cast(TValue *,slot), v), luaC_barrierback(L, hvalue(t), v)) 82 { setobj2t(L, cast(TValue *,slot), v); \
83 luaC_barrierback(L, hvalue(t), v); }
83 84
84 85
85 86