/* Copyright (C) 2015-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk4strmodk.ctr */ /** @file dk4strmodk.c The dk4strmodk module. */ #line 74 "dk4strmodk.ctr" #include "dk4conf.h" #include "dk4strmodk.h" #include "dk4strmo32.h" #include "dk4strmo16.h" #include "dk4strmo08.h" #include "dk4unused.h" #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4stream_dk_puts( dk4_stream_t *strm, const dkChar *txt, #if 1 == DK4_CHAR_SIZE int ie, #else int DK4_ARG_UNUSED(ie), #endif dk4_er_t *erp ) { #if DK4_CHAR_SIZE > 1 DK4_UNUSED_ARG(ie) #endif #if DK4_USE_ASSERT assert(NULL != strm); assert(NULL != txt); #endif #if DK4_CHAR_SIZE > 1 #if DK4_CHAR_SIZE > 2 return (dk4stream_c32_puts(strm, txt, erp)); #else return (dk4stream_c16_puts(strm, txt, erp)); #endif #else return (dk4stream_c08_puts(strm, txt, ie, erp)); #endif }