1 2 3 4 5 6 7 8 9 10
#include "rect.h" Rectangle make_rect(int x, int y, int w, int h) { Rectangle r; r.x = x; r.y = y; r.w = w; r.h = h; return r; }