diff --git a/moo/lib/moo-rbt.h b/moo/lib/moo-rbt.h index 8d4dcc5..9ab316e 100644 --- a/moo/lib/moo-rbt.h +++ b/moo/lib/moo-rbt.h @@ -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 ); diff --git a/moo/lib/moo.c b/moo/lib/moo.c index 223888a..62af9b0 100644 --- a/moo/lib/moo.c +++ b/moo/lib/moo.c @@ -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); diff --git a/moo/lib/rbt.c b/moo/lib/rbt.c index 642a977..499ea29 100644 --- a/moo/lib/rbt.c +++ b/moo/lib/rbt.c @@ -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]; }