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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_main.cc

Issue 15011003: ppapi_simple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 #include "ppapi/c/pp_instance.h"
7 #include "ppapi/c/pp_module.h"
8
9 #include "ppapi_simple/ps_instance.h"
10 #include "ppapi_simple/ps_main.h"
11
12
13 void* PSMainCreate(PP_Instance inst, PSMainFunc_t func, const char* argv[]) {
14 PSInstance* pInst = new PSInstance(inst, argv);
15 pInst->SetMain(func);
16 return pInst;
17 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/ps_main.h ('k') | native_client_sdk/src/libraries/utils/thread_safe_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698