[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.5,1.6
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.5,1.6 |
Date: |
Wed, 11 Dec 2002 16:32:22 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv26930/image
Modified Files:
lib_attrs.c
Log Message:
MarshalAsAttribute: fix the "LPArray" marshalling type in the case of an
unspecified element type: use "MAX" instead of "END" to indicate unspecified.
Index: lib_attrs.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/lib_attrs.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** lib_attrs.c 21 Nov 2002 04:24:41 -0000 1.5
--- lib_attrs.c 11 Dec 2002 21:32:20 -0000 1.6
***************
*** 607,610 ****
--- 607,615 ----
{
/* An array that has a size value in a separate
parameter */
+ if(arraySubType == IL_META_NATIVETYPE_END)
+ {
+ /* Unspecified array element types should be
"MAX" */
+ arraySubType = IL_META_NATIVETYPE_MAX;
+ }
buf[0] = IL_META_NATIVETYPE_ARRAY;
blobLen = 1 + ILMetaCompressData
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.5,1.6,
Rhys Weatherley <address@hidden> <=