[pango/pango2: 119/168] pango-fontmap-private.h: Use C linkage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 119/168] pango-fontmap-private.h: Use C linkage
- Date: Mon, 20 Jun 2022 16:28:44 +0000 (UTC)
commit b9b47b265842c228a5321e22a67a508cf0255aad
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 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]