| 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 |
| 6 /* From pp_stdint.idl modified Mon Jul 18 17:53:53 2011. */ |
| 7 |
| 5 #ifndef PPAPI_C_PP_STDINT_H_ | 8 #ifndef PPAPI_C_PP_STDINT_H_ |
| 6 #define PPAPI_C_PP_STDINT_H_ | 9 #define PPAPI_C_PP_STDINT_H_ |
| 7 | 10 |
| 11 #include "ppapi/c/pp_macros.h" |
| 12 |
| 8 /** | 13 /** |
| 9 * @file | 14 * @file |
| 10 * This file provides a definition of C99 sized types | 15 * This file provides a definition of C99 sized types |
| 11 * for Microsoft compilers. These definitions only apply | 16 * for Microsoft compilers. These definitions only apply |
| 12 * for trusted modules. | 17 * for trusted modules. |
| 13 */ | 18 */ |
| 14 | 19 |
| 20 |
| 21 |
| 15 /** | 22 /** |
| 16 * | 23 * |
| 17 * @addtogroup Typedefs | 24 * @addtogroup Typedefs |
| 18 * @{ | 25 * @{ |
| 19 */ | 26 */ |
| 20 #if defined(_MSC_VER) | 27 #if defined(_MSC_VER) |
| 21 | 28 |
| 22 /** This value represents a guaranteed unsigned 8 bit integer. */ | 29 /** This value represents a guaranteed unsigned 8 bit integer. */ |
| 23 typedef unsigned char uint8_t; | 30 typedef unsigned char uint8_t; |
| 24 | 31 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 42 | 49 |
| 43 /** This value represents a guaranteed unsigned 64 bit integer. */ | 50 /** This value represents a guaranteed unsigned 64 bit integer. */ |
| 44 typedef unsigned __int64 uint64_t; | 51 typedef unsigned __int64 uint64_t; |
| 45 | 52 |
| 46 #else | 53 #else |
| 47 #include <stdint.h> | 54 #include <stdint.h> |
| 48 #endif | 55 #endif |
| 49 /** | 56 /** |
| 50 * @} | 57 * @} |
| 51 */ | 58 */ |
| 59 |
| 52 #endif /* PPAPI_C_PP_STDINT_H_ */ | 60 #endif /* PPAPI_C_PP_STDINT_H_ */ |
| 61 |
| OLD | NEW |