Commits

Anonymous committed 67ef842

Fixed segfault when initializing the PyGenericFont_Type (pgreloaded)

  • Participants
  • Parent commits e4469ff
  • Branches pgreloaded

Comments (0)

Files changed (1)

File src/base/internals.h

 #define PYGAME_FRECT_INTERNAL
 #define PYGAME_BUFFERPROXY_INTERNAL
 #define PYGAME_SURFACE_INTERNAL
+#define PYGAME_FONT_INTERNAL
 
 extern PyObject* PyExc_PyGameError;
 
 PyObject* PySurface_New (void);
 void surface_export_capi (void **capi);
 
+extern PyTypeObject PyGenericFont_Type;
+#define PyGenericFont_Check(x) (PyObject_TypeCheck(x, &PyGenericFont_Type))
+PyObject* PyGenericFont_New(void);
+void font_export_capi(void **capi);
+
 #endif /* _PYGAME_BASE_INTERNALS_H_ */