aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/snowball/runtime/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/snowball/runtime/api.h')
-rw-r--r--contrib/snowball/runtime/api.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/snowball/runtime/api.h b/contrib/snowball/runtime/api.h
index 8b997f0c2..ba9d1c14b 100644
--- a/contrib/snowball/runtime/api.h
+++ b/contrib/snowball/runtime/api.h
@@ -16,11 +16,17 @@ struct SN_env {
int c; int l; int lb; int bra; int ket;
symbol * * S;
int * I;
- unsigned char * B;
};
-extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern struct SN_env * SN_create_env(int S_size, int I_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