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

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

Issue 10826116: Revert "Use platform-independent format specifiers when disassembling code objects." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/platform/globals.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 20 matching lines...) Expand all
31 typedef unsigned __int8 uint8_t; 31 typedef unsigned __int8 uint8_t;
32 typedef unsigned __int16 uint16_t; 32 typedef unsigned __int16 uint16_t;
33 typedef unsigned __int32 uint32_t; 33 typedef unsigned __int32 uint32_t;
34 typedef unsigned __int64 uint64_t; 34 typedef unsigned __int64 uint64_t;
35 #if defined(DART_SHARED_LIB) 35 #if defined(DART_SHARED_LIB)
36 #define DART_EXPORT DART_EXTERN_C __declspec(dllexport) 36 #define DART_EXPORT DART_EXTERN_C __declspec(dllexport)
37 #else 37 #else
38 #define DART_EXPORT DART_EXTERN_C 38 #define DART_EXPORT DART_EXTERN_C
39 #endif 39 #endif
40 #else 40 #else
41 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to
42 // enable platform independent printf format specifiers.
43 #ifndef __STDC_FORMAT_MACROS
44 #define __STDC_FORMAT_MACROS
45 #endif
46 #include <inttypes.h> 41 #include <inttypes.h>
47 #include <stdbool.h> 42 #include <stdbool.h>
48 #if __GNUC__ >= 4 43 #if __GNUC__ >= 4
49 #if defined(DART_SHARED_LIB) 44 #if defined(DART_SHARED_LIB)
50 #define DART_EXPORT DART_EXTERN_C __attribute__ ((visibility("default"))) 45 #define DART_EXPORT DART_EXTERN_C __attribute__ ((visibility("default")))
51 #else 46 #else
52 #define DART_EXPORT DART_EXTERN_C 47 #define DART_EXPORT DART_EXTERN_C
53 #endif 48 #endif
54 #else 49 #else
55 #error Tool chain not supported. 50 #error Tool chain not supported.
(...skipping 2555 matching lines...) Expand 10 before | Expand all | Expand 10 after
2611 2606
2612 typedef void (*Dart_FileWriterFunction)(const char* buffer, int64_t num_bytes); 2607 typedef void (*Dart_FileWriterFunction)(const char* buffer, int64_t num_bytes);
2613 2608
2614 // Support for generating symbol maps for use by the Linux perf tool. 2609 // Support for generating symbol maps for use by the Linux perf tool.
2615 DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function); 2610 DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function);
2616 2611
2617 // Support for generating flow graph compiler debugging output into a file. 2612 // Support for generating flow graph compiler debugging output into a file.
2618 DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function); 2613 DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function);
2619 2614
2620 #endif // INCLUDE_DART_API_H_ 2615 #endif // INCLUDE_DART_API_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/platform/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698