Add accessor for Flushing cache
This commit is contained in:
parent
cc0e0d5660
commit
e00b56dd57
|
@ -356,3 +356,8 @@ const char* cmDynamicLoader::LastError()
|
||||||
return dlerror();
|
return dlerror();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void cmDynamicLoader::FlushCache()
|
||||||
|
{
|
||||||
|
cmDynamicLoaderCache::GetInstance()->FlushCache();
|
||||||
|
}
|
||||||
|
|
|
@ -69,6 +69,10 @@ public:
|
||||||
// Description:
|
// Description:
|
||||||
// Return the last error produced from a calls made on this class.
|
// Return the last error produced from a calls made on this class.
|
||||||
static const char* LastError();
|
static const char* LastError();
|
||||||
|
|
||||||
|
// Description:
|
||||||
|
// Flush the cache of dynamic loader.
|
||||||
|
static void FlushCache();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
cmDynamicLoader() {};
|
cmDynamicLoader() {};
|
||||||
|
|
Loading…
Reference in New Issue