Files
rgbds/include/asm/output.h
ISSOtm fb58166e5d Add assertions
Closes #292
2020-03-21 23:00:38 +01:00

28 lines
616 B
C

/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
#ifndef RGBDS_ASM_OUTPUT_H
#define RGBDS_ASM_OUTPUT_H
#include <stdint.h>
#include "linkdefs.h"
struct Expression;
extern char *tzObjectname;
extern struct Section *pSectionList, *pCurrentSection;
void out_SetFileName(char *s);
void out_CreatePatch(uint32_t type, struct Expression const *expr);
bool out_CreateAssert(enum AssertionType type, struct Expression const *expr,
char const *message);
void out_WriteObject(void);
#endif /* RGBDS_ASM_OUTPUT_H */