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

Method free_child

lib_acl_cpp/src/stdlib/json.cpp:409–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409json_node* json_node::free_child(json_node* child)
410{
411 if (iter_ == NULL || child == NULL) {
412 return NULL;
413 }
414
415 ACL_JSON_NODE* node = acl_json_node_erase(node_me_, iter_);
416 if (node == NULL) {
417 return NULL;
418 }
419
420 json_node* next = dbuf_->create<json_node>(node, json_);
421 return next;
422}
423
424json_node* json_node::operator[](const char* tag)
425{

Callers

nothing calls this directly

Calls 1

acl_json_node_eraseFunction · 0.85

Tested by

no test coverage detected