diff options
Diffstat (limited to 'ppapi/c/pp_stdint.h')
-rw-r--r-- | ppapi/c/pp_stdint.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ppapi/c/pp_stdint.h b/ppapi/c/pp_stdint.h index 385fce4..ed397f5 100644 --- a/ppapi/c/pp_stdint.h +++ b/ppapi/c/pp_stdint.h @@ -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 guaranteed unsigned 8 bit integer. */ typedef unsigned char uint8_t; + +/** This value represents a guaranteed signed 8 bit integer. */ typedef signed char int8_t; + +/** This value represents a guaranteed unsigned 16 bit short. */ typedef unsigned short uint16_t; + +/** This value represents a guaranteed signed 16 bit short. */ typedef short int16_t; + +/** This value represents a guaranteed unsigned 32 bit integer. */ typedef unsigned int uint32_t; + +/** This value represents a guaranteed signed 32 bit integer. */ typedef int int32_t; + +/** This value represents a guaranteed signed 64 bit integer. */ typedef __int64 int64_t; + +/** This value represents a guaranteed unsigned 64 bit integer. */ typedef unsigned __int64 uint64_t; /** * @} |