- vector_append( &v, item );
-
- OUT( "vector size: %ld\n", vector_size( &v ) );
- my_vector_dump( &v, itemdump );
-
- vector v2 = { variant, 200, 0 };
- // void vector_copy(
- // vector *dst,vector_index di,
- // vector *src,vector_index si,
- // vector_index n);
- vector_copy( &v2, 20, &v, 10, 20 );
- my_vector_dump( &v2, itemdump );
-
- vector_resize( &v2, 0, itemreclaim, 0 ); // Reset vector v2
- my_vector_dump( &v2, itemdump );
-
- vector_append( &v2, "9 the very last item" );
- vector_append( &v2, "3 the very last item" );
- vector_append( &v2, "4 the very last item" );
- vector_append( &v2, "6 the very last item" );
- vector_append( &v2, "5 the very last item" );
- vector_resize( &v2, vector_size( &v2 ) + 3, 0, 0 );
- vector_append( &v2, "2 the very last item" );
- vector_append( &v2, "8 the very last item" );
- vector_append( &v2, "1 the very last item" );
- vector_append( &v2, 0 );
- vector_append( &v2, "7 the very last item" );
- vector_append( &v2, "0 the very last item" );
- my_vector_dump( &v2, itemdump );
-
- // void vector_qsort(vector*,int (*compar)(const void *,const void *));
+ Vector_append( &v, item );
+
+ OUT( "Vector size: %ld\n", Vector_size( &v ) );
+ my_Vector_dump( &v, itemdump );
+
+ Vector v2 = { variant, 200, 0 };
+ // void Vector_copy(
+ // Vector *dst,VectorIndex di,
+ // Vector *src,VectorIndex si,
+ // VectorIndex n);
+ Vector_copy( &v2, 20, &v, 10, 20 );
+ my_Vector_dump( &v2, itemdump );
+
+ Vector_resize( &v2, 0, itemreclaim, 0 ); // Reset Vector v2
+ my_Vector_dump( &v2, itemdump );
+
+ Vector_append( &v2, "9 the very last item" );
+ Vector_append( &v2, "3 the very last item" );
+ Vector_append( &v2, "4 the very last item" );
+ Vector_append( &v2, "6 the very last item" );
+ Vector_append( &v2, "5 the very last item" );
+ Vector_resize( &v2, Vector_size( &v2 ) + 3, 0, 0 );
+ Vector_append( &v2, "2 the very last item" );
+ Vector_append( &v2, "8 the very last item" );
+ Vector_append( &v2, "1 the very last item" );
+ Vector_append( &v2, 0 );
+ Vector_append( &v2, "7 the very last item" );
+ Vector_append( &v2, "0 the very last item" );
+ my_Vector_dump( &v2, itemdump );
+
+ // void Vector_qsort(Vector*,int (*compar)(const void *,const void *));