62 lines
2.1 KiB
Java
62 lines
2.1 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$8 {
|
||
|
|
||
|
static final FunctionDescriptor fscanf$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle fscanf$MH = RuntimeHelper.downcallHandleVariadic(
|
||
|
"fscanf",
|
||
|
constants$8.fscanf$FUNC
|
||
|
);
|
||
|
static final FunctionDescriptor scanf$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle scanf$MH = RuntimeHelper.downcallHandleVariadic(
|
||
|
"scanf",
|
||
|
constants$8.scanf$FUNC
|
||
|
);
|
||
|
static final FunctionDescriptor sscanf$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle sscanf$MH = RuntimeHelper.downcallHandleVariadic(
|
||
|
"sscanf",
|
||
|
constants$8.sscanf$FUNC
|
||
|
);
|
||
|
static final FunctionDescriptor fgetc$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle fgetc$MH = RuntimeHelper.downcallHandle(
|
||
|
"fgetc",
|
||
|
constants$8.fgetc$FUNC
|
||
|
);
|
||
|
static final FunctionDescriptor fgets$FUNC = FunctionDescriptor.of(Constants$root.C_POINTER$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT,
|
||
|
Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle fgets$MH = RuntimeHelper.downcallHandle(
|
||
|
"fgets",
|
||
|
constants$8.fgets$FUNC
|
||
|
);
|
||
|
static final FunctionDescriptor fputc$FUNC = FunctionDescriptor.of(Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_LONG$LAYOUT,
|
||
|
Constants$root.C_POINTER$LAYOUT
|
||
|
);
|
||
|
static final MethodHandle fputc$MH = RuntimeHelper.downcallHandle(
|
||
|
"fputc",
|
||
|
constants$8.fputc$FUNC
|
||
|
);
|
||
|
}
|
||
|
|
||
|
|