LCOV - code coverage report
Current view: top level - autotest/cpp - test_c_include_from_cpp_file.cpp (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 2 2 100.0 %
Date: 2024-11-21 22:18:42 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  * Project:  GDAL Core
       3             :  * Purpose:  Test including all public C headers as extern C from .cpp file
       4             :  * Author:   Even Rouault, <even dot rouault at spatialys dot com>
       5             :  *
       6             :  ******************************************************************************
       7             :  * Copyright (c) 2017, Even Rouault <even dot rouault at spatialys dot com>
       8             :  *
       9             :  * SPDX-License-Identifier: MIT
      10             :  ****************************************************************************/
      11             : 
      12             : extern "C"
      13             : {
      14             : #include "cpl_atomic_ops.h"
      15             : #include "cpl_conv.h"
      16             : #include "cpl_csv.h"
      17             : #include "cpl_error.h"
      18             : #include "cpl_hash_set.h"
      19             : #include "cpl_list.h"
      20             : #include "cpl_minixml.h"
      21             : #include "cpl_port.h"
      22             : #include "cpl_progress.h"
      23             : #include "cpl_quad_tree.h"
      24             : #include "cpl_vsi.h"
      25             : #include "gdal_alg.h"
      26             : #include "gdal_version.h"
      27             : #include "gdal.h"
      28             : #include "ogr_api.h"
      29             : #include "ogr_core.h"
      30             : #include "ogr_srs_api.h"
      31             : }
      32             : 
      33           1 : int main()
      34             : {
      35           1 :     return 0;
      36             : }

Generated by: LCOV version 1.14