mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
16 lines
305 B
C++
16 lines
305 B
C++
#ifndef __ENET_UTILITY_H__
|
|
#define __ENET_UTILITY_H__
|
|
/**
|
|
@file utility.h
|
|
@brief ENet utility header
|
|
*/
|
|
|
|
|
|
|
|
#define ENET_MAX(x, y) ((x) > (y) ? (x) : (y))
|
|
#define ENET_MIN(x, y) ((x) < (y) ? (x) : (y))
|
|
#define ENET_DIFFERENCE(x, y) ((x) < (y) ? (y) - (x) : (x) - (y))
|
|
|
|
#endif /* __ENET_UTILITY_H__ */
|
|
|