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

Function DeinitShouldNotBeCalled

tests/cpp/extra/test_c_env_api.cc:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static int DeinitShouldNotBeCalled(void* h) {
125 // Should not be called when handle is already null
126 return -1;
127}
128
129static int InitWithError(void** handle_addr) {
130 TVMFFIErrorSetRaisedFromCStr("RuntimeError", "Initialization failed");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected