diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-06-09 16:04:04 +0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-06-22 13:57:26 -0400 |
commit | 5b141b183c4d91cada3061ea3ab9e1b593f1c8e0 (patch) | |
tree | 04f2e7a6b986e1037991c1b9be0d5a97cb5701cb /pango | |
parent | b97ae74ebea6edc3f2fd29610ba2a6b9a6ce97f8 (diff) | |
download | pango-5b141b183c4d91cada3061ea3ab9e1b593f1c8e0.tar.gz |
pango-fontmap-private.h: Use C linkage
Sadly, the DirectWrite support used on Windows must be written in C++, so
make sure that we use extern "C" so that things can link properly.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-fontmap-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-fontmap-private.h b/pango/pango-fontmap-private.h index e2410e96..6c0c5e04 100644 --- a/pango/pango-fontmap-private.h +++ b/pango/pango-fontmap-private.h @@ -24,6 +24,8 @@ #include <pango/pango-fontmap-private.h> +G_BEGIN_DECLS + struct _PangoFontMap { GObject parent_instance; @@ -67,3 +69,5 @@ void pango_font_map_repopulate (PangoFontMap *self, gboolean add_synthetic); void pango_font_map_changed (PangoFontMap *self); + +G_END_DECLS |