[Mono-list] Mac/iOS zlib access

Maury Markowitz maury.markowitz at gmail.com
Fri Oct 24 17:10:22 UTC 2014

I have made what may be significant progress in my quest to port System.IO.Packaging to Mac/iOS. I have got to the point of having buildable code on iOS, but it fails here:

        [DllImport ("MonoPosixHelper", CallingConvention=CallingConvention.Cdecl)]
        static extern UnzipHandle unzOpen2 (string path, ref ZlibFileFuncDef pzlib_filefunc_def);

I found MonoPosixHelper and it seems like it's a zlib wrapper. zlib comes with all Mac/iOS boxes, so I strongly suspect that all I have to do is change that DllImport...

Are there any Mac/iOS people out there who might have any tips here? I'm still attacking this, but blindly at this point.

More information about the Mono-list mailing list