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 5143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5154 | 5154 |
5155 void SetObjectGroupId(internal::Object** object, UniqueId id); | 5155 void SetObjectGroupId(internal::Object** object, UniqueId id); |
5156 void SetReferenceFromGroup(UniqueId id, internal::Object** object); | 5156 void SetReferenceFromGroup(UniqueId id, internal::Object** object); |
5157 void SetReference(internal::Object** parent, internal::Object** child); | 5157 void SetReference(internal::Object** parent, internal::Object** child); |
5158 void CollectAllGarbage(const char* gc_reason); | 5158 void CollectAllGarbage(const char* gc_reason); |
5159 }; | 5159 }; |
5160 | 5160 |
5161 class V8_EXPORT StartupData { | 5161 class V8_EXPORT StartupData { |
5162 public: | 5162 public: |
5163 const char* data; | 5163 const char* data; |
5164 int compressed_size; // TODO(yangguo): remove this. | |
5165 int raw_size; | 5164 int raw_size; |
5166 }; | 5165 }; |
5167 | 5166 |
5168 | 5167 |
5169 /** | 5168 /** |
5170 * EntropySource is used as a callback function when v8 needs a source | 5169 * EntropySource is used as a callback function when v8 needs a source |
5171 * of entropy. | 5170 * of entropy. |
5172 */ | 5171 */ |
5173 typedef bool (*EntropySource)(unsigned char* buffer, size_t length); | 5172 typedef bool (*EntropySource)(unsigned char* buffer, size_t length); |
5174 | 5173 |
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7378 */ | 7377 */ |
7379 | 7378 |
7380 | 7379 |
7381 } // namespace v8 | 7380 } // namespace v8 |
7382 | 7381 |
7383 | 7382 |
7384 #undef TYPE_CHECK | 7383 #undef TYPE_CHECK |
7385 | 7384 |
7386 | 7385 |
7387 #endif // V8_H_ | 7386 #endif // V8_H_ |
OLD | NEW |