|
From: <br...@us...> - 2011-02-02 04:30:06
|
Revision: 4220
http://openvrml.svn.sourceforge.net/openvrml/?rev=4220&view=rev
Author: braden
Date: 2011-02-02 04:29:59 +0000 (Wed, 02 Feb 2011)
Log Message:
-----------
Removed obsolete NPP_Initialize and NPP_Shutdown entrypoints.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/mozilla-plugin/openvrml.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-02-02 04:24:06 UTC (rev 4219)
+++ trunk/ChangeLog 2011-02-02 04:29:59 UTC (rev 4220)
@@ -1,5 +1,10 @@
2011-02-01 Braden McDaniel <br...@en...>
+ * src/mozilla-plugin/openvrml.cpp: Removed obsolete NPP_Initialize
+ and NPP_Shutdown entrypoints.
+
+2011-02-01 Braden McDaniel <br...@en...>
+
Newer SpiderMonkey (XULRunner 2.0) changes the JSNative function
signature and the means of accessing argv, the "this" JSObject,
and the returned jsval.
Modified: trunk/src/mozilla-plugin/openvrml.cpp
===================================================================
--- trunk/src/mozilla-plugin/openvrml.cpp 2011-02-02 04:24:06 UTC (rev 4219)
+++ trunk/src/mozilla-plugin/openvrml.cpp 2011-02-02 04:29:59 UTC (rev 4220)
@@ -356,12 +356,11 @@
}
# endif // defined MOZ_X11
- return NPP_Initialize();
+ return NPERR_NO_ERROR;
}
NPError NP_Shutdown()
{
- NPP_Shutdown();
return NPERR_NO_ERROR;
}
@@ -390,14 +389,6 @@
return const_cast<char *>(&mimeDescription[0]);
}
-NPError NPP_Initialize()
-{
- return NPERR_NO_ERROR;
-}
-
-void NPP_Shutdown()
-{}
-
/**
* @internal
*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|