Page MenuHomePhabricator

docs: Explain what happens when existing is NULL in Efl.Pack_Linear
Closed, ResolvedPublic


efl_pack_after(container, subobj, existing) accepts existing==NULL, it just... adds the subobj somewhere.
This is a bit of weird implicit behavior but it is enforced by tests, so there must be a reason for it.
Anyway, document it, and any other weirdness present.

segfaultxavi triaged this task as High priority.

We need to decide exactly what's supposed to happen here. D9865 restores existing behavior (NULL is permitted), but is this actually behavior that we want/need?

Also, whatever we decide, it should be consistent across efl_pack_after and efl_pack_before.