Update string_utils' string_length to work with char* or wchar_t*, so that it may be reusable when implementing wmemchr, wcspbrk, wcsrchr, wcsstr. Link: #121183 Link: #124027 Co-authored-by: Nick Desaulniers <ndesaulniers@google.com> --------- Co-authored-by: Tristan Ross <tristan.ross@midstall.com>
30 lines
504 B
YAML
30 lines
504 B
YAML
header: wchar.h
|
|
header_template: wchar.h.def
|
|
macros: []
|
|
types:
|
|
- type_name: size_t
|
|
- type_name: wint_t
|
|
- type_name: wchar_t
|
|
- type_name: mbstate_t
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: wcslen
|
|
standards:
|
|
- stdc
|
|
return_type: size_t
|
|
arguments:
|
|
- type: const wchar_t *
|
|
- name: wctob
|
|
standards:
|
|
- stdc
|
|
return_type: int
|
|
arguments:
|
|
- type: wint_t
|
|
- name: btowc
|
|
standards:
|
|
- stdc
|
|
return_type: wint_t
|
|
arguments:
|
|
- type: int
|