diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-24 14:24:56 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-24 14:24:56 (GMT) |
commit | e00b56dd571d3cef11e3080f916715ede334b99f (patch) | |
tree | d68af48e19ab7aa944402c4bacfd20d388c552aa /Source | |
parent | cc0e0d566040a46b612f019893e24281e40484a8 (diff) | |
download | CMake-e00b56dd571d3cef11e3080f916715ede334b99f.zip CMake-e00b56dd571d3cef11e3080f916715ede334b99f.tar.gz CMake-e00b56dd571d3cef11e3080f916715ede334b99f.tar.bz2 |
Add accessor for Flushing cache
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDynamicLoader.cxx | 5 | ||||
-rw-r--r-- | Source/cmDynamicLoader.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx index c997e38..7e21a7f 100644 --- a/Source/cmDynamicLoader.cxx +++ b/Source/cmDynamicLoader.cxx @@ -356,3 +356,8 @@ const char* cmDynamicLoader::LastError() return dlerror(); } #endif + +void cmDynamicLoader::FlushCache() +{ + cmDynamicLoaderCache::GetInstance()->FlushCache(); +} diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h index 3938528..dfc3be0 100644 --- a/Source/cmDynamicLoader.h +++ b/Source/cmDynamicLoader.h @@ -69,6 +69,10 @@ public: // Description: // 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() {}; |