[client] windows: compile DirectWrite font support as C++

This commit is contained in:
Geoffrey McRae
2026-10-03 09:41:53 +10:00
parent faa078f069
commit 1ff31304cd
3 changed files with 93 additions and 72 deletions

View File

@@ -25,6 +25,11 @@
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct FontPlatform FontPlatform;
typedef enum FontPlatformFaceResult
@@ -48,4 +53,8 @@ bool font_platformResolve(FontPlatform * platform,
const uint32_t * glyphs, size_t glyphCount,
FontPlatformAddFaceFn addFace, void * opaque, size_t * unresolved);
#ifdef __cplusplus
}
#endif
#endif