| 62 | } |
| 63 | |
| 64 | asDWORD asCAtomic::atomicInc() |
| 65 | { |
| 66 | // A very high ref count is highly unlikely. It most likely a problem with |
| 67 | // memory that has been overwritten or is being accessed after it was deleted. |
| 68 | asASSERT(value < 1000000); |
| 69 | |
| 70 | return asAtomicInc((int&)value); |
| 71 | } |
| 72 | |
| 73 | asDWORD asCAtomic::atomicDec() |
| 74 | { |
no test coverage detected