OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 * for details. All rights reserved. Use of this source code is governed by a | 3 * for details. All rights reserved. Use of this source code is governed by a |
4 * BSD-style license that can be found in the LICENSE file. | 4 * BSD-style license that can be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef INCLUDE_DART_API_H_ | 7 #ifndef INCLUDE_DART_API_H_ |
8 #define INCLUDE_DART_API_H_ | 8 #define INCLUDE_DART_API_H_ |
9 | 9 |
10 /** \mainpage Dart Embedding API Reference | 10 /** \mainpage Dart Embedding API Reference |
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 DART_EXPORT bool Dart_IsList(Dart_Handle object); | 1318 DART_EXPORT bool Dart_IsList(Dart_Handle object); |
1319 DART_EXPORT bool Dart_IsMap(Dart_Handle object); | 1319 DART_EXPORT bool Dart_IsMap(Dart_Handle object); |
1320 DART_EXPORT bool Dart_IsLibrary(Dart_Handle object); | 1320 DART_EXPORT bool Dart_IsLibrary(Dart_Handle object); |
1321 DART_EXPORT bool Dart_IsType(Dart_Handle handle); | 1321 DART_EXPORT bool Dart_IsType(Dart_Handle handle); |
1322 DART_EXPORT bool Dart_IsFunction(Dart_Handle handle); | 1322 DART_EXPORT bool Dart_IsFunction(Dart_Handle handle); |
1323 DART_EXPORT bool Dart_IsVariable(Dart_Handle handle); | 1323 DART_EXPORT bool Dart_IsVariable(Dart_Handle handle); |
1324 DART_EXPORT bool Dart_IsTypeVariable(Dart_Handle handle); | 1324 DART_EXPORT bool Dart_IsTypeVariable(Dart_Handle handle); |
1325 DART_EXPORT bool Dart_IsClosure(Dart_Handle object); | 1325 DART_EXPORT bool Dart_IsClosure(Dart_Handle object); |
1326 DART_EXPORT bool Dart_IsTypedData(Dart_Handle object); | 1326 DART_EXPORT bool Dart_IsTypedData(Dart_Handle object); |
1327 DART_EXPORT bool Dart_IsByteBuffer(Dart_Handle object); | 1327 DART_EXPORT bool Dart_IsByteBuffer(Dart_Handle object); |
| 1328 DART_EXPORT bool Dart_IsFuture(Dart_Handle object); |
1328 | 1329 |
1329 | 1330 |
1330 /* | 1331 /* |
1331 * ========= | 1332 * ========= |
1332 * Instances | 1333 * Instances |
1333 * ========= | 1334 * ========= |
1334 */ | 1335 */ |
1335 | 1336 |
1336 /* | 1337 /* |
1337 * For the purposes of the embedding api, not all objects returned are | 1338 * For the purposes of the embedding api, not all objects returned are |
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2833 * NOTE: If multiple callbacks with the same name are registered, only the | 2834 * NOTE: If multiple callbacks with the same name are registered, only the |
2834 * last callback registered will be remembered. | 2835 * last callback registered will be remembered. |
2835 */ | 2836 */ |
2836 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( | 2837 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( |
2837 const char* name, | 2838 const char* name, |
2838 Dart_ServiceRequestCallback callback, | 2839 Dart_ServiceRequestCallback callback, |
2839 void* user_data); | 2840 void* user_data); |
2840 | 2841 |
2841 | 2842 |
2842 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 2843 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |