| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The Native Client Authors. All rights reserved. | 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 | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "native_client/src/shared/ppapi_proxy/ppruntime.h" | 7 #include "native_client/src/shared/ppapi_proxy/ppruntime.h" |
| 8 | 8 |
| 9 // PPAPI plugins are actually "hosted" by ppruntime. This is because the | 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. | 10 // library needs to start an SRPC loop to dispatch to the stubs. |
| 11 // | 11 // |
| 12 // This definition is weak to allow customers to override it when | 12 // This definition is weak to allow customers to override it when |
| 13 // initialization is needed before the main PPAPI processing happens. | 13 // initialization is needed before the main PPAPI processing happens. |
| 14 | 14 |
| 15 int __attribute__ ((weak)) main(int argc, char* argv[]) { | 15 int __attribute__ ((weak)) main(int argc, char* argv[]) { |
| 16 return PpapiPluginMain(); | 16 return PpapiPluginMain(); |
| 17 } | 17 } |
| OLD | NEW |