2
0
Эх сурвалжийг харах

* another indirection problem reported on the forum for libusb_free_device_list

(cherry picked from commit 816a4714f6b3a112bc5a0b2a648337c9be5aacd2)
marcoonthegit 1 жил өмнө
parent
commit
2ad69fa2d8

+ 1 - 1
packages/libusb/src/libusb.pp

@@ -1145,7 +1145,7 @@ function libusb_setlocale(const locale:pansichar):integer;LIBUSB_CALL;external l
 
 function libusb_strerror(errcode:libusb_error):pansichar;LIBUSB_CALL;external libusb1;
 function libusb_get_device_list(ctx:plibusb_context;var list:pplibusb_device):ssize_t;LIBUSB_CALL;external libusb1;
-procedure libusb_free_device_list(list:plibusb_device;unref_devices:integer);LIBUSB_CALL;external libusb1;
+procedure libusb_free_device_list(list:pplibusb_device;unref_devices:integer);LIBUSB_CALL;external libusb1;
 function libusb_ref_device(dev:plibusb_device):plibusb_device;LIBUSB_CALL;external libusb1;
 procedure libusb_unref_device(dev:plibusb_device);LIBUSB_CALL;external libusb1;
 function libusb_get_configuration(dev:plibusb_device_handle;