mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-13 01:30:30 +00:00
unify offset of metatable in GCudata, GCtab and GChead for LJ_GC64
This commit is contained in:
parent
287a5347cf
commit
6442fecd37
@ -310,7 +310,7 @@ typedef struct GCudata {
|
|||||||
uint8_t udtype; /* Userdata type. */
|
uint8_t udtype; /* Userdata type. */
|
||||||
uint8_t unused2;
|
uint8_t unused2;
|
||||||
GCRef env; /* Should be at same offset in GCfunc. */
|
GCRef env; /* Should be at same offset in GCfunc. */
|
||||||
MSize len; /* Size of payload. */
|
GCSize len; /* Size of payload. */
|
||||||
GCRef metatable; /* Must be at same offset in GCtab. */
|
GCRef metatable; /* Must be at same offset in GCtab. */
|
||||||
uint32_t align1; /* To force 8 byte alignment of the payload. */
|
uint32_t align1; /* To force 8 byte alignment of the payload. */
|
||||||
} GCudata;
|
} GCudata;
|
||||||
|
Loading…
Reference in New Issue
Block a user