Flutter Engine
tonic::DartConverter< Dart_Handle > Struct Template Reference

#include <dart_converter.h>

Static Public Member Functions

static Dart_Handle ToDart (Dart_Handle val)
 
static void SetReturnValue (Dart_NativeArguments args, Dart_Handle val)
 
static Dart_Handle FromDart (Dart_Handle handle)
 
static Dart_Handle FromArguments (Dart_NativeArguments args, int index, Dart_Handle &exception)
 

Detailed Description

template<>
struct tonic::DartConverter< Dart_Handle >

Definition at line 422 of file dart_converter.h.

Member Function Documentation

◆ FromArguments()

static Dart_Handle tonic::DartConverter< Dart_Handle >::FromArguments ( Dart_NativeArguments  args,
int  index,
Dart_Handle &  exception 
)
inlinestatic

Definition at line 431 of file dart_converter.h.

433  {
434  return Dart_GetNativeArgument(args, index);
435  }

◆ FromDart()

static Dart_Handle tonic::DartConverter< Dart_Handle >::FromDart ( Dart_Handle  handle)
inlinestatic

Definition at line 429 of file dart_converter.h.

429 { return handle; }

◆ SetReturnValue()

static void tonic::DartConverter< Dart_Handle >::SetReturnValue ( Dart_NativeArguments  args,
Dart_Handle  val 
)
inlinestatic

Definition at line 425 of file dart_converter.h.

425  {
426  Dart_SetReturnValue(args, val);
427  }

◆ ToDart()

static Dart_Handle tonic::DartConverter< Dart_Handle >::ToDart ( Dart_Handle  val)
inlinestatic

Definition at line 423 of file dart_converter.h.

423 { return val; }

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