LCOV - code coverage report
Current view: top level - io/include/format - io_txt_writer.inl (source / functions) Hit Total Coverage
Test: crystal-facet-uml_v1.57.0_covts Lines: 0 6 0.0 %
Date: 2024-04-07 11:14:42 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /* File: io_txt_writer.inl; Copyright and License: see below */
       2             : 
       3             : #include <assert.h>
       4             : #include "utf8stringbuf/utf8error.h"
       5             : 
       6           0 : static inline u8_error_t io_txt_writer_write_plain ( io_txt_writer_t *this_, const char *text )
       7             : {
       8           0 :     assert ( NULL != text );
       9           0 :     assert ( NULL != (*this_).output );
      10             :     u8_error_t write_err;
      11             : 
      12           0 :     const size_t text_len = strlen(text);
      13           0 :     write_err = universal_output_stream_write ( (*this_).output, text, text_len );
      14             : 
      15           0 :     return ( write_err );
      16             : }
      17             : 
      18             : 
      19             : /*
      20             : Copyright 2019-2024 Andreas Warnke
      21             : 
      22             : Licensed under the Apache License, Version 2.0 (the "License");
      23             : you may not use this file except in compliance with the License.
      24             : You may obtain a copy of the License at
      25             : 
      26             :     http://www.apache.org/licenses/LICENSE-2.0
      27             : 
      28             : Unless required by applicable law or agreed to in writing, software
      29             : distributed under the License is distributed on an "AS IS" BASIS,
      30             : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      31             : See the License for the specific language governing permissions and
      32             : limitations under the License.
      33             : */

Generated by: LCOV version 1.16