This macro is a helpful conversion utility to conver from a DataFusion Result to an abi_stable::RResult
and to also call return when it is an error. Since you cannot use ? on an RResult, this is designed
to mimic the pattern.
Returns the major version of the FFI implementation. If the API evolves,
we use the major version to identify compatibility over the unsafe
boundary. This call is intended to be used by implementers to validate
they have compatible libraries.