MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getWeakReference

Method getWeakReference

Engine/source/core/util/refBase.h:429–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429inline WeakRefBase::WeakReference * WeakRefBase::getWeakReference()
430{
431 if (!mReference)
432 {
433 mReference = new WeakReference(this);
434 mReference->incRefCount();
435 }
436 return mReference;
437}
438
439//---------------------------------------------------------------
440

Callers 3

setMethod · 0.80
setMethod · 0.80
_setMethod · 0.80

Calls 1

incRefCountMethod · 0.45

Tested by

no test coverage detected