tree: 8b5f2cdf103586124afa9f069f2204612e764147 [path history] [tgz]
  1. test/
  2. .gitignore
  3. README.md
  4. sample_asynchronous_extension.dart
  5. sample_extension.cc
  6. sample_extension_dllmain_win.cc
  7. sample_synchronous_extension.dart
  8. test_sample_asynchronous_extension.dart
  9. test_sample_synchronous_extension.dart
samples/sample_extension/README.md

This directory contains samples of native extensions.

To run the samples, first build both the Dart SDK and the runtime. For example:

$ ./tools/build.py create_sdk runtime

Then execute the sample programs. For example:

$ xcodebuild/ReleaseX64/dart samples/sample_extension/test/sample_extension_test.dart