[pango/pango2: 118/178] pango-fontmap-private.h: Use C linkage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 118/178] pango-fontmap-private.h: Use C linkage
- Date: Wed, 22 Jun 2022 20:10:16 +0000 (UTC)
commit 5b141b183c4d91cada3061ea3ab9e1b593f1c8e0
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 9 16:04:04 2022 +0800
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.
pango/pango-fontmap-private.h | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/pango/pango-fontmap-private.h b/pango/pango-fontmap-private.h
index e2410e96c..6c0c5e043 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]