From b64c6bba1120535af111ababee66e6965add096c Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 29 Aug 2002 09:45:34 -0400 Subject: [PATCH] extern C fixes --- Source/cmCPluginAPI.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 683393505..b14116037 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,