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

Function InitForDeinitError

tests/cpp/extra/test_c_env_api.cc:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139static int InitForDeinitError(void** handle_addr) {
140 *handle_addr = new int(100);
141 return 0;
142}
143
144static int DeinitWithError(void* h) {
145 delete static_cast<int*>(h);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected