#ifndef VECTOR_INT_H #define VECTOR_INT_H typedef struct vector_int { int last; int capacity; int *data; } vector_int; vector_int vector_int_allocate(); vector_int vector_int_allocate( int reserve ); void vector_int_deallocate( vector_int ); void reserve( vector_int *vec, int reserve ); void append( vector_int *vec, int element ); // implement bounded_array lvalue int ?[?]( vector_int vec, int index ); int array_last( vector_int vec ); #endif /* #ifndef VECTOR_INT_H */