MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / comment

Method comment

libraries/XMLWriter/XMLWriter.cpp:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79void XMLWriter::comment(const char* text, const bool multiLine)
80{
81 if (_config & XMLWRITER_COMMENT)
82 {
83 print('\n');
84 if (!multiLine) indent();
85 print(F("<!-- "));
86 if (multiLine) print('\n');
87 print(text);
88 if (multiLine) print('\n');
89 print(F(" -->\n"));
90 }
91}
92
93
94void XMLWriter::newLine(uint8_t n)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64