Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Side by Side Diff: runtime/include/dart_api.h

Issue 585643004: Add Dart_IsFuture. To be used in Dartium implementation of Promises. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698