parent
21756934a1
commit
801298b590
@ -64,14 +64,16 @@ hb_segment_properties_equal (const hb_segment_properties_t *a,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline long
|
#if 0
|
||||||
|
static inline unsigned int
|
||||||
hb_segment_properties_hash (const hb_segment_properties_t *p)
|
hb_segment_properties_hash (const hb_segment_properties_t *p)
|
||||||
{
|
{
|
||||||
/* TODO improve */
|
/* TODO improve */
|
||||||
return (long) p->direction +
|
return (unsigned int) p->direction +
|
||||||
(long) p->script +
|
(unsigned int) p->script +
|
||||||
(long) p->language;
|
(intptr_t) (p->language);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -190,11 +190,11 @@ hb_shape_plan_execute (hb_shape_plan *shape_plan,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
static long
|
static unsigned int
|
||||||
hb_shape_plan_hash (const hb_shape_plan_t *shape_plan)
|
hb_shape_plan_hash (const hb_shape_plan_t *shape_plan)
|
||||||
{
|
{
|
||||||
return hb_segment_properties_hash (&shape_plan->props) +
|
return hb_segment_properties_hash (&shape_plan->props) +
|
||||||
shape_plan->default_shaper_list ? 0 : (long) shape_plan->shaper_func;
|
shape_plan->default_shaper_list ? 0 : (intptr_t) shape_plan->shaper_func;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user