| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
| 6 * | 6 * |
| 7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
| 8 * | 8 * |
| 9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
| 10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
| (...skipping 4809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4820 * this template. | 4820 * this template. |
| 4821 */ | 4821 */ |
| 4822 int InternalFieldCount(); | 4822 int InternalFieldCount(); |
| 4823 | 4823 |
| 4824 /** | 4824 /** |
| 4825 * Sets the number of internal fields for objects generated from | 4825 * Sets the number of internal fields for objects generated from |
| 4826 * this template. | 4826 * this template. |
| 4827 */ | 4827 */ |
| 4828 void SetInternalFieldCount(int value); | 4828 void SetInternalFieldCount(int value); |
| 4829 | 4829 |
| 4830 /** |
| 4831 * Returns true if the object will be an immutable prototype exotic object. |
| 4832 */ |
| 4833 bool ImmutableProto(); |
| 4834 |
| 4835 /** |
| 4836 * Makes the ObjectTempate for an immutable prototype exotic object, with an |
| 4837 * immutable __proto__. |
| 4838 */ |
| 4839 void SetImmutableProto(); |
| 4840 |
| 4830 private: | 4841 private: |
| 4831 ObjectTemplate(); | 4842 ObjectTemplate(); |
| 4832 static Local<ObjectTemplate> New(internal::Isolate* isolate, | 4843 static Local<ObjectTemplate> New(internal::Isolate* isolate, |
| 4833 Local<FunctionTemplate> constructor); | 4844 Local<FunctionTemplate> constructor); |
| 4834 friend class FunctionTemplate; | 4845 friend class FunctionTemplate; |
| 4835 }; | 4846 }; |
| 4836 | 4847 |
| 4837 | 4848 |
| 4838 /** | 4849 /** |
| 4839 * A Signature specifies which receiver is valid for a function. | 4850 * A Signature specifies which receiver is valid for a function. |
| (...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8895 */ | 8906 */ |
| 8896 | 8907 |
| 8897 | 8908 |
| 8898 } // namespace v8 | 8909 } // namespace v8 |
| 8899 | 8910 |
| 8900 | 8911 |
| 8901 #undef TYPE_CHECK | 8912 #undef TYPE_CHECK |
| 8902 | 8913 |
| 8903 | 8914 |
| 8904 #endif // INCLUDE_V8_H_ | 8915 #endif // INCLUDE_V8_H_ |
| OLD | NEW |