renamed moo_getrbtstyle() to moo_get_rbt_style()
This commit is contained in:
parent
1dd9595c89
commit
25e711fc02
@ -52,7 +52,7 @@
|
||||
* int i;
|
||||
*
|
||||
* s1 = moo_rbt_open (MOO_MMGR_GETDFL(), 0, 1, 1); // error handling skipped
|
||||
* moo_rbt_setstyle (s1, moo_getrbtstyle(MOO_RBT_STYLE_INLINE_COPIERS));
|
||||
* moo_rbt_setstyle (s1, moo_get_rbt_style(MOO_RBT_STYLE_INLINE_COPIERS));
|
||||
*
|
||||
* for (i = 0; i < 20; i++)
|
||||
* {
|
||||
@ -282,10 +282,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The moo_getrbtstyle() functions returns a predefined callback set for
|
||||
* The moo_get_rbt_style() functions returns a predefined callback set for
|
||||
* pair manipulation.
|
||||
*/
|
||||
MOO_EXPORT const moo_rbt_style_t* moo_getrbtstyle (
|
||||
MOO_EXPORT const moo_rbt_style_t* moo_get_rbt_style (
|
||||
moo_rbt_style_kind_t kind
|
||||
);
|
||||
|
||||
|
@ -136,7 +136,7 @@ int moo_init (moo_t* moo, moo_mmgr_t* mmgr, moo_cmgr_t* cmgr, const moo_vmprim_t
|
||||
|
||||
if (moo_rbt_init (&moo->modtab, moo, MOO_SIZEOF(moo_ooch_t), 1) <= -1) goto oops;
|
||||
modtab_inited = 1;
|
||||
moo_rbt_setstyle (&moo->modtab, moo_getrbtstyle(MOO_RBT_STYLE_INLINE_COPIERS));
|
||||
moo_rbt_setstyle (&moo->modtab, moo_get_rbt_style(MOO_RBT_STYLE_INLINE_COPIERS));
|
||||
|
||||
fill_bigint_tables (moo);
|
||||
|
||||
|
@ -186,7 +186,7 @@ static moo_rbt_style_t style[] =
|
||||
}
|
||||
};
|
||||
|
||||
const moo_rbt_style_t* moo_getrbtstyle (moo_rbt_style_kind_t kind)
|
||||
const moo_rbt_style_t* moo_get_rbt_style (moo_rbt_style_kind_t kind)
|
||||
{
|
||||
return &style[kind];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user