2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tools / ictool / ictool-config.xml
blob9716dc6ee04dd7aad2db9f349df814441030bd1d
1 <config>\r
2         <!-- assembly inputs -->\r
3         \r
4         <assemblypath path="..\..\class\lib"/>\r
5 \r
6         <assembly file="corlib_cmp.dll"/>\r
7         <assembly file="System.dll"/>\r
8 \r
9         <!-- output files -->\r
11         <outputpath path="."/>\r
13         <outputfile name="types" file="icall_types.h">\r
14                 <include><![CDATA[#include "icall.h"]]></include>\r
15         </outputfile>\r
17         <outputfile name="methods" file="icall_methods.h"/>\r
18         <outputfile name="map" file="icall_map.c"/>\r
20         <!-- typemap -->\r
22         <typemap>\r
23                 <!-- base types -->\r
25                 <namespace name="System">\r
27                         <!-- default types are taken from the running assembly -->\r
29                         <type name="Object" peer="MonoObject" opaque="true" default="true"/>\r
31                         <type name="Void" peer="void" opaque="true" default="true"/>\r
32                         <type name="Boolean" peer="MonoBoolean" opaque="true" default="true"/>\r
33                         <type name="Int64" peer="gint64" opaque="true" default="true"/>\r
34                         <type name="Int32" peer="gint32" opaque="true" default="true"/>\r
35                         <type name="Int16" peer="gint16" opaque="true" default="true"/>\r
36                         <type name="Byte" peer="gint8" opaque="true" default="true"/>\r
37                         <type name="UInt64" peer="guint64" opaque="true" default="true"/>\r
38                         <type name="UInt32" peer="guint32" opaque="true" default="true"/>\r
39                         <type name="UInt16" peer="guint16" opaque="true" default="true"/>\r
40                         <type name="SByte" peer="guint8" opaque="true" default="true"/>\r
41                         <type name="IntPtr" peer="gpointer" opaque="true" default="true"/>\r
42                         <type name="UIntPtr" peer="gpointer" opaque="true" default="true"/>\r
43                         <type name="Single" peer="gfloat" opaque="true" default="true"/>\r
44                         <type name="Double" peer="gdouble" opaque="true" default="true"/>\r
45                         <type name="Char" peer="gunichar2" opaque="true" default="true"/>\r
46                         <type name="Array" peer="MonoArray" opaque="true" default="true"/>\r
48                         <!-- non-defaulting system types -->\r
50                         <type name="Decimal" peer="decimal_repr" opaque="true"/>\r
51                         <type name="String" peer="MonoString" opaque="true"/>\r
53                 </namespace>\r
55                 <!-- reflection types -->\r
57                 <namespace name="System">\r
58                         <type name="RuntimeTypeHandle" peer="MonoType *" opaque="true"/>\r
59                         <type name="RuntimeMethodHandle" peer="MonoMethod *" opaque="true"/>\r
60                         <type name="RuntimeFieldHandle" peer="MonoClassField *" opaque="true"/>\r
62                         <type name="Type" peer="MonoReflectionType"/>\r
63                         <type name="MonoTypeInfo" peer="MonoTypeInfo"/>\r
64                         <type name="MonoEnumInfo" peer="MonoEnumInfo"/>\r
65                 </namespace>\r
67                 <namespace name="System.Reflection">\r
68                         <type name="MonoMethod" peer="MonoReflectionMethod"/>\r
69                         <type name="MonoField" peer="MonoReflectionField"/>\r
70                         <type name="MonoFieldInfo" peer="MonoFieldInfo"/>\r
71                         <type name="MonoProperty" peer="MonoReflectionProperty"/>\r
72                         <type name="ParameterInfo" peer="MonoParameterInfo"/>\r
73                         <type name="MonoMethodInfo" peer="MonoMethodInfo"/>\r
74                         <type name="MonoPropertyInfo" peer="MonoPropertyInfo"/>\r
75                         <type name="Assembly" peer="MonoReflectionAssembly"/>\r
76                         <type name="Module" peer="MonoReflectionModule"/>\r
77                         <type name="AssemblyName" peer="MonoReflectionAssemblyName"/>\r
78                 </namespace>\r
80                 <namespace name="System.Reflection.Emit">\r
81                         <type name="ILGenerator" peer="MonoReflectionILGen"/>\r
82                         <type name="ILExceptionInfo" peer="MonoILExceptionInfo"/>\r
83                         <type name="ILExceptionBlock" peer="MonoILExceptionBlock"/>\r
84                         <type name="LocalBuilder" peer="MonoReflectionLocalBuilder"/>\r
85                         <type name="ParameterBuilder" peer="MonoReflectionParamBuilder"/>\r
86                         <type name="ConstructorBuilder" peer="MonoReflectionCtorBuilder"/>\r
87                         <type name="MethodBuilder" peer="MonoReflectionMethodBuilder"/>\r
88                         <type name="FieldBuilder" peer="MonoReflectionFieldBuilder"/>\r
89                         <type name="PropertyBuilder" peer="MonoReflectionPropertyBuilder"/>\r
90                         <type name="ModuleBuilder" peer="MonoReflectionModuleBuilder"/>\r
91                         <type name="TypeBuilder" peer="MonoReflectionTypeBuilder"/>\r
92                         <type name="Label" peer="MonoReflectionLabel"/>\r
93                 </namespace>\r
95                 <!-- enumerations -->\r
97                 <namespace name="System.Net.Sockets">\r
98                         <type name="SocketType" peer="MonoSocketType"/>\r
99                         <type name="AddressFamily" peer="MonoAddressFamily"/>\r
100                         <type name="ProtocolType" peer="MonoProtocolType"/>\r
101                         <type name="SocketOptionLevel" peer="MonoSocketOptionLevel"/>\r
102                         <type name="SocketOptionName" peer="MonoSocketOptionName"/>\r
103                 </namespace>\r
104         </typemap>\r
105 </config>\r