only store a reference to the ffi callback