summaryrefslogtreecommitdiff
path: root/deps/v8/include
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2009-09-23 14:49:51 +0200
committerRyan Dahl <ry@tinyclouds.org>2009-09-23 14:49:51 +0200
commit2df13c73103d4bd95a5f4fec741e0ed2f17852f1 (patch)
tree138f3c8e1d03a67cc564dfec4ad90093cf70e410 /deps/v8/include
parentbe3dddeec9c970f5cc81b672a4cf034d917d450c (diff)
downloadnode-new-2df13c73103d4bd95a5f4fec741e0ed2f17852f1.tar.gz
Upgrade v8 to 1.3.13
Diffstat (limited to 'deps/v8/include')
-rw-r--r--deps/v8/include/v8.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h
index 24dc6d13f7..1a3177bb0d 100644
--- a/deps/v8/include/v8.h
+++ b/deps/v8/include/v8.h
@@ -1238,6 +1238,15 @@ class V8EXPORT Object : public Value {
bool SetHiddenValue(Handle<String> key, Handle<Value> value);
Local<Value> GetHiddenValue(Handle<String> key);
bool DeleteHiddenValue(Handle<String> key);
+
+ /**
+ * Returns true if this is an instance of an api function (one
+ * created from a function created from a function template) and has
+ * been modified since it was created. Note that this method is
+ * conservative and may return true for objects that haven't actually
+ * been modified.
+ */
+ bool IsDirty();
/**
* Clone this object with a fast but shallow copy. Values will point
@@ -1537,9 +1546,9 @@ enum AccessType {
/**
* Returns true if cross-context access should be allowed to the named
- * property with the given key on the global object.
+ * property with the given key on the host object.
*/
-typedef bool (*NamedSecurityCallback)(Local<Object> global,
+typedef bool (*NamedSecurityCallback)(Local<Object> host,
Local<Value> key,
AccessType type,
Local<Value> data);
@@ -1547,9 +1556,9 @@ typedef bool (*NamedSecurityCallback)(Local<Object> global,
/**
* Returns true if cross-context access should be allowed to the indexed
- * property with the given index on the global object.
+ * property with the given index on the host object.
*/
-typedef bool (*IndexedSecurityCallback)(Local<Object> global,
+typedef bool (*IndexedSecurityCallback)(Local<Object> host,
uint32_t index,
AccessType type,
Local<Value> data);