Flutter Engine
The Flutter Engine
Public Attributes | List of all members
_Dart_CObject Struct Reference

#include <dart_native_api.h>

Inheritance diagram for _Dart_CObject:
dart::TypedDataViewMessageDeserializationCluster::Dart_CTypedDataView

Public Attributes

Dart_CObject_Type type
 
union {
   bool   as_bool
 
   int32_t   as_int32
 
   int64_t   as_int64
 
   double   as_double
 
   const char *   as_string
 
   struct {
      Dart_Port   id
 
      Dart_Port   origin_id
 
   }   as_send_port
 
   struct {
      int64_t   id
 
   }   as_capability
 
   struct {
      intptr_t   length
 
      struct _Dart_CObject **   values
 
   }   as_array
 
   struct {
      Dart_TypedData_Type   type
 
      intptr_t   length
 
      const uint8_t *   values
 
   }   as_typed_data
 
   struct {
      Dart_TypedData_Type   type
 
      intptr_t   length
 
      uint8_t *   data
 
      void *   peer
 
      Dart_HandleFinalizer   callback
 
   }   as_external_typed_data
 
   struct {
      intptr_t   ptr
 
      intptr_t   size
 
      Dart_HandleFinalizer   callback
 
   }   as_native_pointer
 
value
 

Detailed Description

Definition at line 63 of file dart_native_api.h.

Member Data Documentation

◆ 

struct { ... } _Dart_CObject::as_array

◆ as_bool

bool _Dart_CObject::as_bool

Definition at line 66 of file dart_native_api.h.

◆ 

struct { ... } _Dart_CObject::as_capability

◆ as_double

double _Dart_CObject::as_double

Definition at line 69 of file dart_native_api.h.

◆ 

struct { ... } _Dart_CObject::as_external_typed_data

◆ as_int32

int32_t _Dart_CObject::as_int32

Definition at line 67 of file dart_native_api.h.

◆ as_int64

int64_t _Dart_CObject::as_int64

Definition at line 68 of file dart_native_api.h.

◆ 

struct { ... } _Dart_CObject::as_native_pointer

◆ 

struct { ... } _Dart_CObject::as_send_port

◆ as_string

const char* _Dart_CObject::as_string

Definition at line 70 of file dart_native_api.h.

◆ 

struct { ... } _Dart_CObject::as_typed_data

◆ callback

Dart_HandleFinalizer _Dart_CObject::callback

Definition at line 92 of file dart_native_api.h.

◆ data

uint8_t* _Dart_CObject::data

Definition at line 90 of file dart_native_api.h.

◆ id [1/2]

Dart_Port _Dart_CObject::id

Definition at line 72 of file dart_native_api.h.

◆ id [2/2]

int64_t _Dart_CObject::id

Definition at line 76 of file dart_native_api.h.

◆ length

intptr_t _Dart_CObject::length

Definition at line 79 of file dart_native_api.h.

◆ origin_id

Dart_Port _Dart_CObject::origin_id

Definition at line 73 of file dart_native_api.h.

◆ peer

void* _Dart_CObject::peer

Definition at line 91 of file dart_native_api.h.

◆ ptr

intptr_t _Dart_CObject::ptr

Definition at line 95 of file dart_native_api.h.

◆ size

intptr_t _Dart_CObject::size

Definition at line 96 of file dart_native_api.h.

◆ type [1/2]

Dart_CObject_Type _Dart_CObject::type

Definition at line 64 of file dart_native_api.h.

◆ type [2/2]

Dart_TypedData_Type _Dart_CObject::type

Definition at line 83 of file dart_native_api.h.

◆ 

union { ... } _Dart_CObject::value

◆ values [1/2]

struct _Dart_CObject** _Dart_CObject::values

Definition at line 80 of file dart_native_api.h.

◆ values [2/2]

const uint8_t* _Dart_CObject::values

Definition at line 85 of file dart_native_api.h.


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