diff options
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 6833935..b141160 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -22,6 +22,9 @@ #include "cmMakefile.h" #include "cmCPluginAPI.h" +extern "C" +{ + void *cmGetClientData(void *info) { return ((cmLoadedCommandInfo *)info)->ClientData; @@ -453,6 +456,8 @@ void cmRemoveFile(const char *name) cmSystemTools::RemoveFile(name); } +} // close the extern "C" scope + cmCAPI cmStaticCAPI = { cmGetClientData, |