Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3137)

Unified Diff: ppapi/c/pp_stdint.h

Issue 6246117: Cleaning up and adding new docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/ppb.h » ('j') | ppapi/c/ppb.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_stdint.h
===================================================================
--- ppapi/c/pp_stdint.h (revision 74025)
+++ 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 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;
/**
* @}
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/ppb.h » ('j') | ppapi/c/ppb.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698