Helper functions for TVMFFIHandleInitDeinitOnce test
| 107 | |
| 108 | // Helper functions for TVMFFIHandleInitDeinitOnce test |
| 109 | static int InitSuccess(void** handle_addr) { |
| 110 | *handle_addr = new int(42); |
| 111 | return 0; |
| 112 | } |
| 113 | |
| 114 | static int InitShouldNotBeCalled(void** handle_addr) { |
| 115 | *handle_addr = new int(999); |
nothing calls this directly
no outgoing calls
no test coverage detected