Integrated: 7903674: jextract should ignore non-enum constants inside enum
Athijegannathan Sundararajan
sundar at openjdk.org
Tue Feb 20 14:44:28 UTC 2024
On Tue, 20 Feb 2024 07:16:54 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
> * checking cursor kind of child cursor to be CursorKind.EnumConstantDecl.
> * Piggybacking to fix similar check of record child element kinds to be CursorKind.FieldDecl.
> * Added null check for createTree return value in collectNestedTypes method as well.
> * In addition to jextract tests, I ran all samples on Mac OS. All fine with this change. Also, ran jextract script for Mac OS from https://github.com/manuelbl/JavaDoesUSB.git.
This pull request has now been integrated.
Changeset: 7f180b00
Author: Athijegannathan Sundararajan <sundar at openjdk.org>
URL: https://git.openjdk.org/jextract/commit/7f180b0002c29665890ca3ac13717aafed33c0a9
Stats: 53 lines in 5 files changed: 44 ins; 1 del; 8 mod
7903674: jextract should ignore non-enum constants inside enum
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.org/jextract/pull/221
More information about the jextract-dev
mailing list