Chromium Code Reviews| Index: native_client_sdk/src/libraries/ppapi_simple/ps.h |
| diff --git a/native_client_sdk/src/libraries/ppapi_simple/ps.h b/native_client_sdk/src/libraries/ppapi_simple/ps.h |
| index a6bb3d3fc7cece9f5a9806773a293f419a01bb01..293eb047d00d19e9cbea5924e6be6c1f882fafbd 100644 |
| --- a/native_client_sdk/src/libraries/ppapi_simple/ps.h |
| +++ b/native_client_sdk/src/libraries/ppapi_simple/ps.h |
| @@ -43,7 +43,7 @@ EXTERN_C_BEGIN |
| * Return the PP_Instance id of this instance of the module. This is required |
| * by most of the Pepper resource creation routines. |
| */ |
| -PP_Instance PSGetInstanceId(); |
| +PP_Instance PSGetInstanceId(void); |
| /** |
| @@ -62,24 +62,12 @@ const void* PSGetInterface(const char *name); |
| * the instance object. This function is defined by one of the macros below, |
|
binji
2014/07/25 17:04:36
fix: There are no macros below
Sam Clegg
2014/08/20 15:24:29
I removed this function completely. Since this ch
|
| * or by the equivalent macro in one of the other headers. For 'C' |
| * development, one of the basic instances which support C callback are used. |
| - * For C++, this function should instantiate the user defined instance. See |
| - * the two macros below. |
| + * For C++, this function should instantiate the user defined instance. |
| + * See ps_main.h for an example of how this is defined. |
| */ |
| extern void* PSUserCreateInstance(PP_Instance inst); |
| -/** |
| - * PPAPI_SIMPLE_USE_MAIN |
| - * |
| - * For use with C projects, this macro calls the provided factory with |
| - * configuration information. |
| - */ |
| -#define PPAPI_SIMPLE_USE_MAIN(factory, func) \ |
| -void* PSUserCreateInstance(PP_Instance inst) { \ |
| - return factory(inst, func); \ |
| -} |
| - |
| - |
| EXTERN_C_END |