PerlFFI / FFI-Platypus

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

Interface for custom types + closures #304

Open plicease opened 3 years ago

plicease commented 3 years ago

Right now the set of types that are supported by closures is pretty small compared to what you can use when creating or attaching a function object. Custom types would allow us to pretty transparently have closures take FFI::C struct objects "directly" which would solve a lot of problems that we have at the moment! This would go a good way to addressing at least some of #177