Skip to content

Conversation

@HGuillemet
Copy link
Contributor

Ensure that, in type(), if type.constructor is set to true, then the cppName is the cppName of the class, whatever is in the infoMap.
This prevents, for instance, if we have class C, and an info about the constructorC::C in the info map, that the constructor
cppName is set to C::C after a call to context.qualify.

Similarly, in function(), only call context.qualify for normal functions, not constructors. The qualification work has
already been performed in type() and the constructor cppName should remain the type cppName.

Fixes part of #735.

Regression tests: no changes in existing presets.

@saudet saudet merged commit 26eb486 into bytedeco:master Jan 22, 2024
@HGuillemet HGuillemet deleted the fix_constructor_name_no_ns branch January 22, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants