This code doesn't compile as C++ so remove the __cplusplus cruft