| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef INCLUDE_DART_API_H_ | 5 #ifndef INCLUDE_DART_API_H_ |
| 6 #define INCLUDE_DART_API_H_ | 6 #define INCLUDE_DART_API_H_ |
| 7 | 7 |
| 8 /** \mainpage Dart Embedding API Reference | 8 /** \mainpage Dart Embedding API Reference |
| 9 * | 9 * |
| 10 * Dart is a class-based programming language for creating structured | 10 * Dart is a class-based programming language for creating structured |
| (...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2439 | 2439 |
| 2440 /** | 2440 /** |
| 2441 * Forces all loaded classes and functions to be compiled eagerly in | 2441 * Forces all loaded classes and functions to be compiled eagerly in |
| 2442 * the current isolate.. | 2442 * the current isolate.. |
| 2443 * | 2443 * |
| 2444 * TODO(turnidge): Document. | 2444 * TODO(turnidge): Document. |
| 2445 */ | 2445 */ |
| 2446 DART_EXPORT Dart_Handle Dart_CompileAll(); | 2446 DART_EXPORT Dart_Handle Dart_CompileAll(); |
| 2447 | 2447 |
| 2448 /** | 2448 /** |
| 2449 * Check that all function fingerprints are OK. |
| 2450 * |
| 2451 */ |
| 2452 DART_EXPORT Dart_Handle Dart_CheckFunctionFingerprints(); |
| 2453 |
| 2454 /** |
| 2449 * Is this object a Library? | 2455 * Is this object a Library? |
| 2450 */ | 2456 */ |
| 2451 DART_EXPORT bool Dart_IsLibrary(Dart_Handle object); | 2457 DART_EXPORT bool Dart_IsLibrary(Dart_Handle object); |
| 2452 | 2458 |
| 2453 /** | 2459 /** |
| 2454 * Lookup a class or interface by name from a Library. | 2460 * Lookup a class or interface by name from a Library. |
| 2455 * | 2461 * |
| 2456 * \param library The library containing the class or interface. | 2462 * \param library The library containing the class or interface. |
| 2457 * \param class_name The name of the class or interface. | 2463 * \param class_name The name of the class or interface. |
| 2458 * | 2464 * |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2597 * | 2603 * |
| 2598 * \param object An object. | 2604 * \param object An object. |
| 2599 * \param peer A value to store in the peer field. | 2605 * \param peer A value to store in the peer field. |
| 2600 * | 2606 * |
| 2601 * \return Returns an error if 'object' is a subtype of Null, num, or | 2607 * \return Returns an error if 'object' is a subtype of Null, num, or |
| 2602 * bool. | 2608 * bool. |
| 2603 */ | 2609 */ |
| 2604 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); | 2610 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); |
| 2605 | 2611 |
| 2606 #endif // INCLUDE_DART_API_H_ | 2612 #endif // INCLUDE_DART_API_H_ |
| OLD | NEW |