Skip to content

feat: include comments in the cpp generator#16

Open
2-towns wants to merge 1 commit intomasterfrom
feat/include-comments
Open

feat: include comments in the cpp generator#16
2-towns wants to merge 1 commit intomasterfrom
feat/include-comments

Conversation

@2-towns
Copy link
Contributor

@2-towns 2-towns commented Feb 9, 2026

This PR brings the comments from _interface.h into the generated version to provide a better developer experience.

It requires passing the --interface argument explicitly for two reasons:

  1. To avoid breaking the default behavior.
  2. To explicitly specify the path and avoid relying on implicit imports, which can become messy with CMakeLists and Nix.

Only comments starting with // are supported in header files, as they are easier to handle.

@2-towns 2-towns requested a review from iurimatias February 9, 2026 14:54
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