| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef INCLUDE_DART_API_H_ | 5 #ifndef INCLUDE_DART_API_H_ |
| 6 #define INCLUDE_DART_API_H_ | 6 #define INCLUDE_DART_API_H_ |
| 7 | 7 |
| 8 /** \mainpage Dart Embedding API Reference | 8 /** \mainpage Dart Embedding API Reference |
| 9 * | 9 * |
| 10 * Dart is a class-based programming language for creating structured | 10 * Dart is a class-based programming language for creating structured |
| (...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 kUint8, | 1658 kUint8, |
| 1659 kUint8Clamped, | 1659 kUint8Clamped, |
| 1660 kInt16, | 1660 kInt16, |
| 1661 kUint16, | 1661 kUint16, |
| 1662 kInt32, | 1662 kInt32, |
| 1663 kUint32, | 1663 kUint32, |
| 1664 kInt64, | 1664 kInt64, |
| 1665 kUint64, | 1665 kUint64, |
| 1666 kFloat32, | 1666 kFloat32, |
| 1667 kFloat64, | 1667 kFloat64, |
| 1668 kFloat32x4, |
| 1668 kInvalid | 1669 kInvalid |
| 1669 } Dart_TypedData_Type; | 1670 } Dart_TypedData_Type; |
| 1670 | 1671 |
| 1671 /** | 1672 /** |
| 1672 * Return type if this object is a TypedData object. | 1673 * Return type if this object is a TypedData object. |
| 1673 * | 1674 * |
| 1674 * \return kInvalid if the object is not a TypedData object or the appropriate | 1675 * \return kInvalid if the object is not a TypedData object or the appropriate |
| 1675 * Dart_TypedData_Type. | 1676 * Dart_TypedData_Type. |
| 1676 */ | 1677 */ |
| 1677 DART_EXPORT Dart_TypedData_Type Dart_GetTypeOfTypedData(Dart_Handle object); | 1678 DART_EXPORT Dart_TypedData_Type Dart_GetTypeOfTypedData(Dart_Handle object); |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2573 * | 2574 * |
| 2574 * \param object An object. | 2575 * \param object An object. |
| 2575 * \param peer A value to store in the peer field. | 2576 * \param peer A value to store in the peer field. |
| 2576 * | 2577 * |
| 2577 * \return Returns an error if 'object' is a subtype of Null, num, or | 2578 * \return Returns an error if 'object' is a subtype of Null, num, or |
| 2578 * bool. | 2579 * bool. |
| 2579 */ | 2580 */ |
| 2580 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); | 2581 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); |
| 2581 | 2582 |
| 2582 #endif // INCLUDE_DART_API_H_ | 2583 #endif // INCLUDE_DART_API_H_ |
| OLD | NEW |