mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 16:00:09 +01:00
Macro can lead to hard to debug list bugs. For instance consider the following : LIST_ADD(item, list->prev) 3 instruction of the macro became : (list->prev)->next->prev = item which is equivalent to : list->prev = item Thus list prev field changes and next instruction in the macro (list->prev)->next = item became : item->next = item And you endup with list corruption, other case lead to similar list corruption. Inline function are not affected by this short coming Signed-off-by: Jerome Glisse <jglisse@redhat.com> |
||
|---|---|---|
| .. | ||
| driclient | ||
| egl | ||
| gallium | ||
| getopt | ||
| glsl | ||
| glu | ||
| glut | ||
| glw | ||
| glx | ||
| mapi | ||
| mesa | ||
| Makefile | ||
| SConscript | ||