|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Convenience structure to handle locations occuring in Macintosh 68K binaries. More...
#include <macos.h>
Public Types | |
| enum | location_type { segmented , sectioned , absolute } |
Public Member Functions | |
| bool | IsSegmented () const |
| bool | IsSectioned () const |
| bool | IsAbsolute () const |
| bool | operator== (const Location &other) const |
| bool | operator< (const Location &other) const |
Static Public Member Functions | |
| static Location | Segmented (uint16_t segment, uint32_t offset) |
| Create a location inside a CODE segment resource, containing a segment number (resource ID) and an offset. | |
| static Location | Sectioned (uint32_t section, uint32_t offset) |
| Create a location inside a PEF section, containing a section number and an offset. | |
Public Attributes | |
| location_type | type = segmented |
| uint16_t | segment = 0 |
| uint32_t | section = 0 |
| uint32_t | offset = 0 |
Convenience structure to handle locations occuring in Macintosh 68K binaries.