aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-10-11 13:52:26 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-10-11 13:52:26 -0300
commit0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f (patch)
treed8a9df624e0b479257b4cae4518f1a8c588a746b /lobject.h
parent87a9573b2eb3f1da8e438f92ade994160d930b09 (diff)
downloadlua-0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f.tar.gz
lua-0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f.tar.bz2
lua-0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f.zip
Avoid taking the address of a 'TValue' field
That structure can be packed in the future.
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index a1b45543..0e05b3e4 100644
--- a/lobject.h
+++ b/lobject.h
@@ -68,7 +68,7 @@ typedef struct TValue {
68 68
69 69
70#define val_(o) ((o)->value_) 70#define val_(o) ((o)->value_)
71#define valraw(o) (&val_(o)) 71#define valraw(o) (val_(o))
72 72
73 73
74/* raw type tag of a TValue */ 74/* raw type tag of a TValue */