On Tue, 10 Jun 2025, Martin Uecker wrote: > Here I simply override the type with the one with the prototype. > This is not a perfect replacement for forming the composite type, > but I assume this does not matter for any existing code. But if > you think it is better to keep forming the composite type, an > alternative could be to add a flag to comptypes to ignore thisĀ > special case only in this specific scenario.
My inclination is that forming the composite type (as far as possible) is preferable. -- Joseph S. Myers josmy...@redhat.com