Move towlower and towupper to wctype.h and Implement it
This patch creates wctype.h and impelementat two functions that belong to that header file towupper and towlower. These functions are building blocks for wcscasecmp and wcsncasecmp which are utilized by binutils. The implementation for towlower and towupper seams to be complex so this implementation is mimicking that of musl libc
Showing
- src/header/mod.rs 1 addition, 0 deletionssrc/header/mod.rs
- src/header/wchar/mod.rs 4 additions, 15 deletionssrc/header/wchar/mod.rs
- src/header/wctype/casecmp.rs 406 additions, 0 deletionssrc/header/wctype/casecmp.rs
- src/header/wctype/cbindgen.toml 10 additions, 0 deletionssrc/header/wctype/cbindgen.toml
- src/header/wctype/mod.rs 17 additions, 0 deletionssrc/header/wctype/mod.rs
Loading
Please register or sign in to comment