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

Side by Side Diff: runtime/platform/globals.h

Issue 1140263005: Revert "Hide Isolate pointer from embedder" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/vm/benchmark_test.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 PLATFORM_GLOBALS_H_ 5 #ifndef PLATFORM_GLOBALS_H_
6 #define PLATFORM_GLOBALS_H_ 6 #define PLATFORM_GLOBALS_H_
7 7
8 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to 8 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to
9 // enable platform independent printf format specifiers. 9 // enable platform independent printf format specifiers.
10 #ifndef __STDC_FORMAT_MACROS 10 #ifndef __STDC_FORMAT_MACROS
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 266
267 // Short form printf format specifiers 267 // Short form printf format specifiers
268 #define Pd PRIdPTR 268 #define Pd PRIdPTR
269 #define Pu PRIuPTR 269 #define Pu PRIuPTR
270 #define Px PRIxPTR 270 #define Px PRIxPTR
271 #define Pd64 PRId64 271 #define Pd64 PRId64
272 #define Pu64 PRIu64 272 #define Pu64 PRIu64
273 #define Px64 PRIx64 273 #define Px64 PRIx64
274 274
275
275 // Suffixes for 64-bit integer literals. 276 // Suffixes for 64-bit integer literals.
276 #ifdef _MSC_VER 277 #ifdef _MSC_VER
277 #define DART_INT64_C(x) x##I64 278 #define DART_INT64_C(x) x##I64
278 #define DART_UINT64_C(x) x##UI64 279 #define DART_UINT64_C(x) x##UI64
279 #else 280 #else
280 #define DART_INT64_C(x) x##LL 281 #define DART_INT64_C(x) x##LL
281 #define DART_UINT64_C(x) x##ULL 282 #define DART_UINT64_C(x) x##ULL
282 #endif 283 #endif
283 284
284 // Replace calls to strtoll with _strtoi64 on Windows. 285 // Replace calls to strtoll with _strtoi64 on Windows.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 // should be counted from two, not one." 544 // should be counted from two, not one."
544 #define PRINTF_ATTRIBUTE(string_index, first_to_check) \ 545 #define PRINTF_ATTRIBUTE(string_index, first_to_check) \
545 __attribute__((__format__(__printf__, string_index, first_to_check))) 546 __attribute__((__format__(__printf__, string_index, first_to_check)))
546 #else 547 #else
547 #define PRINTF_ATTRIBUTE(string_index, first_to_check) 548 #define PRINTF_ATTRIBUTE(string_index, first_to_check)
548 #endif 549 #endif
549 550
550 } // namespace dart 551 } // namespace dart
551 552
552 #endif // PLATFORM_GLOBALS_H_ 553 #endif // PLATFORM_GLOBALS_H_
OLDNEW
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/vm/benchmark_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698