summaryrefslogtreecommitdiff
path: root/vapi/libgphoto2.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
commit8e1c5a834469d804d28ee8ab2cbe2da8e600a789 (patch)
treeb9771456583eaead893cfd8f02e680b58a3da970 /vapi/libgphoto2.vapi
parent80a5f2d8b095e895a5424f90b2ce4684d94c1a32 (diff)
parent3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff)
Merge tag 'upstream/0.26.0'
Upstream version 0.26.0
Diffstat (limited to 'vapi/libgphoto2.vapi')
-rw-r--r--vapi/libgphoto2.vapi2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapi/libgphoto2.vapi b/vapi/libgphoto2.vapi
index b6deb1f..22f70ee 100644
--- a/vapi/libgphoto2.vapi
+++ b/vapi/libgphoto2.vapi
@@ -104,6 +104,8 @@ namespace GPhoto {
public class CameraFile {
[CCode (cname="gp_file_new")]
public static Result create(out CameraFile file);
+ [CCode (cname="gp_file_new_from_fd")]
+ public static Result create_from_fd(out CameraFile file, int fd);
public Result get_data_and_size(out uint8 *data, out ulong data_len);
public Result save(string filename);
public Result slurp(uint8[] data, out size_t readlen);