1 2 // automatically generated by m4 from headers in proto subdir 3 4 5 #ifndef __RECT_H__ 6 #define __RECT_H__ 7 8 #include <stdint.h> 9 10 // STRUCTURES 11 12 struct r_Ival8 13 { 14 uint8_t coord; // +0 15 uint8_t width; // +1 16 }; 17 18 struct r_Ival16 19 { 20 uint16_t coord; // +0 21 uint16_t width; // +2 22 }; 23 24 struct r_Rect8 25 { 26 uint8_t x; // +0 struct r_Ival8 27 uint8_t width; // +1 28 uint8_t y; // +2 struct r_Ival8 29 uint8_t height; // +3 30 }; 31 32 struct r_Rect16 33 { 34 uint16_t x; // +0 struct r_Ival16 35 uint16_t width; // +2 36 uint16_t y; // +4 struct r_Ival16 37 uint16_t height; // +6 38 }; 39 40 #endif 41