annotate Vector.h @ 1:2698781db812

Not sure changes -- not being used in VMSHW_matrix_mult
author Me
date Wed, 28 Jul 2010 13:14:00 -0700
parents b1f178ed41a3
children
rev   line source
Me@0 1 /*
Me@0 2 * File: Vector.h
Me@0 3 * Author: Me
Me@0 4 *
Me@0 5 * Created on May 14, 2010, 3:08 PM
Me@0 6 */
Me@0 7
Me@0 8 #ifndef _VECTOR_H
Me@0 9 #define _VECTOR_H
Me@0 10
Me@1 11 #include "../VMS_primitive_data_types.h"
Me@1 12
Me@0 13 //Doing one special cheat -- hiding a back-ptr in front of array
Me@0 14 typedef struct
Me@0 15 {
Me@0 16 void **arrayOfPtrs;
Me@0 17 int numPtrsInArray;
Me@0 18 int sizeOfArray;
Me@0 19 }
Me@0 20 Vector;
Me@0 21
Me@0 22 Vector *createVect ( int32 initialSizeOfArray );
Me@1 23 void increaseSizeOfVect( Vector *vect );
Me@0 24 bool8 addToVect ( void *ptrToAdd, Vector *vect );
Me@0 25 bool8 removeLastInVect ( Vector *vect );
Me@0 26
Me@0 27
Me@0 28 #endif /* _VECTOR_H */
Me@0 29