[vlc-commits] Use the same macro on NPWin
Jean-Baptiste Kempf
git at videolan.org
Thu Apr 24 12:19:05 CEST 2014
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 24 12:18:54 2014 +0200| [f30fee4bf1304e03a1c75a0d1013294b1ff2fa50] | committer: Jean-Baptiste Kempf
Use the same macro on NPWin
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=f30fee4bf1304e03a1c75a0d1013294b1ff2fa50
---
npapi/support/npunix.cpp | 2 --
npapi/support/npwin.cpp | 7 +++++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/npapi/support/npunix.cpp b/npapi/support/npunix.cpp
index 8641acc..8952536 100644
--- a/npapi/support/npunix.cpp
+++ b/npapi/support/npunix.cpp
@@ -50,9 +50,7 @@
#endif
/***********************************************************************
- *
* Globals
- *
***********************************************************************/
#pragma mark -
#pragma mark Globals
diff --git a/npapi/support/npwin.cpp b/npapi/support/npwin.cpp
index 4c4a684..b5d9c5e 100644
--- a/npapi/support/npwin.cpp
+++ b/npapi/support/npwin.cpp
@@ -42,8 +42,11 @@
//\\// DEFINE
#define NP_EXPORT
-//\\// GLOBAL DATA
-static NPNetscapeFuncs* gNetscapeFuncs;
+/***********************************************************************
+ * Globals
+ ***********************************************************************/
+static NPNetscapeFuncs *gNetscapeFuncs; /* Netscape Function table */
+static inline int getMinorVersion() { return gNetscapeFuncs->version & 0xFF;
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\.
////\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//.
More information about the vlc-commits
mailing list