summaryrefslogtreecommitdiff
path: root/vapi/libwebp.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/libwebp.vapi')
-rw-r--r--vapi/libwebp.vapi5
1 files changed, 5 insertions, 0 deletions
diff --git a/vapi/libwebp.vapi b/vapi/libwebp.vapi
new file mode 100644
index 0000000..534dd2c
--- /dev/null
+++ b/vapi/libwebp.vapi
@@ -0,0 +1,5 @@
+[CCode (cheader_filename = "webp/decode.h")]
+namespace WebP {
+ [CCode (array_length = false, cname="WebPDecodeRGBA")]
+ public static uint8[] DecodeRGBA([CCode (array_length_pos=1.1)]uint8[] data, out int width, out int height);
+}