diff options
| author | Paul Eggert | 2013-11-18 10:56:42 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-11-18 10:56:42 -0800 |
| commit | ec2c4ee6d2cb9c5505f120229269941f064b23fa (patch) | |
| tree | 9c0e0ba58f15f602fce7d349cfa89fc665728161 /test/ChangeLog | |
| parent | 87d86601022feb7a330fc6344cc85ec65563c1b6 (diff) | |
| download | emacs-ec2c4ee6d2cb9c5505f120229269941f064b23fa.tar.gz emacs-ec2c4ee6d2cb9c5505f120229269941f064b23fa.zip | |
Improve API of recently-added bool vector functions.
The old API had (bool-vector-count-matches A B)
and (bool-vector-count-matches-at A B I), which gave the
misleading impression that the two functions were variants, one
with a location I. The new API has (bool-vector-count-population A)
and (bool-vector-count-consecutive A B I) to make the distinction
clearer. The first function no longer has a B argument, since the
caller can easily determine the number of nils if the length and
number of ts is known.
* src/data.c (Fbool_vector_count_population): Rename from
bool_vector_count_matches, and accept just 1 argument.
(Fbool_vector_count_consecutive): Rename from
Fbool_vector_count_matches_at.
* test/automated/data-tests.el: Adjust to API changes.
Fixes: debbugs:15912
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 79d9ab544e0..35a168ce0c4 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-11-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Improve API of recently-added bool vector functions (Bug#15912). | ||
| 4 | * automated/data-tests.el: Adjust to API changes. | ||
| 5 | |||
| 1 | 2013-11-16 Michael Albinus <michael.albinus@gmx.de> | 6 | 2013-11-16 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * automated/tramp-tests.el (tramp-test07-file-exists-p) | 8 | * automated/tramp-tests.el (tramp-test07-file-exists-p) |