MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / StartElementHandler

Function StartElementHandler

lib/mdflib/mdflib/src/expatxml.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20namespace {
21void StartElementHandler(void *userData, const XML_Char *name,
22 const XML_Char **attributes) {
23 auto parser = static_cast<mdf::ExpatXml *>(userData);
24 if (parser != nullptr) {
25 parser->StartElement(name, attributes);
26 }
27}
28
29void EndElementHandler(void *userData, const XML_Char *name) {
30 auto parser = static_cast<mdf::ExpatXml *>(userData);

Callers

nothing calls this directly

Calls 1

StartElementMethod · 0.80

Tested by

no test coverage detected