| 204 | } |
| 205 | |
| 206 | void Foundation::decRefCount() |
| 207 | { |
| 208 | PX_ASSERT(mInstance != NULL); |
| 209 | |
| 210 | if(mRefCount > 0) |
| 211 | { |
| 212 | mRefCount--; |
| 213 | } |
| 214 | else |
| 215 | { |
| 216 | mInstance->error(PxErrorCode::eINVALID_OPERATION, __FILE__, __LINE__, |
| 217 | "Foundation: Invalid deregistration detected."); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | void Foundation::release() |
| 222 | { |
no test coverage detected