(git:b310db4)
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_init
interface  list_isready
interface  list_push
interface  list_pop
interface  list_peek
interface  list_get
interface  list_size
interface  list_destroy

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