OMNI_RETURN_IF_ARG_NULL#
Defined in omni/core/ResultError.h
-
OMNI_RETURN_IF_ARG_NULL(expr_)#
Helper macro to return an appropriate omni::core::Result when the given argument is
nullptr. Useful when authoring ABI code.Note, use of this macro should be rare since omni.bind will check for
nullptrarguments in the generated API code.