Fix FFI heartbeat function
Fix FFI heartbeat function

vvuk/heartbeats-simple-sys,connorimes/heartbeats-simple-sys,libheartbeats/heartbeats-simple-sys,vvuk/heartbeats-simple-sys,libheartbeats/heartbeats-simple-sys,connorimes/heartbeats-simple-sys