July 1, 2016
9:19 a.m.
Hello everyone, I have a question about the UFFI API. I have the following function: ssize_t libusb_get_device_list (libusb_context *ctx, libusb_device ***list) where libusb_device is an opaque structure. I made a type mapping "ssize_t" -> "int" and an object inheriting from FFIExternalObject for the "libusb_context" (others methods using it are working). I can not find how to get an array filled with libusb_device using UFFI from Pharo. :-( Thanks in advance, Julien