X-Git-Url: http://git.harvie.cz/?p=svn%2FCll1h%2F.git;a=blobdiff_plain;f=cll1.h;fp=cll1.h;h=f6f023576409e9ffce435fefc502f6c749a152de;hp=a3a6a317773105dca4fd3e15b3163ac757104fd4;hb=ea514b9e6351878fef9638813f50ce7013e8a832;hpb=eac5d6c70c3babc9056f059edd88a2c1a82bc7e9 diff --git a/cll1.h b/cll1.h index a3a6a31..f6f0235 100644 --- a/cll1.h +++ b/cll1.h @@ -141,8 +141,8 @@ extern unsigned RANDOM_SEED; //to do: seek //to do: store #define count(NODE,HEAD,VAR) { _NEW(I,0) for(NODE=HEAD; NODE || ((VAR=_I),0) ; (NODE=NODE->__next)?(_I++):0 ); } -#define order_by_int(K1,K2) (K1>K2) -#define order_by_int_desc(K1,K2) (K1K2) +#define order_by_num_desc(K1,K2) (K10) #define order_by_str_desc(K1,K2) (str_order(K1,K2)<0) #define order_by_ascii(K1,K2) (str_ascii(K1,K2)>0)