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