Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for argument names, keyword arguments and argument default values #142

Merged
merged 9 commits into from
Jan 13, 2024

Conversation

melven
Copy link
Contributor

@melven melven commented Jan 8, 2024

Corresponding library functionality for JuliaInterop/CxxWrap.jl#399

include/jlcxx/module.hpp Outdated Show resolved Hide resolved
@barche
Copy link
Contributor

barche commented Jan 12, 2024

Can you please try the above fix for MSVC and also rebase on libcxxwrap main?

@melven
Copy link
Contributor Author

melven commented Jan 13, 2024

Remaining problem with MSVC looks like the issue discussed here: https://developercommunity.visualstudio.com/t/error-C2187-syntax-error:-attribute-sp/10439022

So I replaced a lambda by a template function which seems to work around this...

@melven melven marked this pull request as ready for review January 13, 2024 17:34
@barche
Copy link
Contributor

barche commented Jan 13, 2024

Thanks, not so easy to keep all the compilers (and especially MSVC) happy with this kind of code :)

@barche barche merged commit 24906be into JuliaInterop:main Jan 13, 2024
10 checks passed
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