Orangutan-lib and C++

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. :slight_smile:

I think all that’s needed is to throw

#ifdef __cplusplus
extern "C" {



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.

- Joe

No problem.