зеркало из https://github.com/mozilla/pjs.git
Use the "real" fix for the bustage, long is still 32-bit in LLP64 model though PR_BYTES_PER_LONG will have the same problem.
r=dveditz
This commit is contained in:
Родитель
9f41b9c8a7
Коммит
defb48c7ec
|
@ -90,7 +90,11 @@ public:
|
|||
GetClassPath(const char* *result) = 0;
|
||||
|
||||
NS_IMETHOD
|
||||
GetJavaWrapper(JNIEnv* jenv, long obj, jobject *jobj) = 0;
|
||||
#if PR_BYTES_PER_LONG == 8
|
||||
GetJavaWrapper(JNIEnv* jenv, jlong obj, jobject *jobj) = 0;
|
||||
#else
|
||||
GetJavaWrapper(JNIEnv* jenv, jint obj, jobject *jobj) = 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This creates a new secure communication channel with Java. The second parameter,
|
||||
|
@ -110,7 +114,11 @@ public:
|
|||
SpendTime(PRUint32 timeMillis) = 0;
|
||||
|
||||
NS_IMETHOD
|
||||
UnwrapJavaWrapper(JNIEnv* jenv, jobject jobj, long* obj) = 0;
|
||||
#if PR_BYTES_PER_LONG == 8
|
||||
UnwrapJavaWrapper(JNIEnv* jenv, jobject jobj, jlong* obj) = 0;
|
||||
#else
|
||||
UnwrapJavaWrapper(JNIEnv* jenv, jobject jobj, jint* obj) = 0;
|
||||
#endif
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IJVMPLUGIN_IID)
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче