Daco Harkes

Results 171 comments of Daco Harkes

We recently updated the documentation for non-prebuilt (including the source in Xcode) statically linked libraries, see the discussion on https://github.com/dart-lang/ffi/issues/28#issuecomment-562238818. If I run the example from the tutorial (native add),...

I'm able to reproduce the error on `--release`. `Failed to lookup symbol (dlsym(RTD_DEFAULT, ffi_lz4_version_string): symbol not found)`. ~~I'm not very familiar with the XCode setup of Flutter projects, but it...

cc Flutter tools team: @jonahwilliams @jmagman

In that case, it might be related to https://github.com/flutter/flutter/issues/46887 (dart_api.h symbols not visible in release).

> After I added the libdart_native_compression.a and podspec from Archive.zip the example project built in Xcode in Debug and Release. Hm, if I run it with `flutter run --release`, it...

> Like i said in the first post operator overload is only intended for the parameter and not the return type. > (The "same return type" seems unnecessary and restrictive....

> There are some underdefined parts of that algorithm: > > * How are the types of the arguments inferred? Traditionally, Dart looks up the method first, then uses the...

@halildurmus Can you detail a bit more about the use case where this is useful?

Thanks for the clear explanation! ❤️ (And thanks for continuing development on package:win32!) So if I understand you correctly, you only want to use extension types as type markers in...

I meant to say `extends` not `implements`, my bad! See the documentation here: https://api.dart.dev/stable/3.3.0/dart-ffi/AbiSpecificInteger-class.html You'd just add the same integer size for all windows targets: ```dart @AbiSpecificIntegerMapping({ Abi.windowsArm64: Int32(), Abi.windowsIA32:...