Namespace for inner classes in jextract

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Mar 11 12:19:16 UTC 2021


On 11/03/2021 10:01, Duncan Gittins wrote:
> In my view all that is missing is command line options for multiple 
> "--sym symbol_to_keep" to a pick name to keep in the generation 
> process, and "--writeconfig myconfig.new" to write current run options 
> to file (for editing / split / re-submit) => a neat formatted list of 
> all params used by jextract PLUS list of all symbols in the run. 

This is a simple and nice idea - but it doesn't deal with your desire to 
give custom names to extracted symbols (which you brought up earlier).

There's some validation to do when it comes to duplicate names - for 
instance, struct names can clash with typedef names, etc. which probably 
suggests that the syntax of the option will have to be more convoluted.

Maurizio






More information about the panama-dev mailing list