OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef TONIC_DART_INVOKE_H_ | 5 #ifndef TONIC_DART_INVOKE_H_ |
6 #define TONIC_DART_INVOKE_H_ | 6 #define TONIC_DART_INVOKE_H_ |
7 | 7 |
8 #include "dart/runtime/include/dart_api.h" | 8 #include "mojo/public/third_party/dart/runtime/include/dart_api.h" |
9 | 9 |
10 namespace tonic { | 10 namespace tonic { |
11 | 11 |
12 bool DartInvokeAppField(Dart_Handle target, Dart_Handle name, | 12 bool DartInvokeAppField(Dart_Handle target, Dart_Handle name, |
13 int number_of_arguments, | 13 int number_of_arguments, |
14 Dart_Handle* arguments); | 14 Dart_Handle* arguments); |
15 | 15 |
16 bool DartInvokeAppClosure(Dart_Handle closure, | 16 bool DartInvokeAppClosure(Dart_Handle closure, |
17 int number_of_arguments, | 17 int number_of_arguments, |
18 Dart_Handle* arguments); | 18 Dart_Handle* arguments); |
19 | 19 |
20 } // namespace tonic | 20 } // namespace tonic |
21 | 21 |
22 #endif // TONIC_DART_INVOKE_H_ | 22 #endif // TONIC_DART_INVOKE_H_ |
23 | 23 |
OLD | NEW |