[pango/pango2: 247/301] pango-fontmap-private.h: Use C linkage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [pango/pango2: 247/301] pango-fontmap-private.h: Use C linkage
- Date: Wed, 22 Jun 2022 15:53:42 +0000 (UTC)
commit b2177f4a4d17aa0a7e255e5ca37b9095afe0f118
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]