#ifndef rect_h #define rect_h typedef struct Rect { int x, y, w, h; } Rect; Rect* rect_clip(Rect* r, const Rect* c); Rect* rect_clipr(Rect* r, const int* c); Rect* rect_clips(Rect* r, Rect* s, const Rect* c); Rect* rect_clipsr(Rect* r, Rect* s, const int* c); #endif