Skip to content

fix: fix include issues with C++

seurd requested to merge seurd/cahute:fix/cpp-include-errors into develop

I was trying to include Cahute into a small C++ project a couple of days ago, and I got an include error. This patch fixes that with two changes:

  1. The namespace keyword doesn't take a string.
  2. There was a duplicate CAHUTE_END_DECLS that led to an unexpected }.

In the end I ended up using C anyways (my C++ experience is basically non-existent), but I figured the fix is worth upstreaming.

Merge request reports

Loading