dart-sdk/samples/sample_extension
Leaf Petersen 745f112ef6 Opt out some files from null safety.
Opt an initial batch of files under samples, samples-dev,
utils, and runtime/tools/dartfuzz out of null safety in preparation
for switching the flag on by default.

Change-Id: Icdfd52a5a969e678a7205903332f73fe3841c223
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166960
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Leaf Petersen <leafp@google.com>
2020-10-12 22:15:42 +00:00
..
test Opt out some files from null safety. 2020-10-12 22:15:42 +00:00
.gitignore
README.md Add README for samples/sample_extension 2019-10-18 15:33:06 +00:00
sample_asynchronous_extension.dart Opt out some files from null safety. 2020-10-12 22:15:42 +00:00
sample_extension.cc Check return value from Dart_PostCObject() in sample extension 2019-04-12 19:34:50 +00:00
sample_extension_dllmain_win.cc
sample_synchronous_extension.dart Opt out some files from null safety. 2020-10-12 22:15:42 +00:00
test_sample_asynchronous_extension.dart Opt out some files from null safety. 2020-10-12 22:15:42 +00:00
test_sample_synchronous_extension.dart Opt out some files from null safety. 2020-10-12 22:15:42 +00:00

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