| 446 | } |
| 447 | |
| 448 | void CScriptDictValue::FreeValue(asIScriptEngine* engine) |
| 449 | { |
| 450 | // If it is a handle or a ref counted object, call release |
| 451 | if (m_typeId & asTYPEID_MASK_OBJECT) { |
| 452 | // Let the engine release the object |
| 453 | engine->ReleaseScriptObject(m_valueObj, engine->GetTypeInfoById(m_typeId)); |
| 454 | m_valueObj = 0; |
| 455 | m_typeId = 0; |
| 456 | } |
| 457 | |
| 458 | // For primitives, there's nothing to do |
| 459 | } |
| 460 | |
| 461 | void CScriptDictValue::EnumReferences(asIScriptEngine* inEngine) |
| 462 | { |
no outgoing calls
no test coverage detected