Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: plugin/cross/main.cc

Issue 160317: linux: unexport as many symbols as possible (Closed)
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugin/cross/main.h ('k') | plugin/linux/main_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/cross/main.cc
diff --git a/plugin/cross/main.cc b/plugin/cross/main.cc
index d6144cadd0e464bf7cc848351a3ecd358ae834dc..da16756d6301ab0f179d70056a9751183e087a6f 100644
--- a/plugin/cross/main.cc
+++ b/plugin/cross/main.cc
@@ -148,7 +148,7 @@ namespace o3d {
extern "C" {
#endif
-NPError OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs) {
+NPError EXPORT_SYMBOL OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs) {
HANDLE_CRASHES;
pluginFuncs->version = 11;
pluginFuncs->size = sizeof(*pluginFuncs);
@@ -169,7 +169,7 @@ NPError OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs) {
return NPERR_NO_ERROR;
}
-char *NP_GetMIMEDescription(void) {
+char * EXPORT_SYMBOL NP_GetMIMEDescription(void) {
return O3D_PLUGIN_MIME_TYPE "::O3D MIME";
}
@@ -177,7 +177,8 @@ char *NP_GetMIMEDescription(void) {
#if !defined(O3D_INTERNAL_PLUGIN)
extern "C" {
-NPError NP_GetValue(void *instance, NPPVariable variable, void *value) {
+NPError EXPORT_SYMBOL NP_GetValue(void *instance, NPPVariable variable,
+ void *value) {
return o3d::NP_GetValue(instance, variable, value);
}
}
« no previous file with comments | « plugin/cross/main.h ('k') | plugin/linux/main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698