MCPcopy Create free account
hub / github.com/360Controller/360Controller / Release

Method Release

XBOBTFF/FFDriver.cpp:151–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151ULONG FeedbackXBOBT::Release()
152{
153 ULONG returnValue = fRefCount - 1;
154 if(returnValue > 0) {
155 fRefCount = returnValue;
156 } else if(returnValue == 0) {
157 fRefCount = returnValue;
158 delete this;
159 } else {
160 returnValue = 0;
161 }
162 return returnValue;
163}
164
165void** FeedbackXBOBT::Alloc(void)
166{

Callers 1

sReleaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected