FillerUtil.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #include <cstdlib>
00008
00009 #ifndef SINGLEDISH_FILLER_FILLERUTIL_H_
00010 #define SINGLEDISH_FILLER_FILLERUTIL_H_
00011
00012
00013 #ifdef SINGLEDISHMSFILLER_DEBUG
00014 #define POST_START std::cout << "Start " << __PRETTY_FUNCTION__ << std::endl
00015 #define POST_END std::cout << "End " << __PRETTY_FUNCTION__ << std::endl
00016 #else
00017 #define POST_START
00018 #define POST_END
00019 #endif
00020
00021 namespace casa {
00022 namespace sdfiller {
00023 struct Deleter {
00024 void operator()(void *p) {
00025 if (p) {
00026 free(p);
00027 }
00028 }
00029 };
00030 }
00031 }
00032
00033 #endif