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

Method reset

lib_acl_cpp/src/stdlib/json.cpp:834–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834void json::reset()
835{
836 clear();
837 dbuf_->dbuf_reset();
838 json_ = acl_json_dbuf_alloc(dbuf_->get_dbuf().get_dbuf());
839 root_ = NULL;
840 iter_ = NULL;
841}
842
843int json::push_pop(const char* in, size_t len acl_unused,
844 string* out, size_t max /* = 0 */)

Callers

nothing calls this directly

Calls 4

acl_json_dbuf_allocFunction · 0.85
dbuf_resetMethod · 0.80
get_dbufMethod · 0.80
clearFunction · 0.50

Tested by

no test coverage detected