Files
rgbds/include/link/output.hpp
ISSOtm e5078aba3b Clean up #includes
Remove unused headers, and avoid relying on transitive inclusions

`include-what-you-use` has been very useful for this!
2024-03-28 01:25:38 +01:00

27 lines
568 B
C++

/* SPDX-License-Identifier: MIT */
#ifndef RGBDS_LINK_OUTPUT_H
#define RGBDS_LINK_OUTPUT_H
#include "link/section.hpp"
/*
* Registers a section for output.
* @param section The section to add
*/
void out_AddSection(Section const &section);
/*
* Finds an assigned section overlapping another one.
* @param section The section that is being overlapped
* @return A section overlapping it
*/
Section const *out_OverlappingSection(Section const &section);
/*
* Writes all output (bin, sym, map) files.
*/
void out_WriteFiles();
#endif // RGBDS_LINK_OUTPUT_H