1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-22 23:17:04 +00:00

fixup to extern

This commit is contained in:
Zeno Rogue 2019-09-06 09:19:07 +02:00
parent 7c56ff19c8
commit 30311e3929

View File

@ -325,7 +325,7 @@ int main() {
printf("#define NATCHARS {");
for(auto&& elt : vchars) printf("\"%s\",", elt.c_str());
printf("};\n");
printf("extern char* natchars[NUMEXTRA];\n");
printf("extern const char* natchars[NUMEXTRA];\n");
printf("#endif\n");
printf("const char* natchars[NUMEXTRA] = NATCHARS;\n");
printf("//javastring = \"%s\";\n", javastring.c_str());