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

Unified Diff: ppapi/c/ppb_core.h

Issue 7349016: Added versioning for PPB_Core::MemAlloc and MemFree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on comments from dmichael Created 9 years, 5 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 | « no previous file | ppapi/cpp/core.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 50da6dbc7f2541728168935b340a38fc9a4361e8..964d44281b154a9992cd2d6c71e879690eefa042 100644
--- a/ppapi/c/ppb_core.h
+++ b/ppapi/c/ppb_core.h
@@ -12,8 +12,8 @@
struct PP_CompletionCallback;
-#define PPB_CORE_INTERFACE_0_5 "PPB_Core;0.5"
-#define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_5
+#define PPB_CORE_INTERFACE_1_0 "PPB_Core;1.0"
+#define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_1_0
/**
* @file
@@ -49,24 +49,6 @@ struct PPB_Core {
void (*ReleaseResource)(PP_Resource resource);
/**
- * MemAlloc() allocates memory.
- *
- * @param[in] num_bytes A number of bytes to allocate.
- *
- * @return A pointer to the memory if successful, <code>NULL</code> If the
- * allocation fails.
- */
- void* (*MemAlloc)(uint32_t num_bytes);
-
- /**
- * <code>MemFree()</code> deallocates memory.
- *
- * @param[in] ptr A pointer to the memory to deallocate. It is safe to
- * pass <code>NULL</code> to this function.
- */
- void (*MemFree)(void* ptr);
-
- /**
* GetTime() returns the "wall clock time" according to the
* browser.
*
« no previous file with comments | « no previous file | ppapi/cpp/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698