Doug Anson / zlib

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Tue Feb 28 16:52:08 2017 +0000
Parent:
3:ed54c8225fe6
Commit message:
updated header

Changed in this revision

gzip_utils.h Show annotated file Show diff for this revision Revisions of this file
--- a/gzip_utils.h	Tue Feb 28 16:50:16 2017 +0000
+++ b/gzip_utils.h	Tue Feb 28 16:52:08 2017 +0000
@@ -5,7 +5,7 @@
 #include "zlib.h"
 
 // external declarations
-extern int gzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length);
-extern int gunzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length);
+extern "C" int gzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length);
+extern "C" int gunzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length);
 
 #endif // __GZIP_UTILS_H__
\ No newline at end of file