Changeset eab39cd for src/examples/vector_int.h
- Timestamp:
- Apr 6, 2016, 5:22:45 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f326f99
- Parents:
- a5a71d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/vector_int.h
ra5a71d0 reab39cd 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // vector_int.h -- 7 // vector_int.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Wed May 27 17:56:53 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed May 27 18:39:05 201511 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Apr 06 17:21:59 2016 13 13 // Update Count : 2 14 14 // … … 25 25 } vector_int; 26 26 27 v ector_int vector_int_allocate();// allocate vector with default capacity28 v ector_int vector_int_allocate( int reserve );// allocate vector with specified capacity29 void vector_int_deallocate( vector_int );// deallocate vector's storage27 void ?{}( vector_int * ); // allocate vector with default capacity 28 void ?{}( vector_int *, int reserve ); // allocate vector with specified capacity 29 void ^?{}( vector_int * ); // deallocate vector's storage 30 30 31 31 void reserve( vector_int *vec, int reserve ); // reserve more capacity
Note: See TracChangeset
for help on using the changeset viewer.