1 /*
2 Copyright (C) 2015-2021, Dirk Krause
3 SPDX-License-Identifier: BSD-3-Clause
4 */
5 
6 /*
7 	WARNING: This file was generated by the dkct program (see
8 	http://dktools.sourceforge.net/ for details).
9 	Changes you make here will be lost if dkct is run again!
10 	You should modify the original source and run dkct on it.
11 	Original source: dk4maidddu.ctr
12 */
13 
14 /**	@file dk4maidddu.c The dk4maidddu module.
15 */
16 
17 
18 #include "dk4conf.h"
19 #include <libdk4maiodd/dk4maidddu.h>
20 
21 #if DK4_CHAR_SIZE > 1
22 #if DK4_CHAR_SIZE == DK4_SIZEOF_WCHAR_T
23 #include <libdk4maiowd/dk4maiwddu.h>
24 #else
25 #error "Illegal dkChar size!"
26 #endif
27 #else
28 #include <libdk4maio8d/dk4mai8ddu.h>
29 #endif
30 
31 #if	DK4_HAVE_ASSERT_H
32 #ifndef	ASSERT_H_INCLUDED
33 #include <assert.h>
34 #define	ASSERT_H_INCLUDED 1
35 #endif
36 #endif
37 
38 
39 int
dk4ma_input_dk_dec_dk4_um_t(dk4_um_t * rp,const dkChar * src,const dkChar ** endptr,int atg,dk4_er_t * erp)40 dk4ma_input_dk_dec_dk4_um_t(
41   dk4_um_t	 *rp,
42   const dkChar	 *src,
43   const dkChar	**endptr,
44   int		  atg,
45   dk4_er_t	 *erp
46 )
47 {
48 #if	DK4_USE_ASSERT
49   assert(NULL != rp);
50   assert(NULL != src);
51 #endif
52 #if DK4_CHAR_SIZE > 1
53   return ( dk4ma_input_wc_dec_dk4_um_t(rp, src, endptr, atg, erp));
54 #else
55   return ( dk4ma_input_c8_dec_dk4_um_t(rp, src, endptr, atg, erp));
56 #endif
57 }
58 
59