MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / clear

Function clear

src/ArduinoJson/Memory/StringPool.hpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void clear(Allocator* allocator) {
30 while (strings_) {
31 auto node = strings_;
32 strings_ = node->next;
33 StringNode::destroy(node, allocator);
34 }
35 }
36
37 size_t size() const {
38 size_t total = 0;

Callers

nothing calls this directly

Calls 1

destroyFunction · 0.85

Tested by

no test coverage detected