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
|
|
@ -24,6 +24,8 @@ Dependencies: clearDataStructure
|
|||
*/
|
||||
StackType *clearStack( StackType *stackData )
|
||||
{
|
||||
// clear the entire data structure
|
||||
clearDataStructure(stackData);
|
||||
// return NULL
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -40,8 +42,11 @@ Dependencies: createDataStructure
|
|||
*/
|
||||
StackType *createStack( int initialCapacity )
|
||||
{
|
||||
// create the data structure
|
||||
StackType *stackDataStructure;
|
||||
stackDataStructure = createDataStructure(initialCapacity);
|
||||
// return StackType
|
||||
return NULL;
|
||||
return stackDataStructure;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -59,6 +64,7 @@ Dependencies: getItemAtIndex, getListSize
|
|||
bool peekTop( StateDataType *returnVal, const StackType stackData )
|
||||
{
|
||||
// return false (TEMP)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -76,6 +82,7 @@ Dependencies: removeItemAtIndex, getListSize
|
|||
bool popStack( StateDataType *returnVal, StackType *stackData )
|
||||
{
|
||||
// return false (TEMP)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -92,4 +99,5 @@ Dependencies: insertItemAtIndex, getListSize
|
|||
bool pushStack( StackType *stackData, const StateDataType toBePushed )
|
||||
{
|
||||
// return false (TEMP)
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue