diff options
author | João Matos <joao@tritao.eu> | 2016-02-25 20:37:00 +0300 |
---|---|---|
committer | João Matos <joao@tritao.eu> | 2016-02-25 20:37:49 +0300 |
commit | ec0063b889aaa1790c383cd84a25754d66a82476 (patch) | |
tree | 98b0f31dc880c46a79db5dba327778c6a0d03b6e /support | |
parent | 1b82e02ea5a05929531493735f94d6ebc8d4cef8 (diff) |
[support/zlib] Added API exports to exported calls from zlib-helper.c.
This is so we can re-use this code from libmonodroid, which currently has its own duplicated copy.
Diffstat (limited to 'support')
-rw-r--r-- | support/zlib-helper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/support/zlib-helper.c b/support/zlib-helper.c index d87bf6dd7e6..ff6bbb18dd9 100644 --- a/support/zlib-helper.c +++ b/support/zlib-helper.c @@ -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 * |