Chromium Code Reviews| Index: include/v8.h |
| =================================================================== |
| --- include/v8.h (revision 2663) |
| +++ include/v8.h (working copy) |
| @@ -901,6 +901,11 @@ |
| */ |
| bool MakeExternal(ExternalAsciiStringResource* resource); |
| + /** |
| + * Returns true if this string can be made external. |
| + */ |
| + bool CanMakeExternal(); |
| + |
| /** Creates an undetectable string from the supplied ascii or utf-8 data.*/ |
| static Local<String> NewUndetectable(const char* data, int length = -1); |