| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_DEBUGGER_API_H_ | 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_ |
| 6 #define INCLUDE_DART_DEBUGGER_API_H_ | 6 #define INCLUDE_DART_DEBUGGER_API_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; | 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 * | 510 * |
| 511 * Requires there to be a current isolate. | 511 * Requires there to be a current isolate. |
| 512 * | 512 * |
| 513 * \return True if no error occurs. | 513 * \return True if no error occurs. |
| 514 */ | 514 */ |
| 515 DART_EXPORT Dart_Handle Dart_GetObjClassId(Dart_Handle object, | 515 DART_EXPORT Dart_Handle Dart_GetObjClassId(Dart_Handle object, |
| 516 intptr_t* class_id); | 516 intptr_t* class_id); |
| 517 | 517 |
| 518 | 518 |
| 519 /** | 519 /** |
| 520 * Returns the superclass of the given class \cls. | |
| 521 * | |
| 522 * Requires there to be a current isolate. | |
| 523 * | |
| 524 * \return A handle to the class object. | |
| 525 */ | |
| 526 DART_EXPORT Dart_Handle Dart_GetSuperclass(Dart_Handle cls); | |
| 527 | |
| 528 | |
| 529 /** | |
| 530 * Returns the supertype of the given instantiated type \cls. | 520 * Returns the supertype of the given instantiated type \cls. |
| 531 * | 521 * |
| 532 * Requires there to be a current isolate. | 522 * Requires there to be a current isolate. |
| 533 * | 523 * |
| 534 * \return A handle to the type object. | 524 * \return A handle to the type object. |
| 535 */ | 525 */ |
| 536 DART_EXPORT Dart_Handle Dart_GetSupertype(Dart_Handle type); | 526 DART_EXPORT Dart_Handle Dart_GetSupertype(Dart_Handle type); |
| 537 | 527 |
| 538 | 528 |
| 539 /** | 529 /** |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 * \param request A REST-like string, which uses '/' to separate | 666 * \param request A REST-like string, which uses '/' to separate |
| 677 * parameters. The first parameter is always the status type. | 667 * parameters. The first parameter is always the status type. |
| 678 * | 668 * |
| 679 * \return The requested status as a JSON formatted string, with the | 669 * \return The requested status as a JSON formatted string, with the |
| 680 * contents defined by the status plug-in. The caller is responsible | 670 * contents defined by the status plug-in. The caller is responsible |
| 681 * for freeing this string. | 671 * for freeing this string. |
| 682 */ | 672 */ |
| 683 DART_EXPORT char* Dart_GetVmStatus(const char* request); | 673 DART_EXPORT char* Dart_GetVmStatus(const char* request); |
| 684 | 674 |
| 685 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 675 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |