Commit ee459411 authored by Brad King's avatar Brad King
Browse files

ENH: Changed magic numbers to reserved. Added CMAKE_VERSION_MAJOR and...

ENH: Changed magic numbers to reserved.  Added CMAKE_VERSION_MAJOR and CMAKE_VERSION_MINOR macros to allow commands to do conditional compilation across multiple versions of CMake.
parent 0a14f697
......@@ -25,6 +25,9 @@
#ifndef cmCPluginAPI_h
#define cmCPluginAPI_h
#define CMAKE_VERSION_MAJOR 1
#define CMAKE_VERSION_MINOR 5
#ifdef __cplusplus
extern "C" {
#endif
......@@ -184,8 +187,8 @@ Finally we define the key data structures and function prototypes
typedef void (*CM_DESTRUCTOR_FUNCTION)(void *info);
typedef struct {
unsigned char magic1;
unsigned char magic2;
unsigned long reserved1; /* Reserved for future use. DO NOT USE. */
unsigned long reserved2; /* Reserved for future use. DO NOT USE. */
cmCAPI *CAPI;
int m_Inherited;
CM_INITIAL_PASS_FUNCTION InitialPass;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment