提交 03b27548 编写于 作者: G Garret Rieger

[subset] Add const to the hb_subset_plan_t input to a couple functions in hb-subset-plan.

上级 5b93f691
...@@ -40,7 +40,7 @@ _hb_codepoint_t_cmp (const void *pa, const void *pb) ...@@ -40,7 +40,7 @@ _hb_codepoint_t_cmp (const void *pa, const void *pb)
} }
hb_bool_t hb_bool_t
hb_subset_plan_new_gid_for_codepoint (hb_subset_plan_t *plan, hb_subset_plan_new_gid_for_codepoint (const hb_subset_plan_t *plan,
hb_codepoint_t codepoint, hb_codepoint_t codepoint,
hb_codepoint_t *new_gid) hb_codepoint_t *new_gid)
{ {
...@@ -58,7 +58,7 @@ hb_subset_plan_new_gid_for_codepoint (hb_subset_plan_t *plan, ...@@ -58,7 +58,7 @@ hb_subset_plan_new_gid_for_codepoint (hb_subset_plan_t *plan,
} }
hb_bool_t hb_bool_t
hb_subset_plan_new_gid_for_old_id (hb_subset_plan_t *plan, hb_subset_plan_new_gid_for_old_id (const hb_subset_plan_t *plan,
hb_codepoint_t old_gid, hb_codepoint_t old_gid,
hb_codepoint_t *new_gid) hb_codepoint_t *new_gid)
{ {
......
...@@ -65,19 +65,19 @@ hb_subset_plan_create (hb_face_t *face, ...@@ -65,19 +65,19 @@ hb_subset_plan_create (hb_face_t *face,
hb_subset_input_t *input); hb_subset_input_t *input);
HB_INTERNAL hb_bool_t HB_INTERNAL hb_bool_t
hb_subset_plan_new_gid_for_old_id(hb_subset_plan_t *plan, hb_subset_plan_new_gid_for_old_id (const hb_subset_plan_t *plan,
hb_codepoint_t old_gid, hb_codepoint_t old_gid,
hb_codepoint_t *new_gid /* OUT */); hb_codepoint_t *new_gid /* OUT */);
HB_INTERNAL hb_bool_t HB_INTERNAL hb_bool_t
hb_subset_plan_new_gid_for_codepoint(hb_subset_plan_t *plan, hb_subset_plan_new_gid_for_codepoint (const hb_subset_plan_t *plan,
hb_codepoint_t codepont, hb_codepoint_t codepont,
hb_codepoint_t *new_gid /* OUT */); hb_codepoint_t *new_gid /* OUT */);
HB_INTERNAL hb_bool_t HB_INTERNAL hb_bool_t
hb_subset_plan_add_table(hb_subset_plan_t *plan, hb_subset_plan_add_table (hb_subset_plan_t *plan,
hb_tag_t tag, hb_tag_t tag,
hb_blob_t *contents); hb_blob_t *contents);
HB_INTERNAL void HB_INTERNAL void
hb_subset_plan_destroy (hb_subset_plan_t *plan); hb_subset_plan_destroy (hb_subset_plan_t *plan);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册