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

Introducing C bindings #50

Closed
JBenda opened this issue Jul 21, 2022 · 1 comment
Closed

Introducing C bindings #50

JBenda opened this issue Jul 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@JBenda
Copy link
Owner

JBenda commented Jul 21, 2022

Based on multiple requests, it would, may be possible to create C bindings for inkcpp.

It would be a new subdirectory (inkcpp_clib or so) and would do inkcpp stuff but with c functions and external, the bindings should not take too much code, probably a handling the classes implicit as void* pointer passed back to the C code.

A new installation target for CMake is also required (like clib) to install only the c files.
Attention: not mixing up C and C++ header when exporting libs, also a different findInkcpp.cmake is needed for that.

@JBenda JBenda added the enhancement New feature or request label Jul 21, 2022
@JBenda JBenda moved this to Todo in Inkcpp evolution Dec 31, 2023
@JBenda JBenda moved this from Todo to In Progress in Inkcpp evolution Jan 11, 2024
@JBenda
Copy link
Owner Author

JBenda commented Jan 11, 2024

Implemented in #75

@JBenda JBenda closed this as completed Jan 11, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Inkcpp evolution Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant