| 127 | } |
| 128 | |
| 129 | static int InitWithError(void** handle_addr) { |
| 130 | TVMFFIErrorSetRaisedFromCStr("RuntimeError", "Initialization failed"); |
| 131 | return -1; |
| 132 | } |
| 133 | |
| 134 | static int InitReturnsNull(void** handle_addr) { |
| 135 | *handle_addr = nullptr; // Invalid: must return non-null handle |
nothing calls this directly
no test coverage detected