[support/zlib] Added API exports to exported calls from zlib-helper.c.
authorJoão Matos <joao@tritao.eu>
Thu, 25 Feb 2016 17:37:00 +0000 (17:37 +0000)
committerJoão Matos <joao@tritao.eu>
Thu, 25 Feb 2016 17:37:49 +0000 (17:37 +0000)
This is so we can re-use this code from libmonodroid, which currently has its own duplicated copy.

support/zlib-helper.c

index d87bf6dd7e6504e5ca9d7703e8b31f7c4a17cb50..ff6bbb18dd96d64038ab82dbab9fbd96c86e0a6b 100644 (file)
@@ -43,11 +43,11 @@ struct _ZStream {
 };
 typedef struct _ZStream ZStream;
 
-ZStream *CreateZStream (gint compress, guchar gzip, read_write_func func, void *gchandle);
-gint CloseZStream (ZStream *zstream);
-gint Flush (ZStream *stream);
-gint ReadZStream (ZStream *stream, guchar *buffer, gint length);
-gint WriteZStream (ZStream *stream, guchar *buffer, gint length);
+MONO_API ZStream *CreateZStream (gint compress, guchar gzip, read_write_func func, void *gchandle);
+MONO_API gint CloseZStream (ZStream *zstream);
+MONO_API gint Flush (ZStream *stream);
+MONO_API gint ReadZStream (ZStream *stream, guchar *buffer, gint length);
+MONO_API gint WriteZStream (ZStream *stream, guchar *buffer, gint length);
 static gint flush_internal (ZStream *stream, gboolean is_final);
 
 static void *