Helper functions for TVMFFIHandleInitDeinitOnce test
| 30 | |
| 31 | // Helper functions for TVMFFIHandleInitDeinitOnce test |
| 32 | static int InitSuccess(void** handle_addr) { |
| 33 | *handle_addr = new int(42); |
| 34 | return 0; |
| 35 | } |
| 36 | |
| 37 | static int InitShouldNotBeCalled(void** handle_addr) { |
| 38 | *handle_addr = new int(999); |
nothing calls this directly
no outgoing calls
no test coverage detected