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

#include <dart_api_state.h>

Public Member Functions

ObjectPtr ptr () const
 
void set_ptr (ObjectPtr ptr)
 
Dart_Handle apiHandle ()
 

Static Public Member Functions

static intptr_t ptr_offset ()
 

Detailed Description

Definition at line 125 of file dart_api_state.h.

Member Function Documentation

◆ apiHandle()

Dart_Handle dart::LocalHandle::apiHandle ( )
inline

Definition at line 132 of file dart_api_state.h.

132{ return reinterpret_cast<Dart_Handle>(this); }
struct _Dart_Handle * Dart_Handle
Definition: dart_api.h:258

◆ ptr()

ObjectPtr dart::LocalHandle::ptr ( ) const
inline

Definition at line 128 of file dart_api_state.h.

128{ return ptr_; }

◆ ptr_offset()

static intptr_t dart::LocalHandle::ptr_offset ( )
inlinestatic

Definition at line 130 of file dart_api_state.h.

130{ return OFFSET_OF(LocalHandle, ptr_); }
#define OFFSET_OF(type, field)
Definition: globals.h:138

◆ set_ptr()

void dart::LocalHandle::set_ptr ( ObjectPtr  ptr)
inline

Definition at line 129 of file dart_api_state.h.

129{ ptr_ = ptr; }
ObjectPtr ptr() const

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