Skip to content

Commit d5d5407

Browse files
[src] Exemplify the use of eadk_external_data in comment
1 parent db9cf88 commit d5d5407

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
extern "C" const char eadk_app_name[] = "Voord";
88
extern "C" const uint32_t eadk_app_api_level = 0;
99
extern "C" void _eadk_main();
10+
/* If the app were to require an external data, the symbol 'eadk_external_data'
11+
* could be used without any definition in the .nwa. The .bin would require an
12+
* external .o defining eadk_external_data in order to bin the executable. */
13+
// extern "C" const unsigned char eadk_external_data[];
1014

1115
void checkForSpaceshipAlienCollisions(Alien aliens[], int numberOfAliens, Spaceship * spaceship) {
1216
for (int i = 0; i < numberOfAliens; i++) {

0 commit comments

Comments
 (0)