CreateMetaType() static private method

static private CreateMetaType ( Type impl ) : IntPtr
impl System.Type
return System.IntPtr
Ejemplo n.º 1
0
 /// <summary>
 /// Metatype initialization. This bootstraps the CLR metatype to life.
 /// </summary>
 public static PyType Initialize()
 {
     PyCLRMetaType = TypeManager.CreateMetaType(typeof(MetaType), out _metaSlotsHodler);
     return(PyCLRMetaType);
 }
Ejemplo n.º 2
0
        //====================================================================
        // Metatype initialization. This bootstraps the CLR metatype to life.
        //====================================================================

        public static IntPtr Initialize()
        {
            PyCLRMetaType = TypeManager.CreateMetaType(typeof(MetaType));
            return(PyCLRMetaType);
        }