OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 | 1231 |
1232 /** | 1232 /** |
1233 * Access hidden properties on JavaScript objects. These properties are | 1233 * Access hidden properties on JavaScript objects. These properties are |
1234 * hidden from the executing JavaScript and only accessible through the V8 | 1234 * hidden from the executing JavaScript and only accessible through the V8 |
1235 * C++ API. Hidden properties introduced by V8 internally (for example the | 1235 * C++ API. Hidden properties introduced by V8 internally (for example the |
1236 * identity hash) are prefixed with "v8::". | 1236 * identity hash) are prefixed with "v8::". |
1237 */ | 1237 */ |
1238 bool SetHiddenValue(Handle<String> key, Handle<Value> value); | 1238 bool SetHiddenValue(Handle<String> key, Handle<Value> value); |
1239 Local<Value> GetHiddenValue(Handle<String> key); | 1239 Local<Value> GetHiddenValue(Handle<String> key); |
1240 bool DeleteHiddenValue(Handle<String> key); | 1240 bool DeleteHiddenValue(Handle<String> key); |
| 1241 |
| 1242 /** |
| 1243 * Returns true if this is an instance of an api function (one |
| 1244 * created from a function created from a function template) and has |
| 1245 * been modified since it was created. Note that this method is |
| 1246 * conservative and may return true for objects that haven't actually |
| 1247 * been modified. |
| 1248 */ |
| 1249 bool IsDirty(); |
1241 | 1250 |
1242 /** | 1251 /** |
1243 * Clone this object with a fast but shallow copy. Values will point | 1252 * Clone this object with a fast but shallow copy. Values will point |
1244 * to the same values as the original object. | 1253 * to the same values as the original object. |
1245 */ | 1254 */ |
1246 Local<Object> Clone(); | 1255 Local<Object> Clone(); |
1247 | 1256 |
1248 /** | 1257 /** |
1249 * Set the backing store of the indexed properties to be managed by the | 1258 * Set the backing store of the indexed properties to be managed by the |
1250 * embedding layer. Access to the indexed properties will follow the rules | 1259 * embedding layer. Access to the indexed properties will follow the rules |
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3080 | 3089 |
3081 } // namespace v8 | 3090 } // namespace v8 |
3082 | 3091 |
3083 | 3092 |
3084 #undef V8EXPORT | 3093 #undef V8EXPORT |
3085 #undef V8EXPORT_INLINE | 3094 #undef V8EXPORT_INLINE |
3086 #undef TYPE_CHECK | 3095 #undef TYPE_CHECK |
3087 | 3096 |
3088 | 3097 |
3089 #endif // V8_H_ | 3098 #endif // V8_H_ |
OLD | NEW |