PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
91 stars 24 forks source link

Limited return of record (by-value) from a closure. #313

Closed plicease closed 3 years ago

plicease commented 3 years ago

This probably does make sense, but there are some caveats. Record with pointers to strings are probably not supportable, but records with opaque members are probably okay, with caveats.

Records need to be return-by-value, not pointers to. For that you will need to use FFI::C.