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