Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
fts_fuzzy_match.h File Reference
#include <cstdint>
#include <ctype.h>
#include <cwctype>
#include <cstring>
#include <cstdio>
#include "../Utils/ASCIIFolding.hpp"
+ Include dependency graph for fts_fuzzy_match.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fts
 

Typedefs

using fts::char_type = wchar_t
 
using fts::pos_type = uint16_t
 

Functions

static bool fts::fuzzy_match (char_type const *pattern, char_type const *str, int &outScore)
 
static bool fts::fuzzy_match (char_type const *pattern, char_type const *str, int &outScore, pos_type *matches)
 

Variables

static constexpr pos_type fts::stopper = pos_type(-1)
 
static constexpr int fts::max_matches = 255