| 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,
|
| + 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,
|
| + const uint8_t* snapshot,
|
| void* callback_data,
|
| char** error);
|
| // TODO(turnidge): Document behavior when there is already a current
|
|
|