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

Method DecRefObjectHandle

include/tvm/ffi/object.h:1180–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1178 }
1179
1180 TVM_FFI_INLINE static void DecRefObjectHandle(TVMFFIObjectHandle handle) {
1181 if (handle) reinterpret_cast<Object*>(handle)->DecRef();
1182 }
1183
1184 TVM_FFI_INLINE static void IncRefObjectHandle(TVMFFIObjectHandle handle) {
1185 reinterpret_cast<Object*>(handle)->IncRef();

Callers

nothing calls this directly

Calls 1

DecRefMethod · 0.80

Tested by

no test coverage detected