Procházet zdrojové kódy

Export the built-in font pointer, so that we can use it with other libraries/classes.

gogg před 16 roky
rodič
revize
6785a61f3c
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      panda/src/text/default_font.h

+ 2 - 2
panda/src/text/default_font.h

@@ -19,8 +19,8 @@
 
 
 #if defined(COMPILE_IN_DEFAULT_FONT) && !defined(CPPPARSER)
 #if defined(COMPILE_IN_DEFAULT_FONT) && !defined(CPPPARSER)
 
 
-extern const unsigned char default_font_data[];
-extern const int default_font_size;
+extern EXPCL_PANDA_TEXT const unsigned char default_font_data[];
+extern EXPCL_PANDA_TEXT const int default_font_size;
 
 
 #endif  // HAVE_FREETYPE && COMPILE_IN_DEFAULT_FONT && !CPPPARSER
 #endif  // HAVE_FREETYPE && COMPILE_IN_DEFAULT_FONT && !CPPPARSER