Add accessor for Flushing cache

This commit is contained in:
Andy Cedilnik 2002-09-24 10:24:56 -04:00
parent cc0e0d5660
commit e00b56dd57
2 changed files with 9 additions and 0 deletions

View File

@ -356,3 +356,8 @@ const char* cmDynamicLoader::LastError()
return dlerror();
}
#endif
void cmDynamicLoader::FlushCache()
{
cmDynamicLoaderCache::GetInstance()->FlushCache();
}

View File

@ -70,6 +70,10 @@ public:
// Return the last error produced from a calls made on this class.
static const char* LastError();
// Description:
// Flush the cache of dynamic loader.
static void FlushCache();
protected:
cmDynamicLoader() {};
~cmDynamicLoader() {};