diff options
author | Brad King <brad.king@kitware.com> | 2003-01-02 15:27:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-01-02 15:27:30 (GMT) |
commit | ee459411ba721eefe3a3fde77e8f25105644f8c4 (patch) | |
tree | a787c9565a19d8ca54d2702a4e82e1d98c06fb60 /Source/cmCPluginAPI.h | |
parent | 0a14f697551009e6dc41e97259f944d4c1dd9c1d (diff) | |
download | CMake-ee459411ba721eefe3a3fde77e8f25105644f8c4.zip CMake-ee459411ba721eefe3a3fde77e8f25105644f8c4.tar.gz CMake-ee459411ba721eefe3a3fde77e8f25105644f8c4.tar.bz2 |
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.
Diffstat (limited to 'Source/cmCPluginAPI.h')
-rw-r--r-- | Source/cmCPluginAPI.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h index 8f085fa..25cdb45 100644 --- a/Source/cmCPluginAPI.h +++ b/Source/cmCPluginAPI.h @@ -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; |