summaryrefslogtreecommitdiff
path: root/vapi/libgphoto2.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-18 20:39:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-18 20:39:21 +0200
commit2ed34746222ea505631ae8ef8ca50552af999ad2 (patch)
tree0fff03abf0c122c8852f1e60be31db4cbcee8167 /vapi/libgphoto2.vapi
parenteee242571f78cedcca283c6396026c80640572c9 (diff)
New upstream version 0.30.14upstream/0.30.14
Diffstat (limited to 'vapi/libgphoto2.vapi')
-rw-r--r--vapi/libgphoto2.vapi5
1 files changed, 3 insertions, 2 deletions
diff --git a/vapi/libgphoto2.vapi b/vapi/libgphoto2.vapi
index e1c2246..34fc1c4 100644
--- a/vapi/libgphoto2.vapi
+++ b/vapi/libgphoto2.vapi
@@ -64,7 +64,7 @@ namespace GPhoto {
public Result set_port_info(PortInfo info);
public Result get_abilities(out CameraAbilities abilities);
public Result set_abilities(CameraAbilities abilities);
- public Result get_storageinfo([CCode (array_length_pos=1)]out CameraStorageInformation[] sifs, Context context);
+ public Result get_storageinfo([CCode (array_length_pos=1.1)]out CameraStorageInformation[] sifs, Context context);
// Folders
[CCode (cname="gp_camera_folder_list_folders")]
@@ -106,7 +106,8 @@ namespace GPhoto {
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);
+ [CCode (cname="gp_file_get_data_and_size")]
+ public Result get_data([CCode (array_length_pos=1.1, array_length_type="gulong")]out unowned uint8[] data);
public Result save(string filename);
public Result slurp(uint8[] data, out size_t readlen);
}