interface
| 247 | |
| 248 | // interface |
| 249 | int asCContext::Release() const |
| 250 | { |
| 251 | int r = m_refCount.atomicDec(); |
| 252 | |
| 253 | if( r == 0 ) |
| 254 | { |
| 255 | asDELETE(const_cast<asCContext*>(this),asCContext); |
| 256 | return 0; |
| 257 | } |
| 258 | |
| 259 | return r; |
| 260 | } |
| 261 | |
| 262 | // internal |
| 263 | void asCContext::DetachEngine() |
no test coverage detected