Chromium Code Reviews| Index: ppapi/c/ppb_core.h |
| diff --git a/ppapi/c/ppb_core.h b/ppapi/c/ppb_core.h |
| index 6571db008050769ccfe19a826563dd9515d77bde..31a441c7e70ddff94c14bdf83e6acc7489f099fc 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" |
|
dmichael(do not use this one)
2011/03/21 21:53:24
Are you going to put in any backwards compatibilit
neb
2011/03/21 22:16:15
Nope. Breakage will ensue.
David Springer
2011/03/21 22:31:29
This will, in particular, break all the NaCl galle
|
| /** |
| * @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. |
| @@ -66,7 +66,7 @@ struct PPB_Core { |
| * @param[in] ptr A pointer to the memory to deallocate. It is safe to |
| * pass NULL to this function. |
| */ |
| - void (*MemFree)(void* ptr); |
| + void (*MemFree)(const void* ptr); |
|
dmichael(do not use this one)
2011/03/21 21:53:24
This isn't really that obvious to me. I understan
neb
2011/03/21 22:16:15
Const-ness of pointer has to do with what the func
|
| /** |
| * GetTime is a pointer to a function that returns the "wall clock |