Chromium Code Reviews| Index: ppapi/c/pp_stdint.h |
| =================================================================== |
| --- ppapi/c/pp_stdint.h (revision 73808) |
| +++ ppapi/c/pp_stdint.h (working copy) |
| @@ -7,8 +7,9 @@ |
| /** |
| * @file |
| - * Provides a definition of C99 sized types |
| - * across different compilers. |
| + * This file provides a definition of C99 sized types |
| + * for Microsoft compilers. These definitions only apply |
| + * for trusted modules. |
| */ |
| /** |
| @@ -18,13 +19,28 @@ |
| */ |
| #if defined(_MSC_VER) |
| +/** This value represents a guaraneteed unsighed 8 bit integer */ |
|
dmichael(do not use this one)
2011/02/08 17:04:38
s/guaraneteed/guaranteed/
s/unsighed/unsigned/
(an
jond
2011/02/09 16:42:04
Done.
|
| typedef unsigned char uint8_t; |
| + |
| +/** This value represents a guaraneteed signed 8 bit integer */ |
| typedef signed char int8_t; |
| + |
| +/** This value represents a guaraneteed unsigned 16 bit short */ |
| typedef unsigned short uint16_t; |
| + |
| +/** This value represents a guaraneteed signed 16 bit short */ |
| typedef short int16_t; |
| + |
| +/** This value represents a guaraneteed unsigned 32 bit integer */ |
| typedef unsigned int uint32_t; |
| + |
| +/** This value represents a guaraneteed signed 32 bit integer */ |
| typedef int int32_t; |
| + |
| +/** This value represents a guaraneteed signed 64 bit integer */ |
| typedef __int64 int64_t; |
| + |
| +/** This value represents a guaraneteed unsigned 64 bit integer */ |
| typedef unsigned __int64 uint64_t; |
| /** |
| * @} |