git.y1.nz

gbdk-2020

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

gbdk-lib/examples/cross-platform/banks_autobank/src/srcfile_1.h

      1 #include <gbdk/platform.h>
      2 
      3 #ifndef _srcfile_1_h
      4 #define _srcfile_1_h
      5 
      6 // "BANKREF_EXTERN()" makes a "BANKREF()" reference
      7 // from another source file accessible for use with "BANK()"
      8 extern const uint8_t some_const_var_1;
      9 BANKREF_EXTERN(some_const_var_1)
     10 
     11 // Reference for a banked function
     12 void func_1(void) BANKED;
     13 BANKREF_EXTERN(func_1)
     14 
     15 #endif

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