MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / AddRef

Method AddRef

src/script/api/script_object.hpp:49–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 virtual ~SimpleCountedObject() = default;
48
49 inline void AddRef() { ++this->ref_count; }
50 void Release();
51 virtual void FinalRelease() {};
52

Callers 4

DefSQConstructorCallbackFunction · 0.45
_clonedMethod · 0.45
ScriptObjectRefMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected