summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp')
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp b/Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp
index f66a23c6fe6..551101e4878 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp
+++ b/Build/source/texk/web2c/xetexdir/XeTeXOTMath.cpp
@@ -2,7 +2,7 @@
Part of the XeTeX typesetting system
Copyright (c) 1994-2008 by SIL International
Copyright (c) 2009 by Jonathan Kew
- Copyright (c) 2012 by Khaled Hosny
+ Copyright (c) 2012-2014 by Khaled Hosny
SIL Author(s): Jonathan Kew
@@ -31,31 +31,17 @@ use or other dealings in this Software without prior written
authorization from the copyright holders.
\****************************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
#include <w2c/config.h>
-#ifdef __cplusplus
-}
-#endif
#include <assert.h>
#include "XeTeXOTMath.h"
-#include "XeTeX_ext.h"
+#include "XeTeX_web.h"
#include "XeTeXLayoutInterface.h"
#include "XeTeXFontInst.h"
#include "XeTeXswap.h"
-typedef void* voidptr;
-
-extern "C" {
- extern voidptr* fontlayoutengine;
- extern integer* fontarea;
- extern integer* fontsize;
-}
-
static int32_t getCoverage(const Coverage* coverage, GlyphID g)
{
if (SWAP(coverage->format) == 1) {