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

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

[Dotgnu-pnet-commits] pnet/include il_types.h,1.24,1.25


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/include il_types.h,1.24,1.25
Date: Fri, 07 Nov 2003 01:23:58 +0000

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv11660/include

Modified Files:
        il_types.h 
Log Message:


Add some semantic analysis for "new X<T>(...)" expression forms.


Index: il_types.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_types.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** il_types.h  22 Jul 2003 13:46:48 -0000      1.24
--- il_types.h  7 Nov 2003 01:23:56 -0000       1.25
***************
*** 242,245 ****
--- 242,259 ----
  
  /*
+  * Determine if a type is a generic type parameter.
+  */
+ #define       ILType_IsTypeParameter(type)    \
+                               ((type) != 0 && ILType_IsComplex((type)) && \
+                                ((type)->kind__ & 0xFF) == IL_TYPE_COMPLEX_VAR)
+ 
+ /*
+  * Determine if a type is a generic method parameter.
+  */
+ #define       ILType_IsMethodParameter(type)  \
+                               ((type) != 0 && ILType_IsComplex((type)) && \
+                                ((type)->kind__ & 0xFF) == 
IL_TYPE_COMPLEX_MVAR)
+ 
+ /*
   * Get the kind that is associated with a complex type.
   */





reply via email to

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