< prev index next >

src/jdk.jextract/share/classes/com/sun/tools/jextract/HeaderFile.java

Print this page

        

@@ -42,10 +42,11 @@
     final TypeDictionary dict;
     // The top header file cause this file to be parsed
     HeaderFile main;
     CodeFactory cf;
     List<String> libraries;
+    List<String> libraryPaths;
 
     private final AtomicInteger serialNo;
     final Logger logger = Logger.getLogger(getClass().getPackage().getName());
 
     HeaderFile(Path path, String pkgName, String clsName, HeaderFile main) {

@@ -55,12 +56,13 @@
         dict = TypeDictionary.of(pkgName);
         serialNo = new AtomicInteger();
         this.main = main == null ? this : main;
     }
 
-    void useLibraries(List<String> libraries) {
+    void useLibraries(List<String> libraries, List<String> libraryPaths) {
         this.libraries = libraries;
+        this.libraryPaths = libraryPaths;
     }
 
     /**
      * Call this function to enable code generation for this HeaderFile.
      * This function should only be called once to turn on code generation and before process any cursor.
< prev index next >