Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 6060) |
+++ include/v8.h (working copy) |
@@ -1355,6 +1355,14 @@ |
V8EXPORT double NumberValue() const; |
static inline Date* Cast(v8::Value* obj); |
+ |
+ /** |
Søren Thygesen Gjesse
2010/12/17 10:54:55
Please start the comment with something like this
marklam
2010/12/17 11:12:29
Will do. I do have one concern with not knowing w
|
+ * Resets the Date cache for the current context so that date/time |
+ * changes due to daylight savings, or timezone changes would be |
+ * reflected in the Date object. |
+ */ |
+ V8EXPORT static void ResetCache(); |
Søren Thygesen Gjesse
2010/12/17 10:54:55
I think the name ResetCache here is a bit to low-l
marklam
2010/12/17 11:12:29
The implementation is really a reset of all values
|
+ |
private: |
V8EXPORT static void CheckCast(v8::Value* obj); |
}; |