summaryrefslogtreecommitdiffstats
path: root/third_party/lzma_sdk/Alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lzma_sdk/Alloc.h')
-rw-r--r--third_party/lzma_sdk/Alloc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/third_party/lzma_sdk/Alloc.h b/third_party/lzma_sdk/Alloc.h
index d748cb1..b8e4143 100644
--- a/third_party/lzma_sdk/Alloc.h
+++ b/third_party/lzma_sdk/Alloc.h
@@ -1,10 +1,15 @@
-/* Alloc.h */
+/* Alloc.h -- Memory allocation functions
+2009-02-07 : Igor Pavlov : Public domain */
#ifndef __COMMON_ALLOC_H
#define __COMMON_ALLOC_H
#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void *MyAlloc(size_t size);
void MyFree(void *address);
@@ -26,4 +31,8 @@ void BigFree(void *address);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif