diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-05-21 16:48:11 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-05-21 16:48:11 (GMT) |
commit | acd355c4c5ae25fb9cac64b8dc17407a2bcc979b (patch) | |
tree | d5b43201049116cd9734ff554e61ed8a7e0084cc /src/common/sort.h | |
parent | 4691a434a34a19317156a761967f719e408b73bb (diff) |
Refined the whole share system for operands.
Diffstat (limited to 'src/common/sort.h')
-rw-r--r-- | src/common/sort.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/sort.h b/src/common/sort.h index fb47a5e..a887543 100644 --- a/src/common/sort.h +++ b/src/common/sort.h @@ -30,9 +30,15 @@ +/* Compare un booléen avec une autre. */ +int sort_boolean(bool, bool); + /* Compare une valeur avec une autre. */ int sort_unsigned_long(unsigned long, unsigned long); +/* Compare un pointeur avec un autre. */ +int sort_pointer(const void *, const void *, __compar_fn_t); + /* Effectue une recherche dichotomique dans un tableau. */ bool bsearch_index(const void *, const void *, size_t, size_t, __compar_fn_t, size_t *); |