MCPcopy Create free account
hub / github.com/Chlumsky/msdfgen / StrRange

Class StrRange

ext/import-svg.cpp:363–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361#ifdef MSDFGEN_USE_DROPXML
362
363struct StrRange {
364 const char *start, *end;
365 inline StrRange() : start(), end() { }
366 inline StrRange(const char *start, const char *end) : start(start), end(end) { }
367 inline std::string str() const { return std::string(start, end); }
368};
369
370static bool matchName(const char *start, const char *end, const char *value) {
371 for (const char *c = start; c < end; ++c, ++value) {

Callers 2

elementAttributeMethod · 0.85
elementAttributeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected