about summary refs log tree commit diff
path: root/third_party/git/levenshtein.h
blob: 4105bf3549560acc7bd187b8a16fff2a5e739d09 (plain) (blame)
1
2
3
4
5
6
7
8
#ifndef LEVENSHTEIN_H
#define LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substitution_penalty,
	int insertion_penalty, int deletion_penalty);

#endif