summaryrefslogtreecommitdiff
path: root/src/include/snowball
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/snowball')
-rw-r--r--src/include/snowball/libstemmer/api.h7
-rw-r--r--src/include/snowball/libstemmer/stem_UTF_8_greek.h16
2 files changed, 23 insertions, 0 deletions
diff --git a/src/include/snowball/libstemmer/api.h b/src/include/snowball/libstemmer/api.h
index 8b997f0c298..7ed7995f9e1 100644
--- a/src/include/snowball/libstemmer/api.h
+++ b/src/include/snowball/libstemmer/api.h
@@ -19,8 +19,15 @@ struct SN_env {
unsigned char * B;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size);
extern void SN_close_env(struct SN_env * z, int S_size);
extern int SN_set_current(struct SN_env * z, int size, const symbol * s);
+#ifdef __cplusplus
+}
+#endif
diff --git a/src/include/snowball/libstemmer/stem_UTF_8_greek.h b/src/include/snowball/libstemmer/stem_UTF_8_greek.h
new file mode 100644
index 00000000000..bf1cc6ca01f
--- /dev/null
+++ b/src/include/snowball/libstemmer/stem_UTF_8_greek.h
@@ -0,0 +1,16 @@
+/* This file was generated automatically by the Snowball to ISO C compiler */
+/* http://snowballstem.org/ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern struct SN_env * greek_UTF_8_create_env(void);
+extern void greek_UTF_8_close_env(struct SN_env * z);
+
+extern int greek_UTF_8_stem(struct SN_env * z);
+
+#ifdef __cplusplus
+}
+#endif
+