Class FfmDowncallBuildItem.Builder

java.lang.Object
io.quarkus.deployment.builditem.nativeimage.FfmDowncallBuildItem.Builder
Enclosing class:
FfmDowncallBuildItem

public static class FfmDowncallBuildItem.Builder extends Object
  • Method Details

    • captureCallState

      public FfmDowncallBuildItem.Builder captureCallState()
      Captures native error state (e.g. errno) after the downcall. Corresponds to Linker.Option.captureCallState("errno").
    • firstVariadicArg

      public FfmDowncallBuildItem.Builder firstVariadicArg(int index)
      Sets the index of the first variadic argument for variadic C functions. Corresponds to Linker.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 to Linker.Option.critical(allowHeapAccess).
      Parameters:
      option - whether the native function may access Java heap objects
    • build

      public FfmDowncallBuildItem build()