1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef TARGETED_TOP_H #define TARGETED_TOP_H #include "targeted-nested1.h" enum { VALUE = 3 }; extern int TopVar; typedef struct { int x; int y; #include "targeted-fields.h" } Vector; static inline int vector_get_x(Vector v) { int x = v.x; return x; } #endif