summaryrefslogtreecommitdiffstats
path: root/collection/collection_stack_ut.c
Commit message (Collapse)AuthorAgeFilesLines
* COLLECTION: Fixing queue collection and unit tests.Dmitri Pal2010-02-011-16/+39
| | | | | | | | | | This patch includes following functionality: 1) Fixed the invalid handling of the pointers in the collection when last element is removed from the collection. 2) Added unit test to verify the fix. 3) Modified the three unit test to be verbose on demand. 4) Switched the main of the unit test to use array of functions rather than big if statement.
* Clean up warnings in common/Simo Sorce2009-07-031-2/+2
| | | | Fix consts and function declarations
* Changing function names for collection API.Dmitri Pal2009-07-021-22/+22
| | | | | | | Patch prepends prefix "col_" to all functions related to collection. This caused some formatiing issues so the alignement was addressed too.
* Queue and stack APIs using collection.Dmitri Pal2009-07-021-0/+108
Patch adds two interfaces for stack and queue using collection as underlaying implementation. It also fixes a bug in the insterion code - the unsigned properties were created as long.