shithub: rgbds

ref: 29623c41463fb1e1486b763d9d15d6a23c36b77e
dir: /include/asm/output.h/

View raw version
/*
 * 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);
void out_WriteObject(void);

#endif /* RGBDS_ASM_OUTPUT_H */