| 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 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 // TODO(turnidge): Rename to Dart_LibrarySetNativeResolver? | 2108 // TODO(turnidge): Rename to Dart_LibrarySetNativeResolver? |
| 2109 | 2109 |
| 2110 // --- Profiling support ---- | 2110 // --- Profiling support ---- |
| 2111 | 2111 |
| 2112 // External pprof support for gathering and dumping symbolic | 2112 // External pprof support for gathering and dumping symbolic |
| 2113 // information that can be used for better profile reports for | 2113 // information that can be used for better profile reports for |
| 2114 // dynamically generated code. | 2114 // dynamically generated code. |
| 2115 DART_EXPORT void Dart_InitPprofSupport(); | 2115 DART_EXPORT void Dart_InitPprofSupport(); |
| 2116 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); | 2116 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); |
| 2117 | 2117 |
| 2118 // Support for generating flow graph compiler debugging output into a file. |
| 2119 typedef void (*FileWriterFunction)(const char* buffer, int64_t num_bytes); |
| 2120 DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function); |
| 2121 |
| 2118 #endif // INCLUDE_DART_API_H_ | 2122 #endif // INCLUDE_DART_API_H_ |
| OLD | NEW |