diff options
| author | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-26 22:07:02 +0200 |
|---|---|---|
| committer | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-26 22:07:02 +0200 |
| commit | fe10d9d38f02dbfe229e40f96f9640c3568a7f69 (patch) | |
| tree | d8c06b524331784d004b8a549004295c12067373 /Makefile | |
| parent | 4d2f36a98be483e021845e4e8fc17722a8aa800c (diff) | |
| download | imv-fe10d9d38f02dbfe229e40f96f9640c3568a7f69.tar.gz | |
Reimplement '-x' flag
This change effectively backs out f1737ddd06141afbe99f37af3b5c2d0f1df5fe7a,
implementing the same functionality in a simpler and more correct way.
Implementation details:
* imv_navigator.wrapped - a new field that has value "0" by default; once
navigator wraps around the list, this field recieves value "1".
* imv_navigator_wrapped(&nav) - a new function that returns non-zero value iff
navigator wrapped around the list. Currently just returns value of
imv_navigator.wrapped.
While at it, expanded "test_navigator_remove" and merged it with
"test_navigator_add". Resulting test is called "test_navigator_add_remove".
Fixes #94.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
