Closed HGuillemet closed 5 months ago
Sometimes we add duplicate names in Info.pointerTypes or javaNames to ensure that the proper method overloads are generated (see #740).
Info.pointerTypes
javaNames
When a function is parsed, resulting Java declarations with same signature are deduplicated, but not when containers are generated.
This PR add checks to prevent duplicate generation of container constructors and methods in these cases.
Good to merge.
Sometimes we add duplicate names in
Info.pointerTypes
orjavaNames
to ensure that the proper method overloads are generated (see #740).When a function is parsed, resulting Java declarations with same signature are deduplicated, but not when containers are generated.
This PR add checks to prevent duplicate generation of container constructors and methods in these cases.