| 50 | } |
| 51 | |
| 52 | static int InitWithError(void** handle_addr) { |
| 53 | TVMFFIErrorSetRaisedFromCStr("RuntimeError", "Initialization failed"); |
| 54 | return -1; |
| 55 | } |
| 56 | |
| 57 | static int InitReturnsNull(void** handle_addr) { |
| 58 | *handle_addr = nullptr; // Invalid: must return non-null handle |
nothing calls this directly
no test coverage detected