Macros#

MFX_CHECK(call)#

Macro to wrap calls to any OpenFX function (which returns an OfxStatus) This macro only displays an error message when the returned status is not OK

MFX_ENSURE(call)#

Similar to MFX_CHECK except that this one returns the non-OK status, so it can only be called from a function that itself returns an OfxStatus.