|
esp32-audio-player 0.1.0
Audio player engine for ESP32
|
Compact collation for Russian + English (+ Latin with diacritics folded): case-insensitive, "ё" == "е", digits before letters, Latin before Cyrillic, optional skipping of leading articles ("The ", "A "). More...
#include "audio_player/base.h"

Go to the source code of this file.
Data Structures | |
| struct | collate_opts_t |
Functions | |
| int | collate_cmp (const char *a, const char *b, const collate_opts_t *opts) |
| uint32_t | collate_fold (uint32_t cp) |
| Primary sort key of one code point (folded, lowercased). 0 for ignorable chars. | |
| uint32_t | collate_index_letter (const char *s, const collate_opts_t *opts) |
| Uppercase first letter used for the "jump to letter" overlay: 'A'..'Z', 'А'..'Я', '#' for digits and symbols. | |
Compact collation for Russian + English (+ Latin with diacritics folded): case-insensitive, "ё" == "е", digits before letters, Latin before Cyrillic, optional skipping of leading articles ("The ", "A ").
| int collate_cmp | ( | const char * | a, |
| const char * | b, | ||
| const collate_opts_t * | opts | ||
| ) |
| uint32_t collate_fold | ( | uint32_t | cp | ) |
Primary sort key of one code point (folded, lowercased). 0 for ignorable chars.
| uint32_t collate_index_letter | ( | const char * | s, |
| const collate_opts_t * | opts | ||
| ) |
Uppercase first letter used for the "jump to letter" overlay: 'A'..'Z', 'А'..'Я', '#' for digits and symbols.
Returns a code point.