ircmaxell / FFIMe

A FFI Wrapper library and header parser!
MIT License
138 stars 5 forks source link

return object so method can be chained in builder #18

Closed nilslice closed 2 years ago

nilslice commented 2 years ago

17 should have included this, my mistake!

Enables method chaining to be used like so:

(new FFIMe\FFIMe("libextism.".soext()))
                ->include("extism.h")
                ->showWarnings(false)
                ->codeGen('Extism', 'Extism.php');
ircmaxell commented 2 years ago

Thanks!