| 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 /** Standard Ints. */ |
| 20 int8_t; |
| 21 int16_t; |
| 22 int32_t; |
| 23 int64_t; |
| 24 uint8_t; |
| 25 uint16_t; |
| 26 uint32_t; |
| 27 uint64_t; |
| 28 /** Small and large floats. */ |
| 29 double_t; |
| 30 float_t; |
| 31 |
| 32 /** Native file handle (int). */ |
| 33 handle_t; |
| 34 |
| 35 /** Interface object (void *). */ |
| 36 interface_t; |
| 37 |
| 38 /** Used for padding, should be (u)int8_t */ |
| 39 char; |
| 40 |
| 41 /** Pointer to memory (void *). */ |
| 42 mem_t; |
| 43 |
| 44 /** Pointer to null terminated string (char *). */ |
| 45 str_t; |
| 46 |
| 47 /** No return value. */ |
| 48 void; |
| 49 }; |
| 50 |
| 51 #inline c |
| 13 | 52 |
| 14 /** | 53 /** |
| 15 * | 54 * |
| 16 * @addtogroup Typedefs | 55 * @addtogroup Typedefs |
| 17 * @{ | 56 * @{ |
| 18 */ | 57 */ |
| 19 #if defined(_MSC_VER) | 58 #if defined(_MSC_VER) |
| 20 | 59 |
| 21 /** This value represents a guaranteed unsigned 8 bit integer. */ | 60 /** This value represents a guaranteed unsigned 8 bit integer. */ |
| 22 typedef unsigned char uint8_t; | 61 typedef unsigned char uint8_t; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 | 83 |
| 45 #else | 84 #else |
| 46 #include <stdint.h> | 85 #include <stdint.h> |
| 47 #endif | 86 #endif |
| 48 /** | 87 /** |
| 49 * @} | 88 * @} |
| 50 */ | 89 */ |
| 51 | 90 |
| 52 #endinl | 91 #endinl |
| 53 | 92 |
| OLD | NEW |