extern C fixes
This commit is contained in:
parent
e8d0e8088f
commit
b64c6bba11
@ -22,6 +22,9 @@
|
|||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmCPluginAPI.h"
|
#include "cmCPluginAPI.h"
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
|
||||||
void *cmGetClientData(void *info)
|
void *cmGetClientData(void *info)
|
||||||
{
|
{
|
||||||
return ((cmLoadedCommandInfo *)info)->ClientData;
|
return ((cmLoadedCommandInfo *)info)->ClientData;
|
||||||
@ -453,6 +456,8 @@ void cmRemoveFile(const char *name)
|
|||||||
cmSystemTools::RemoveFile(name);
|
cmSystemTools::RemoveFile(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // close the extern "C" scope
|
||||||
|
|
||||||
cmCAPI cmStaticCAPI =
|
cmCAPI cmStaticCAPI =
|
||||||
{
|
{
|
||||||
cmGetClientData,
|
cmGetClientData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user