dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/image marshal.c,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image marshal.c,1.6,1.7
Date: Tue, 28 Jan 2003 01:25:04 -0500

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv3031/image

Modified Files:
        marshal.c 
Log Message:


Implement marshalling for the LPWSTR type.


Index: marshal.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/marshal.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** marshal.c   8 Aug 2002 07:32:13 -0000       1.6
--- marshal.c   28 Jan 2003 06:25:01 -0000      1.7
***************
*** 112,116 ****
        {
                /* Value string type */
!               return StringCharSet(pinvoke, method);
        }
        else if(ILTypeIsDelegateSubClass(type))
--- 112,123 ----
        {
                /* Value string type */
!               if(nativeTypeCode == IL_META_NATIVETYPE_LPWSTR)
!               {
!                       return IL_META_MARSHAL_UTF16_STRING;
!               }
!               else
!               {
!                       return StringCharSet(pinvoke, method);
!               }
        }
        else if(ILTypeIsDelegateSubClass(type))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]