Class FfmDowncallBuildItem.Builder
java.lang.Object
io.quarkus.deployment.builditem.nativeimage.FfmDowncallBuildItem.Builder
- Enclosing class:
FfmDowncallBuildItem
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Captures native error state (e.g.Marks this downcall as critical (no safepoint, no GC during the call).firstVariadicArg(int index) Sets the index of the first variadic argument for variadic C functions.
-
Method Details
-
captureCallState
Captures native error state (e.g.errno) after the downcall. Corresponds toLinker.Option.captureCallState("errno"). -
firstVariadicArg
Sets the index of the first variadic argument for variadic C functions. Corresponds toLinker.Option.firstVariadicArg(index).- Parameters:
index- the zero-based index of the first variadic parameter
-
critical
Marks this downcall as critical (no safepoint, no GC during the call). Corresponds toLinker.Option.critical(allowHeapAccess).- Parameters:
option- whether the native function may access Java heap objects
-
build
-