Browse code

Move sources into src directory

John Hawthorn authored on 21/05/2016 21:56:03
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,12 +0,0 @@
1
-#ifndef MATCH_H
2
-#define MATCH_H MATCH_H
3
-
4
-typedef double score_t;
5
-#define SCORE_MAX INFINITY
6
-#define SCORE_MIN -INFINITY
7
-
8
-int has_match(const char *needle, const char *haystack);
9
-score_t match_positions(const char *needle, const char *haystack, size_t *positions);
10
-score_t match(const char *needle, const char *haystack);
11
-
12
-#endif
Browse code

Move some score definitions into header

John Hawthorn authored on 21/09/2014 21:12:47
Showing 1 changed files
... ...
@@ -1,8 +1,12 @@
1 1
 #ifndef MATCH_H
2 2
 #define MATCH_H MATCH_H
3 3
 
4
+typedef double score_t;
5
+#define SCORE_MAX INFINITY
6
+#define SCORE_MIN -INFINITY
7
+
4 8
 int has_match(const char *needle, const char *haystack);
5
-double match_positions(const char *needle, const char *haystack, size_t *positions);
6
-double match(const char *needle, const char *haystack);
9
+score_t match_positions(const char *needle, const char *haystack, size_t *positions);
10
+score_t match(const char *needle, const char *haystack);
7 11
 
8 12
 #endif
Browse code

Cleanup headers

John Hawthorn authored on 15/09/2014 02:42:43
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+#ifndef MATCH_H
2
+#define MATCH_H MATCH_H
3
+
4
+int has_match(const char *needle, const char *haystack);
5
+double match_positions(const char *needle, const char *haystack, size_t *positions);
6
+double match(const char *needle, const char *haystack);
7
+
8
+#endif