OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 #if defined(__GNUC__) && __GNUC__ >= 4 |
| 6 #define EXPORT __attribute__((visibility ("default"))) |
| 7 #else |
| 8 #define EXPORT |
| 9 #endif |
| 10 |
| 11 #include "webkit/glue/plugins/test/plugin_client.h" |
| 12 |
| 13 extern "C" { |
| 14 EXPORT NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* pFuncs) { |
| 15 return NPAPIClient::PluginClient::GetEntryPoints(pFuncs); |
| 16 } |
| 17 |
| 18 EXPORT NPError API_CALL NP_Initialize(NPNetscapeFuncs* pFuncs) { |
| 19 return NPAPIClient::PluginClient::Initialize(pFuncs); |
| 20 } |
| 21 |
| 22 EXPORT NPError API_CALL NP_Shutdown() { |
| 23 return NPAPIClient::PluginClient::Shutdown(); |
| 24 } |
| 25 } // extern "C" |
OLD | NEW |