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

Function my_unassigned

test/charwidth.c:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <wchar.h>
4
5static int my_unassigned(int c) {
6 int cat = utf8proc_get_property(c)->category;
7 return (cat == UTF8PROC_CATEGORY_CN) || (cat == UTF8PROC_CATEGORY_CO);
8}
9
10static int my_isprint(int c) {
11 int cat = utf8proc_get_property(c)->category;

Callers 1

mainFunction · 0.85

Calls 1

utf8proc_get_propertyFunction · 0.85

Tested by

no test coverage detected