зеркало из https://github.com/mozilla/gecko-dev.git
Bug 568027 Fix test_plugins.js |2 == 8| with build in homedir r=dtownsend
This commit is contained in:
Родитель
355d5ef8a0
Коммит
4279d65371
|
@ -314,14 +314,14 @@ test_fnptr()
|
|||
}
|
||||
|
||||
PRInt32
|
||||
test_closure_cdecl(PRInt8 i, PRInt32 (*f)(PRInt8))
|
||||
test_closure_cdecl(PRInt8 i, test_func_ptr f)
|
||||
{
|
||||
return f(i);
|
||||
}
|
||||
|
||||
#if defined(_WIN32) && !defined(_WIN64)
|
||||
PRInt32
|
||||
test_closure_cdecl(PRInt8 i, PRInt32 (NS_STDCALL *f)(PRInt8))
|
||||
test_closure_cdecl(PRInt8 i, test_func_ptr_stdcall f)
|
||||
{
|
||||
return f(i);
|
||||
}
|
||||
|
|
|
@ -188,8 +188,10 @@ NS_EXTERN_C
|
|||
|
||||
NS_EXPORT void * test_fnptr();
|
||||
|
||||
NS_EXPORT PRInt32 test_closure_cdecl(PRInt8, PRInt32 (*)(PRInt8));
|
||||
typedef PRInt32 (* test_func_ptr)(PRInt8);
|
||||
NS_EXPORT PRInt32 test_closure_cdecl(PRInt8, test_func_ptr);
|
||||
#if defined(_WIN32) && !defined(_WIN64)
|
||||
typedef PRInt32 (NS_STDCALL * test_func_ptr_stdcall)(PRInt8);
|
||||
NS_EXPORT PRInt32 test_closure_stdcall(PRInt8, PRInt32 (NS_STDCALL *)(PRInt8));
|
||||
#endif /* defined(_WIN32) && !defined(_WIN64) */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче