No Clock  1.0.2
Constructors / Destructors

Create or destroy instruction_list lists. More...

Functions

instruction_list * instruction_list_alloc (void)
 Allocate an instruction list. More...
 
void instruction_list_free (instruction_list *list)
 Free an instruction list. More...
 
void instruction_list_soft_free (instruction_list *list)
 Softly free an instruction list. More...
 

Detailed Description

Create or destroy instruction_list lists.

An instruction_list node can be created using instruction_list_alloc().

An instruction_list list must be destroyed using instruction_list_free() or softly destroyed using instruction_list_soft_free().

Softly freeing an instruction_list list using instruction_list_soft_free() destroys the container list without destroying the inner instruction elements whereas the "standard" freeing with instruction_list_free() destroys the list and its elements.

Function Documentation

instruction_list * instruction_list_alloc ( void  )
related

Allocate an instruction list.

Since
version 1.0.0
Returns
A pointer to the newly allocated list.
void instruction_list_free ( instruction_list *  list)
related

Free an instruction list.

Since
version 1.0.0
Parameters
listThe list to free.
void instruction_list_soft_free ( instruction_list *  list)
related

Softly free an instruction list.

Since
version 1.0.0
Parameters
listThe list to softly free.