Previously you would have to do something like this:
for (type foo = (type) list_get_first(list); foo; foo = (type) list_get_next(list)
{
/* code */
}
Now, you can instead write this as:
LIST_FOREACH(type, foo, list,
{
/* code */
})
Basically, boilerplate stuff including the casting is gone.
|
||
|---|---|---|
| admin | ||
| autotest | ||
| cmake/Modules | ||
| debian | ||
| doc | ||
| src | ||
| thirdparty | ||
| tools | ||
| .gitignore | ||
| .gitmodules | ||
| AUTHORS | ||
| BUGS | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| COPYING | ||
| COPYING.OpenSSL | ||
| README | ||
| TODO | ||
Welcome and thanks for downloading uHub, a high performance ADC p2p hub. For the official documentation, bugs and other information, please visit: http://www.uhub.org/ For a list of compatible ADC clients, see: http://en.wikipedia.org/wiki/Advanced_Direct_Connect#Client_software