Question about acquiring predefined macros in panama-foreign

刘希晨 benrush0705 at gmail.com
Tue Sep 12 05:04:04 UTC 2023


Hi, I want to know if there is a recomended mechanism to get the predefined
macros from C dynamic library or system library.

For example, I want to use stdout and stderr in my program, currently I
wrote a method returning it so I can use a MemorySegment to capture it, I
wonder if there is any other option that I can directly get it in java side.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230912/b600ea88/attachment-0001.htm>


More information about the panama-dev mailing list