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

Exposed C Interface #63

Closed
orangeagain opened this issue Apr 8, 2021 · 1 comment
Closed

Exposed C Interface #63

orangeagain opened this issue Apr 8, 2021 · 1 comment
Labels

Comments

@orangeagain
Copy link

Exposed C Interface,please.
So we can call this library as real library from other language(example C#).

@walbourn
Copy link
Member

The ABI for this library is C++, as I make use of the std::vector STL container in the API for handling the data return.

The recommendation here is that you create your own C ABI DLL interface wrapper, then implement it using the C++ ABI. You would have to make some decision about how to communicate back the buffer needs, who owns the memory, etc. which are all up to you as the implementer of the DLL wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants