Class NativeLibraryDescriptor

java.lang.Object
com.oracle.truffle.nfi.backend.spi.types.NativeLibraryDescriptor

public final class NativeLibraryDescriptor extends Object
Parsed representation of library descriptors of the Truffle NFI.
See Also:
  • Method Details

    • isDefaultLibrary

      public boolean isDefaultLibrary()
      Check whether this represents the default library.
    • getFilename

      public String getFilename()
      Returns:
      the filename of the library, or null for the default library
    • getFlags

      public List<String> getFlags()
      An optional array of implementation dependent flags. Implementors of the TruffleNFI backends should ignore unknown flags, and should always provide sensible default behavior if no flags are specified.

      This can for example be used to specify the RTLD_* flags on posix compliant systems.