{@snippet lang = c : BIO BIO_new_file(const char filename, const char mode) }
(MemorySegment filename, MemorySegment mode)
| 1326 | * } |
| 1327 | */ |
| 1328 | public static MemorySegment BIO_new_file(MemorySegment filename, MemorySegment mode) { |
| 1329 | var mh$ = BIO_new_file.HANDLE; |
| 1330 | try { |
| 1331 | if (TRACE_DOWNCALLS) { |
| 1332 | traceDowncall("BIO_new_file", filename, mode); |
| 1333 | } |
| 1334 | return (MemorySegment) mh$.invokeExact(filename, mode); |
| 1335 | } catch (Throwable ex$) { |
| 1336 | throw new AssertionError("should not reach here", ex$); |
| 1337 | } |
| 1338 | } |
| 1339 | |
| 1340 | private static class BIO_new { |
| 1341 | public static final FunctionDescriptor DESC = FunctionDescriptor.of(openssl_h.C_POINTER, openssl_h.C_POINTER); |
nothing calls this directly
no test coverage detected