2025-01-07 13:24:59 +00:00
|
|
|
/* Generated by "code/4ed_font_api.cpp" */
|
2025-01-06 17:37:44 +00:00
|
|
|
|
2019-10-03 02:58:05 +00:00
|
|
|
#define font_make_face_sig() Face* font_make_face(Arena* arena, Face_Description* description, f32 scale_factor)
|
2025-01-06 17:37:44 +00:00
|
|
|
|
2019-10-03 02:58:05 +00:00
|
|
|
typedef Face* font_make_face_type(Arena* arena, Face_Description* description, f32 scale_factor);
|
2025-01-06 17:37:44 +00:00
|
|
|
|
2019-10-03 02:58:05 +00:00
|
|
|
struct API_VTable_font{
|
2025-01-06 17:37:44 +00:00
|
|
|
font_make_face_type *make_face;
|
2019-10-03 02:58:05 +00:00
|
|
|
};
|
2025-01-06 17:37:44 +00:00
|
|
|
|
2019-10-03 02:58:05 +00:00
|
|
|
#if defined(STATIC_LINK_API)
|
|
|
|
internal Face* font_make_face(Arena* arena, Face_Description* description, f32 scale_factor);
|
|
|
|
#undef STATIC_LINK_API
|
2025-01-06 17:37:44 +00:00
|
|
|
|
2019-10-03 02:58:05 +00:00
|
|
|
#elif defined(DYNAMIC_LINK_API)
|
|
|
|
global font_make_face_type *font_make_face = 0;
|
|
|
|
#undef DYNAMIC_LINK_API
|
|
|
|
#endif
|