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

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

Issue 8429027: Add an external array type to support typed arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: wrap another native, tweak whitespace Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 VM_GLOBALS_H_ 5 #ifndef VM_GLOBALS_H_
6 #define VM_GLOBALS_H_ 6 #define VM_GLOBALS_H_
7 7
8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf. 8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf.
9 #ifndef __STDC_FORMAT_MACROS 9 #ifndef __STDC_FORMAT_MACROS
10 #define __STDC_FORMAT_MACROS 10 #define __STDC_FORMAT_MACROS
(...skipping 15 matching lines...) Expand all
26 #undef PARITY_EVEN 26 #undef PARITY_EVEN
27 #undef PARITY_ODD 27 #undef PARITY_ODD
28 #undef near 28 #undef near
29 #endif 29 #endif
30 30
31 #if !defined(_WIN32) 31 #if !defined(_WIN32)
32 #include <inttypes.h> 32 #include <inttypes.h>
33 #include <stdint.h> 33 #include <stdint.h>
34 #endif 34 #endif
35 35
36 #include <float.h>
36 #include <math.h> 37 #include <math.h>
37 #include <openssl/bn.h> 38 #include <openssl/bn.h>
38 #include <stdarg.h> 39 #include <stdarg.h>
39 #include <stddef.h> 40 #include <stddef.h>
40 #include <stdio.h> 41 #include <stdio.h>
41 #include <stdlib.h> 42 #include <stdlib.h>
42 #include <string.h> 43 #include <string.h>
43 #include <sys/types.h> 44 #include <sys/types.h>
44 45
45 #if defined(_WIN32) 46 #if defined(_WIN32)
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // contants are 16 byte aligned. 328 // contants are 16 byte aligned.
328 #if defined(TARGET_OS_WINDOWS) 329 #if defined(TARGET_OS_WINDOWS)
329 #define ALIGN16 __declspec(align(16)) 330 #define ALIGN16 __declspec(align(16))
330 #else 331 #else
331 #define ALIGN16 __attribute__((aligned(16))) 332 #define ALIGN16 __attribute__((aligned(16)))
332 #endif 333 #endif
333 334
334 } // namespace dart 335 } // namespace dart
335 336
336 #endif // VM_GLOBALS_H_ 337 #endif // VM_GLOBALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698