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 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 /* | 1778 /* |
1779 * Returns the stored data (allocated using the delegate's | 1779 * Returns the stored data (allocated using the delegate's |
1780 * AllocateBufferMemory) and its size. This serializer should not be used once | 1780 * AllocateBufferMemory) and its size. This serializer should not be used once |
1781 * the buffer is released. The contents are undefined if a previous write has | 1781 * the buffer is released. The contents are undefined if a previous write has |
1782 * failed. | 1782 * failed. |
1783 */ | 1783 */ |
1784 V8_WARN_UNUSED_RESULT std::pair<uint8_t*, size_t> Release(); | 1784 V8_WARN_UNUSED_RESULT std::pair<uint8_t*, size_t> Release(); |
1785 | 1785 |
1786 /* | 1786 /* |
1787 * Marks an ArrayBuffer as havings its contents transferred out of band. | 1787 * Marks an ArrayBuffer as havings its contents transferred out of band. |
1788 * Pass the corresponding JSArrayBuffer in the deserializing context to | 1788 * Pass the corresponding ArrayBuffer in the deserializing context to |
1789 * ValueDeserializer::TransferArrayBuffer. | 1789 * ValueDeserializer::TransferArrayBuffer. |
1790 */ | 1790 */ |
1791 void TransferArrayBuffer(uint32_t transfer_id, | 1791 void TransferArrayBuffer(uint32_t transfer_id, |
1792 Local<ArrayBuffer> array_buffer); | 1792 Local<ArrayBuffer> array_buffer); |
1793 | 1793 |
1794 /* | 1794 /* |
1795 * Similar to TransferArrayBuffer, but for SharedArrayBuffer. | 1795 * Similar to TransferArrayBuffer, but for SharedArrayBuffer. |
1796 */ | 1796 */ |
1797 V8_DEPRECATE_SOON("Use Delegate::GetSharedArrayBufferId", | 1797 V8_DEPRECATE_SOON("Use Delegate::GetSharedArrayBufferId", |
1798 void TransferSharedArrayBuffer( | 1798 void TransferSharedArrayBuffer( |
(...skipping 8060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9859 */ | 9859 */ |
9860 | 9860 |
9861 | 9861 |
9862 } // namespace v8 | 9862 } // namespace v8 |
9863 | 9863 |
9864 | 9864 |
9865 #undef TYPE_CHECK | 9865 #undef TYPE_CHECK |
9866 | 9866 |
9867 | 9867 |
9868 #endif // INCLUDE_V8_H_ | 9868 #endif // INCLUDE_V8_H_ |
OLD | NEW |