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

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

Issue 10383179: Start 'fuzzing' of dart:io APIs and fix first issue found. (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 | « no previous file | runtime/vm/dart_api_message.h » ('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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kUint8Array, 695 kUint8Array,
696 kUnsupported,
696 kNumberOfTypes 697 kNumberOfTypes
697 }; 698 };
698 Type type; 699 Type type;
699 union { 700 union {
700 bool as_bool; 701 bool as_bool;
701 int32_t as_int32; 702 int32_t as_int32;
702 int64_t as_int64; 703 int64_t as_int64;
703 double as_double; 704 double as_double;
704 char* as_string; 705 char* as_string;
705 char* as_bigint; 706 char* as_bigint;
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 2023
2023 // --- Profiling support ---- 2024 // --- Profiling support ----
2024 2025
2025 // External pprof support for gathering and dumping symbolic 2026 // External pprof support for gathering and dumping symbolic
2026 // information that can be used for better profile reports for 2027 // information that can be used for better profile reports for
2027 // dynamically generated code. 2028 // dynamically generated code.
2028 DART_EXPORT void Dart_InitPprofSupport(); 2029 DART_EXPORT void Dart_InitPprofSupport();
2029 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); 2030 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
2030 2031
2031 #endif // INCLUDE_DART_API_H_ 2032 #endif // INCLUDE_DART_API_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698