MCPcopy Create free account
hub / github.com/couchbase/fleece / getMutableDict

Method getMutableDict

Fleece/Mutable/HeapArray.cc:116–118  ·  view source on GitHub ↗

Promotes a Dict item to a HeapDict (in place) and returns it. Or if the item is already a HeapDict, just returns it. Else returns null. */

Source from the content-addressed store, hash-verified

114 /** Promotes a Dict item to a HeapDict (in place) and returns it.
115 Or if the item is already a HeapDict, just returns it. Else returns null. */
116 MutableDict* HeapArray::getMutableDict(uint32_t i) {
117 return (MutableDict*)asValue(getMutable(i,internal::kDictTag));
118 }
119
120
121 ValueSlot& HeapArray::setting(uint32_t index) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected