[Fontconfig] fontconfig: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Mon Sep 4 02:13:35 PDT 2006


 src/ftglue.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

New commits:
diff-tree a04ac99f0f3e487c7611772442727a6eb4f44393 (from 4984242e3681a50a9c19f352783f145f91ecb868)
Author: Keith Packard <keithp at neko.keithp.com>
Date:   Mon Sep 4 02:13:13 2006 -0700

    Hide FreeType glue code from library ABI.
    
    FreeType glue code was escaping the shared library.

diff --git a/src/ftglue.h b/src/ftglue.h
index 93fd91e..b273f30 100644
--- a/src/ftglue.h
+++ b/src/ftglue.h
@@ -43,6 +43,8 @@
 #ifndef __OPENTYPE_FTGLUE_H__
 #define __OPENTYPE_FTGLUE_H__
 
+#include "fcint.h"
+
 #include <ft2build.h>
 #include FT_FREETYPE_H
 
@@ -58,7 +60,7 @@ FT_BEGIN_HEADER
 #define  SET_ERR(c)   ( (error = (c)) != 0 )
 
 #ifndef FTGLUE_API
-#define FTGLUE_API(x)  extern x
+#define FTGLUE_API(x)  extern FcPrivate x
 #endif
 
 #ifndef FTGLUE_APIDEF


More information about the Fontconfig mailing list