Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
dart_args.h File Reference
#include <iostream>
#include <sstream>
#include <type_traits>
#include <utility>
#include "third_party/dart/runtime/include/dart_api.h"
#include "tonic/converter/dart_converter.h"
#include "tonic/dart_wrappable.h"

Go to the source code of this file.

Classes

class  tonic::DartArgIterator
 
struct  tonic::IndicesHolder< indices >
 
struct  tonic::IndicesGenerator< requested_index, indices >
 
struct  tonic::IndicesGenerator< 0, indices... >
 
class  tonic::IndicesForSignature< T >
 
struct  tonic::IndicesForSignature< ResultType(*)(ArgTypes...)>
 
struct  tonic::IndicesForSignature< ResultType(C::*)(ArgTypes...)>
 
struct  tonic::IndicesForSignature< ResultType(C::*)(ArgTypes...) const >
 
struct  tonic::DartArgHolder< index, ArgType >
 
class  tonic::DartDispatcher< IndicesType, T >
 
struct  tonic::DartDispatcher< IndicesHolder< indices... >, void(*)(ArgTypes...)>
 
struct  tonic::DartDispatcher< IndicesHolder< indices... >, ResultType(*)(ArgTypes...)>
 
struct  tonic::DartDispatcher< IndicesHolder< indices... >, void(C::*)(ArgTypes...)>
 
struct  tonic::DartDispatcher< IndicesHolder< indices... >, ReturnType(C::*)(ArgTypes...) const >
 
struct  tonic::DartDispatcher< IndicesHolder< indices... >, ResultType(C::*)(ArgTypes...)>
 
struct  tonic::FfiDispatcher< void, Return(*)(Args...), function >
 
struct  tonic::FfiDispatcher< C, Return(C::*)(Args...), method >
 
struct  tonic::FfiDispatcher< C, Return(C::*)(Args...) const, method >
 
struct  tonic::FfiDispatcher< void, void(*)(Args...), function >
 
struct  tonic::FfiDispatcher< C, void(C::*)(Args...), method >
 

Namespaces

namespace  tonic
 

Functions

template<typename T >
void tonic::DartReturn (T result, Dart_NativeArguments args)
 
template<typename Sig >
void tonic::DartCall (Sig func, Dart_NativeArguments args)
 
template<typename Sig >
void tonic::DartCallStatic (Sig func, Dart_NativeArguments args)
 
template<typename Sig >
void tonic::DartCallConstructor (Sig func, Dart_NativeArguments args)
 
template<typename Arg , typename... Args>
void tonic::WriteFfiArguments (std::ostringstream *stream)
 
template<typename Arg , typename... Args>
void tonic::WriteDartArguments (std::ostringstream *stream)
 
template<typename Arg , typename... Args>
bool tonic::AllowedInLeafCall ()