Skip to content

Add C++ compatibility#58

Merged
larsewi merged 2 commits intomasterfrom
cpp-compat
Mar 29, 2026
Merged

Add C++ compatibility#58
larsewi merged 2 commits intomasterfrom
cpp-compat

Conversation

@larsewi
Copy link
Copy Markdown
Owner

@larsewi larsewi commented Mar 29, 2026

Summary

  • Add extern "C" guards to leech2.h for C++ compatibility
  • Add test_cpp_ffi test that compiles the C test with a C++ compiler

🤖 Generated with Claude Code

larsewi added 2 commits March 29, 2026 19:32
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Compiles the same test_c_ffi.c source with a C++ compiler to verify the
extern "C" guards work correctly.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi merged commit c3c59db into master Mar 29, 2026
6 checks passed
@larsewi larsewi deleted the cpp-compat branch March 29, 2026 18:58
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