mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Forward declare struct Section to avoid a nested header include
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
#ifndef RGBDS_LINK_OUTPUT_HPP
|
#ifndef RGBDS_LINK_OUTPUT_HPP
|
||||||
#define RGBDS_LINK_OUTPUT_HPP
|
#define RGBDS_LINK_OUTPUT_HPP
|
||||||
|
|
||||||
#include "link/section.hpp"
|
struct Section;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Registers a section for output.
|
* Registers a section for output.
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#include "asm/fixpoint.hpp"
|
#include "asm/fixpoint.hpp"
|
||||||
#include "asm/fstack.hpp"
|
#include "asm/fstack.hpp"
|
||||||
#include "asm/lexer.hpp"
|
#include "asm/lexer.hpp"
|
||||||
#include "asm/main.hpp"
|
|
||||||
#include "asm/section.hpp"
|
#include "asm/section.hpp"
|
||||||
#include "asm/warning.hpp"
|
#include "asm/warning.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#include "platform.hpp"
|
#include "platform.hpp"
|
||||||
|
|
||||||
#include "link/main.hpp"
|
#include "link/main.hpp"
|
||||||
|
#include "link/section.hpp"
|
||||||
#include "link/symbol.hpp"
|
#include "link/symbol.hpp"
|
||||||
|
|
||||||
#define BANK_SIZE 0x4000
|
#define BANK_SIZE 0x4000
|
||||||
|
|||||||
Reference in New Issue
Block a user