7 utvector_init(&v
, utmm_int
);
8 for(i
=0; i
<10; i
++) utvector_push(&v
, &i
);
10 k
= utvector_clone(&v
);
11 while ( (p
=(int*)utvector_next(k
,p
))) printf("%d\n",*p
);
14 p
= (int*)utvector_elt(&v
, i
);
15 printf("elt %d: %d\n", i
, *p
);
19 p
= (int*)utvector_elt(&v
, 11);
20 printf("p is %snull\n", p
? "not " : "");