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

Simplify C/C++ headers using cbindgen's cpp-compat option #79

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Sainan
Copy link
Contributor

@Sainan Sainan commented Aug 23, 2024

The C headers can be used in C++ by simply wrapping it in extern "C", which is exactly what the cpp-compat option does, removing the need for seperate header files.

The C headers can be used in C++ by simply wrapping it in `extern "C"`, which is exactly what the cpp-compat option does, removing the need for seperate header files.
@simon-wh simon-wh merged commit 89c15df into WootingKb:develop Oct 21, 2024
@Sainan Sainan deleted the simplify-headers branch October 21, 2024 15:22
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