Function tvm::runtime::function::ffi::TVMCbArgToReturn [−][src]
Expand description
\brief Inplace translate callback argument value to return value. This is only needed for non-POD arguments.
\param value The value to be translated. \param code The type code to be translated. \note This function will do a shallow copy when necessary.
\return 0 when success, nonzero when failure happens.