(git:c5411e0)
Loading...
Searching...
No Matches
list Module Reference

An array-based list which grows on demand. When the internal array is full, a new array of twice the size will be allocated and the items are copied over. More...

Data Types

interface  list_destroy
 
interface  list_get
 
interface  list_init
 
interface  list_isready
 
interface  list_peek
 
interface  list_pop
 
interface  list_push
 
interface  list_size
 

Detailed Description

An array-based list which grows on demand. When the internal array is full, a new array of twice the size will be allocated and the items are copied over.

This list can also be used as a stack. Have look at list_push(), list_pop() and list_peek().

Note
it's not possible to put all templates in a single module because this would lead to circular dependencies (timer_env_type contains list_routinestat_type and list_callstackentry_type, and list_timerenv_type contains timer_env_type)
History
12.2012 first version [ole]
Author
Ole Schuett