4 void dump(UT_vector
*v
) {
5 printf("len: %d\n", utvector_len(v
));
7 while ( (p
=(UT_string
*)utvector_next(v
,p
))) printf("%s\n",utstring_body(p
));
12 UT_vector v
; utvector_init(&v
, utstring_mm
);
13 UT_string s
; utstring_init(&s
);
15 utstring_printf(&s
, ".");
16 utvector_push(&v
, &s
);
21 p
= utvector_extend(&v
);
22 utstring_printf(p
,"extended element");
35 utstring_printf(p
,"allocated utstring");