/// Offset of the identifier in the file.
unsigned int nameOffset;
/// Type ID of referenced object.
- unsigned int typeId;
+ int typeId;
/// File-offset of the object's actual data.
unsigned int dataOffset;
};
unsigned int nameOffset;
/// Target position for linking/inlining.
unsigned int referenceOffset;
- /// Nonzero if the object should be copied rather that
+ /// Target type.
+ int typeId;
+ /// True if the object should be copied rather that
/// just writing a reference.
- unsigned int inlined;
+ bool inlined;
};
struct Image {
};
struct Object {
- unsigned int typeId;
+ int typeId;
unsigned int size;
+
char *RawObject();
Object *Next();
};
struct Array {
- unsigned int typeId;
+ int typeId;
unsigned int size;
bool ref;
+
char *Data();
Array *Next();
};