Integrated: 7903632: struct accessor info is not derived from toplevel layout decl

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Jan 16 18:40:52 UTC 2024


On Tue, 16 Jan 2024 16:14:31 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This PR dials back the code generation updates a little when it comes to struct getter/setter, so that both their layouts and offsets is now derived from the toplevel struct layout - using layout paths, as before.
> 
> This allows clients to e.g. tweak layouts in a single place (the topelevel struct layout declaration) to adjust things such as endianness.

This pull request has now been integrated.

Changeset: 2713af72
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/2713af72ac5e071c5da6cbb81b3f1b2388b0cd7b
Stats:     34 lines in 2 files changed: 28 ins; 0 del; 6 mod

7903632: struct accessor info is not derived from toplevel layout decl

Reviewed-by: jvernee

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

PR: https://git.openjdk.org/jextract/pull/181


More information about the jextract-dev mailing list