mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
27 lines
562 B
C++
27 lines
562 B
C++
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef RGBDS_LINK_OUTPUT_HPP
|
|
#define RGBDS_LINK_OUTPUT_HPP
|
|
|
|
struct Section;
|
|
|
|
/*
|
|
* Registers a section for output.
|
|
* @param section The section to add
|
|
*/
|
|
void out_AddSection(Section const §ion);
|
|
|
|
/*
|
|
* 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 §ion);
|
|
|
|
/*
|
|
* Writes all output (bin, sym, map) files.
|
|
*/
|
|
void out_WriteFiles();
|
|
|
|
#endif // RGBDS_LINK_OUTPUT_HPP
|