Ivan Dlugos
Ivan Dlugos
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...
closes #36 the important change is in the `flatbuffersc.cpp` - the remainder is just (for) tests
closes #33
Example FBS that should be supported, with appropriate `enum` generated in c/c++ code: ``` enum Flags: uint(bit_flags) { FlagA = 0, FlagB = 1, } table Table { id: ulong;...
Have a look at [`fromFlatBuffer()`](https://github.com/objectbox/objectbox-generator/blob/4e7a0a1b521a441823e4da732270dd786b5f9109/internal/generator/c/templates/binding-cpp.go#L75-L110) uses of `auto*` declarations and see if it would help readability to replace some with actual types.
Add/update CI and integration tests so that we have the following build scenarios covered: ## C++ generated code * [ ] MSVC C++ project (currently uses mingw) ## C generated...
The generated code currently calls `flatcc_builder_finalize_aligned_buffer()` which returns a copy of the builder buffer. The returned buffer must be freed by calling `flatcc_builder_aligned_free()`, in addition to freeing the builder using...
Currently, the model is declared directly by constructing python objects: ```python @Entity(id=1, uid=1) class Person: id = Id(id=1, uid=1001) first_name = Property(str, id=2, uid=1002) last_name = Property(str, id=3, uid=1003) model...