Home | History | Annotate | Download | only in irt_stub
      1 /*
      2  * Copyright (c) 2011 The Chromium Authors. All rights reserved.
      3  * Use of this source code is governed by a BSD-style license that can be
      4  * found in the LICENSE file.
      5  */
      6 
      7 #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h"
      8 
      9 /*
     10  * An application that doesn't define its own main but links in -lppapi
     11  * gets this one.  A plugin may instead have its own main that calls
     12  * PpapiPluginMain (or PpapiPluginStart) after doing some other setup.
     13  */
     14 int main(void) {
     15   return PpapiPluginMain();
     16 }
     17