Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: runtime/include/dart_api.h

Issue 15018011: dart:io | Add FileSystemEntity.stat() and FileStat class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Windows failures. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1803 /** 1803 /**
1804 * Releases access to the internal data address that was acquired earlier using 1804 * Releases access to the internal data address that was acquired earlier using
1805 * Dart_TypedDataAcquireData. 1805 * Dart_TypedDataAcquireData.
1806 * 1806 *
1807 * \param object The typed data object whose internal data address is to be 1807 * \param object The typed data object whose internal data address is to be
1808 * released. 1808 * released.
1809 * 1809 *
1810 * \return Success if the internal data address is released successfully. 1810 * \return Success if the internal data address is released successfully.
1811 * Otherwise, returns an error handle. 1811 * Otherwise, returns an error handle.
1812 */ 1812 */
1813 DART_EXPORT Dart_Handle Dart_TypedDataReleaseData(Dart_Handle array); 1813 DART_EXPORT Dart_Handle Dart_TypedDataReleaseData(Dart_Handle object);
1814 1814
1815 1815
1816 // --- Closures --- 1816 // --- Closures ---
1817 1817
1818 /** 1818 /**
1819 * Is this object a Closure? 1819 * Is this object a Closure?
1820 */ 1820 */
1821 DART_EXPORT bool Dart_IsClosure(Dart_Handle object); 1821 DART_EXPORT bool Dart_IsClosure(Dart_Handle object);
1822 1822
1823 /** 1823 /**
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
2635 * 2635 *
2636 * \param object An object. 2636 * \param object An object.
2637 * \param peer A value to store in the peer field. 2637 * \param peer A value to store in the peer field.
2638 * 2638 *
2639 * \return Returns an error if 'object' is a subtype of Null, num, or 2639 * \return Returns an error if 'object' is a subtype of Null, num, or
2640 * bool. 2640 * bool.
2641 */ 2641 */
2642 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); 2642 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer);
2643 2643
2644 #endif // INCLUDE_DART_API_H_ 2644 #endif // INCLUDE_DART_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698