commit | 90f118484f78fe2588c796969b2f35aef88d987e | [log] [tgz] |
---|---|---|
author | Daco Harkes <dacoharkes@google.com> | Mon Mar 28 09:46:56 2022 +0000 |
committer | Martin Kustermann <kustermann@google.com> | Mon Mar 28 09:46:56 2022 +0000 |
tree | 419ef162640a4b1e60f84aaa29dc6cf0c8c07c45 | |
parent | bf6a18157257e3b2ac93a204ff2163a0ad4ef9c8 [diff] |
[vm/ffi] Add `Char` C type The diff from https://dart-review.googlesource.com/c/sdk/+/229156/1..3 This was blocked by https://github.com/timsneath/win32/issues/349 earlier. Now that that has been resolved, we should be able to land this. We should land this to make package:ffigen be able to bind to `char` in Dart 2.17. https://github.com/dart-lang/ffigen/pull/287#discussion_r835734993 TEST=tests/ffi/c_types_test.dart Change-Id: Ia3bc3785a3d5c0c9f7475106eb77f944f2d0a838 Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-debug-ia32-try,vm-kernel-win-debug-ia32-try,vm-kernel-nnbd-mac-debug-arm64-try,vm-kernel-nnbd-mac-debug-x64-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try,vm-precomp-ffi-qemu-linux-release-arm-try,vm-precomp-ffi-qemu-linux-release-riscv64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239020 Auto-Submit: Daco Harkes <dacoharkes@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.