| 646 | } |
| 647 | |
| 648 | void CScriptDictValue::FreeValue(asIScriptEngine *engine) |
| 649 | { |
| 650 | // If it is a handle or a ref counted object, call release |
| 651 | if( m_typeId & asTYPEID_MASK_OBJECT ) |
| 652 | { |
| 653 | // Let the engine release the object |
| 654 | engine->ReleaseScriptObject(m_valueObj, engine->GetTypeInfoById(m_typeId)); |
| 655 | m_valueObj = 0; |
| 656 | m_typeId = 0; |
| 657 | } |
| 658 | |
| 659 | // For primitives, there's nothing to do |
| 660 | } |
| 661 | |
| 662 | void CScriptDictValue::EnumReferences(asIScriptEngine *inEngine) |
| 663 | { |
no test coverage detected