2023-02-08 01:19:46 +00:00

53 lines
1.7 KiB
Java

// Generated by jextract
package foreign.c;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.VarHandle;
import java.nio.ByteOrder;
import java.lang.foreign.*;
import static java.lang.foreign.ValueLayout.*;
class constants$0 {
static final FunctionDescriptor fopen$FUNC = FunctionDescriptor.of(Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT
);
static final MethodHandle fopen$MH = RuntimeHelper.downcallHandle(
"fopen",
constants$0.fopen$FUNC
);
static final FunctionDescriptor freopen$FUNC = FunctionDescriptor.of(Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT
);
static final MethodHandle freopen$MH = RuntimeHelper.downcallHandle(
"freopen",
constants$0.freopen$FUNC
);
static final FunctionDescriptor fflush$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
Constants$root.C_POINTER$LAYOUT
);
static final MethodHandle fflush$MH = RuntimeHelper.downcallHandle(
"fflush",
constants$0.fflush$FUNC
);
static final FunctionDescriptor fclose$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
Constants$root.C_POINTER$LAYOUT
);
static final MethodHandle fclose$MH = RuntimeHelper.downcallHandle(
"fclose",
constants$0.fclose$FUNC
);
static final FunctionDescriptor remove$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
Constants$root.C_POINTER$LAYOUT
);
static final MethodHandle remove$MH = RuntimeHelper.downcallHandle(
"remove",
constants$0.remove$FUNC
);
}