-
Notifications
You must be signed in to change notification settings - Fork 87
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
test Dart FFI gen tool against our C wrapper layer #10
Comments
➤ Lubo Blagoev commented: Ran the Dart ffigen on our C layer headers and found issues with "Array members not supported", Unions generation, and anonymous unions in structs. Also some function names that start with underscore are generated as private in the output dart file. Running on windows generates bindings for some Win32 functions but that can be skipped with the ffgen configuration Here is the full output with Dart 2.12 [WARNING]: Removed All Struct Members from: realm_decimal128(realm_decimal128), Array members not supported All of the issues above can be mitigated by using Dart 2.14 which is currently in Dev stage. In order to fix the anonymous unions in structs a PR was pushed in core which allows naming the union by defining RLM_NO_ANON_UNIONS when running the dart ffigen. There might be additional problems with the generated output which were not identified by this research |
➤ Lubo Blagoev commented: The initial research was completed |
No description provided.
The text was updated successfully, but these errors were encountered: