1 typedef struct gs_imager_state_s { 2 struct { 3 int half_width; 4 int cap; 5 float miter_limit; 6 } line_params; 7 } gs_imager_state; 8 static const gs_imager_state gstate_initial = { { 1 } }; gstate_path_memory(gs_imager_state * pgs)9void gstate_path_memory(gs_imager_state *pgs) { 10 *pgs = gstate_initial; 11 } gs_state_update_overprint(void)12int gs_state_update_overprint(void) 13 { 14 return gstate_initial.line_params.half_width; 15 } 16 17 extern void abort (void); main()18int main() 19 { 20 if (gs_state_update_overprint() != 1) 21 abort (); 22 return 0; 23 } 24 25