зеркало из https://github.com/mozilla/gecko-dev.git
Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
Original committer: pedemont%us.ibm.com Original revision: 1.32 Original date: 2005/05/02 16:30:01
This commit is contained in:
Родитель
357aeb9ca8
Коммит
d581a4943b
|
@ -1436,8 +1436,8 @@ JAVAPROXY_NATIVE(callXPCOMMethod) (JNIEnv *env, jclass that, jobject aJavaProxy,
|
||||||
PRUint8 type = params[i].type.TagPart();
|
PRUint8 type = params[i].type.TagPart();
|
||||||
|
|
||||||
// is paramater an array?
|
// is paramater an array?
|
||||||
PRUint8 arrayType;
|
PRUint8 arrayType = 0;
|
||||||
PRUint32 arraySize;
|
PRUint32 arraySize = 0;
|
||||||
if (type == nsXPTType::T_ARRAY) {
|
if (type == nsXPTType::T_ARRAY) {
|
||||||
// get array type
|
// get array type
|
||||||
nsXPTType xpttype;
|
nsXPTType xpttype;
|
||||||
|
@ -1530,8 +1530,8 @@ JAVAPROXY_NATIVE(callXPCOMMethod) (JNIEnv *env, jclass that, jobject aJavaProxy,
|
||||||
PRUint8 type = paramInfo.GetType().TagPart();
|
PRUint8 type = paramInfo.GetType().TagPart();
|
||||||
|
|
||||||
// is paramater an array?
|
// is paramater an array?
|
||||||
PRUint8 arrayType;
|
PRUint8 arrayType = 0;
|
||||||
PRUint32 arraySize;
|
PRUint32 arraySize = 0;
|
||||||
if (type == nsXPTType::T_ARRAY) {
|
if (type == nsXPTType::T_ARRAY) {
|
||||||
// get array type
|
// get array type
|
||||||
nsXPTType array_xpttype;
|
nsXPTType array_xpttype;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче