KAutoObject: Difference between revisions

Smea (talk | contribs)
mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
[[Category:Kernel auto objects]]
 
KAutoObject represents a reference counted object that destroys itself when there are no more references to it.
KAutoObject represents a reference counted object that destroys itself when there are no more references to it.


Line 19: Line 18:
| Reference count
| Reference count
|}
|}
=Class Definition=
    class KAutoObject {<br>
    public:
        u32 m_referenceCount;      // 0x4<br>
    protected:
        virtual ~KAutoObject() { }
    };