Running jextract on a bunch of headers of my C library
Henry Jen
henry.jen at oracle.com
Tue Mar 27 01:34:02 UTC 2018
The tar ball is dropped by mailing list apparently, would you please file a bug and attach the files and I’ll have a look.
Thanks,
Henry
> On Mar 26, 2018, at 3:00 PM, Virendra J. Marathe <virendra.marathe at oracle.com> wrote:
>
>
> Hi all,
>
> I'm using jextract to create a jar file from the header files of my C-based transactional access
> library for persistent memory. jextract can't seem to deal with enums and #defines that span
> multiple lines. It can't deal with #defines that appear in consecutive lines. It ends up
> dropping all enums and a bunch of the constants defined in the attach header files. I've
> attached the tar ball that contains the headers and the jar file generated using
>
> ../../dev/build/linux-x86_64-normal-server-release/jdk/bin/jextract -I /usr/lib64/clang/3.9.1/include/ pm_api.h
>
> Please take a look at pm_defs.class and pl_log.class for representative examples.
>
> Thanks,
> Virendra
>
>
More information about the panama-dev
mailing list