From: Robert Ancell Date: Sat, 11 Jun 2011 09:52:43 +0000 (+1000) Subject: zlib: Make next_in and next_out buffers in Stream be unowned X-Git-Tag: 0.13.0~12 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4143bbcc8071426a0053234873db93a4f1c461c5;p=thirdparty%2Fvala.git zlib: Make next_in and next_out buffers in Stream be unowned Fixes bug 652344. --- diff --git a/vapi/zlib.vapi b/vapi/zlib.vapi index 44d2cc862..8545f035b 100644 --- a/vapi/zlib.vapi +++ b/vapi/zlib.vapi @@ -91,12 +91,12 @@ namespace ZLib { [CCode (cname = "z_stream", destroy_function = "deflateEnd")] public struct Stream { [CCode (array_length_cname = "avail_in", array_length_type = "ulong")] - public uint8[] next_in; + public unowned uint8[] next_in; public uint avail_in; public ulong total_in; [CCode (array_length_cname = "avail_out", array_length_type = "ulong")] - public uint8[] next_out; + public unowned uint8[] next_out; public uint avail_out; public ulong total_out;