Class NativeLibraryDescriptor
java.lang.Object
com.oracle.truffle.nfi.backend.spi.types.NativeLibraryDescriptor
Parsed representation of library descriptors of the Truffle NFI.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFlags()An optional array of implementation dependent flags.booleanCheck whether this represents the default library.
-
Method Details
-
isDefaultLibrary
public boolean isDefaultLibrary()Check whether this represents the default library. -
getFilename
- Returns:
- the filename of the library, or
nullfor the default library
-
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.
-