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

Use namespaces instead of prefixes #5

Closed
pravic opened this issue Jan 9, 2020 · 1 comment
Closed

Use namespaces instead of prefixes #5

pravic opened this issue Jan 9, 2020 · 1 comment

Comments

@pravic
Copy link

pravic commented Jan 9, 2020

For example, in C++ it would be better to use something like cxxbridge::rust::String, and the same for other Rust types, like Str, Vec, Map, etc.

Correspondingly in Rust: cxx::cpp::String, Vector, Map, UniquePtr, SharedPtr.

Of course, the namespace names could be better - it's just an example against the RustString and CxxString type names.

@pravic
Copy link
Author

pravic commented Jan 9, 2020

Closing in favor of #8.

@pravic pravic closed this as completed Jan 9, 2020
Repository owner locked and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant