diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-12-11 19:16:55 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-12-11 19:16:55 (GMT) |
commit | c3474d4257edc0bf9c7a5b298b4441d8edb2afe0 (patch) | |
tree | d677ce37ab093edfda6ad3fefdaf307e12b5b193 /Source/cmCPluginAPI.h | |
parent | 3bcbca96ab7424852e1cc4e15ef19174e40db224 (diff) | |
download | CMake-c3474d4257edc0bf9c7a5b298b4441d8edb2afe0.zip CMake-c3474d4257edc0bf9c7a5b298b4441d8edb2afe0.tar.gz CMake-c3474d4257edc0bf9c7a5b298b4441d8edb2afe0.tar.bz2 |
added a Free method
Diffstat (limited to 'Source/cmCPluginAPI.h')
-rw-r--r-- | Source/cmCPluginAPI.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h index eaa98d9..cf830cd 100644 --- a/Source/cmCPluginAPI.h +++ b/Source/cmCPluginAPI.h @@ -113,6 +113,7 @@ typedef struct =========================================================================*/ void *(*AddSource) (void *mf, void *sf); void *(*CreateSourceFile) (); + void (*DestroySourceFile) (void *sf); void *(*GetSource) (void *mf, const char* sourceName); void (*SourceFileAddDepend) (void *sf, const char *depend); const char *(*SourceFileGetProperty) (void *sf, const char *prop); @@ -132,13 +133,14 @@ typedef struct /*========================================================================= The following methods are from cmSystemTools.h see that file for specific - documentaiton on each method. + documentation on each method. =========================================================================*/ char *(*Capitalized)(const char *); void (*CopyFileIfDifferent)(const char *f1, const char *f2); char *(*GetFilenameWithoutExtension)(const char *); char *(*GetFilenamePath)(const char *); void (*RemoveFile)(const char *f1); + void (*Free)(void *); /* this is the end of the C function stub API structure */ } cmCAPI; |