OMG ADD PROPER PTR BTIMAPOPA AND MEQATADATA

This commit is contained in:
flameyosflow 2025-12-16 22:30:46 +02:00
commit 859e7d7560
2 changed files with 22 additions and 12 deletions

View file

@ -21,8 +21,15 @@ typedef struct ObjHeader {
uint16_t age;
uint16_t flags;
Obj *forwarding; // non-NULL if moved
const TypeInfo *type;
} ObjHeader;
typedef struct TypeInfo {
uint16_t field_count;
uint16_t pointer_count;
const uint8_t *pointer_bitmap;
} TypeInfo;
/* Full object definition */
struct Obj {
ObjHeader header;