~jpickett/simple-scan/bug-842603

« back to all changes in this revision

Viewing changes to src/fixes.vapi

  • Committer: Robert Ancell
  • Date: 2011-06-18 04:38:17 UTC
  • Revision ID: robert.ancell@canonical.com-20110618043817-luuoydkfgu493cvq
Drop zlib fix, it's fixed in 0.13.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=652344
2
 
// Fixed in 0.12.1
3
 
[CCode (lower_case_cprefix = "", cheader_filename = "zlib.h")]
4
 
namespace ZLibFixes {
5
 
    [CCode (cname = "z_stream", destroy_function = "deflateEnd")]
6
 
    public struct Stream {
7
 
        [CCode (array_length_cname = "avail_in", array_length_type = "ulong")]
8
 
        public unowned uint8[] next_in;
9
 
        public uint avail_in;
10
 
        [CCode (array_length_cname = "avail_out", array_length_type = "ulong")]
11
 
        public unowned uint8[] next_out;
12
 
        public uint avail_out;
13
 
    }
14
 
    [CCode (cname = "z_stream", destroy_function = "deflateEnd")]
15
 
    public struct DeflateStream : Stream {
16
 
        [CCode (cname = "deflateInit")]
17
 
        public DeflateStream (int level);
18
 
        [CCode (cname = "deflate")]
19
 
        public int deflate (int flush);
20
 
    }
21
 
}