Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indexapi.h missing C extern for C++ #59

Closed
emammoser opened this issue Feb 10, 2022 · 1 comment
Closed

indexapi.h missing C extern for C++ #59

emammoser opened this issue Feb 10, 2022 · 1 comment

Comments

@emammoser
Copy link

When including the index API in my C++ code I was not able to find definitions for any of the index API functions. I solved this by adding an "extern "C" { }" around my include for indexapi.h. I think this extern should be included in the file itself so that users of the API don't need to do it themselves.

@priitj
Copy link
Owner

priitj commented Feb 13, 2022

Makes sense to me, thanks for reporting!

@priitj priitj closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants