[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image meta_types.c,1.7,1.8
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image meta_types.c,1.7,1.8 |
Date: |
Tue, 18 Feb 2003 21:00:03 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv6223/image
Modified Files:
meta_types.c
Log Message:
Recognise "with" types correctly in certain type handling functions.
Index: meta_types.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/meta_types.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** meta_types.c 18 Feb 2003 05:25:08 -0000 1.7
--- meta_types.c 19 Feb 2003 02:00:01 -0000 1.8
***************
*** 293,297 ****
unsigned long ILTypeNumParams(ILType *method)
{
! if(ILType_IsMethod(method) || ILType_IsProperty(method))
{
return method->num__;
--- 293,298 ----
unsigned long ILTypeNumParams(ILType *method)
{
! if(ILType_IsMethod(method) || ILType_IsProperty(method) ||
! ILType_IsWith(method))
{
return method->num__;
***************
*** 310,314 ****
ILType *ILTypeGetParamWithPrefixes(ILType *method, unsigned long index)
{
! if(!ILType_IsMethod(method) && !ILType_IsProperty(method))
{
return 0;
--- 311,316 ----
ILType *ILTypeGetParamWithPrefixes(ILType *method, unsigned long index)
{
! if(!ILType_IsMethod(method) && !ILType_IsProperty(method) &&
! !ILType_IsWith(method))
{
return 0;
***************
*** 357,361 ****
ILType *ILTypeGetReturn(ILType *type)
{
! if(ILType_IsMethod(type) || ILType_IsProperty(type))
{
return ILTypeStripPrefixes(type->un.method__.retType__);
--- 359,363 ----
ILType *ILTypeGetReturn(ILType *type)
{
! if(ILType_IsMethod(type) || ILType_IsProperty(type) ||
ILType_IsWith(type))
{
return ILTypeStripPrefixes(type->un.method__.retType__);
***************
*** 369,373 ****
ILType *ILTypeGetReturnWithPrefixes(ILType *type)
{
! if(ILType_IsMethod(type) || ILType_IsProperty(type))
{
return type->un.method__.retType__;
--- 371,375 ----
ILType *ILTypeGetReturnWithPrefixes(ILType *type)
{
! if(ILType_IsMethod(type) || ILType_IsProperty(type) ||
ILType_IsWith(type))
{
return type->un.method__.retType__;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image meta_types.c,1.7,1.8,
Rhys Weatherley <address@hidden> <=