Completed Utilities, Testing ArrayEngine
+- ArrayDataEngine.c +- IteratorUtility.c +- QueueUtility.c +- StackUtility.c +- PA05_Main
This commit is contained in:
parent
4acd4386fe
commit
a9a217cc45
5 changed files with 50 additions and 16 deletions
|
|
@ -190,7 +190,7 @@ bool getItemAtIndex( StateDataType *returnVal,
|
|||
const StateArrayType stateData, int listIndex )
|
||||
{
|
||||
// check stateData size against list index
|
||||
if(listIndex < getListSize(stateData) && listIndex >=0)
|
||||
if(listIndex < getListSize(stateData) && listIndex >= 0)
|
||||
{
|
||||
// copy data into returnVal
|
||||
deepCopyData(returnVal, stateData.array[listIndex]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue