diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-08-28 18:51:10 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-08-28 18:51:10 (GMT) |
commit | d0be2896d7191e56818aaac48f7177b9d92a9693 (patch) | |
tree | 42c3a9c07f1ccd9fe8683051c921463e9d639dc7 /Source/cmCPluginAPI.cxx | |
parent | 4855fe5c10841fd3641b7405522de3278732987f (diff) | |
download | CMake-d0be2896d7191e56818aaac48f7177b9d92a9693.zip CMake-d0be2896d7191e56818aaac48f7177b9d92a9693.tar.gz CMake-d0be2896d7191e56818aaac48f7177b9d92a9693.tar.bz2 |
changed cache manager and registered generators to no longer be singletons
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index c734028..6833935 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -32,13 +32,15 @@ void cmSetClientData(void *info, void *cd) ((cmLoadedCommandInfo *)info)->ClientData = cd; } -unsigned int cmGetCacheMajorVersion(void *) +unsigned int cmGetCacheMajorVersion(void *arg) { - return cmMakefile::GetCacheMajorVersion(); + cmMakefile *mf = static_cast<cmMakefile *>(arg); + return mf->GetCacheMajorVersion(); } -unsigned int cmGetCacheMinorVersion(void *) +unsigned int cmGetCacheMinorVersion(void *arg) { - return cmMakefile::GetCacheMinorVersion(); + cmMakefile *mf = static_cast<cmMakefile *>(arg); + return mf->GetCacheMinorVersion(); } unsigned int cmGetMajorVersion(void *) |