OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2010 The Native Client 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 "native_client/src/shared/ppapi_proxy/ppruntime.h" |
| 8 |
| 9 // PPAPI plugins are actually "hosted" by ppruntime. This is because the |
| 10 // library needs to start an SRPC loop to dispatch to the stubs. |
| 11 // |
| 12 // This definition is weak to allow customers to override it when |
| 13 // initialization is needed before the main PPAPI processing happens. |
| 14 |
| 15 int __attribute__ ((weak)) main(int argc, char* argv[]) { |
| 16 return PpapiPluginMain(); |
| 17 } |
OLD | NEW |