RFR: Add jextract guide [v8]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Apr 15 14:16:56 UTC 2024


On Mon, 15 Apr 2024 14:10:16 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> doc/GUIDE.md line 234:
>> 
>>> 232: call the C function (1). Besides that, there are also several accessors that return
>>> 233: additional meta-data for the method:
>>> 234: 
>> 
>> You could also add an item for (1) instead of having separate text above?
>
> Done

Now veering into nitpicks: but I note that we have an asymmetry between structs and functions. In functions we try to call out the function accessor (probably on the basis that this is the symbol the user is likely to be looking for). But for structs we just list all the members one after the other (even though the most likely is probably (1) - e.g. getter/setter). I think the document could be improved (optionally) by rectifying this one way or the other.

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

PR Review Comment: https://git.openjdk.org/jextract/pull/231#discussion_r1565871964


More information about the jextract-dev mailing list