[Mono-list] Export Type to C
Miguel de Icaza
miguel at ximian.com
Fri Dec 22 11:08:48 EST 2006
Hello,
> If I do something like that will I get MonoType * in C?
> [DllImport("__internal", "e_cal_glue_backend_factory_get_type")]
> static extern IntPtr method(IntPtr type);
>
> protected static GType GetNewType(Type type)
> {
> return method(type.TypeHandle.Value);
> }
>
> If not how can I get it (MonoType * or MonoClass *)?
The GLib types are different than Mono's MonoType (which is the
unmanaged representation of System.Type).
More information about the Mono-list
mailing list