ind = *iindex;
/* First obtain the codepoint at iindex */
- r = eina_unicode_utf8_get_next(buf, &ind);
+ r = eina_unicode_utf8_next_get(buf, &ind);
/* although when ind == 0 there's no previous char, we still want to get
* the current char */
EINA_SAFETY_ON_NULL_RETURN_VAL(buf, 0);
- while (eina_unicode_utf8_get_next(buf, &i))
+ while (eina_unicode_utf8_next_get(buf, &i))
len++;
return len;
for (i = 0, ind = 0, uind = buf ; i < len ; i++, uind++)
{
- *uind = eina_unicode_utf8_get_next(utf, &ind);
+ *uind = eina_unicode_utf8_next_get(utf, &ind);
}
return buf;