If the library is big you can use TalkFFI (you will find it in smalltalkhub) that automates the wrapping with nativeboost.

On Tue, Mar 24, 2015 at 4:58 PM, Udo Schneider <Udo.Schneider@homeaddress.de> wrote:
I guess not :-)

I'll try to wrap libUSB then.

I assume the future-proof way to use "a" FFI framework is to use the NB notation? Do I remember correctly that the NB notation is supposed to remain the same although the backend will change to something more like traditional FFI?
So using NB notation w/o relying on the code generation is safe, correct?

CU,

Udo



On 23.03.2015 16:15, Udo Schneider wrote:
All,

does anybody have some code or plugin to access USB ports with Pharo?
Maybe something using libUSB or OpenUSB?

Thanks,

Udo