• @pinknoise
    link
    6
    edit-2
    2 years ago

    Fun fact: the C standard neither defines the size nor the signedness of char.

    Also the rust side is missing Vec<char> and maybe Chars<'_> and I’m sure you can make up more representations :D

    Also there is at least also wchar_t* on the C side because you can’t (always) cast between the two. (I mean you can, but you shouldn’t)