fix: fix include issues with C++
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:
- The namespace keyword doesn't take a string.
- 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.