GDAL
cpl_levenshtein.h
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2019, Guilherme Agostinelli
3// Ported from https://github.com/guilhermeagostinelli/levenshtein/blob/master/levenshtein.cpp
4
5#ifndef CPL_LEVENSHTEIN_H
6#define CPL_LEVENSHTEIN_H
7
8#include "cpl_port.h"
9
10size_t CPL_DLL CPLLevenshteinDistance(const char *word1, const char *word2,
11 bool transpositionAllowed);
12
13#endif
Core portability definitions for CPL.