[shotwell] libraw.vapi: Improve thumbnail binding



commit b3debfb7bf14d01afb008a9debd28160a8100071
Author: Jens Georg <mail jensge org>
Date:   Sun Oct 9 18:25:12 2016 +0200

    libraw.vapi: Improve thumbnail binding
    
    Signed-off-by: Jens Georg <mail jensge org>

 vapi/libraw.vapi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/libraw.vapi b/vapi/libraw.vapi
index db4fafb..526bcba 100644
--- a/vapi/libraw.vapi
+++ b/vapi/libraw.vapi
@@ -247,7 +247,9 @@ public struct Thumbnail {
     public ushort theight;
     public uint tlength;
     public int tcolors;
-    public int8 *thumb;
+    public int tbits;
+    [CCode (array_length_cname="tlength")]
+    public uint8[] thumb;
 }
 
 [CCode (cname="enum LibRaw_thumbnail_formats", cprefix="LIBRAW_THUMBNAIL_")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]