Update doc
This commit is contained in:
1 parent
d047174c2f
commit
cb173f2f81
1 file changed
+5
-3
@@ -1353,6 +1353,10 @@ until it reaches the requested element. The size method has the same drawback.
|
|||||||
|
|
||||||
The push / pop methods of the container always operate on the back of the container.
|
The push / pop methods of the container always operate on the back of the container.
|
||||||
|
|
||||||
|
LIST\_DEF\_AS is the same as LIST\_DEF
|
||||||
|
except the name of the types 'name\_t', 'name\_it\_t' are provided by the user,
|
||||||
|
and not computed from the 'name' prefix.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
@@ -1395,6 +1399,7 @@ This variable is shared by all lists of the same type.
|
|||||||
|
|
||||||
mempool create heavily efficient list. However it is only worth the
|
mempool create heavily efficient list. However it is only worth the
|
||||||
effort in some heavy performance context.
|
effort in some heavy performance context.
|
||||||
|
Using mempool should be therefore avoided except in performance critical code.
|
||||||
The created mempool has to be explicitly initialized before using any
|
The created mempool has to be explicitly initialized before using any
|
||||||
methods of the created list by calling mempool\_list\_name\_init(variable)
|
methods of the created list by calling mempool\_list\_name\_init(variable)
|
||||||
and cleared by calling mempool\_list\_name\_clear(variable).
|
and cleared by calling mempool\_list\_name\_clear(variable).
|
||||||
@@ -1415,9 +1420,6 @@ Example:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
LIST\_DEF\_AS is the same as LIST\_DEF
|
|
||||||
except the name of the types name\_t, name\_it\_t are provided by the user.
|
|
||||||
|
|
||||||
#### LIST\_OPLIST(name [, oplist])
|
#### LIST\_OPLIST(name [, oplist])
|
||||||
|
|
||||||
Return the oplist of the list defined by calling LIST\_DEF
|
Return the oplist of the list defined by calling LIST\_DEF
|
||||||
|
|||||||
Reference in new issue
Block a user