Re: Question regarding UC_UTF8_ROUTINES.character_byte_count

"Emmanuel Stapf [ES]" <[email protected]> Sun, 31 Aug 2008 09:40:42 -0700
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Organization Eiffel Software Inc.
Message-ID <02bb01c90b88$4eec0c00$ecc42400$@com>
Fair enough, but you could make the argument CHARACTER_32 all the time since a
CHARACTER is automatically converted to a CHARACTER_32 without performance lost.
In any case, my suggestion to use `code_byte_count' will reduce code duplication.

Regards,
Manu

> -----Original Message-----
> From: [email protected] [mailto:gobo-
> [email protected]] On Behalf Of Colin Paul
> Adams
> Sent: Sunday, August 31, 2008 9:37 AM
> To: [email protected]
> Subject: Re: [gobo-eiffel-develop] Question regarding
> UC_UTF8_ROUTINES.character_byte_count
> 
> >>>>> "Emmanuel" == Emmanuel Stapf [ES] <[email protected]> writes:
> 
>     Emmanuel> But the `else' part is useless since it is guaranteed to
>     Emmanuel> never execute this code.  Should it be simply
>     Emmanuel> implemented as:
> 
> [third attempt at trying to reply to the list - sorry Manu]:
> 
> It will be executed if CHARACTER is mapped to CHARACTER_32.
> --
> Colin Adams
> Preston Lancashire
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gobo-eiffel-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/