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

Method ExternCFunctionObjImpl

include/tvm/ffi/function.h:218–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216class ExternCFunctionObjImpl : public FunctionObj {
217 public:
218 ExternCFunctionObjImpl(void* self, TVMFFISafeCallType safe_call, void (*deleter)(void* self))
219 : self_(self), safe_call_(safe_call), deleter_(deleter) {
220 this->safe_call = SafeCall;
221 this->cpp_call = nullptr;
222 }
223
224 ~ExternCFunctionObjImpl() {
225 if (deleter_) deleter_(self_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected