summaryrefslogtreecommitdiff
path: root/src/autohint/ahhint.h
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2000-12-08 02:42:29 +0000
committerDavid Turner <david@freetype.org>2000-12-08 02:42:29 +0000
commit19ed8afe60bbc5becf0fbbe3987a91b35a36aad4 (patch)
tree8884a83e43c588afde8967d40c5ea84dbf8aa33b /src/autohint/ahhint.h
parent508409434ccb7320b5a3d7b03260580ac69eb6da (diff)
downloadfreetype2-19ed8afe60bbc5becf0fbbe3987a91b35a36aad4.tar.gz
- updated all source files to adhere to the new inclusion scheme
- the CFF loader now loads the encodings and charset tables though doesn't use them for now
Diffstat (limited to 'src/autohint/ahhint.h')
-rw-r--r--src/autohint/ahhint.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/autohint/ahhint.h b/src/autohint/ahhint.h
index e9d5323af..744c33604 100644
--- a/src/autohint/ahhint.h
+++ b/src/autohint/ahhint.h
@@ -22,22 +22,10 @@
#ifndef AHHINT_H
#define AHHINT_H
+#include <ft2build.h>
+#include FT_SOURCE_FILE(autohint,ahglobal.h)
-#ifdef FT_FLAT_COMPILE
-
-#include "ahglobal.h"
-
-#else
-
-#include <autohint/ahglobal.h>
-
-#endif
-
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
+FT_BEGIN_HEADER
#define AH_HINT_DEFAULT 0
#define AH_HINT_NO_ALIGNMENT 1
@@ -75,11 +63,7 @@
void ah_hinter_done_global_hints( AH_Hinter* hinter,
void* global_hints );
-
-#ifdef __cplusplus
- }
-#endif
-
+FT_END_HEADER
#endif /* AHHINT_H */