Index: native_client_sdk/src/libraries/ppapi_simple/ps_main.h |
diff --git a/native_client_sdk/src/libraries/ppapi_simple/ps_main.h b/native_client_sdk/src/libraries/ppapi_simple/ps_main.h |
index 2b42ac45b013c1fc11a1e3306ea0da7390ff584a..e656bbb09879ed2f880322a9aeda453b1de38170 100644 |
--- a/native_client_sdk/src/libraries/ppapi_simple/ps_main.h |
+++ b/native_client_sdk/src/libraries/ppapi_simple/ps_main.h |
@@ -13,14 +13,6 @@ EXTERN_C_BEGIN |
typedef int (*PSMainFunc_t)(int argc, char *argv[]); |
/** |
- * PSMainCreate |
- * |
- * Constructs an instance SimpleInstance and configures it to call into |
- * the provided "main" function. |
- */ |
-void* PSMainCreate(PP_Instance inst, PSMainFunc_t entry_point); |
- |
-/** |
* PSUserMainGet |
* |
* Prototype for the user provided function which retrieves the user's main |
@@ -35,13 +27,8 @@ PSMainFunc_t PSUserMainGet(); |
* Constructs a PSInstance object and configures it to use call the provided |
* 'main' function on its own thread once initialization is complete. |
*/ |
-#define PPAPI_SIMPLE_REGISTER_MAIN(main_func) \ |
- PSMainFunc_t PSUserMainGet() { \ |
- return main_func; \ |
- } \ |
- void* PSUserCreateInstance(PP_Instance inst) { \ |
- return PSMainCreate(inst, main_func); \ |
- } |
+#define PPAPI_SIMPLE_REGISTER_MAIN(main_func) \ |
+ PSMainFunc_t PSUserMainGet() { return main_func; } |
EXTERN_C_END |