[vlc-commits] npmac: expand wrapper by the PluginThreadAsyncCall function

Felix Paul Kühne git at videolan.org
Mon Dec 31 16:21:49 CET 2012


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Dec 31 16:18:14 2012 +0100| [b66ca0e6166e9f5d5007def0b5db311d027c323c] | committer: Felix Paul Kühne

npmac: expand wrapper by the PluginThreadAsyncCall function

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=b66ca0e6166e9f5d5007def0b5db311d027c323c
---

 npapi/support/npmac.cpp |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/npapi/support/npmac.cpp b/npapi/support/npmac.cpp
index 9fc3fda..be7f5fa 100644
--- a/npapi/support/npmac.cpp
+++ b/npapi/support/npmac.cpp
@@ -183,6 +183,11 @@ void NPN_ReloadPlugins(NPBool reloadPages)
     CALL_NPN(CallNPN_ReloadPluginsProc, gNetscapeFuncs.reloadplugins, reloadPages);
 }
 
+void NPN_PluginThreadAsyncCall(NPP plugin, void (*func)(void *), void *userData)
+{
+    CALL_NPN(CallNPN_PluginThreadAsyncCall, gNetscapeFuncs.pluginthreadasynccall, plugin, func, userData);
+}
+
 NPError NPN_GetValue(NPP instance, NPNVariable variable, void *value)
 {
     return CALL_NPN(CallNPN_GetValueProc, gNetscapeFuncs.getvalue, instance, variable, value);



More information about the vlc-commits mailing list