Skip to content

Add documentation for libcc2rs - #308

Open
lucic71 wants to merge 31 commits into
Cpp2Rust:masterfrom
lucic71:libcc2rs-docs
Open

Add documentation for libcc2rs#308
lucic71 wants to merge 31 commits into
Cpp2Rust:masterfrom
lucic71:libcc2rs-docs

Conversation

@lucic71

@lucic71 lucic71 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

While writing the docs for libcc2rs I realized that rc.rs is very heavy. So I took some of the code and put it in other files:

  • void.rs - Everything related to AnyPtr. @nunoplopes do you think VoidPtr is a better name?
  • ptr_dyn.rs - Everything related to PtrDyn
  • cstr.rs - The Ptr<u8> specialization for strings
  • move CStringiterator and StringIterator in iterator.rs

I also deleted the unused impl<T> PostfixInc for Cursor<*mut T>

@lucic71
lucic71 marked this pull request as draft August 16, 2026 20:20
@lucic71

lucic71 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

Merge #302 first

@lucic71
lucic71 marked this pull request as ready for review August 20, 2026 15:05
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.

1 participant