Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::IsolateLeaveScope Class Reference

Public Member Functions

 IsolateLeaveScope (Isolate *current_isolate)
 
 ~IsolateLeaveScope ()
 

Detailed Description

Definition at line 24 of file native_api_impl.cc.

Constructor & Destructor Documentation

◆ IsolateLeaveScope()

dart::IsolateLeaveScope::IsolateLeaveScope ( Isolate current_isolate)
inlineexplicit

Definition at line 26 of file native_api_impl.cc.

27 : saved_isolate_(current_isolate) {
28 if (current_isolate != nullptr) {
29 ASSERT(current_isolate == Isolate::Current());
31 }
32 }
static Isolate * Current()
Definition: isolate.h:986
#define ASSERT(E)
DART_EXPORT void Dart_ExitIsolate()

◆ ~IsolateLeaveScope()

dart::IsolateLeaveScope::~IsolateLeaveScope ( )
inline

Definition at line 33 of file native_api_impl.cc.

33 {
34 if (saved_isolate_ != nullptr) {
35 Dart_Isolate I = reinterpret_cast<Dart_Isolate>(saved_isolate_);
37 }
38 }
struct _Dart_Isolate * Dart_Isolate
Definition: dart_api.h:88
DART_EXPORT void Dart_EnterIsolate(Dart_Isolate isolate)
Definition: SkMD5.cpp:134

The documentation for this class was generated from the following file: