Playing with FFI/C bindings