You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reference to this I decided to test out how this could be done with kinc using bindgen
Notes from my tests:
While testing it out with Kore I had issues with the wrapper.h files where if display.h uses system.h but it is not yet found by the compilation it just errors out saying it can't find it. Basically, orderring of the *.h includes in the wrapper.h impacts compilation like normal compilation(it's using clang to parse source files). I believe that even with good ordering it may still be an issue(see last point).
While testing with Kinc, the KINC_FUNC def was not found and bindgen just errored out.
Bindgen seems to prefer single-file headers. In my tests I tried with the cute headers and generation went smoothly for most of the headers. Files that worked did not have includes.
The text was updated successfully, but these errors were encountered:
In reference to this I decided to test out how this could be done with kinc using bindgen
Notes from my tests:
While testing it out with Kore I had issues with the wrapper.h files where if display.h uses system.h but it is not yet found by the compilation it just errors out saying it can't find it. Basically, orderring of the *.h includes in the wrapper.h impacts compilation like normal compilation(it's using clang to parse source files). I believe that even with good ordering it may still be an issue(see last point).
While testing with Kinc, the KINC_FUNC def was not found and bindgen just errored out.
Bindgen seems to prefer single-file headers. In my tests I tried with the cute headers and generation went smoothly for most of the headers. Files that worked did not have includes.
The text was updated successfully, but these errors were encountered: