This patch adds the wchar header, as well as the functions to convert to
and from wide chars. The header also sets up the definitions for wint
and wchar.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rG46b508722724: [libc] add basic wide char functions
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Except of the definition of the new types, the rest LGTM. We should of course formally define our position on the locales that we care about.
libc/include/wchar.h.def | ||
---|---|---|
16 | Each of these types should have their own type header (we already have one for size_t). They will get into the final header file if you add them to api.td. |
Comment Actions
clean up type definitions to use the API system.
I agree and will try to make a document describing our plan for locale support as a followup patch.
wchar.h ?