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