LCOV - code coverage report
Current view: top level - ports/unix - coveragecpp.cpp (source / functions) Hit Total Coverage
Test: unix_coverage_v1.19.1-740-gbf49a087b.info Lines: 4 4 100.0 %
Date: 2022-12-09 11:55:04 Functions: 2 2 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : extern "C" {
       2                 :            : #include "py/obj.h"
       3                 :            : }
       4                 :            : 
       5                 :            : #if defined(MICROPY_UNIX_COVERAGE)
       6                 :            : 
       7                 :            : // Just to test building of C++ code.
       8                 :          2 : STATIC mp_obj_t extra_cpp_coverage_impl() {
       9                 :          2 :     return mp_const_none;
      10                 :            : }
      11                 :            : 
      12                 :            : extern "C" {
      13                 :            : mp_obj_t extra_cpp_coverage(void);
      14                 :          2 : mp_obj_t extra_cpp_coverage(void) {
      15                 :          2 :     return extra_cpp_coverage_impl();
      16                 :            : }
      17                 :            : 
      18                 :            : // This is extern to avoid name mangling.
      19                 :            : extern const mp_obj_fun_builtin_fixed_t extra_cpp_coverage_obj = {{&mp_type_fun_builtin_0}, {extra_cpp_coverage}};
      20                 :            : 
      21                 :            : }
      22                 :            : 
      23                 :            : #endif

Generated by: LCOV version 1.15-5-g462f71d