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: dk4macc.ctr 12 */ 13 14 #ifndef DK4MACC_H_INCLUDED 15 /** Avoid multiple inclusions. */ 16 #define DK4MACC_H_INCLUDED 1 17 18 19 /** @file 20 Comparison between signed and unsigned 21 character. 22 */ 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 /** Compare signed and unsigned char. 29 @param s Signed char. 30 @param u Unsigned char. 31 @return 1 if s>u, 0 if s==u, -1 if s<u. 32 */ 33 int 34 dk4ma_char_compare(signed char s, unsigned char u); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 41 42 43 #endif 44