sendv: Fix function definition in XS