blob: 903705a40884d19975630dd42b7a04e2a7849f40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- a/lzf.h
+++ b/lzf.h
@@ -48,6 +48,10 @@
#define LZF_VERSION 0x0105 /* 1.5, API version */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Compress in_len bytes stored at the memory block starting at
* in_data and write the result to out_data, up to a maximum length
@@ -96,5 +100,9 @@ unsigned int
lzf_decompress (const void *const in_data, unsigned int in_len,
void *out_data, unsigned int out_len);
+#ifdef __cplusplus
+}
+#endif
+
#endif
|