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

Unified Diff: ppapi/c/ppb_core.h

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: static_cast and header order Created 9 years, 9 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/ppb_audio.h ('k') | ppapi/c/ppb_url_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_core.h
diff --git a/ppapi/c/ppb_core.h b/ppapi/c/ppb_core.h
index 6571db008050769ccfe19a826563dd9515d77bde..59efc246a97b519eaf4e8b20895956889a272d59 100644
--- a/ppapi/c/ppb_core.h
+++ b/ppapi/c/ppb_core.h
@@ -13,7 +13,7 @@
struct PP_CompletionCallback;
-#define PPB_CORE_INTERFACE "PPB_Core;0.3"
+#define PPB_CORE_INTERFACE "PPB_Core;0.4"
/**
* @file
@@ -54,11 +54,11 @@ struct PPB_Core {
/**
* MemAlloc is a pointer to a function that allocate memory.
*
- * @param[in] num_bytes A size_t number of bytes to allocate.
+ * @param[in] num_bytes A number of bytes to allocate.
* @return A pointer to the memory if successful, NULL If the
* allocation fails.
*/
- void* (*MemAlloc)(size_t num_bytes);
+ void* (*MemAlloc)(uint32_t num_bytes);
/**
* MemFree is a pointer to a function that deallocates memory.
« no previous file with comments | « ppapi/c/ppb_audio.h ('k') | ppapi/c/ppb_url_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698