MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / TearDown

Method TearDown

include/sonic/dom/schema_handler.h:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 sonic_force_inline void TearDown() {
103 if (st_ == nullptr) return;
104 for (size_t i = 0; i < np_; i++) {
105 st_[i].~NodeType();
106 }
107 std::free(st_);
108 st_ = nullptr;
109 }
110
111#define SONIC_ADD_NODE() \
112 do { \

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected