MCPcopy Create free account
hub / github.com/git/git / re_string_wchar_at

Function re_string_wchar_at

compat/regex/regex_internal.h:770–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770static inline wint_t
771internal_function __attribute ((pure))
772re_string_wchar_at (const re_string_t *pstr, int idx)
773{
774 if (pstr->mb_cur_max == 1)
775 return (wint_t) pstr->mbs[idx];
776 return (wint_t) pstr->wcs[idx];
777}
778
779# ifndef NOT_IN_libc

Callers 3

check_node_accept_bytesFunction · 0.85
internal_functionFunction · 0.85
parse_bracket_elementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected