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

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

Issue 10379018: Revert "Revert "Implement {Int,Uint}{8,16,32,64} and Float{32,64} typed arrays."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « runtime/bin/string_stream.dart ('k') | runtime/lib/byte_array.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 struct Dart_CObject { 685 struct Dart_CObject {
686 enum Type { 686 enum Type {
687 kNull = 0, 687 kNull = 0,
688 kBool, 688 kBool,
689 kInt32, 689 kInt32,
690 kInt64, 690 kInt64,
691 kBigint, 691 kBigint,
692 kDouble, 692 kDouble,
693 kString, 693 kString,
694 kArray, 694 kArray,
695 kByteArray, 695 kUint8Array,
Bill Hesse 2012/05/07 13:14:59 This name has been changed, but the as_byte_array
Søren Gjesse 2012/05/07 14:06:18 As far as I can see we need to support all of the
Søren Gjesse 2012/05/07 14:11:54 Opened http://code.google.com/p/dart/issues/detail
696 kNumberOfTypes 696 kNumberOfTypes
697 }; 697 };
698 Type type; 698 Type type;
699 union { 699 union {
700 bool as_bool; 700 bool as_bool;
701 int32_t as_int32; 701 int32_t as_int32;
702 int64_t as_int64; 702 int64_t as_int64;
703 double as_double; 703 double as_double;
704 char* as_string; 704 char* as_string;
705 char* as_bigint; 705 char* as_bigint;
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2007 2007
2008 // --- Profiling support ---- 2008 // --- Profiling support ----
2009 2009
2010 // External pprof support for gathering and dumping symbolic 2010 // External pprof support for gathering and dumping symbolic
2011 // information that can be used for better profile reports for 2011 // information that can be used for better profile reports for
2012 // dynamically generated code. 2012 // dynamically generated code.
2013 DART_EXPORT void Dart_InitPprofSupport(); 2013 DART_EXPORT void Dart_InitPprofSupport();
2014 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); 2014 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
2015 2015
2016 #endif // INCLUDE_DART_API_H_ 2016 #endif // INCLUDE_DART_API_H_
OLDNEW
« no previous file with comments | « runtime/bin/string_stream.dart ('k') | runtime/lib/byte_array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698