native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
We should consider making this package generate `compile_commands.json` files. https://clang.llvm.org/docs/ClangCommandLineReference.html#dependency-file-generation I think we'd probably want to do this as a _side effect_ of the hook, and only if the sources...
Hi Guys, I am working on flutter windows desktop application. I have used the following dart ffi method to load win x64 DLL and it is working fine while running...
Currently, correctly dealing with protocol extensions requires one to access multiple pieces of information in the Dart API that are not connected: * `input.config.buildCodeAssets` * `input.config.code` * `input.assets.code` (link input)...
Hook authors might want to use a certain asset type if available, and another one if the first one is not available. * `CodeAsset`, and if not available `WasmAsset` (https://github.com/dart-lang/native/issues/156)....
Closes #1828 From https://docs.swift.org/swift-book/documentation/the-swift-programming-language/protocols/#Protocol-Extensions: > A protocol defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. The protocol can then be...
I'm trying to understand if I can use `ffigen` and `objective_c` to generate bindings to some of the iOS APIs e.g. to ask for permissions or to update home screen...
With the addition of user defined visitors, there is no need to also have filters and they cause extra confusion. We can remove them.
We should investigate generating class modifiers for the generated syntax. https://github.com/dart-lang/native/pull/2123#discussion_r2007149204 Should all classes be `final`? * Since https://github.com/dart-lang/native/pull/2102, the syntax files don't import each other. (We wouldn't want to...
> I can see benefits of also exposing the target OS for data assets, but that's a different discussion to be had. _Originally posted by @mosuem in https://github.com/dart-lang/native/issues/2108#issuecomment-2739679481_ The `DataConfig`...
At some point, we'd like to output assets for web: * `DataAsset` (https://github.com/dart-lang/native/issues/154) * `WasmCode` (https://github.com/dart-lang/native/issues/156) * `JSCode` And `WasmCode` and it should have a `dialect` field that is `linear_memory`,...