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

Generated code compatibility check #10

Open
vaind opened this issue Jul 1, 2020 · 0 comments
Open

Generated code compatibility check #10

vaind opened this issue Jul 1, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@vaind
Copy link
Contributor

vaind commented Jul 1, 2020

Once c-api 1.0 is released, the generated code can check semver compatibility with static_assert (C++) or #if & #error macros (C99).
This would ensure, at compile time, that the generated code is compatible with the library used.

Additionally, since objectbox-c is a shared library, a runtime check may make sense for some users. We should probably encourage them to do so in docs?

@vaind vaind added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 1, 2020
@vaind vaind added this to the 1.0 milestone Dec 11, 2020
@vaind vaind assigned vaind and unassigned vaind Dec 21, 2020
@dan-obx dan-obx closed this as completed in 503210c Mar 4, 2024
@dan-obx dan-obx reopened this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants