Skip to content

Conversation

@adetaylor
Copy link
Collaborator

Fixes #50, with caveats which I will explain in #37.

This change adds partial C++ namespace support. We parse and accept
namespaced items in C++, but on the Rust side, everything is output
into a flat structure.

This means we can't cope with multiple types or functions with the
same name within different namespaces. cxx will generate an error
in such a case.

A future change will move these into nested mods, once that's
supported by cxx.
@adetaylor adetaylor mentioned this pull request Nov 7, 2020
@adetaylor adetaylor merged commit c7c2f51 into main Nov 7, 2020
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.

Namespaces

1 participant