diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-05-30 10:36:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-05-30 10:36:48 (GMT) |
commit | dde622ccf567e3ac01b471ea5d35cca4acf81277 (patch) | |
tree | 8d7e3f66986f8df37a62b75e26130432339407ee /src/common/sort.h | |
parent | 00e93226e72bdb18853580f553e32df111422936 (diff) |
Extended the API to insert items in a sorted array.
Diffstat (limited to 'src/common/sort.h')
-rw-r--r-- | src/common/sort.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sort.h b/src/common/sort.h index 2d9e672..eb86ccb 100644 --- a/src/common/sort.h +++ b/src/common/sort.h @@ -52,6 +52,9 @@ void *_qinsert(void *, size_t *, size_t, void *, size_t); /* Ajoute au bon endroit un élément dans un tableau trié. */ void *qinsert(void *, size_t *, size_t, __compar_fn_t, void *); +/* Ajoute au bon endroit un élément dans un tableau trié. */ +void *qinsert_multi(void *, size_t *, size_t, __compar_fn_t, void *); + /* Supprime un élément dans un tableau trié. */ void *_qdelete(void *, size_t *, size_t, size_t); |