aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-24 14:41:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-24 14:41:07 -0300
commit52b899d60d8c61b8affe0206014173912de94940 (patch)
tree5e6f9116b2c70a5ebd4c1bdea49f283cca5cb3fb /lobject.h
parent25cd3d377ec13176a6701d9d21a278ba8f2bc3d6 (diff)
downloadlua-52b899d60d8c61b8affe0206014173912de94940.tar.gz
lua-52b899d60d8c61b8affe0206014173912de94940.tar.bz2
lua-52b899d60d8c61b8affe0206014173912de94940.zip
Simpler coding for new representation for arrays
With the tags comming first in a cell, we can define the whole cell as a C type and let C do part of the address computations.
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 8688a842..6da50215 100644
--- a/lobject.h
+++ b/lobject.h
@@ -762,7 +762,7 @@ typedef union Node {
762#define setnorealasize(t) ((t)->flags |= BITRAS) 762#define setnorealasize(t) ((t)->flags |= BITRAS)
763 763
764 764
765typedef union ArrayCell ArrayCell; 765typedef struct ArrayCell ArrayCell;
766 766
767 767
768typedef struct Table { 768typedef struct Table {