renamed hcl_getrbtstyle() to hcl_get_rbt_style()

This commit is contained in:
hyung-hwan 2019-11-18 14:09:57 +00:00
parent 8b96d6fc0f
commit 9b2f40c282
3 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@
* int i;
*
* s1 = hcl_rbt_open (HCL_MMGR_GETDFL(), 0, 1, 1); // error handling skipped
* hcl_rbt_setstyle (s1, hcl_getrbtstyle(HCL_RBT_STYLE_INLINE_COPIERS));
* hcl_rbt_setstyle (s1, hcl_get_rbt_style(HCL_RBT_STYLE_INLINE_COPIERS));
*
* for (i = 0; i < 20; i++)
* {
@ -285,10 +285,10 @@ extern "C" {
#endif
/**
* The hcl_getrbtstyle() functions returns a predefined callback set for
* The hcl_get_rbt_style() functions returns a predefined callback set for
* pair manipulation.
*/
HCL_EXPORT const hcl_rbt_style_t* hcl_getrbtstyle (
HCL_EXPORT const hcl_rbt_style_t* hcl_get_rbt_style (
hcl_rbt_style_kind_t kind
);

View File

@ -139,7 +139,7 @@ int hcl_init (hcl_t* hcl, hcl_mmgr_t* mmgr, hcl_oow_t heapsz, const hcl_vmprim_t
if (hcl_rbt_init(&hcl->modtab, hcl, HCL_SIZEOF(hcl_ooch_t), 1) <= -1) goto oops;
modtab_inited = 1;
hcl_rbt_setstyle(&hcl->modtab, hcl_getrbtstyle(HCL_RBT_STYLE_INLINE_COPIERS));
hcl_rbt_setstyle(&hcl->modtab, hcl_get_rbt_style(HCL_RBT_STYLE_INLINE_COPIERS));
fill_bigint_tables (hcl);

View File

@ -186,7 +186,7 @@ static hcl_rbt_style_t style[] =
}
};
const hcl_rbt_style_t* hcl_getrbtstyle (hcl_rbt_style_kind_t kind)
const hcl_rbt_style_t* hcl_get_rbt_style (hcl_rbt_style_kind_t kind)
{
return &style[kind];
}