MCPcopy Create free account
hub / github.com/cztomczak/cefpython / HasOneRef

Method HasOneRef

src/include/cef_base.h:103–103  ·  view source on GitHub ↗

Returns true if the reference count is 1.

Source from the content-addressed store, hash-verified

101 // Returns true if the reference count is 1.
102 ///
103 bool HasOneRef() const { return base::AtomicRefCountIsOne(&ref_count_); }
104
105 private:
106 mutable base::AtomicRefCount ref_count_;

Callers

nothing calls this directly

Calls 1

AtomicRefCountIsOneFunction · 0.85

Tested by

no test coverage detected