summaryrefslogtreecommitdiff
path: root/Source/cmCPluginAPI.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-17 10:38:00 -0400
committerKen Martin <ken.martin@kitware.com>2002-09-17 10:38:00 -0400
commit0a2f6c876caa216e9ce9fdc662b8d70335d4738a (patch)
tree8a7f0ea832514f44082d3f841446b0f9c76f29b6 /Source/cmCPluginAPI.h
parentd17830ee5e9d44e8874880e33b038170ad8700d0 (diff)
downloadcmake-0a2f6c876caa216e9ce9fdc662b8d70335d4738a.tar.gz
added destructor to loaded commands
Diffstat (limited to 'Source/cmCPluginAPI.h')
-rw-r--r--Source/cmCPluginAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h
index f1ef9bae3d..d7ba6d497e 100644
--- a/Source/cmCPluginAPI.h
+++ b/Source/cmCPluginAPI.h
@@ -176,6 +176,7 @@ Finally we define the key data structures and function prototypes
typedef int (*CM_INITIAL_PASS_FUNCTION)(void *info, void *mf,
int argc, char *[]);
typedef void (*CM_FINAL_PASS_FUNCTION)(void *info, void *mf);
+ typedef void (*CM_DESTRUCTOR_FUNCTION)(void *info);
typedef struct {
unsigned char magic1;
@@ -184,6 +185,7 @@ Finally we define the key data structures and function prototypes
int m_Inherited;
CM_INITIAL_PASS_FUNCTION InitialPass;
CM_FINAL_PASS_FUNCTION FinalPass;
+ CM_DESTRUCTOR_FUNCTION Destructor;
CM_DOC_FUNCTION GetTerseDocumentation;
CM_DOC_FUNCTION GetFullDocumentation;
void *ClientData;