Loading...
Searching...
No Matches
24#include "gsPlatform.h"
25#include "gsPlatformSocket.h"
26#include "gsPlatformThread.h"
27#include "gsPlatformUtil.h"
33#include "gsStringUtil.h"
40#define GSI_MIN(a,b) (((a) < (b)?(a):(b)))
41#define GSI_MAX(a,b) (((a) > (b)?(a):(b)))
42#define GSI_LIMIT(x, minx, maxx) (((x) < (minx)? (minx) : ((x) > (maxx)? (maxx) : (x))))
43#define GSI_WRAP(x, minx, maxx) (((x) < (minx)? (maxx-1 ) : ((x) >= (maxx)? (minx) : (x))))
44#define GSI_DIM( x ) ( sizeof( x ) / sizeof((x)[ 0 ]))