[foreign-jextract] RFR: 8261906: Improve jextract support for virtual functions [v6]
Jorn Vernee
jvernee at openjdk.java.net
Fri Mar 5 16:20:13 UTC 2021
On Fri, 5 Mar 2021 11:57:57 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> The snippet I typed above compiles (e.g. no error about redefinition of same name, which you do get w/o the braces). But that could only happen inside a function body - unless I'm missing something?
>
> C Standard:
>
> An identifier can denote an object; a function; a tag or a member of a structure, union, orenumeration; a typedef name; a label name; a macro name; or a macro parameter. The same identifier can denote different entities at different points in the program.
> But that could only happen inside a function body - unless I'm missing something?
Yeah, I think that's correct.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/456
More information about the panama-dev
mailing list