mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
18 lines
383 B
C++
18 lines
383 B
C++
/* SPDX-License-Identifier: MIT */
|
|
|
|
// Assigning all sections a place
|
|
#ifndef RGBDS_LINK_ASSIGN_H
|
|
#define RGBDS_LINK_ASSIGN_H
|
|
|
|
#include <stdint.h>
|
|
|
|
extern uint64_t nbSectionsToAssign;
|
|
|
|
// Assigns all sections a slice of the address space
|
|
void assign_AssignSections(void);
|
|
|
|
// `free`s all assignment memory that was allocated
|
|
void assign_Cleanup(void);
|
|
|
|
#endif // RGBDS_LINK_ASSIGN_H
|