]> git.wh0rd.org - fontconfig.git/commitdiff
Hide FreeType glue code from library ABI.
authorKeith Packard <keithp@neko.keithp.com>
Mon, 4 Sep 2006 09:13:13 +0000 (02:13 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Mon, 4 Sep 2006 09:13:13 +0000 (02:13 -0700)
FreeType glue code was escaping the shared library.

src/ftglue.h

index 93fd91efd32fffbaed88e1b7a055508d5f9e1da5..b273f30a526ce943b12e740507739f9e5cfece9f 100644 (file)
@@ -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