Flutter Engine
The Flutter Engine
dart_invoke.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef LIB_TONIC_LOGGING_DART_INVOKE_H_
6#define LIB_TONIC_LOGGING_DART_INVOKE_H_
7
8#include <initializer_list>
9
10#include "third_party/dart/runtime/include/dart_api.h"
11
12namespace tonic {
13
15 const char* name,
16 std::initializer_list<Dart_Handle> args);
17
19 std::initializer_list<Dart_Handle> args);
21
22} // namespace tonic
23
24#endif // LIB_TONIC_LOGGING_DART_INVOKE_H_
struct _Dart_Handle * Dart_Handle
Definition: dart_api.h:258
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t * target
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32
std::function< void()> closure
Definition: closure.h:14
Dart_Handle DartInvoke(Dart_Handle closure, std::initializer_list< Dart_Handle > args)
Definition: dart_invoke.cc:20
Dart_Handle DartInvokeVoid(Dart_Handle closure)
Definition: dart_invoke.cc:29
Dart_Handle DartInvokeField(Dart_Handle target, const char *name, std::initializer_list< Dart_Handle > args)
Definition: dart_invoke.cc:12