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

Side by Side Diff: include/dart_api.h

Issue 8574075: Fix prototype of Dart_Initialize. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years, 1 month 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 | « bin/main.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 /** 249 /**
250 * Initializes the VM with the given commmand line flags. 250 * Initializes the VM with the given commmand line flags.
251 * 251 *
252 * \param argc The length of the arguments array. 252 * \param argc The length of the arguments array.
253 * \param argv An array of arguments. 253 * \param argv An array of arguments.
254 * \param callback A function to be called during isolate creation. 254 * \param callback A function to be called during isolate creation.
255 * See Dart_IsolateInitCallback. 255 * See Dart_IsolateInitCallback.
256 * 256 *
257 * \return True if initialization is successful. 257 * \return True if initialization is successful.
258 */ 258 */
259 DART_EXPORT bool Dart_Initialize(int argc, char** argv, 259 DART_EXPORT bool Dart_Initialize(int argc, const char** argv,
260 Dart_IsolateInitCallback callback); 260 Dart_IsolateInitCallback callback);
261 261
262 /** 262 /**
263 * Returns true if the named VM flag is set. 263 * Returns true if the named VM flag is set.
264 */ 264 */
265 DART_EXPORT bool Dart_IsVMFlagSet(const char* flag_name); 265 DART_EXPORT bool Dart_IsVMFlagSet(const char* flag_name);
266 266
267 // --- Isolates --- 267 // --- Isolates ---
268 268
269 /** 269 /**
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1180
1181 // --- Profiling support ---- 1181 // --- Profiling support ----
1182 1182
1183 // External pprof support for gathering and dumping symbolic 1183 // External pprof support for gathering and dumping symbolic
1184 // information that can be used for better profile reports for 1184 // information that can be used for better profile reports for
1185 // dynamically generated code. 1185 // dynamically generated code.
1186 DART_EXPORT void Dart_InitPprofSupport(); 1186 DART_EXPORT void Dart_InitPprofSupport();
1187 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); 1187 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
1188 1188
1189 #endif // INCLUDE_DART_API_H_ 1189 #endif // INCLUDE_DART_API_H_
OLDNEW
« no previous file with comments | « bin/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698