3 ms·
If wl_list was required to be the first member of the struct, the wl_container_of() FLM becomes trivial. This implementation comes from the kernel though, wher
by aidenn0 8y ago
If wl_list was required to be the first member of the struct, the wl_container_of() FLM becomes trivial. This implementation comes from the kernel though, where a single item might be in multiple lists.