repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
merge: small leakfix and code simplification
[alt-git.git]
/
levenshtein.h
blob
4105bf3549560acc7bd187b8a16fff2a5e739d09
1
#ifndef LEVENSHTEIN_H
2
#define LEVENSHTEIN_H
3
4
int
levenshtein
(
const char
*
string1
,
const char
*
string2
,
5
int
swap_penalty
,
int
substitution_penalty
,
6
int
insertion_penalty
,
int
deletion_penalty
);
7
8
#endif