[shaper] Move code around
This commit is contained in:
parent
36d0fbbc52
commit
f5152cea42
|
@ -49,15 +49,6 @@ HB_INTERNAL const hb_shaper_pair_t *
|
||||||
_hb_shapers_get (void);
|
_hb_shapers_get (void);
|
||||||
|
|
||||||
|
|
||||||
/* For embedding in face / font / ... */
|
|
||||||
struct hb_shaper_data_t {
|
|
||||||
#define HB_SHAPER_IMPLEMENT(shaper) void *shaper;
|
|
||||||
#include "hb-shaper-list.hh"
|
|
||||||
#undef HB_SHAPER_IMPLEMENT
|
|
||||||
};
|
|
||||||
|
|
||||||
#define HB_SHAPERS_COUNT (sizeof (hb_shaper_data_t) / sizeof (void *))
|
|
||||||
|
|
||||||
/* Means: succeeded, but don't need to keep any data. */
|
/* Means: succeeded, but don't need to keep any data. */
|
||||||
#define HB_SHAPER_DATA_SUCCEEDED ((void *) +1)
|
#define HB_SHAPER_DATA_SUCCEEDED ((void *) +1)
|
||||||
/* Means: tried but failed to create. */
|
/* Means: tried but failed to create. */
|
||||||
|
@ -123,4 +114,13 @@ HB_SHAPER_DATA_ENSURE_FUNC(shaper, object) (hb_##object##_t *object) \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* For embedding in face / font / ... */
|
||||||
|
struct hb_shaper_data_t {
|
||||||
|
#define HB_SHAPER_IMPLEMENT(shaper) void *shaper;
|
||||||
|
#include "hb-shaper-list.hh"
|
||||||
|
#undef HB_SHAPER_IMPLEMENT
|
||||||
|
};
|
||||||
|
#define HB_SHAPERS_COUNT (sizeof (hb_shaper_data_t) / sizeof (void *))
|
||||||
|
|
||||||
|
|
||||||
#endif /* HB_SHAPER_PRIVATE_HH */
|
#endif /* HB_SHAPER_PRIVATE_HH */
|
||||||
|
|
Loading…
Reference in New Issue