[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / native_client_sdk / src / libraries / ppapi_simple / ps_main.cc
blobeabbeaace6fb150f0c112a1f5241de68f231d858
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.
5 #include "ppapi/c/pp_instance.h"
6 #include "ppapi/c/pp_module.h"
8 #include "ppapi_simple/ps_instance.h"
9 #include "ppapi_simple/ps_main.h"
12 void* PSMainCreate(PP_Instance inst, PSMainFunc_t func) {
13 PSInstance* pInst = new PSInstance(inst);
14 pInst->SetMain(func);
15 return pInst;