shithub: rgbds

ref: b44f5825a57942f7ceb29d02fca9f9ea35e5f4f1
dir: /include/link/symbol.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_LINK_SYMBOL_H
#define RGBDS_LINK_SYMBOL_H

#include <stdint.h>

void sym_Init(void);
void sym_CreateSymbol(char *tzName, int32_t nValue, int32_t nBank,
		      char *tzObjFileName, char *tzFileName,
		      uint32_t nFileLine);
int32_t sym_GetValue(struct sPatch *pPatch, char *tzName);
int32_t sym_GetBank(struct sPatch *pPatch, char *tzName);

#endif /* RGBDS_LINK_SYMBOL_H */