diff options
author | Ryan <ry@tinyclouds.org> | 2009-08-13 13:52:47 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-08-13 13:52:47 +0200 |
commit | 79ff085c4a7e4951158912ee502eef807233540c (patch) | |
tree | fe1b933895caaff5bb98d3fbdb4581113862a3e9 /deps/v8/include | |
parent | 3b0408ec1cbd7872aaf347c93674c33deb36f03f (diff) | |
download | node-new-79ff085c4a7e4951158912ee502eef807233540c.tar.gz |
Upgrade v8 to 1.3.3
Diffstat (limited to 'deps/v8/include')
-rw-r--r-- | deps/v8/include/v8.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 87e71031c7..23c4425f86 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -901,6 +901,11 @@ class V8EXPORT String : public Primitive { */ 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); @@ -1099,6 +1104,12 @@ class V8EXPORT Object : public Value { Local<Value> GetPrototype(); /** + * Finds an instance of the given function template in the prototype + * chain. + */ + Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl); + + /** * Call builtin Object.prototype.toString on this object. * This is different from Value::ToString() that may call * user-defined toString function. This one does not. |