summaryrefslogtreecommitdiff
path: root/src/psaux/t1decode.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2000-08-29 16:50:01 +0000
committerWerner Lemberg <wl@gnu.org>2000-08-29 16:50:01 +0000
commit4e9dae68b74411f9a5a1a1ba390868f83a17c7ba (patch)
tree7d7fa9c082c95a506a5afa56c453955dee14cc26 /src/psaux/t1decode.h
parent80b96f350c8ea73f7da0dd76fc5c075dcbfdfaa9 (diff)
downloadfreetype2-4e9dae68b74411f9a5a1a1ba390868f83a17c7ba.tar.gz
Introducing new macro LOCA_VAR to solve some problems with structures
containing function pointers. FT will now compile again with C++.
Diffstat (limited to 'src/psaux/t1decode.h')
-rw-r--r--src/psaux/t1decode.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/psaux/t1decode.h b/src/psaux/t1decode.h
index d14a7f024..7ce8bf54f 100644
--- a/src/psaux/t1decode.h
+++ b/src/psaux/t1decode.h
@@ -24,9 +24,15 @@
#include <freetype/internal/t1types.h>
- LOCAL_DEF
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+
+ LOCAL_VAR
const T1_Decoder_Funcs t1_decoder_funcs;
+
LOCAL_DEF
FT_Error T1_Decoder_Parse_Glyph( T1_Decoder* decoder,
FT_UInt glyph_index );
@@ -49,6 +55,11 @@
void T1_Decoder_Done( T1_Decoder* decoder );
+#ifdef __cplusplus
+ }
+#endif
+
+
#endif /* T1DECODE_H */