[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.17,1.18
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/include il_types.h,1.17,1.18 |
Date: |
Wed, 19 Feb 2003 04:48:13 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv23845/include
Modified Files:
il_types.h
Log Message:
Implement ILTypeInstantiate and ILTypeNeedsInstantiation to assist
with generic type instantiation.
Index: il_types.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_types.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** il_types.h 19 Feb 2003 02:00:01 -0000 1.17
--- il_types.h 19 Feb 2003 09:48:11 -0000 1.18
***************
*** 599,602 ****
--- 599,616 ----
ILType *ILTypeGetWithMainWithPrefixes(ILType *type);
+ /*
+ * Determine if a type needs to be instantiated because it involves
+ * generic parameter references.
+ */
+ int ILTypeNeedsInstantiation(ILType *type);
+
+ /*
+ * Instantiate the generic parameters in a type. "classParams" should be
+ * a "with" type, and "methodParams" should be a method spec instantiation.
+ * Returns NULL if out of memory.
+ */
+ ILType *ILTypeInstantiate(ILContext *context, ILType *type,
+ ILType *classParams, ILType
*methodParams);
+
#ifdef __cplusplus
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/include il_types.h,1.17,1.18,
Rhys Weatherley <address@hidden> <=