LCOV - code coverage report
Current view: top level - singledishfiller/Filler - FillerUtil.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 4 4 100.0 %
Date: 2024-12-11 20:54:31 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :  * FillerUtil.h
       3             :  *
       4             :  *  Created on: Feb 3, 2016
       5             :  *      Author: nakazato
       6             :  */
       7             : #include <cstdlib>
       8             : 
       9             : #ifndef SINGLEDISH_FILLER_FILLERUTIL_H_
      10             : #define SINGLEDISH_FILLER_FILLERUTIL_H_
      11             : 
      12             : //#define SINGLEDISHMSFILLER_DEBUG
      13             : #ifdef SINGLEDISHMSFILLER_DEBUG
      14             : #define POST_START std::cout << "Start " << __PRETTY_FUNCTION__ << std::endl
      15             : #define POST_END std::cout << "End " << __PRETTY_FUNCTION__ << std::endl
      16             : #else
      17             : #define POST_START
      18             : #define POST_END
      19             : #endif
      20             : 
      21             : namespace casa { //# NAMESPACE CASA - BEGIN
      22             : namespace sdfiller { //# NAMESPACE SDFILLER - BEGIN
      23             : struct Deleter {
      24          35 :   void operator()(void *p) {
      25          35 :     if (p) {
      26          35 :       free(p);
      27             :     }
      28          35 :   }
      29             : };
      30             : } //# NAMESPACE SDFILLER - BEGIN
      31             : } //# NAMESPACE CASA - END
      32             : 
      33             : #endif /* SINGLEDISH_FILLER_FILLERUTIL_H_ */

Generated by: LCOV version 1.16