MCPcopy Create free account
hub / github.com/anjo76/angelscript / DeleteAll

Method DeleteAll

sdk/add_on/scriptdictionary/scriptdictionary.cpp:416–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void CScriptDictionary::DeleteAll()
417{
418 dictMap_t::iterator it;
419 for( it = dict.begin(); it != dict.end(); it++ )
420 it->second.FreeValue(engine);
421
422 dict.clear();
423 iterGuard++;
424}
425
426CScriptArray* CScriptDictionary::GetKeys() const
427{

Callers 1

Calls 3

beginMethod · 0.80
endMethod · 0.80
FreeValueMethod · 0.80

Tested by

no test coverage detected