native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
When working on #2792, I noticed that a user may have multiple toolchains present on their system, and it'd make sense if support was provided for fetching all possible toolchains...
> I did not know whether to put this under package:hooks or package:native_toolchain_c or package:hooks, but I figured this was more an issue with C sources. Apparently, the `CBuilder` API,...
Generating java.io.CharBuffer binding causes conflicts. Error: Can't declare a member that conflicts with an inherited one. bool hasArray() { Error: Can't declare a member that conflicts with an inherited one....
When working with C structs, I find I have to have a few lines dedicated to allocating a struct pointer and initializing the fields. ```c // C API typedef struct...
From this C API: ```c typedef enum MyEnum { a, b, c } MyEnum; typedef struct MyStruct { int x; float y; MyEnum z; } MyStruct; ``` ffigen generates this...
Couldn't find any options for it in the docs or API reference, and searching for it in the API reference only brought results from `YamlConfig`. Or is there a different...
The new extension types/methods approach in ffigen 20 is not compatible with mocking using mockito. ### Why we switched to extension types - small performance benefit - fewer references from...
When generating Dart bindings from Java Code or Kotlin via jnigen, if a Java or Kotlin method is marked as @Deprecated, the system automatically suggests the corresponding replacement method in...
We should investigate how/whether debug symbols can/should be outputted separately from the dylib for the various places an app is uploaded. If yes, we need to consider how to add...
When searching for an NDK, this now considers: - `$ANDROID_HOME/ndk/*/` directories. - If the environment variables `ANDROID_NDK`, `ANROID_NDK_HOME`, `ANDROID_NDK_LATEST_HOME` or `ANDROID_NDK_ROOT` are set (as they are in GitHub actions), those...