Files
cocos4/native/cocos/scripting/js-bindings/jswrapper/Ref.hpp
T
2017-06-15 17:24:30 +08:00

21 lines
280 B
C++

#pragma once
namespace se {
class Ref
{
public:
void addRef();
void release();
unsigned int getReferenceCount();
protected:
Ref();
virtual ~Ref();
private:
unsigned int _refCount;
};
} // namespace se {