The header file needs extern "C" under cplusplus guards.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by als123 and has received 1 comments.