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

Method release

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

Source from the content-addressed store, hash-verified

420 // Manual ref-count management. Use with extreme caution! You probably don't need this.
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

Callers

nothing calls this directly

Calls 1

_FLBuf_ReleaseFunction · 0.85

Tested by

no test coverage detected