[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/include il_program.h,1.41,1.42
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/include il_program.h,1.41,1.42 |
Date: |
Thu, 27 Feb 2003 22:59:03 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv9984/include
Modified Files:
il_program.h
Log Message:
Convert ILExportedType into a subclass of ILClass so that we
can treat exported types as a special kind of typeref.
Index: il_program.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_program.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** il_program.h 27 Feb 2003 06:19:23 -0000 1.41
--- il_program.h 28 Feb 2003 03:59:01 -0000 1.42
***************
*** 2182,2190 ****
/*
- * Get the attributes associated with an exported type declaration.
- */
- ILUInt32 ILExportedTypeGetAttrs(ILExportedType *type);
-
- /*
* Set the foreign type ID associated with an exported type declaration.
*/
--- 2182,2185 ----
***************
*** 2197,2206 ****
/*
- * Get the name and namespace associated with an exported type declaration.
- */
- const char *ILExportedTypeGetName(ILExportedType *type);
- const char *ILExportedTypeGetNamespace(ILExportedType *type);
-
- /*
* Set the scope in which an exported type can be found to a file.
*/
--- 2192,2195 ----
***************
*** 2219,2228 ****
/*
- * Get the scope in which an exported type can be found.
- * Normally a File, ExportedType, or AssemblyRef.
- */
- ILProgramItem *ILExportedTypeGetScope(ILExportedType *type);
-
- /*
* Find an exported type from its name and namespace.
* Returns NULL if not found.
--- 2208,2211 ----
***************
*** 2238,2246 ****
((ILExportedType *)ILImageTokenInfo((image),
(token)))
#define ILExportedType_Token(type)
(ILProgramItem_Token((type)))
! #define ILExportedType_Attrs(type)
(ILExportedTypeGetAttrs((type)))
#define ILExportedType_Id(type)
(ILExportedTypeGetId((type)))
! #define ILExportedType_Name(type)
(ILExportedTypeGetName((type)))
! #define ILExportedType_Namespace(type)
(ILExportedTypeGetNamespace((type)))
! #define ILExportedType_Scope(type)
(ILExportedTypeGetScope((type)))
/*
--- 2221,2229 ----
((ILExportedType *)ILImageTokenInfo((image),
(token)))
#define ILExportedType_Token(type)
(ILProgramItem_Token((type)))
! #define ILExportedType_Attrs(type)
(ILClassGetAttrs((ILClass *)(type)))
#define ILExportedType_Id(type)
(ILExportedTypeGetId((type)))
! #define ILExportedType_Name(type)
(ILClassGetName((ILClass *)(type)))
! #define ILExportedType_Namespace(type) (ILClassGetNamespace((ILClass
*)(type)))
! #define ILExportedType_Scope(type)
(ILClassGetScope((ILClass *)(type)))
/*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/include il_program.h,1.41,1.42,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2221,1.2222
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/image class.c,1.23,1.24 item.c,1.5,1.6 meta_writer.c,1.8,1.9 misc_token.c,1.2,1.3 program.h,1.14,1.15
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2221,1.2222
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/image class.c,1.23,1.24 item.c,1.5,1.6 meta_writer.c,1.8,1.9 misc_token.c,1.2,1.3 program.h,1.14,1.15
- Index(es):