#ifndef HB_MACHINERY_HH
#define HB_MACHINERY_HH
#include "hb.hh"
#include "hb-blob.hh"
#include "hb-dispatch.hh"
#include "hb-sanitize.hh"
template<typename Type>
static inline const Type& StructAtOffset(const void *P, unsigned int offset)
{ … }
template<typename Type>
static inline Type& StructAtOffset(void *P, unsigned int offset)
{ … }
template<typename Type>
static inline const Type& StructAtOffsetUnaligned(const void *P, unsigned int offset)
{ … }
template<typename Type>
static inline Type& StructAtOffsetUnaligned(void *P, unsigned int offset)
{ … }
template<typename Type, typename TObject>
static inline const Type& StructAfter(const TObject &X)
{ … }
template<typename Type, typename TObject>
static inline Type& StructAfter(TObject &X)
{ … }
#ifndef HB_VAR_ARRAY
#define HB_VAR_ARRAY …
#endif
#define _DEFINE_INSTANCE_ASSERTION1(_line, _assertion) …
#define _DEFINE_INSTANCE_ASSERTION0(_line, _assertion) …
#define DEFINE_INSTANCE_ASSERTION(_assertion) …
#define _DEFINE_COMPILES_ASSERTION1(_line, _code) …
#define _DEFINE_COMPILES_ASSERTION0(_line, _code) …
#define DEFINE_COMPILES_ASSERTION(_code) …
#define DEFINE_SIZE_STATIC(size) …
#define DEFINE_SIZE_UNION(size, _member) …
#define DEFINE_SIZE_MIN(size) …
#define DEFINE_SIZE_UNBOUNDED(size) …
#define DEFINE_SIZE_ARRAY(size, array) …
#define DEFINE_SIZE_ARRAY_SIZED(size, array) …
template <typename Data, unsigned int WheresData>
struct hb_data_wrapper_t
{ … };
template <>
struct hb_data_wrapper_t<void, 0>
{ … };
template <typename T1, typename T2> struct hb_non_void_t { … };
hb_non_void_t<void, T2>;
template <typename Returned,
typename Subclass = void,
typename Data = void,
unsigned int WheresData = 0,
typename Stored = Returned>
struct hb_lazy_loader_t : hb_data_wrapper_t<Data, WheresData>
{ … };
template <typename T, unsigned int WheresFace>
struct hb_face_lazy_loader_t : hb_lazy_loader_t<T,
hb_face_lazy_loader_t<T, WheresFace>,
hb_face_t, WheresFace>
{ … };
template <typename T, unsigned int WheresFace, bool core=false>
struct hb_table_lazy_loader_t : hb_lazy_loader_t<T,
hb_table_lazy_loader_t<T, WheresFace, core>,
hb_face_t, WheresFace,
hb_blob_t>
{ … };
#define HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T …
HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T;
HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T;
HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T;
HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T;
#undef HB_DEFINE_TYPE_FUNCS_LAZY_LOADER_T
#endif