diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-09-12 23:58:56 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-09-12 23:58:56 +0300 |
commit | ac69f092fc9d841dc575afdd20dcfbcca3afd946 (patch) | |
tree | 6f1b07a93ce39059f947cb5e282dd9aa546e30cf /thirdparty/zlib/infback.c | |
parent | 463879db56cc1e2417a02696e41ae3c40324ac24 (diff) |
Fix `List` swap behavior on front, back and adjacent elements
- immediately return if A == B;
- first and last elements (front, back) are updated upon relinking;
- handles a special case of forward and backward adjacent elements.
Diffstat (limited to 'thirdparty/zlib/infback.c')
0 files changed, 0 insertions, 0 deletions