summaryrefslogtreecommitdiff
path: root/src/multibyte/mbsrtowcs.c
AgeCommit message (Collapse)AuthorLines
2011-02-27cleanup utf-8 multibyte code, use visibility if possibleRich Felker-16/+0
this code was written independently of musl, with support for a the backwards, nonstandard "31-bit unicode" some libraries/apps might want. unfortunately the extra code (inside #ifdef) makes the source harder to read and makes code that should be simple look complex, so i'm removing it. anyone who wants to use the old code can find it in the history or from elsewhere. also, change the visibility of the __fsmu8 state machine table to hidden, if supported. this should improve performance slightly in shared-library builds.
2011-02-13cleanup multibyte stuff to remove ugly casts, sanitize the ptr align castsRich Felker-19/+19
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+121