Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh

This commit is contained in:
KO Myung-Hun 2012-08-23 06:18:45 -04:00
parent 463ec88b01
commit e09e2c790e
2 changed files with 2 additions and 10 deletions

View File

@ -20,11 +20,7 @@
* itself), to ensure that the function has the
* right calling conventions on OS/2.
*/
#ifdef XP_OS2
#define NP_CALLBACK _System
#else
#define NP_CALLBACK
#endif
#define NP_CALLBACK NP_LOADDS
#if defined(XP_WIN)
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)

View File

@ -40,11 +40,7 @@
* itself), to ensure that the function has the
* right calling conventions on OS/2.
*/
#ifdef XP_OS2
#define NP_CALLBACK _System
#else
#define NP_CALLBACK
#endif
#define NP_CALLBACK NP_LOADDS
#if defined(XP_WIN)
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)