[foreign-jextract] [Rev 03] RFR: 8238316: jextract emits a C_BOOL when source says char

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Feb 24 10:57:13 UTC 2020


On Mon, 24 Feb 2020 10:44:11 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> Using SystemABI.Type of MemoryLayouts to generate layout constants
> 
> The pull request has been updated with a new target base due to a merge or a rebase.

Looks good, I'm not 100% sure if we've dealt with `COMPLEX_LONGDOUBLE` in all required places.

src/jdk.incubator.jextract/share/classes/jdk/internal/jextract/impl/LayoutUtils.java line 62:

> 61: 
> 62:     public static MemoryLayout getLayout(Type t) {
> 63:         switch(t.kind()) {

What about COMPLEX_LONGDOUBLE and friends here?

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



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


More information about the panama-dev mailing list