Skip to content

Rust bindings for the dart_api_dl.h API which adds some native interfaces to darts ffi API. Mainly used to create ports between dart and native code called from dart.

License

Notifications You must be signed in to change notification settings

showurl/xayn_dart_api_dl

Repository files navigation

Dart Api Dl

Rust bindings to the dart_api_dl.h interface (which is used with the mechanism provided by the dart:ffi package).

dart-api-dl-sys

The sys bindings to dart_api_dl.h.

dart-api-dl

Safer bindings around dart-api-dl-sys, including:

  • safe auto-dropping creation of CObjects for the various CObject variants
  • thread safe api initialization
  • safe ways to create native ports including a safe abstraction over the native ports message handlers
  • support for externally typed data to avoid unnecessary copies

License

Except for the ./dart-src folder all other parts are licensed under:

The contents in the ./dart-src are extracted from the dart language project and are licensed as defined by the license file in that folder.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

Rust bindings for the dart_api_dl.h API which adds some native interfaces to darts ffi API. Mainly used to create ports between dart and native code called from dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.4%
  • Rust 32.4%
  • C++ 2.1%
  • Dart 2.0%
  • Shell 0.1%