< prev index next >
src/jdk.jextract/share/classes/com/sun/tools/jextract/AsmCodeFactory.java
Print this page
*** 582,592 ****
}
public static void main(String[] args) throws IOException {
final Path file = Paths.get(args[1]);
final String pkg = args[0];
! Context ctx = new Context();
ctx.usePackageForFolder(file, pkg);
ctx.usePackageForFolder(Paths.get("/usr/include"), "system");
ctx.addSource(file);
ctx.parse();
ctx.collectJarFile(Paths.get(args[2]), pkg);
--- 582,592 ----
}
public static void main(String[] args) throws IOException {
final Path file = Paths.get(args[1]);
final String pkg = args[0];
! Context ctx = new Context(args);
ctx.usePackageForFolder(file, pkg);
ctx.usePackageForFolder(Paths.get("/usr/include"), "system");
ctx.addSource(file);
ctx.parse();
ctx.collectJarFile(Paths.get(args[2]), pkg);
< prev index next >