MCPcopy Create free account
hub / github.com/apache/tvm-ffi / MoveFromAny

Method MoveFromAny

include/tvm/ffi/string.h:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248
249 static BytesBaseCell MoveFromAny(TVMFFIAny* src) {
250 BytesBaseCell result(*src);
251 src->type_index = TypeIndex::kTVMFFINone;
252 src->zero_padding = 0;
253 src->v_int64 = 0;
254 return result;
255 }
256
257 private:
258 explicit BytesBaseCell(TVMFFIAny data) : data_(data) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected