diff options
author | sb <sb@openoffice.org> | 2010-02-08 09:18:14 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-08 09:18:14 +0100 |
commit | 8d776f1544087c7851fb7d4bd3d52bbfc785164a (patch) | |
tree | 52922fbe5e7e016a597a6adf5f68cadc57b76f85 /soltools | |
parent | 14e1474b88cb5a96bc1f74a5d4d3d0aee73096d9 (diff) | |
parent | e13a74bf91e438a28b4f01979d22997c27693238 (diff) |
sb118: merged in DEV300_m71
Diffstat (limited to 'soltools')
-rwxr-xr-x | soltools/mkdepend/collectdircontent.cxx | 4 | ||||
-rw-r--r-- | soltools/mkdepend/collectdircontent.hxx | 1 | ||||
-rw-r--r-- | soltools/mkdepend/main.c | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/soltools/mkdepend/collectdircontent.cxx b/soltools/mkdepend/collectdircontent.cxx index 691996d56cca..c9308faf0562 100755 --- a/soltools/mkdepend/collectdircontent.cxx +++ b/soltools/mkdepend/collectdircontent.cxx @@ -73,6 +73,10 @@ extern "C" { return new IncludesCollection; } + void delete_IncludesCollection(IncludesCollection *m) { + delete m; + } + int call_IncludesCollection_exists(IncludesCollection* m, const char * filePath) { return m->exists(filePath); } diff --git a/soltools/mkdepend/collectdircontent.hxx b/soltools/mkdepend/collectdircontent.hxx index 1ffd9cf60f0c..1896df0c8bc7 100644 --- a/soltools/mkdepend/collectdircontent.hxx +++ b/soltools/mkdepend/collectdircontent.hxx @@ -47,6 +47,7 @@ extern "C" { #endif struct IncludesCollection * create_IncludesCollection(void); +void delete_IncludesCollection(struct IncludesCollection *); int call_IncludesCollection_exists(struct IncludesCollection* m, const char* filePath); diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c index a786f5a4d7f6..fd9bdc18e5d2 100644 --- a/soltools/mkdepend/main.c +++ b/soltools/mkdepend/main.c @@ -465,6 +465,9 @@ int main(argc, argv) } if (printed) printf("\n"); + + delete_IncludesCollection(incCollection); + exit(0); } |