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

Function DeinitShouldNotBeCalled

tests/cpp/test_init_once.cc:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static int DeinitShouldNotBeCalled(void* h) {
48 // Should not be called when handle is already null
49 return -1;
50}
51
52static int InitWithError(void** handle_addr) {
53 TVMFFIErrorSetRaisedFromCStr("RuntimeError", "Initialization failed");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected