MCPcopy Create free account
hub / github.com/JuliaStrings/utf8proc / utf8proc_category

Function utf8proc_category

utf8proc.c:439–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439UTF8PROC_DLLEXPORT utf8proc_category_t utf8proc_category(utf8proc_int32_t c) {
440 return (utf8proc_category_t) utf8proc_get_property(c)->category;
441}
442
443UTF8PROC_DLLEXPORT const char *utf8proc_category_string(utf8proc_int32_t c) {
444 static const char s[][3] = {"Cn","Lu","Ll","Lt","Lm","Lo","Mn","Mc","Me","Nd","Nl","No","Pc","Pd","Ps","Pe","Pi","Pf","Po","Sm","Sc","Sk","So","Zs","Zl","Zp","Cc","Cf","Cs","Co"};

Callers 2

utf8proc_category_stringFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85

Calls 1

utf8proc_get_propertyFunction · 0.85

Tested by

no test coverage detected