No subject

Paulo Feodrippe pfeodrippe at gmail.com
Thu Apr 18 00:54:05 UTC 2024


Hi,

I'm using Build 22-jextract+3-13 and, while I'm able to jextract the
flecs.c file in https://github.com/SanderMertens/flecs, it generates a
param with the same name as one of the original params (allocator).

./src-java/org/vybe/flecs_2.java:7946: error: variable allocator is already
defined in method
ecs_vec_copy(java.lang.foreign.SegmentAllocator,java.lang.foreign.MemorySegment,java.lang.foreign.MemorySegment,int)
    public static MemorySegment ecs_vec_copy(SegmentAllocator allocator,
MemorySegment allocator, MemorySegment vec, int size) {

           ^
./src-java/org/vybe/flecs_2.java:7995: error: variable allocator is already
defined in method
ecs_vec_copy_shrink(java.lang.foreign.SegmentAllocator,java.lang.foreign.MemorySegment,java.lang.foreign.MemorySegment,int)
    public static MemorySegment ecs_vec_copy_shrink(SegmentAllocator
allocator, MemorySegment allocator, MemorySegment vec, int size) {

Thanks

-- 
Paulo Rafael Feodrippe,
Desenvolvedor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240417/e016acac/attachment-0001.htm>


More information about the jextract-dev mailing list