/* 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: dk4maoxd.cpt */ /** @file dk4maoxd.cpp The dk4maoxd module. */ #line 116 "dk4maoxd.cpt" #include "dk4conf.h" #ifndef DK4_SIZEOF_WXCHAR #ifndef DK4WXCS_H_INCLUDED #include "dk4wxcs.h" #endif #endif #if (DK4_HAVE_WXWIDGETS) && (defined(__cplusplus)) #include "dk4types.h" #include "dk4maoxd.h" #if DK4_SIZEOF_WXCHAR > 1 #if DK4_SIZEOF_WXCHAR == DK4_SIZEOF_WCHAR_T #include "dk4maowd.h" #else #error "Illegal wxChar size!" #endif #else #include "dk4mao8d.h" #endif #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4ma_write_wx_decimal_unsigned( wxChar *dptr, size_t sz, dk4_um_t val, size_t padsz, dk4_er_t *erp ) { #if DK4_USE_ASSERT assert(NULL != dptr); assert(0 < sz); #endif #if DK4_SIZEOF_WXCHAR > 1 return (dk4ma_write_wc_decimal_unsigned(dptr, sz, val, padsz, erp)); #else return (dk4ma_write_c8_decimal_unsigned(dptr, sz, val, padsz, erp)); #endif } int dk4ma_write_wx_decimal_signed( wxChar *dptr, size_t sz, dk4_im_t val, size_t padsz, dk4_er_t *erp ) { #if DK4_USE_ASSERT assert(NULL != dptr); assert(0 < sz); #endif #if DK4_SIZEOF_WXCHAR > 1 return (dk4ma_write_wc_decimal_signed(dptr, sz, val, padsz, erp)); #else return (dk4ma_write_c8_decimal_signed(dptr, sz, val, padsz, erp)); #endif } #endif