mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
@@ -38,7 +38,7 @@ extern bool disablePadding;
|
||||
} while (0)
|
||||
|
||||
struct FileStackNode {
|
||||
enum FileStackNodeType type;
|
||||
FileStackNodeType type;
|
||||
std::variant<
|
||||
std::monostate, // Default constructed; `.type` and `.data` must be set manually
|
||||
std::vector<uint32_t>, // NODE_REPT
|
||||
|
||||
@@ -25,7 +25,7 @@ struct Patch {
|
||||
Section const *pcSection;
|
||||
uint32_t pcSectionID;
|
||||
uint32_t pcOffset;
|
||||
enum PatchType type;
|
||||
PatchType type;
|
||||
std::vector<uint8_t> rpnExpression;
|
||||
};
|
||||
|
||||
@@ -34,8 +34,8 @@ struct Section {
|
||||
std::string name;
|
||||
uint16_t size;
|
||||
uint16_t offset;
|
||||
enum SectionType type;
|
||||
enum SectionModifier modifier;
|
||||
SectionType type;
|
||||
SectionModifier modifier;
|
||||
bool isAddressFixed;
|
||||
// This `struct`'s address in ROM.
|
||||
// Importantly for fragments, this does not include `offset`!
|
||||
|
||||
@@ -25,7 +25,7 @@ struct Label {
|
||||
struct Symbol {
|
||||
// Info contained in the object files
|
||||
std::string name;
|
||||
enum ExportLevel type;
|
||||
ExportLevel type;
|
||||
char const *objFileName;
|
||||
FileStackNode const *src;
|
||||
int32_t lineNo;
|
||||
|
||||
Reference in New Issue
Block a user