summaryrefslogtreecommitdiff
path: root/include/freetype/ftglyph.h
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2000-11-30 23:12:33 +0000
committerDavid Turner <david@freetype.org>2000-11-30 23:12:33 +0000
commit8fba32d2d6f284bfd49ed6c0557880e0bb692f49 (patch)
treeb56c56d52c614c3165efe0f2ffeaf2b14ac10dda /include/freetype/ftglyph.h
parentc261b63aabaf32e885038023cada5360dea128be (diff)
downloadfreetype2-8fba32d2d6f284bfd49ed6c0557880e0bb692f49.tar.gz
introduced the new <freetype/config/ftbuild.h> file to determine
where is the top-level include directory for all public, configuration and internal header files..
Diffstat (limited to 'include/freetype/ftglyph.h')
-rw-r--r--include/freetype/ftglyph.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h
index 9126d4d12..010327c27 100644
--- a/include/freetype/ftglyph.h
+++ b/include/freetype/ftglyph.h
@@ -29,14 +29,17 @@
/*************************************************************************/
-#ifndef FTGLYPH_H
-#define FTGLYPH_H
+#ifndef __FTGLYPH_H__
+#define __FTGLYPH_H__
-#include <freetype/freetype.h>
-
-#ifdef __cplusplus
- extern "C" {
+#ifndef FT_BUILD_H
+# define FT_BUILD_H <freetype/config/ftbuild.h>
#endif
+#include FT_BUILD_H
+#include FT_FREETYPE_H
+
+FT_BEGIN_HEADER
+
/* forward declaration to a private type */
typedef struct FT_Glyph_Class_ FT_Glyph_Class;
@@ -427,11 +430,9 @@
FT_EXPORT( FT_Error ) FT_Matrix_Invert( FT_Matrix* matrix );
-#ifdef __cplusplus
- }
-#endif
+FT_END_HEADER
-#endif /* FTGLYPH_H */
+#endif /* __FTGLYPH_H__ */
/* END */