From 9b2f40c282faa4d6d03c402cb8735132b2e58b41 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 18 Nov 2019 14:09:57 +0000 Subject: [PATCH] renamed hcl_getrbtstyle() to hcl_get_rbt_style() --- lib/hcl-rbt.h | 6 +++--- lib/hcl.c | 2 +- lib/rbt.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/hcl-rbt.h b/lib/hcl-rbt.h index a4d6b63..6246c04 100644 --- a/lib/hcl-rbt.h +++ b/lib/hcl-rbt.h @@ -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 ); diff --git a/lib/hcl.c b/lib/hcl.c index 1173ab0..b24c221 100644 --- a/lib/hcl.c +++ b/lib/hcl.c @@ -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); diff --git a/lib/rbt.c b/lib/rbt.c index 42bf87c..c16ef22 100644 --- a/lib/rbt.c +++ b/lib/rbt.c @@ -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]; }