Changes in src/examples/vector_int.h [eab39cd:86bd7c1f]
- File:
-
- 1 edited
-
src/examples/vector_int.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/examples/vector_int.h
reab39cd r86bd7c1f 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 : Rob Schluntz12 // Last Modified On : Wed Apr 06 17:21:59 201611 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 27 18:39:05 2015 13 13 // Update Count : 2 14 14 // … … 25 25 } vector_int; 26 26 27 v oid ?{}( vector_int * );// allocate vector with default capacity28 v oid ?{}( vector_int *, int reserve );// allocate vector with specified capacity29 void ^?{}( vector_int * );// deallocate vector's storage27 vector_int vector_int_allocate(); // allocate vector with default capacity 28 vector_int vector_int_allocate( int reserve ); // allocate vector with specified capacity 29 void vector_int_deallocate( 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.