mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
13 lines
210 B
C
13 lines
210 B
C
#define MAKE_RECT(type) \
|
|
typedef struct { \
|
|
type x; \
|
|
type y; \
|
|
type w; \
|
|
type h; \
|
|
} type##_rect;
|
|
|
|
MAKE_RECT(u16);
|
|
MAKE_RECT(u32);
|
|
MAKE_RECT(float);
|
|
MAKE_RECT(double);
|