/* Copyright (C) 2017-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: dk4maixdus.cpt */ /** @file dk4maixdus.cpp The dk4maixdus module. */ #line 115 "dk4maixdus.cpt" #include "dk4conf.h" #ifndef DK4_SIZEOF_WXCHAR #ifndef DK4WXCS_H_INCLUDED #include "dk4wxcs.h" #endif #endif #if (DK4_HAVE_WXWIDGETS) && (defined(__cplusplus)) #include "dk4maixdus.h" #if DK4_SIZEOF_WXCHAR > 1 #if DK4_SIZEOF_WXCHAR == DK4_SIZEOF_WCHAR_T #include "dk4maiwdus.h" #else #error "Illegal wxChar size!" #endif #else #include "dk4mai8dus.h" #endif #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4ma_input_wx_dec_ushort( unsigned short *rp, const wxChar *src, const wxChar **endptr, int atg, dk4_er_t *erp ) { #if DK4_USE_ASSERT assert(NULL != rp); assert(NULL != src); #endif #if DK4_SIZEOF_WXCHAR > 1 return ( dk4ma_input_wc_dec_ushort(rp, src, endptr, atg, erp)); #else return ( dk4ma_input_c8_dec_ushort(rp, src, endptr, atg, erp)); #endif } #endif