/* 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: dk4maidddi.ctr */ /** @file dk4maidddi.c The dk4maidddi module. */ #line 80 "dk4maidddi.ctr" #include "dk4conf.h" #include "dk4maidddi.h" #if DK4_CHAR_SIZE > 1 #if DK4_CHAR_SIZE == DK4_SIZEOF_WCHAR_T #include "dk4maiwddi.h" #else #error "Illegal dkChar size!" #endif #else #include "dk4mai8ddi.h" #endif #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4ma_input_dk_dec_dk4_im_t( dk4_im_t *rp, const dkChar *src, const dkChar **endptr, int atg, dk4_er_t *erp ) { #if DK4_USE_ASSERT assert(NULL != rp); assert(NULL != src); #endif #if DK4_CHAR_SIZE > 1 return (dk4ma_input_wc_dec_dk4_im_t(rp, src, endptr, atg, erp)); #else return (dk4ma_input_c8_dec_dk4_im_t(rp, src, endptr, atg, erp)); #endif }