>  
>  
>  #if defined(METRIC_CACHE) || defined(WORD_CACHE)
> -   /* A fast (portable) strNlen would be nice (there is a wcsnlen
> strangely) */
> -   if ((p = memchr(text, 0, WORD_CACHE_MAXLEN)))
> -     len = p - text;
> -   else
> -     len = WORD_CACHE_MAXLEN;
> +   /* A fast strNlen would be nice (there is a wcsnlen strangely) */
> +   len = evas_common_econding_unicode_strlen(text);

Can I just point out these are not really semantically equivalent.

Also neither evas_common_econding_unicode_strlen (as committed) or
evas_common_encoding_strlen seem to exist.  I assume you meant 
eina_unicode_strlen()?

And can I ask why you removed the word 'portable' from the comment?
(Which tells me you took the time to read the code...)

        nash
        [Confused]

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to