From 50bb7d3203778c1480d3779b21198a5e8a5ee467 Mon Sep 17 00:00:00 2001 From: imushir Date: Fri, 27 Nov 2015 15:25:14 +0530 Subject: #define for u8 u16 i8 i16 added --- 2.3-1/src/c/statisticsFunctions/includes/statMax.h | 82 ++++++++++++++++++++-- 1 file changed, 75 insertions(+), 7 deletions(-) (limited to '2.3-1/src/c/statisticsFunctions/includes') diff --git a/2.3-1/src/c/statisticsFunctions/includes/statMax.h b/2.3-1/src/c/statisticsFunctions/includes/statMax.h index 3538bc1a..7ac659ce 100644 --- a/2.3-1/src/c/statisticsFunctions/includes/statMax.h +++ b/2.3-1/src/c/statisticsFunctions/includes/statMax.h @@ -12,29 +12,59 @@ #ifndef __STAT_MAX_H__ #define __STAT_MAX_H__ - +//#ifndef __MAX_H__ +//#define __MAX_H__ #include "dynlib_statisticsfunctions.h" +#include "types.h" #ifdef __cplusplus extern "C" { #endif +#define max(a,b) (a>=b?a:b) + +#define maxa(a,size1,b,size2,out) {int i;\ + for (i=0;i