Define TVM_FFI_SAFE_CALL_BEGIN#
Defined in File function.h
Define Documentation#
-
TVM_FFI_SAFE_CALL_BEGIN()#
Marks the beginning of the safe call that catches exception explicitly.
Helper macro to construct a safe call
int TVMFFICStyleFunction() { TVM_FFI_SAFE_CALL_BEGIN(); // c++ code region here TVM_FFI_SAFE_CALL_END(); }
See also