MCPcopy Create free account
hub / github.com/acl-dev/acl / free_node

Method free_node

lib_acl_cpp/src/stdlib/json.cpp:785–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785json_node* json::free_node(acl::json_node* curr)
786{
787 if (iter_ == NULL || curr == NULL) {
788 return NULL;
789 }
790
791 ACL_JSON_NODE* node = acl_json_erase(json_, iter_);
792 if (node == NULL) {
793 return NULL;
794 }
795 json_node* next = dbuf_->create<json_node>(node, this);
796 return next;
797}
798
799const string& json::to_string(string* out /* = NULL */,
800 bool add_space /* = false */) const

Callers 1

mainFunction · 0.80

Calls 1

acl_json_eraseFunction · 0.85

Tested by

no test coverage detected