Class LibLoad

java.lang.Object
org.javagi.interop.LibLoad

public class LibLoad extends Object
The LibLoad class is used by Java-GI to load native libraries by name.
  • Constructor Details

    • LibLoad

      public LibLoad()
  • Method Details

    • getSourceDirs

      public static List<Path> getSourceDirs()
      Get the paths that will be used for native library lookups.
      Returns:
      the library source directories
    • loadLibrary

      public static SymbolLookup loadLibrary(String name, Arena arena)
      Load the native library with the provided name.
      Parameters:
      name - the name of the library