4 ms·
That FFI interface looks way nicer than the node-ffi interface. let f = ffi('int gpio_write(int, int)'); vs. var current = ffi.Library(null, {
by dfabulich 10y ago
That FFI interface looks way nicer than the node-ffi interface.
let f = ffi('int gpio_write(int, int)');
vs.
var current = ffi.Library(null, {
'atoi': [ 'int', [ 'string' ] ]
});
- hackcasual 10y agoYou could probably write a wrapper to go from the node way to their style.