MCPcopy Create free account
hub / github.com/NativeScript/android / Release

Function Release

test-app/runtime/src/main/cpp/include/cppgc/member.h:200–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 void Clear() { SetRawAtomic(nullptr); }
199
200 T* Release() {
201 T* result = Get();
202 Clear();
203 return result;
204 }
205
206 const T** GetSlotForTesting() const {
207 return reinterpret_cast<const T**>(GetRawSlot());

Callers 2

RemoveMethod · 0.50
ClearMethod · 0.50

Calls 1

ClearFunction · 0.70

Tested by

no test coverage detected