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

Method retain

API/fleece/slice.hh:423–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421 alloc_slice& retain() noexcept {_FLBuf_Retain(buf); return *this;}
422 inline void release() noexcept {_FLBuf_Release(buf);}
423 static void retain(slice s) noexcept {((alloc_slice*)&s)->retain();}
424 static void release(slice s) noexcept {((alloc_slice*)&s)->release();}
425
426 private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected