Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * This file provides a definition of C99 sized types | 7 * This file provides a definition of C99 sized types |
| 8 * for Microsoft compilers. These definitions only apply | 8 * for Microsoft compilers. These definitions only apply |
| 9 * for trusted modules. | 9 * for trusted modules. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #inline | 12 label Chrome { |
| 13 M13 = 0.0, | |
| 14 M14 = 1.0 | |
| 15 }; | |
| 16 | |
| 17 [version=0.0] | |
| 18 describe { | |
| 19 int8_t; | |
| 20 int16_t; | |
| 21 int32_t; | |
| 22 int64_t; | |
| 23 uint8_t; | |
| 24 uint16_t; | |
| 25 uint32_t; | |
| 26 uint64_t; | |
| 27 double_t; | |
| 28 float_t; | |
| 29 handle_t; | |
| 30 interface_t; | |
| 31 char; | |
| 32 mem_t; | |
| 33 str_t; | |
| 34 void; | |
|
dmichael (off chromium)
2011/07/19 17:49:01
What are these ones from double_t->void for? Assum
noelallen1
2011/07/19 20:35:24
Done.
| |
| 35 }; | |
| 36 | |
| 37 #inline c | |
| 13 | 38 |
| 14 /** | 39 /** |
| 15 * | 40 * |
| 16 * @addtogroup Typedefs | 41 * @addtogroup Typedefs |
| 17 * @{ | 42 * @{ |
| 18 */ | 43 */ |
| 19 #if defined(_MSC_VER) | 44 #if defined(_MSC_VER) |
| 20 | 45 |
| 21 /** This value represents a guaranteed unsigned 8 bit integer. */ | 46 /** This value represents a guaranteed unsigned 8 bit integer. */ |
| 22 typedef unsigned char uint8_t; | 47 typedef unsigned char uint8_t; |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 44 | 69 |
| 45 #else | 70 #else |
| 46 #include <stdint.h> | 71 #include <stdint.h> |
| 47 #endif | 72 #endif |
| 48 /** | 73 /** |
| 49 * @} | 74 * @} |
| 50 */ | 75 */ |
| 51 | 76 |
| 52 #endinl | 77 #endinl |
| 53 | 78 |
| OLD | NEW |