No Clock  1.0.2

Operations expression_list lists. More...

Functions

expression_list * expression_list_append (expression_list *list, expression *expression)
 Append an expression to an expression list. More...
 
expression_list * expression_list_cat (expression_list *a, expression_list *b)
 Concatenate two expression lists. More...
 
expression_list * expression_list_strip (expression_list *list)
 Strip an expression list. More...
 

Detailed Description

Operations expression_list lists.

Function Documentation

expression_list * expression_list_append ( expression_list *  list,
expression *  expression 
)
related

Append an expression to an expression list.

Since
version 1.0.0
Parameters
listList where the expression shall be appended.
expressionExpression to append.
Returns
The resulting list.
Note
The pointer returned by this function may be equal to the input list.
Warning
This function may modify the input list but do not assume the pointer to the input list may still be safely used and please use the returned pointer.
The correct way to use this function is to store the return value, as follows:
list = expression_list_append (list, expr);
Whereas discarding the return value as follows is an incorrect use of this function: as follows:
expression_list * expression_list_cat ( expression_list *  a,
expression_list *  b 
)
related

Concatenate two expression lists.

Since
version 1.0.0
Parameters
aFirst list.
bSecond list.
Returns
The resulting list.
Note
The pointer returned by this function may be equal to one of the input lists.
Warning
This function may modify the input lists but do not assume the pointer to the input lists may still be safely used and please use the returned pointer.
The correct ways to use this function is to store the return value, * as follows:
result = expression_list_cat (a, b);
Whereas discarding the return value as follows is an incorrect use of this function:
expression_list * expression_list_strip ( expression_list *  list)
related

Strip an expression list.

Since
version 1.0.0
Parameters
listThe expression list
Returns
The resulting list.