From 6b206a02e9a76d4fcc863f505a87849f41988bd0 Mon Sep 17 00:00:00 2001 From: Ishan Pranav <64936129+ishanpranav@users.noreply.github.com> Date: Sat, 30 Nov 2024 22:49:17 -0500 Subject: [PATCH] Update permutation_iterator.h --- lib/permutation_iterator.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/permutation_iterator.h b/lib/permutation_iterator.h index 74a8b92..573151f 100644 --- a/lib/permutation_iterator.h +++ b/lib/permutation_iterator.h @@ -25,7 +25,9 @@ typedef struct PermutationIterator* PermutationIterator; * * @param iterator when this method returns, contains the iterator. This * argument is passed uninitialized. - * @param values the collection. + * @param items the collection. + * @param length the length of the `items` collection. + * @param itemSize the size of each element in `items`. * @param itemComparer the comparer used to determine the lexicographical order. */ void permutation_begin( @@ -47,7 +49,10 @@ void permutation_next(PermutationIterator iterator); * Determines whether two collections are permutations of one another. * * @param left a collection to compare to `right`. + * @param leftLength the number of items in the `left` collection. * @param right a collection to compare to `left`. + * @param rightLength the number of items in the `right` collection. + * @param itemSize the size of each element in `left` and `right`. * @param itemComparer the comparer used to determine if two elements are equal. * @return `true` if `left` and `right` are permutations; otherwise, `false`. */