Skip to content

Add create/init function

  • Use default max capacity: #define DEFAULT_CAPACITY 4 and allocate memory accordingly.
  • Set capacity to DEFAULT_CAPACITY.
  • Set top to a consistent value.
Edited by orestis.malaspin