diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-10-11 13:52:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-10-11 13:52:26 -0300 |
commit | 0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f (patch) | |
tree | d8a9df624e0b479257b4cae4518f1a8c588a746b /lobject.h | |
parent | 87a9573b2eb3f1da8e438f92ade994160d930b09 (diff) | |
download | lua-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |