mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +08:00
extern C fixes
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user