| 1113 | |
| 1114 | template <typename T> |
| 1115 | TVM_FFI_INLINE static T ObjectRefFromObjectPtr(const ObjectPtr<Object>& ptr) { |
| 1116 | T ref(UnsafeInit{}); |
| 1117 | ref.data_ = ptr; |
| 1118 | return ref; |
| 1119 | } |
| 1120 | |
| 1121 | template <typename T> |
| 1122 | TVM_FFI_INLINE static T ObjectRefFromObjectPtr(ObjectPtr<Object>&& ptr) { |
nothing calls this directly
no outgoing calls
no test coverage detected