dart-sdk/sdk
Clement Skau 0f7f8e361c Revert "[VM] Adds getNativeFieldPtr(..)"
This reverts commit 2e17bb219f.

Reason for revert: Breaks precomp. due to import of dart:ffi.

Original change's description:
> [VM] Adds getNativeFieldPtr(..)
>
> Adds a convenience function for working with FfiNatives
> where we often end up doing:
>
> class SomeClass extends NativeFieldWrapperClass1 {
>   void doThing() => _doThing(Pointer.fromAddress(getNativeField(this)))
>   @FfiNative<Void Function(Pointer)>
>   external static void _doThing(Pointer self);
> }
>
> TEST=Existing.
>
> Bug: https://github.com/dart-lang/sdk/issues/43889
> Change-Id: I983ba882574732b71b7ceafcb98b8ce5339e9003
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208503
> Commit-Queue: Clement Skau <cskau@google.com>
> Reviewed-by: Tess Strickland <sstrickl@google.com>

TBR=cskau@google.com,sstrickl@google.com

Change-Id: I7bc9376f05664fda4fcf27b584081295195d5562
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/dart-lang/sdk/issues/43889
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209542
Reviewed-by: Clement Skau <cskau@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2021-08-09 10:43:50 +00:00
..
bin Add deprecation warning to dartfmt. 2021-06-03 10:11:24 +00:00
lib Revert "[VM] Adds getNativeFieldPtr(..)" 2021-08-09 10:43:50 +00:00
api_readme.md Update the API docs readme 2020-01-16 21:23:09 +00:00
BUILD.gn Allow configuring the destination of the SDK in the build output directory 2021-06-29 18:45:29 +00:00