[foreign-jextract] RFR: 8242376: update jextract samples to avoid --filter option

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Apr 8 13:24:36 UTC 2020


On Wed, 8 Apr 2020 13:15:10 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> removed --filter option. added lapack sample.
> Note: lapack still uses --filter because of issue with Complex type.

Looks good - minor comment on example

doc/panama_jextract.md line 409:

> 408:
> 409:     static void print_matrix_colmajor(String msg, int m, int n, double[] mat, int ldm) {
> 410:         int i, j;

Do we need to convert to a Java array in order to print? I guess this could be a good example to show how Cdouble can
be used to iterate over array contents?

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/106


More information about the panama-dev mailing list