MCPcopy Create free account
hub / github.com/audacity/audacity / serd_update_flags

Function serd_update_flags

lib-src/lv2/serd/src/string.c:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static inline void
45serd_update_flags(const uint8_t c, SerdNodeFlags* const flags)
46{
47 switch (c) {
48 case '\r': case '\n':
49 *flags |= SERD_HAS_NEWLINE;
50 break;
51 case '"':
52 *flags |= SERD_HAS_QUOTE;
53 }
54}
55
56size_t
57serd_substrlen(const uint8_t* const str,

Callers 2

serd_substrlenFunction · 0.85
serd_strlenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected