[Mono-list] Export Type to C

Maciej Piechotka uzytkownik2 at gmail.com
Thu Dec 21 18:47:35 EST 2006


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 *)?
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)



More information about the Mono-list mailing list