git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 3c388a7675b9122f2c1676a36fd032d8209ff197
parent 38ffd7bc61ac5ee8ca9284f56857e7d72ed9f17a
Author: Toxa <untoxa@mail.ru>
Date:   Tue,  7 Sep 2021 10:05:02 +0300

SIZE() renamed to INCBIN_SIZE()

Diffstat:
Mgbdk-lib/include/gbdk/incbin.h6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gbdk-lib/include/gbdk/incbin.h b/gbdk-lib/include/gbdk/incbin.h @@ -20,7 +20,7 @@ An entry is created for the variable and it's size variable. - @ref INCBIN(), SIZE() + @ref INCBIN(), INCBIN_SIZE() */ #define INCBIN_EXTERN(VARNAME) extern const uint8_t VARNAME[]; \ extern const void __size_ ## VARNAME; \ @@ -34,7 +34,7 @@ extern const void __bank_ ## VARNAME; @ref INCBIN(), INCBIN_EXTERN() */ -#define SIZE(VARNAME) ( (uint16_t) & __size_ ## VARNAME ) +#define INCBIN_SIZE(VARNAME) ( (uint16_t) & __size_ ## VARNAME ) /** Obtains the __bank number__ of the INCBIN() generated data @@ -59,7 +59,7 @@ extern const void __bank_ ## VARNAME; The variable name is not modified and can be used as-is. - @see SIZE() for obtaining the size of the included data. + @see INCBIN_SIZE() for obtaining the size of the included data. @see BANK() for obtaining the bank number of the included data. Use @ref INCBIN_EXTERN() within another source file

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.