[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1239-g99e0e60 |
Date: |
Sun, 27 Nov 2011 12:30:04 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 99e0e60f5dfb653fdbf78a9bb2de23239e419653 (commit)
from a8010b335d37213d3830a9b47da81f6805ee0ceb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=99e0e60f5dfb653fdbf78a9bb2de23239e419653
commit 99e0e60f5dfb653fdbf78a9bb2de23239e419653
Author: Gabriele Giacone <address@hidden>
Date: Sat Nov 26 00:10:19 2011 +0100
More const for NPP_GetMIMEDescription.
diff --git a/plugin/aos4/plugin.cpp b/plugin/aos4/plugin.cpp
index 8f24f01..ce01763 100644
--- a/plugin/aos4/plugin.cpp
+++ b/plugin/aos4/plugin.cpp
@@ -74,7 +74,10 @@
static int module_initialized = FALSE;
static PRLock* playerLock = NULL;
static int instances = 0;
-
+
+#ifdef NPAPI_CONST
+const
+#endif
char* NPP_GetMIMEDescription(void);
static void playerThread(void *arg);
//static LRESULT CALLBACK PluginWinProc(HWND, UINT, WPARAM, LPARAM);
@@ -117,6 +120,9 @@ NS_PluginShutdown(void)
}
/// \brief Return the MIME Type description for this plugin.
+#ifdef NPAPI_CONST
+const
+#endif
char*
NPP_GetMIMEDescription(void)
{
diff --git a/plugin/npapi/gshell.cpp b/plugin/npapi/gshell.cpp
index 390bed4..efd45f6 100644
--- a/plugin/npapi/gshell.cpp
+++ b/plugin/npapi/gshell.cpp
@@ -382,6 +382,9 @@ NS_PluginShutdown()
cerr << "UNIMPLEMENTED: " << __PRETTY_FUNCTION__ << endl;
}
+#ifdef NPAPI_CONST
+const
+#endif
char*
NPP_GetMIMEDescription(void)
{
diff --git a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
index eaa4b9c..ab53a25 100644
--- a/plugin/npapi/test.cpp
+++ b/plugin/npapi/test.cpp
@@ -408,6 +408,9 @@ NS_PluginShutdown()
{
}
+#ifdef NPAPI_CONST
+const
+#endif
char*
NPP_GetMIMEDescription(void)
{
diff --git a/plugin/win32/plugin.cpp b/plugin/win32/plugin.cpp
index c14ecb7..84787f0 100644
--- a/plugin/win32/plugin.cpp
+++ b/plugin/win32/plugin.cpp
@@ -77,6 +77,9 @@ static int module_initialized = FALSE;
static PRLock* playerLock = NULL;
static int instances = 0;
+#ifdef NPAPI_CONST
+const
+#endif
char* NPP_GetMIMEDescription(void);
static void playerThread(void *arg);
static LRESULT CALLBACK PluginWinProc(HWND, UINT, WPARAM, LPARAM);
@@ -119,6 +122,9 @@ NS_PluginShutdown(void)
}
/// \brief Return the MIME Type description for this plugin.
+#ifdef NPAPI_CONST
+const
+#endif
char*
NPP_GetMIMEDescription(void)
{
-----------------------------------------------------------------------
Summary of changes:
plugin/aos4/plugin.cpp | 8 +++++++-
plugin/npapi/gshell.cpp | 3 +++
plugin/npapi/test.cpp | 3 +++
plugin/win32/plugin.cpp | 6 ++++++
4 files changed, 19 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1239-g99e0e60,
Gabriele Giacone <=