renamed hcl_getrbtstyle() to hcl_get_rbt_style()
This commit is contained in:
		| @ -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); | ||||||
|  |  | ||||||
|  | |||||||
| @ -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]; | 	return &style[kind]; | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user