Where causing issues for people with MSVC.
stat=0
test "x$HBHEADERS" = x && HBHEADERS=`find . -maxdepth 1 -name 'hb*.h'`
-test "x$HBSOURCES" = x && HBSOURCES=`find . -maxdepth 1 -name 'hb-*.cc' -or -name 'hb-*.hh'`
-for x in $HBHEADERS $HBSOURCES; do
+for x in $HBHEADERS; do
test -f $srcdir/$x && x=$srcdir/$x
if ! grep -q HB_BEGIN_DECLS "$x" || ! grep -q HB_END_DECLS "$x"; then
echo "Ouch, file $x does not HB_BEGIN_DECLS / HB_END_DECLS"
#include <stdio.h>
#include <errno.h>
-HB_BEGIN_DECLS
#ifndef HB_DEBUG_BLOB
}
-HB_END_DECLS
#include "hb-object-private.hh"
#include "hb-unicode-private.hh"
-HB_BEGIN_DECLS
ASSERT_STATIC (sizeof (hb_glyph_info_t) == 20);
HB_BUFFER_XALLOCATE_VAR (b, deallocate_var, var (), #var)
-HB_END_DECLS
#endif /* HB_BUFFER_PRIVATE_HH */
#include <string.h>
-HB_BEGIN_DECLS
#ifndef HB_DEBUG_BUFFER
}
-HB_END_DECLS
#include <locale.h>
-HB_BEGIN_DECLS
/* hb_tag_t */
}
-HB_END_DECLS
#include "hb-font.h"
#include "hb-object-private.hh"
-HB_BEGIN_DECLS
/*
};
-HB_END_DECLS
#endif /* HB_FONT_PRIVATE_HH */
#include <string.h>
-HB_BEGIN_DECLS
/*
}
-HB_END_DECLS
#include FT_TRUETYPE_TABLES_H
-HB_BEGIN_DECLS
/* TODO:
}
-HB_END_DECLS
#include <glib.h>
-HB_BEGIN_DECLS
#if !GLIB_CHECK_VERSION(2,29,14)
static const hb_script_t
}
-HB_END_DECLS
#include <unicode/unorm.h>
#include <unicode/unistr.h>
-HB_BEGIN_DECLS
hb_script_t
}
-HB_END_DECLS
#include "hb-private.hh"
-HB_BEGIN_DECLS
/* mutex */
};
-HB_END_DECLS
#endif /* HB_MUTEX_PRIVATE_HH */
#include "hb-mutex-private.hh"
-HB_BEGIN_DECLS
/* Debug */
};
-HB_END_DECLS
/* object */
}
-HB_BEGIN_DECLS
-HB_END_DECLS
#endif /* HB_OBJECT_PRIVATE_HH */
#include "hb-open-type-private.hh"
-HB_BEGIN_DECLS
/*
};
-HB_END_DECLS
#endif /* HB_OPEN_FILE_PRIVATE_HH */
#include "hb-blob.h"
-HB_BEGIN_DECLS
-HB_END_DECLS
/*
};
-HB_BEGIN_DECLS
-HB_END_DECLS
#endif /* HB_OPEN_TYPE_PRIVATE_HH */
#include "hb-open-type-private.hh"
-HB_BEGIN_DECLS
/*
};
-HB_END_DECLS
#endif /* HB_OT_HEAD_PRIVATE_HH */
#define NOT_COVERED ((unsigned int) 0x110000)
#define MAX_NESTING_LEVEL 8
-HB_BEGIN_DECLS
-HB_END_DECLS
/*
};
-HB_BEGIN_DECLS
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_COMMON_PRIVATE_HH */
#include "hb-font-private.hh"
-HB_BEGIN_DECLS
/*
};
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_GDEF_PRIVATE_HH */
#include "hb-ot-layout-gsubgpos-private.hh"
-HB_BEGIN_DECLS
/* buffer **position** var allocations */
};
-HB_BEGIN_DECLS
static inline bool position_lookup (hb_apply_context_t *c, unsigned int lookup_index);
-HB_END_DECLS
struct ContextPos : Context
{
#undef cursive_chain
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_GPOS_PRIVATE_HH */
#include "hb-ot-layout-gsubgpos-private.hh"
-HB_BEGIN_DECLS
struct SingleSubstFormat1
};
-HB_BEGIN_DECLS
static inline bool substitute_lookup (hb_apply_context_t *c, unsigned int lookup_index);
-HB_END_DECLS
struct ContextSubst : Context
{
}
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_GSUB_PRIVATE_HH */
#include "hb-buffer-private.hh"
#include "hb-ot-layout-gdef-private.hh"
-HB_BEGIN_DECLS
/* buffer var allocations */
#define lig_id() var2.u8[2] /* unique ligature id */
hb_auto_trace_t<HB_DEBUG_APPLY> trace (&c->debug_depth, "APPLY", this, NULL, HB_FUNC);
-HB_BEGIN_DECLS
struct hb_apply_context_t
{
return true;
}
-HB_END_DECLS
struct LookupRecord
};
-HB_BEGIN_DECLS
static inline bool apply_lookup (hb_apply_context_t *c,
unsigned int count, /* Including the first glyph */
return true;
}
-HB_END_DECLS
/* Contextual lookups */
};
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_GSUBGPOS_PRIVATE_HH */
#include "hb-font-private.hh"
#include "hb-buffer-private.hh"
-HB_BEGIN_DECLS
/*
_hb_ot_layout_destroy (hb_ot_layout_t *layout);
-HB_END_DECLS
#endif /* HB_OT_LAYOUT_PRIVATE_HH */
#include <stdlib.h>
#include <string.h>
-HB_BEGIN_DECLS
hb_ot_layout_t *
}
-HB_END_DECLS
#include "hb-ot-layout.h"
-HB_BEGIN_DECLS
static const hb_tag_t table_tags[2] = {HB_OT_TAG_GSUB, HB_OT_TAG_GPOS};
};
-HB_END_DECLS
#endif /* HB_OT_MAP_PRIVATE_HH */
#include "hb-ot-shape-private.hh"
-HB_BEGIN_DECLS
void
}
-HB_END_DECLS
#include "hb-open-type-private.hh"
-HB_BEGIN_DECLS
/*
};
-HB_END_DECLS
#endif /* HB_OT_MAXP_PRIVATE_HH */
#include "hb-private.hh"
-HB_BEGIN_DECLS
/* == Start of generated table == */
/*
/* == End of generated table == */
-HB_END_DECLS
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */
#include "hb-ot-shape-complex-private.hh"
-HB_BEGIN_DECLS
/* buffer var allocations */
}
-HB_END_DECLS
#include "hb-private.hh"
-HB_BEGIN_DECLS
/* == Start of generated table == */
/*
/* == End of generated table == */
-HB_END_DECLS
#endif /* HB_OT_SHAPE_COMPLEX_INDIC_TABLE_HH */
#include "hb-ot-shape-complex-private.hh"
-HB_BEGIN_DECLS
/* buffer var allocations */
-HB_END_DECLS
#include "hb-ot-shape-complex-private.hh"
-HB_BEGIN_DECLS
/* TODO Add kana, hangul, and other small sahpers here */
}
-HB_END_DECLS
#include "hb-ot-map-private.hh"
-HB_BEGIN_DECLS
/* buffer var allocations, used during the entire shaping process */
}
-HB_END_DECLS
#endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */
#include "hb-ot-shape-private.hh"
#include "hb-ot-shape-complex-private.hh"
-HB_BEGIN_DECLS
/*
* HIGHLEVEL DESIGN:
}
-HB_END_DECLS
#include "hb-ot-map-private.hh"
#include "hb-ot-shape-complex-private.hh"
-HB_BEGIN_DECLS
enum hb_ot_complex_shaper_t;
HB_INTERNAL void _hb_ot_shape_normalize (hb_ot_shape_context_t *c);
-HB_END_DECLS
#endif /* HB_OT_SHAPE_PRIVATE_HH */
#include "hb-font-private.hh"
-HB_BEGIN_DECLS
hb_tag_t common_features[] = {
}
-HB_END_DECLS
#include <string.h>
-HB_BEGIN_DECLS
/* hb_script_t */
}
-HB_END_DECLS
#include <errno.h>
#include <stdarg.h>
-HB_BEGIN_DECLS
/* Essentials */
/* Basics */
-HB_END_DECLS
#undef MIN
template <typename Type> static inline Type MIN (const Type &a, const Type &b) { return a < b ? a : b; }
#undef MAX
template <typename Type> static inline Type MAX (const Type &a, const Type &b) { return a > b ? a : b; }
-HB_BEGIN_DECLS
#undef ARRAY_LENGTH
#define ARRAY_LENGTH(__array) ((signed int) (sizeof (__array) / sizeof (__array[0])))
typedef int (*hb_compare_func_t) (const void *, const void *);
-HB_END_DECLS
/* arrays and maps */
};
-HB_BEGIN_DECLS
/* Big-endian handling */
/* Debug */
-HB_END_DECLS
#ifndef HB_DEBUG
#define HB_DEBUG 0
}
-HB_BEGIN_DECLS
-HB_END_DECLS
#endif /* HB_PRIVATE_HH */
#include "hb-graphite.h"
#endif
-HB_BEGIN_DECLS
static void
}
-HB_END_DECLS
#include "hb-unicode.h"
#include "hb-object-private.hh"
-HB_BEGIN_DECLS
/*
-HB_END_DECLS
#endif /* HB_UNICODE_PRIVATE_HH */
#include "hb-unicode-private.hh"
-HB_BEGIN_DECLS
/*
return ufuncs->func.decompose (ufuncs, ab, a, b, ufuncs->user_data.decompose);
}
-HB_END_DECLS
#include <windows.h>
#include <usp10.h>
-HB_BEGIN_DECLS
#ifndef HB_DEBUG_UNISCRIBE
}
-HB_END_DECLS
#include <cairo-ft.h>
#include <hb-ft.h>
-HB_BEGIN_DECLS
/* Controlled by cmd-line options */
}
-HB_END_DECLS
#include <stdlib.h>
#include <stdio.h>
-HB_BEGIN_DECLS
int
}
-HB_END_DECLS
#include <stdlib.h>
#include <stdio.h>
-HB_BEGIN_DECLS
int
}
-HB_END_DECLS