[glyphy] push by behdad@google.com - Add extern "C" guards around glyphy-freetype.h on 2014-04-10 23:02 GMT

8 views
Skip to first unread message

gly...@googlecode.com

unread,
Apr 10, 2014, 7:02:42 PM4/10/14
to gly...@googlegroups.com
Revision: 5bf38e0d99dc
Author: Behdad Esfahbod <beh...@behdad.org>
Date: Thu Apr 10 23:02:12 2014 UTC
Log: Add extern "C" guards around glyphy-freetype.h

http://code.google.com/p/glyphy/source/detail?r=5bf38e0d99dc

Modified:
/src/glyphy-freetype.h

=======================================
--- /src/glyphy-freetype.h Tue Dec 18 23:51:06 2012 UTC
+++ /src/glyphy-freetype.h Thu Apr 10 23:02:12 2014 UTC
@@ -20,6 +20,11 @@

#include "glyphy.h"

+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_OUTLINE_H
@@ -91,3 +96,7 @@

return FT_Outline_Decompose ((FT_Outline *) outline, &outline_funcs,
acc);
}
+
+#ifdef __cplusplus
+}
+#endif
Reply all
Reply to author
Forward
0 new messages