IRC channel logs
2024-03-31.log
back to list of logs
<daviid>apteryx: guile-lib 0.2.8 has been released <belzurix>How do I define/call a variadic C function from guile? I'm using ioctl the naive way, and it works. I'm just making sure this is how I should do it. <mwette>You have to generate an ffi for each call, I think. <mwette>I think it's explained a little in the libffi documentation <belzurix>I looked it up. Libffi has ffi_prep_cif_var, but grep on the guile code didn't turn up any use of that function, so prolly guile doesn't support it now. <civodul>belzurix: yeah, (system foreign) doesn’t support variadic functions <belzurix>thankfully, my use case is a comfortable one, I only need to call it once, with one specific argument list <mwette>libffi doesn't support variadic functions, last time I checked <apteryx>daviid: I get a bad GPG key signature on guile-lib 0.2.8.tar.gz with key 842265459B413377EEAC91DEF374FD93A3057AD7 <apteryx>(with the check automated by 'guix refresh guile-lib') <apteryx>daviid: I've tried it now again, and it tested fine -- who knows!