| 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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1761 // TODO(turnidge): Consider renaming to NativeFunctionResolver or | 1761 // TODO(turnidge): Consider renaming to NativeFunctionResolver or |
| 1762 // NativeResolver. | 1762 // NativeResolver. |
| 1763 | 1763 |
| 1764 // --- Scripts and Libraries --- | 1764 // --- Scripts and Libraries --- |
| 1765 // TODO(turnidge): Finish documenting this section. | 1765 // TODO(turnidge): Finish documenting this section. |
| 1766 | 1766 |
| 1767 typedef enum { | 1767 typedef enum { |
| 1768 kLibraryTag = 0, | 1768 kLibraryTag = 0, |
| 1769 kImportTag, | 1769 kImportTag, |
| 1770 kSourceTag, | 1770 kSourceTag, |
| 1771 kCanonicalizeUrl, | 1771 kCanonicalizeUrl |
| 1772 } Dart_LibraryTag; | 1772 } Dart_LibraryTag; |
| 1773 | 1773 |
| 1774 // TODO(turnidge): Document. | 1774 // TODO(turnidge): Document. |
| 1775 typedef Dart_Handle (*Dart_LibraryTagHandler)(Dart_LibraryTag tag, | 1775 typedef Dart_Handle (*Dart_LibraryTagHandler)(Dart_LibraryTag tag, |
| 1776 Dart_Handle library, | 1776 Dart_Handle library, |
| 1777 Dart_Handle url, | 1777 Dart_Handle url, |
| 1778 Dart_Handle import_map); | 1778 Dart_Handle import_map); |
| 1779 | 1779 |
| 1780 /** | 1780 /** |
| 1781 * Loads the root script for the current isolate. | 1781 * Loads the root script for the current isolate. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 | 1850 |
| 1851 // --- Profiling support ---- | 1851 // --- Profiling support ---- |
| 1852 | 1852 |
| 1853 // External pprof support for gathering and dumping symbolic | 1853 // External pprof support for gathering and dumping symbolic |
| 1854 // information that can be used for better profile reports for | 1854 // information that can be used for better profile reports for |
| 1855 // dynamically generated code. | 1855 // dynamically generated code. |
| 1856 DART_EXPORT void Dart_InitPprofSupport(); | 1856 DART_EXPORT void Dart_InitPprofSupport(); |
| 1857 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); | 1857 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); |
| 1858 | 1858 |
| 1859 #endif // INCLUDE_DART_API_H_ | 1859 #endif // INCLUDE_DART_API_H_ |
| OLD | NEW |