Tom, can you make orangutan-lib compatible with C++? As a longtime C++ coder, it’s really painful for me to declare my variables at the top of the function instead of where they belong.
I think all that’s needed is to throw
#ifdef __cplusplus
extern "C" {
#endif
...
}
around the contents of each header file, so the functions therein are not mangled C++-style. This will have no effect when compiling with C, but make C++ users happy.
Best,
- Joe