MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / _Base_Release

Method _Base_Release

core/src/pengu.h:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 static int CALLBACK _Base_Release(cef_base_ref_counted_t *_) noexcept {
164 CefRefCount *self = reinterpret_cast<CefRefCount *>(_);
165 if (--self->ref_ == 0) {
166 self->self_delete_(_);
167 return 1;
168 }
169 return 0;
170 }
171
172 static int CALLBACK _Base_HasOneRef(cef_base_ref_counted_t *_) noexcept {
173 return reinterpret_cast<CefRefCount *>(_)->ref_ == 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected