Chromium Code Reviews| Index: runtime/include/dart_api.h | 
| =================================================================== | 
| --- runtime/include/dart_api.h (revision 3366) | 
| +++ runtime/include/dart_api.h (working copy) | 
| @@ -245,7 +245,9 @@ | 
| * In the case of errors the caller is responsible for freeing the buffer | 
| * returned in error containing an error string. | 
| */ | 
| -typedef bool (*Dart_IsolateCreateCallback)(void* callback_data, char** error); | 
| +typedef bool (*Dart_IsolateCreateCallback)(const char* name_prefix, | 
| 
 
Ivan Posva
2012/01/20 16:28:29
name_prefix and callback_data are not documented a
 
 | 
| + void* callback_data, | 
| + char** error); | 
| /** | 
| * An isolate interrupt callback function. | 
| @@ -323,7 +325,8 @@ | 
| * \return The new isolate is returned. May be NULL if an error | 
| * occurs duing isolate initialization. | 
| */ | 
| -DART_EXPORT Dart_Isolate Dart_CreateIsolate(const uint8_t* snapshot, | 
| +DART_EXPORT Dart_Isolate Dart_CreateIsolate(const char* name_prefix, | 
| 
 
Ivan Posva
2012/01/20 16:28:29
name_prefix and callback_data are not documented.
 
 | 
| + const uint8_t* snapshot, | 
| void* callback_data, | 
| char** error); | 
| // TODO(turnidge): Document behavior when there is already a current |