[vlc-commits] commit: Clean up references to UPP types, plugin/host glue. ( David Menestrina )

git at videolan.org git at videolan.org
Sat Apr 24 00:46:47 CEST 2010


vlc | branch: master | David Menestrina <dmenest-vlc at ofb.net> | Thu Apr 15 18:34:45 2010 -0700| [9668d7a27736e2876ad3c9adf8d1794dca1c0c91] | committer: Jean-Baptiste Kempf 

Clean up references to UPP types, plugin/host glue.

The old gecko-sdk defines a bunch of types and macros in npupp.h,
which is no longer available in xulrunner-sdk 1.9.2.  Luckily,
all of the NPN*UPP types were typedeffed to UniversalProcPtr,
so this change just uses that type, incorporated into the
HOST_TO_PLUGIN_GLUE macro.  We also define a new CALL_NPN macro
for choosing to use the CallNPN_*Proc macros from npupp.h or
just invoking the function pointer directly.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 projects/mozilla/support/npmac.cpp |  183 +++++++++++++++++++-----------------
 1 files changed, 96 insertions(+), 87 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=9668d7a27736e2876ad3c9adf8d1794dca1c0c91


More information about the vlc-commits mailing list