Define TVM_FFI_CHECK_SAFE_CALL#
Defined in File function.h
Define Documentation#
-
TVM_FFI_CHECK_SAFE_CALL(func)#
Macro to check a call to TVMFFISafeCallType and raise exception if error happens.
// calls TVMFFIFunctionCall and raises exception if error happens TVM_FFI_CHECK_SAFE_CALL(TVMFFITypeKeyToIndex(&type_key_arr, &type_index));
- Parameters:
func – The function to check.