Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
const char * name
Definition fuchsia.cc:50
Dart_Handle DartInvoke(Dart_Handle closure, std::initializer_list< Dart_Handle > args)
Dart_Handle DartInvokeVoid(Dart_Handle closure)
Dart_Handle DartInvokeField(Dart_Handle target, const char *name, std::initializer_list< Dart_Handle > args)