[vala] zlib: Make next_in and next_out buffers in Stream be unowned
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] zlib: Make next_in and next_out buffers in Stream be unowned
- Date: Sun, 12 Jun 2011 08:02:38 +0000 (UTC)
commit 4143bbcc8071426a0053234873db93a4f1c461c5
Author: Robert Ancell <robert ancell canonical com>
Date: Sat Jun 11 19:52:43 2011 +1000
zlib: Make next_in and next_out buffers in Stream be unowned
Fixes bug 652344.
vapi/zlib.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/zlib.vapi b/vapi/zlib.vapi
index 44d2cc8..8545f03 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]