| ... | ... |
@@ -1,3 +1,7 @@ |
| 1 |
+#ifdef __cplusplus |
|
| 2 |
+extern "C" {
|
|
| 3 |
+#endif |
|
| 4 |
+ |
|
| 1 | 5 |
#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW |
| 2 | 6 |
|
| 3 | 7 |
#define SCORE_GAP_LEADING -0.005 |
| ... | ... |
@@ -17,3 +21,7 @@ |
| 17 | 21 |
#define DEFAULT_NUM_LINES 10 |
| 18 | 22 |
#define DEFAULT_WORKERS 0 |
| 19 | 23 |
#define DEFAULT_SHOW_INFO 0 |
| 24 |
+ |
|
| 25 |
+#ifdef __cplusplus |
|
| 26 |
+} |
|
| 27 |
+#endif |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,10 @@ |
| 1 |
+#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW |
|
| 2 |
+ |
|
| 3 |
+#define SCORE_GAP_LEADING -0.005 |
|
| 4 |
+#define SCORE_GAP_TRAILING -0.005 |
|
| 5 |
+#define SCORE_GAP_INNER -0.01 |
|
| 6 |
+#define SCORE_MATCH_CONSECUTIVE 1.0 |
|
| 7 |
+#define SCORE_MATCH_SLASH 0.9 |
|
| 8 |
+#define SCORE_MATCH_WORD 0.8 |
|
| 9 |
+#define SCORE_MATCH_CAPITAL 0.7 |
|
| 10 |
+#define SCORE_MATCH_DOT 0.6 |