From 6d53e357bd812a541ed60b86948cbf1ccc595179 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Mon, 25 Nov 2019 15:03:05 +0000 Subject: [PATCH] changed the function postfix 'with_limit' to 'limited' --- moo/lib/moo-utl.h | 4 ++-- moo/lib/utl.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/moo/lib/moo-utl.h b/moo/lib/moo-utl.h index d1c2911..be8fcdf 100644 --- a/moo/lib/moo-utl.h +++ b/moo/lib/moo-utl.h @@ -511,7 +511,7 @@ MOO_EXPORT moo_oow_t moo_count_ucstr ( const moo_uch_t* str ); -MOO_EXPORT moo_oow_t moo_count_ucstr_with_limit ( +MOO_EXPORT moo_oow_t moo_count_ucstr_limited ( const moo_uch_t* str, moo_oow_t maxlen ); @@ -520,7 +520,7 @@ MOO_EXPORT moo_oow_t moo_count_bcstr ( const moo_bch_t* str ); -MOO_EXPORT moo_oow_t moo_count_bcstr_with_limit ( +MOO_EXPORT moo_oow_t moo_count_bcstr_limited ( const moo_bch_t* str, moo_oow_t maxlen ); diff --git a/moo/lib/utl.c b/moo/lib/utl.c index 2e52d4f..4d03775 100644 --- a/moo/lib/utl.c +++ b/moo/lib/utl.c @@ -315,7 +315,7 @@ moo_oow_t moo_count_ucstr (const moo_uch_t* str) return ptr - str; } -moo_oow_t moo_count_ucstr_with_limit (const moo_uch_t* str, moo_oow_t maxlen) +moo_oow_t moo_count_ucstr_limited (const moo_uch_t* str, moo_oow_t maxlen) { moo_oow_t i; for (i = 0; i < maxlen; i++) @@ -332,7 +332,7 @@ moo_oow_t moo_count_bcstr (const moo_bch_t* str) return ptr - str; } -moo_oow_t moo_count_bcstr_with_limit (const moo_bch_t* str, moo_oow_t maxlen) +moo_oow_t moo_count_bcstr_limited (const moo_bch_t* str, moo_oow_t maxlen) { moo_oow_t i; for (i = 0; i < maxlen; i++)