| Index: include/v8.h
|
| ===================================================================
|
| --- include/v8.h (revision 7254)
|
| +++ include/v8.h (working copy)
|
| @@ -1709,7 +1709,12 @@
|
| */
|
| V8EXPORT Local<Object> CloneElementAt(uint32_t index);
|
|
|
| + /**
|
| + * Creates a JavaScript array with the given length. If the length
|
| + * is negative the returned array will have length 0.
|
| + */
|
| V8EXPORT static Local<Array> New(int length = 0);
|
| +
|
| static inline Array* Cast(Value* obj);
|
| private:
|
| V8EXPORT Array();
|
| @@ -2805,6 +2810,17 @@
|
| RetainedObjectInfo* info = NULL);
|
|
|
| /**
|
| + * Allows the host application to declare implicit references between
|
| + * the objects: if |parent| is alive, all |children| are alive too.
|
| + * After each garbage collection, all implicit references
|
| + * are removed. It is intended to be used in the before-garbage-collection
|
| + * callback function.
|
| + */
|
| + static void AddImplicitReferences(Persistent<Object> parent,
|
| + Persistent<Value>* children,
|
| + size_t length);
|
| +
|
| + /**
|
| * Initializes from snapshot if possible. Otherwise, attempts to
|
| * initialize from scratch. This function is called implicitly if
|
| * you use the API without calling it first.
|
|
|