| Index: runtime/include/dart_api.h
|
| diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
|
| index cebe69dc93b1a8f64ca686bc2bd3662737d166b1..822f8e45a9653987c1ad47096fabbe86e1f34332 100755
|
| --- a/runtime/include/dart_api.h
|
| +++ b/runtime/include/dart_api.h
|
| @@ -712,6 +712,24 @@ DART_EXPORT Dart_Handle Dart_NewString16(const uint16_t* codepoints,
|
| DART_EXPORT Dart_Handle Dart_NewString32(const uint32_t* codepoints,
|
| intptr_t length);
|
|
|
| +
|
| +typedef void (*Dart_PeerFinalizer)(void* peer);
|
| +
|
| +DART_EXPORT Dart_Handle Dart_NewExternalString8(const uint8_t* codepoints,
|
| + intptr_t length,
|
| + void* peer,
|
| + Dart_PeerFinalizer callback);
|
| +
|
| +DART_EXPORT Dart_Handle Dart_NewExternalString16(const uint16_t* codepoints,
|
| + intptr_t length,
|
| + void* peer,
|
| + Dart_PeerFinalizer callback);
|
| +
|
| +DART_EXPORT Dart_Handle Dart_NewExternalString32(const uint32_t* codepoints,
|
| + intptr_t length,
|
| + void* peer,
|
| + Dart_PeerFinalizer callback);
|
| +
|
| /**
|
| * Gets the codepoints from a String.
|
| *
|
|
|