Luna::WeakObjRef::pin

ObjRef pin() const

Creates one strong reference from this weak reference.

Return value

Returns the created strong reference if this weak reference is valid. Returns one null reference if this weak reference is not valid.