[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/include il_types.h,1.18,1.19
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/include il_types.h,1.18,1.19 |
Date: |
Wed, 26 Feb 2003 07:02:52 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv15771/include
Modified Files:
il_types.h
Log Message:
Correctly handle pointer types with the "sizeof" operator.
Index: il_types.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_types.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** il_types.h 19 Feb 2003 09:48:11 -0000 1.18
--- il_types.h 26 Feb 2003 12:02:47 -0000 1.19
***************
*** 235,238 ****
--- 235,245 ----
/*
+ * Determine if a type is a pointer.
+ */
+ #define ILType_IsPointer(type) \
+ ((type) != 0 && ILType_IsComplex((type)) && \
+ ILType_Kind((type)) == IL_TYPE_COMPLEX_PTR)
+
+ /*
* Get the kind that is associated with a complex type.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/include il_types.h,1.18,1.19,
Rhys Weatherley <address@hidden> <=