| 239 | TVMFFIAny CopyToTVMFFIAny() const { return data_; } |
| 240 | |
| 241 | static BytesBaseCell CopyFromAnyView(const TVMFFIAny* src) { |
| 242 | BytesBaseCell result(*src); |
| 243 | if (result.data_.type_index >= TypeIndex::kTVMFFIStaticObjectBegin) { |
| 244 | details::ObjectUnsafe::IncRefObjectHandle(result.data_.v_obj); |
| 245 | } |
| 246 | return result; |
| 247 | } |
| 248 | |
| 249 | static BytesBaseCell MoveFromAny(TVMFFIAny* src) { |
| 250 | BytesBaseCell result(*src); |
nothing calls this directly
no outgoing calls
no test coverage detected