renamed hcl_getrbtstyle() to hcl_get_rbt_style()
This commit is contained in:
parent
8b96d6fc0f
commit
9b2f40c282
@ -54,7 +54,7 @@
|
|||||||
* int i;
|
* int i;
|
||||||
*
|
*
|
||||||
* s1 = hcl_rbt_open (HCL_MMGR_GETDFL(), 0, 1, 1); // error handling skipped
|
* 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++)
|
* for (i = 0; i < 20; i++)
|
||||||
* {
|
* {
|
||||||
@ -285,10 +285,10 @@ extern "C" {
|
|||||||
#endif
|
#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.
|
* 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
|
hcl_rbt_style_kind_t kind
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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;
|
if (hcl_rbt_init(&hcl->modtab, hcl, HCL_SIZEOF(hcl_ooch_t), 1) <= -1) goto oops;
|
||||||
modtab_inited = 1;
|
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);
|
fill_bigint_tables (hcl);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user