fix build attempt ^3

This commit is contained in:
Michiharu Ariza 2018-08-15 13:15:08 -07:00
parent c234839f25
commit 270452a446
4 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,6 @@
#ifndef HB_CFF_INTERP_COMMON_PRIVATE_HH
#define HB_CFF_INTERP_COMMON_PRIVATE_HH
#include "hb-common.h"
namespace CFF {
using namespace OT;

View File

@ -26,6 +26,7 @@
#ifndef HB_CFF_INTERP_CS_COMMON_PRIVATE_HH
#define HB_CFF_INTERP_CS_COMMON_PRIVATE_HH
#include "hb-private.hh"
#include "hb-cff-interp-common-private.hh"
namespace CFF {

View File

@ -26,6 +26,7 @@
#ifndef HB_CFF_INTERP_CS_HH
#define HB_CFF_INTERP_CS_HH
#include "hb-private.hh"
#include "hb-cff-interp-cs.hh"
namespace CFF {

View File

@ -382,7 +382,7 @@ static inline bool _write_cff (const cff_subset_plan &plan,
hb_serialize_context_t c (dest, dest_sz);
char RETURN_OP[1] = { OpCode_return };
const ByteStr NULL_SUBR = { RETURN_OP/* str */, 1/* len */ };
const ByteStr NULL_SUBR (RETURN_OP, 1);
OT::cff *cff = c.start_serialize<OT::cff> ();
if (unlikely (!c.extend_min (*cff)))